Hi All, I am using python pjsua 1.10 module at windows platform, The application is working fine when I do not use ipsec connection (local ip 192... vpn: 135...) At start I had problem with sip register (I didn't get 200 ok from proxy server) - I resolved this setting bound_addr in Transport to 135... pj.pjsip;DEBUG; 21:58:47.489 pjsua_core.c TX 557 bytes Request msg REGISTER/cseq=21412 (tdta011C2C90) to UDP 135.y.y.y:5060: REGISTER sip:10.0.200.40 SIP/2.0 Via: SIP/2.0/UDP 135.x.x.x:4774;rport;branch=z9hG4bKPj4ceaf11c104b471087d8100813be1bc0 Route: <sip:135.y.y.y;lr> Max-Forwards: 70 From: <sip:12029469000@10.0.200.40>;tag=16476c352e0348748c8ee4f8c3d99dc0 To: <sip:12029469000 at 10.0.200.40> Call-ID: 93189cee9d984e0287f26cc3f401f9bc CSeq: 21412 REGISTER User-Agent: pjsip python Contact: <sip:12029469000 at 135.x.x.x:4774;ob> Expires: 300 Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Content-Length: 0 But I still can not set up RTP (SDP offer) correctly -to 135.... pj.pjsip;DEBUG; 21:58:47.474 pjsua_media.c RTP socket reachable at 192.168.3.101:4000 pj.pjsip;DEBUG; 21:58:47.474 pjsua_media.c RTCP socket reachable at 192.168.3.101:4001 pj.pjsip;DEBUG; 21:58:47.567 pjsua_core.c TX 1123 bytes Request msg INVITE/cseq=18787 (tdta01800490) to UDP 135.248.214.230:5060: INVITE sip:12029469000 at 10.178.190.249 SIP/2.0 Via: SIP/2.0/UDP 135.x.x.x:4774;rport;branch=z9hG4bKPj19c1bbadd3c14198a1532de012830bdf Max-Forwards: 70 From: sip:12029469000@10.0.200.40;tag=304aa825cb174664908618164487c655 To: sip:12029469000 at 10.178.190.249 Contact: <sip:12029469000 at 135.244.176.99:4774;ob> Call-ID: 05d77f1e05bf49578ceaa1c829656bf2 CSeq: 18787 INVITE Route: <sip:135.y.y.y;lr> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 User-Agent: pjsip python Content-Type: application/sdp Content-Length: 453 v=0 o=- 3515954327 3515954327 IN IP4 192.168.3.101 s=pjmedia c=IN IP4 192.168.3.101 t=0 0 a=X-nat:0 m=audio 4000 RTP/AVP 98 97 99 104 3 0 8 9 96 a=rtcp:4001 IN IP4 192.168.3.101 a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:99 speex/32000 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=sendrecv a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 --end msg-- Unfortunately I don't know how to replace the 192.168.3.101 to 135.x.x.x in RTP (SDP offer) I noticed that in pjsua_media.c the bound_addr for rtp media is set as PJ_INADDR_ANY. (bound_addr.sin_addr.s_addr = PJ_INADDR_ANY;) Is there possibility to set rtp bound_addr from Transport bound_addr (135...)? The public_addr works the same like bound_addr in this scenario. Regards, Darek -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110601/065224bf/attachment.html>