hi, i have problem with pjsua(200line sample program) i was try to make call with pjsua and it is registering successfully.but if i am making a call than it is giving me : 15:24:23.687 sip_endpoint.c Module "mod-pjsua-im" registered 15:24:23.687 sip_endpoint.c Module "mod-pjsua-options" registered 15:24:23.687 pjsua_core.c 1 SIP worker threads created 15:24:23.687 pjsua_core.c pjsua version 1.0-rc1 for win32 initialized 15:24:23.703 pjsua_media.c RTP socket reachable at 192.168.5.21:4000 15:24:23.703 pjsua_media.c RTCP socket reachable at 192.168.5.21:4001 15:24:23.703 pjsua_media.c RTP socket reachable at 192.168.5.21:4002 15:24:23.703 pjsua_media.c RTCP socket reachable at 192.168.5.21:4003 15:24:23.718 pjsua_media.c RTP socket reachable at 192.168.5.21:4004 15:24:23.718 pjsua_media.c RTCP socket reachable at 192.168.5.21:4005 15:24:23.718 pjsua_media.c RTP socket reachable at 192.168.5.21:4006 15:24:23.718 pjsua_media.c RTCP socket reachable at 192.168.5.21:4007 15:24:23.718 pjsua_core.c SIP UDP socket reachable at 192.168.5.21:1691 15:24:23.718 udp00A16B68 SIP UDP transport started, published address is 192.168.5.21:1691 15:24:23.718 pjsua_acc.c Account sip:3004 at 192.168.5.230<sip%3A3004 at 192.168.5.110>added with id 0 15:24:23.718 endpoint Request msg REGISTER/cseq=15966 (tdta00A18BA0) created. 15:24:23.718 tsx00A19C0C Transaction created for Request msg REGISTER/cseq=15967 (tdta00A18BA0) 15:24:23.718 tsx00A19C0C Sending Request msg REGISTER/cseq=15967 (tdta00A18BA0) in state Null 15:24:23.718 sip_resolve.c Target '192.168.5.230:0<http://192.168.5.110:0>' type=Unspecified resolved to '192.168.5.230:5060 <http://192.168.5.110:5060>' type=UDP (UDP transport) 15:24:23.718 pjsua_core.c TX 384 bytes Request msg REGISTER/cseq=15967 (tdta00A18BA0) to UDP 192.168.5.230:5060 <http://192.168.5.110:5060>: REGISTER sip:192.168.5.110 SIP/2.0 Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjdb38ff839e234db4bfbcec0a0049c5dd Max-Forwards: 70 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15967 REGISTER Contact: <sip:3004 at 192.168.5.21:1691> Expires: 300 Content-Length: 0 --end msg-- 15:24:23.859 tsx00A19C0C State changed from Null to Calling, event=TX_MSG 15:24:23.859 pjsua_acc.c Registration sent 15:24:23.859 pjsua_media.c pjsua_set_snd_dev(): attempting to open devices @16000 Hz 15:24:23.859 sip_endpoint.c Processing incoming message: Response msg 100/REGISTER/cseq=15967 (rdata00A16FDC) 15:24:23.859 pjsua_core.c RX 447 bytes Response msg 100/REGISTER/cseq=15967 (rdata00A16FDC) from UDP 192.168.5.230:5060<http://192.168.5.110:5060> : SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjdb38ff839e234db4bfbcec0a0049c5dd;received=192.168.5.21 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15967 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Content-Length: 0 --end msg-- 15:24:23.859 tsx00A19C0C Incoming Response msg 100/REGISTER/cseq=15967 (rdata00A16FDC) in state Calling 15:24:23.859 tsx00A19C0C State changed from Calling to Proceeding, event=RX_MSG 15:24:23.859 sip_endpoint.c Processing incoming message: Response msg 401/REGISTER/cseq=15967 (rdata00A16FDC) 15:24:23.984 pjsua_core.c RX 509 bytes Response msg 401/REGISTER/cseq=15967 (rdata00A16FDC) from UDP 192.168.5.230:5060<http://192.168.5.110:5060> : SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjdb38ff839e234db4bfbcec0a0049c5dd;received=192.168.5.21 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>>;tag=as0ed6085f Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15967 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7a2a2709" Content-Length: 0 --end msg-- 15:24:23.984 tsx00A19C0C Incoming Response msg 401/REGISTER/cseq=15967 (rdata00A16FDC) in state Proceeding 15:24:23.984 tsx00A19C0C State changed from Proceeding to Completed, event=RX_MSG 15:24:23.984 tsx00A1CFDC Transaction created for Request msg REGISTER/cseq=15968 (tdta00A18BA0) 15:24:23.984 tsx00A1CFDC Sending Request msg REGISTER/cseq=15968 (tdta00A18BA0) in state Null 15:24:23.984 sip_resolve.c Target '192.168.5.230:0<http://192.168.5.110:0>' type=Unspecified resolved to '192.168.5.230:5060 <http://192.168.5.110:5060>' type=UDP (UDP transport) 15:24:23.984 pjsua_core.c TX 544 bytes Request msg REGISTER/cseq=15968 (tdta00A18BA0) to UDP 192.168.5.230:5060 <http://192.168.5.110:5060>: REGISTER sip:192.168.5.110 SIP/2.0 Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjfbdf8cd08ab0463dbea6d2cb456088f1 Max-Forwards: 70 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15968 REGISTER Contact: <sip:3004 at 192.168.5.21:1691> Expires: 300 Authorization: Digest username="3004", realm="asterisk", nonce="7a2a2709", uri="sip:192.168.5.110", response="a9ea143af1678bec213947b2f6f408d2", algorithm=MD5 Content-Length: 0 --end msg-- 15:24:24.093 tsx00A1CFDC State changed from Null to Calling, event=TX_MSG 15:24:24.093 sip_endpoint.c Processing incoming message: Response msg 100/REGISTER/cseq=15968 (rdata00A16FDC) 15:24:24.093 pjsua_core.c RX 447 bytes Response msg 100/REGISTER/cseq=15968 (rdata00A16FDC) from UDP 192.168.5.230:5060<http://192.168.5.110:5060> : SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjfbdf8cd08ab0463dbea6d2cb456088f1;received=192.168.5.21 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15968 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>> Content-Length: 0 --end msg-- 15:24:24.218 tsx00A1CFDC Incoming Response msg 100/REGISTER/cseq=15968 (rdata00A16FDC) in state Calling 15:24:24.218 tsx00A1CFDC State changed from Calling to Proceeding, event=RX_MSG 15:24:24.218 sip_endpoint.c Processing incoming message: Response msg 200/REGISTER/cseq=15968 (rdata00A16FDC) 15:24:24.218 pjsua_core.c RX 525 bytes Response msg 200/REGISTER/cseq=15968 (rdata00A16FDC) from UDP 192.168.5.230:5060<http://192.168.5.110:5060> : SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.5.21:1691 ;rport;branch=z9hG4bKPjfbdf8cd08ab0463dbea6d2cb456088f1;received=192.168.5.21 From: <sip:3004@192.168.5.230 <sip%3A3004 at 192.168.5.110> >;tag=e52afbd9b85b441f9a10e4b59c831ea1 To: <sip:3004 at 192.168.5.230 <sip%3A3004 at 192.168.5.110>>;tag=as0ed6085f Call-ID: 4a05f2256cc749749ee22c3f129d2c24 CSeq: 15968 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Expires: 300 Contact: <sip:3004 at 192.168.5.21:1691>;expires=300 Date: Sat, 20 Dec 2008 09:54:30 GMT Content-Length: 0 --end msg-- 15:24:24.218 tsx00A1CFDC Incoming Response msg 200/REGISTER/cseq=15968 (rdata00A16FDC) in state Proceeding 15:24:24.359 tsx00A1CFDC State changed from Proceeding to Completed, event=RX_MSG 15:24:24.375 pasound.c Opened device SoundMAX Digital Audio(MME)/SoundMAX Digital Audio(MME) for recording and playback, sample rate=16000, ch=1, bits=16, 320 samples per frame, input latency=1 00 ms, output latency=100 ms 15:24:24.375 pasound.c Starting SoundMAX Digital Audio stream.. 15:24:24.375 pasound.c PA message: Pa_StartStream: waveInStart returned = 0x0. 15:24:24.375 pasound.c Done, status=0 15:24:24.375 ec00A04B20 Creating AEC 15:24:24.375 ec00A04B20 AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=100 ms 15:24:24.375 pjsua_call.c Making call with acc #0 to sip:3003 at 192.168.5.230 <sip%3A3003 at 192.168.5.110> 15:24:24.375 dlg00A4B3BC UAC dialog created 15:24:24.390 pasound.c Recorder thread started 15:24:24.390 ec00A04B20 Prefetching.. 15:24:24.406 pasound.c Player thread started 15:24:24.421 ec00A04B20 Prefetching.. 15:24:24.437 ec00A04B20 Prefetching.. 15:24:24.453 ec00A04B20 Prefetching.. 15:24:24.468 ec00A04B20 Prefetching.. 15:24:24.500 ec00A04B20 Prefetching.. 15:24:24.500 ec00A04B20 Latency bufferring complete 15:24:24.687 ec00A04B20 479 samples reduced, buf_cnt=1121 15:24:24.687 ec00A04B20 Buffer size adjusted from 1600 to 1121 (eff_cnt=1120) 15:24:24.687 ec00A04B20 Underflow, buf_cnt=161, will generate 1 frame 15:24:24.703 ec00A04B20 Underflow, buf_cnt=161, will generate 1 frame 15:24:29.390 sound_port.c EC suspended because of inactivity after this it is breaking into endpoint.c file in line no. 278. will you please tell me what should i do, i tried a lot but i am not able resolve it ...... Regards, New_bie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081222/e5696b32/attachment.html>