hi all, attached log file from pjsua. I connect to opensips server and for some reason I don't get the received=ip addr in the respones and so incomming calls don't comes in. is it releated to server or pjsip problem? thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091030/2938dfba/attachment-0001.html> -------------- next part -------------- 23:46:16.531 os_core_win32. pjlib 1.4-trunk for win32 initialized 23:46:16.593 sip_endpoint.c Creating endpoint instance... 23:46:16.593 pjlib select() I/O Queue created (00B730C8) 23:46:16.593 sip_endpoint.c Module "mod-msg-print" registered 23:46:16.593 sip_transport. Transport manager created. 23:46:16.593 sip_endpoint.c Module "mod-pjsua-log" registered 23:46:16.593 sip_endpoint.c Module "mod-tsx-layer" registered 23:46:16.593 sip_endpoint.c Module "mod-stateful-util" registered 23:46:16.593 sip_endpoint.c Module "mod-ua" registered 23:46:16.593 sip_endpoint.c Module "mod-100rel" registered 23:46:16.593 sip_endpoint.c Module "mod-pjsua" registered 23:46:16.593 sip_endpoint.c Module "mod-invite" registered 23:46:16.953 pa_dev.c PortAudio sound library initialized, status=0 23:46:16.953 pa_dev.c PortAudio host api count=3 23:46:16.953 pa_dev.c Sound device count=8 23:46:16.953 wmme_dev.c WMME initialized, found 3 devices: 23:46:16.953 wmme_dev.c dev_id 0: Wave mapper (in=2, out=2) 23:46:16.953 wmme_dev.c dev_id 1: Realtek HD Audio Input (in=2, out=0) 23:46:16.953 wmme_dev.c dev_id 2: Realtek HD Audio output (in=0, out=2) 23:46:16.953 pjlib select() I/O Queue created (00B0F814) 23:46:16.968 sip_endpoint.c Module "mod-evsub" registered 23:46:16.968 sip_endpoint.c Module "mod-presence" registered 23:46:16.968 sip_endpoint.c Module "mod-refer" registered 23:46:16.968 sip_endpoint.c Module "mod-pjsua-pres" registered 23:46:16.968 sip_endpoint.c Module "mod-pjsua-im" registered 23:46:16.968 sip_endpoint.c Module "mod-pjsua-options" registered 23:46:16.968 pjsua_core.c 1 SIP worker threads created 23:46:16.968 pjsua_core.c pjsua version 1.4-trunk for win32 initialized 23:46:16.968 sip_endpoint.c Module "mod-default-handler" registered 23:46:16.968 pjsua_core.c SIP UDP socket reachable at 192.168.1.100:5060 23:46:16.968 udp00B85D08 SIP UDP transport started, published address is 19 2.168.1.100:5060 23:46:16.968 pjsua_acc.c Account <sip:192.168.1.100:5060> added with id 0 23:46:16.984 tcplis:5060 SIP TCP listener ready for incoming connections at 192.168.1.100:5060 23:46:16.984 pjsua_acc.c Account <sip:192.168.1.100:5060;transport=TCP> add ed with id 1 23:46:16.984 pjsua_media.c RTP socket reachable at 192.168.1.100:4000 23:46:16.984 pjsua_media.c RTCP socket reachable at 192.168.1.100:4001 23:46:17.000 pjsua_media.c RTP socket reachable at 192.168.1.100:4002 23:46:17.000 pjsua_media.c RTCP socket reachable at 192.168.1.100:4003 23:46:17.000 pjsua_media.c RTP socket reachable at 192.168.1.100:4004 23:46:17.000 pjsua_media.c RTCP socket reachable at 192.168.1.100:4005 23:46:17.015 pjsua_media.c RTP socket reachable at 192.168.1.100:4006 23:46:17.015 pjsua_media.c RTCP socket reachable at 192.168.1.100:4007 >>>> Account list: [ 0] <sip:192.168.1.100:5060>: does not register Online status: Online *[ 1] <sip:192.168.1.100:5060;transport=TCP>: does not register Online status: Online Buddy list: -none- +=============================================================================+ | Call Commands: | Buddy, IM & Presence: | Account: | | | | | | m Make new call | +b Add new buddy .| +a Add new accnt | | M Make multiple calls | -b Delete buddy | -a Delete accnt. | | a Answer call | i Send IM | !a Modify accnt. | | h Hangup call (ha=all) | s Subscribe presence | rr (Re-)register | | H Hold call | u Unsubscribe presence | ru Unregister | | v re-inVite (release hold) | t ToGgle Online status | > Cycle next ac.| | U send UPDATE | T Set online status | < Cycle prev ac.| | ],[ Select next/prev call +--------------------------+-------------------+ | x Xfer call | Media Commands: | Status & Config: | | X Xfer with Replaces | | | | # Send RFC 2833 DTMF | cl List ports | d Dump status | | * Send DTMF with INFO | cc Connect port | dd Dump detailed | | dq Dump curr. call quality | cd Disconnect port | dc Dump config | | | V Adjust audio Volume | f Save config | | S Send arbitrary REQUEST | Cp Codec priorities | f Save config | +------------------------------+--------------------------+-------------------+ | q QUIT L ReLoad sleep MS echo [0|1|txt] n: detect NAT type | +=============================================================================+ You have 0 active call >>> +a Your SIP URL: (empty to cancel): sip:1111 at X.X.X.X:30101 URL of the registrar: (empty to cancel): sip:1111 at X.X.X.X:30101 Auth Realm: (empty to cancel): * Auth Username: (empty to cancel): 1111 Auth Password: (empty to cancel): 1111 23:46:59.968 pjsua_acc.c Account sip:1111 at X.X.X.X:30101 added with id 2 23:46:59.968 pjsua_core.c TX 433 bytes Request msg REGISTER/cseq=25940 (tdta 00B92C08) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPjec8cf091c0b643ecada4e0 3e25c02523 Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=d57688b7bc74432eb6cb7fccc9e26e00 To: <sip:1111 at X.X.X.X> Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25940 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:5060> Expires: 300 Content-Length: 0 --end msg-- 23:46:59.968 pjsua_acc.c Registration sent >>> 23:47:00.000 pjsua_core.c RX 500 bytes Response msg 401/REGISTER/cseq=25 940 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPjec8cf091c0b643ec ada4e03e25c02523 From: <sip:1111@X.X.X.X>;tag=d57688b7bc74432eb6cb7fccc9e26e00 To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.8902 Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25940 REGISTER WWW-Authenticate: Digest realm="X.X.X.X", nonce="4aeb5eee000000131c383e82a 5e863dc2f087821fe805d3d" Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.000 pjsua_core.c TX 634 bytes Request msg REGISTER/cseq=25941 (tdta 00B92C08) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPjca7d717486e9452a98d1c5 aa8579123b Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=d57688b7bc74432eb6cb7fccc9e26e00 To: <sip:1111 at X.X.X.X> Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25941 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:5060> Expires: 300 Authorization: Digest username="1111", realm="X.X.X.X", nonce="4aeb5eee000 000131c383e82a5e863dc2f087821fe805d3d", uri="sip:1111 at X.X.X.X:30101", resp onse="bb44c388b3d233ff863e546c6aa5da12" Content-Length: 0 --end msg-- 23:47:00.031 pjsua_core.c RX 436 bytes Response msg 200/REGISTER/cseq=25941 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPjca7d717486e9452a 98d1c5aa8579123b From: <sip:1111@X.X.X.X>;tag=d57688b7bc74432eb6cb7fccc9e26e00 To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.70ce Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25941 REGISTER Contact: <sip:1111 at 192.168.1.100:5060>;expires=300 Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.031 pjsua_acc.c IP address change detected for account 2 (192.168. 1.100:5060 --> 192.168.1.100:49153). Updating registration.. 23:47:00.031 pjsua_core.c TX 431 bytes Request msg REGISTER/cseq=25942 (tdta 00B95EE8) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPjfe447ce4a9bc48b69935d1 08aa84ddae Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=f171c2c4341244c6a34567a2648ae22b To: <sip:1111 at X.X.X.X> Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25942 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:5060> Expires: 0 Content-Length: 0 --end msg-- 23:47:00.031 pjsua_acc.c Unregistration sent 23:47:00.031 pjsua_core.c TX 448 bytes Request msg REGISTER/cseq=18509 (tdta 00B99208) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPj797c43380b8d4f83aab0b1 37682411eb Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=a052fc7d66944da0a305025981946b7c To: <sip:1111 at X.X.X.X> Call-ID: 1d0482a490fd4134be1f3afc447b3dd1 CSeq: 18509 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:49153;transport=UDP> Expires: 300 Content-Length: 0 --end msg-- 23:47:00.031 pjsua_acc.c Registration sent 23:47:00.078 pjsua_core.c RX 500 bytes Response msg 401/REGISTER/cseq=25942 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPjfe447ce4a9bc48b6 9935d108aa84ddae From: <sip:1111@X.X.X.X>;tag=f171c2c4341244c6a34567a2648ae22b To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.238a Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25942 REGISTER WWW-Authenticate: Digest realm="X.X.X.X", nonce="4aeb5eee0000001430cc12fdd e0739a09fbbcf291d48db6b" Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.078 pjsua_core.c TX 632 bytes Request msg REGISTER/cseq=25943 (tdta 00B95EE8) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPj487eb185fc6e49a7ad20e2 53fbeb4e54 Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=f171c2c4341244c6a34567a2648ae22b To: <sip:1111 at X.X.X.X> Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25943 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:5060> Expires: 0 Authorization: Digest username="1111", realm="X.X.X.X", nonce="4aeb5eee000 0001430cc12fdde0739a09fbbcf291d48db6b", uri="sip:1111 at X.X.X.X:30101", resp onse="3ea9b32f2e314b81c640a4a14188958a" Content-Length: 0 --end msg-- 23:47:00.078 pjsua_core.c RX 500 bytes Response msg 401/REGISTER/cseq=18509 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPj797c43380b8d4f83 aab0b137682411eb From: <sip:1111@X.X.X.X>;tag=a052fc7d66944da0a305025981946b7c To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.49c1 Call-ID: 1d0482a490fd4134be1f3afc447b3dd1 CSeq: 18509 REGISTER WWW-Authenticate: Digest realm="X.X.X.X", nonce="4aeb5eee00000015e0c2d208a fd313848b7d747e2a07a70e" Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.078 pjsua_core.c TX 649 bytes Request msg REGISTER/cseq=18510 (tdta 00B99208) to UDP X.X.X.X:30101: REGISTER sip:1111 at X.X.X.X:30101 SIP/2.0 Via: SIP/2.0/UDP 192.168.1.100:5060;rport;branch=z9hG4bKPj75ed7b5e58ad4aa5bfb8f5 aa2cf7f723 Max-Forwards: 70 From: <sip:1111@X.X.X.X>;tag=a052fc7d66944da0a305025981946b7c To: <sip:1111 at X.X.X.X> Call-ID: 1d0482a490fd4134be1f3afc447b3dd1 CSeq: 18510 REGISTER User-Agent: PJSUA v1.4-trunk/win32 Contact: <sip:1111 at 192.168.1.100:49153;transport=UDP> Expires: 300 Authorization: Digest username="1111", realm="X.X.X.X", nonce="4aeb5eee000 00015e0c2d208afd313848b7d747e2a07a70e", uri="sip:1111 at X.X.X.X:30101", resp onse="f2671a7955a61290be7182d71fce9143" Content-Length: 0 --end msg-- 23:47:00.109 pjsua_core.c RX 384 bytes Response msg 200/REGISTER/cseq=25943 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPj487eb185fc6e49a7 ad20e253fbeb4e54 From: <sip:1111@X.X.X.X>;tag=f171c2c4341244c6a34567a2648ae22b To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.892c Call-ID: 18429decf77d484ca5b3c33af15f8d48 CSeq: 25943 REGISTER Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.125 pjsua_core.c RX 451 bytes Response msg 200/REGISTER/cseq=18510 (rdata00B861EC) from UDP X.X.X.X:30101: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.100:5060;rport=49153;branch=z9hG4bKPj75ed7b5e58ad4aa5 bfb8f5aa2cf7f723 From: <sip:1111@X.X.X.X>;tag=a052fc7d66944da0a305025981946b7c To: <sip:1111 at X.X.X.X>;tag=129094a86fe46384fc7404961c288462.508d Call-ID: 1d0482a490fd4134be1f3afc447b3dd1 CSeq: 18510 REGISTER Contact: <sip:1111 at 192.168.1.100:49153;transport=UDP>;expires=300 Server: OpenSIPS (1.5.3-tls (i386/linux)) Content-Length: 0 --end msg-- 23:47:00.125 pjsua_acc.c sip:1111 at X.X.X.X:30101: registration success , status=200 (OK), will re-register in 300 seconds