U 179.52.15.139:5060 -> 6*.21*.*.*:5060REGISTER sip:6*.21*.*.* SIP/2.0.Via: SIP/2.0/UDP 179.52.15.139:5060;branch=z9hG4bK8fe063f82c46944f82f41453570cb68b.Via: SIP/2.0/UDP 192.168.20.101:5060;branch=z9hG4bK-353933-c9dc9e0471de485344da7fe4c88613a9.From: "dsysadmin" <sip:dsysadmin@6*.21*.*.*>;tag=4b5777f.To: "dsysadmin" <sip:dsysadmin@6*.21*.*.*>.Call-ID: 30000d18ec62203b904a53e10fad630f@0:0:0:0:0:0:0:0.CSeq: 124 REGISTER.Contact: "dsysadmin" <sip:dsysadmin@179.52.15.139>;expires=600.Authorization: Digest username="dsysadmin", realm="6*.21*.*.*", nonce="Uh99PFIffBAhLnSkPLRBAqZju3FZ6ROQ", uri="sip:6*.21*.*.*", response="a04f9e3ad93d886a55473837023c9b03".max-forwards: 69.user-agent: Jitsi2.2.4603.9615Windows 7.expires: 600.Content-Length: 0..U 6*.21*.*.*:5060 -> 179.52.15.139:5060SIP/2.0 200 OK.Via: SIP/2.0/UDP 179.52.15.139:5060;branch=z9hG4bK8fe063f82c46944f82f41453570cb68b;rport=5060.Via: SIP/2.0/UDP 192.168.20.101:5060;branch=z9hG4bK-353933-c9dc9e0471de485344da7fe4c88613a9.From: "dsysadmin" <sip:dsysadmin@6*.21*.*.*>;tag=4b5777f.To: "dsysadmin" <sip:dsysadmin@6*.21*.*.*>;tag=b27e1a1d33761e85846fc98f5f3a7e58.0b2f.Call-ID: 30000d18ec62203b904a53e10fad630f@0:0:0:0:0:0:0:0.CSeq: 124 REGISTER.Contact: <sip:dsysadmin@179.52.15.139:5060>;expires=600.Server: kamailio (4.0.1 (x86_64/linux)).Content-Length: 0..T 179.52.15.139:50486 -> 6*.21*.*.*:5060 [AP]SUBSCRIBE sip:jksysadmin@6*.21*.*.* SIP/2.0.Via: SIP/2.0/TCP 192.168.20.101:5060;branch=z9hG4bK526978925BD041793235.From: <sip:sysadmin@6*.21*.*.*>;tag=1204824679;epid=1234567890.To: <sip:jksysadmin@6*.21*.*.*>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-ee04.Max-Forwards: 10.CSeq: 30 SUBSCRIBE.User-Agent: Purple/2.10.7.Call-ID: 3C5Ag29C4a1241i31F9m3E56t5A0Cb6AD1x6A6Dx.Proxy-Authorization: Digest username="sysadmin", realm="6*.21*.*.*", nonce="Uh99hlIffFoyiEXvs7XjPFSr9+9t5bKj", uri="sip:jksysadmin@6*.21*.*.*", nc="00000002", response="5939c0f0512a348a0e560046ca305bd2".Expires: 1200.Accept: application/pidf+xml, application/xpidf+xml.Event: presence.Contact: <sip:sysadmin@192.168.20.101:5060;transport=tcp>;methods="MESSAGE, SUBSCRIBE, NOTIFY".Content-Length: 0..T 6*.21*.*.*:5060 -> 179.52.15.139:50486 [AP]SIP/2.0 202 OK.Via: SIP/2.0/TCP 192.168.20.101:5060;branch=z9hG4bK526978925BD041793235;rport=50486;received=179.52.15.139.From: <sip:sysadmin@6*.21*.*.*>;tag=1204824679;epid=1234567890.To: <sip:jksysadmin@6*.21*.*.*>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-ee04.CSeq: 30 SUBSCRIBE.Call-ID: 3C5Ag29C4a1241i31F9m3E56t5A0Cb6AD1x6A6Dx.Expires: 1200.Contact: <sip:6*.21*.*.*:5060;transport=tcp>.Server: kamailio (4.0.1 (x86_64/linux)).Content-Length: 0.Kethzer Docteur
On Wed, Sep 4, 2013 at 6:00 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,
can you provide ngrep with a signaling flow for a call that doesn't work? It should show if the rtpproxy control functions were executed.
Cheers,
Daniel
On 8/28/13 9:28 PM, Kethzer Docteur wrote:
I need help to fixed my NAT configuration I have nat module load but nat configuration is not working. ANY HELP PLease
#!ifdef WITH_NATloadmodule "nathelper.so"loadmodule "rtpproxy.so"loadmodule "nat_traversal.so"#!endif
#!ifdef WITH_NAT# ----- rtpproxy params -----modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
# ----- nathelper params -----modparam("nathelper", "natping_interval", 30)modparam("nathelper", "ping_nated_only", 1)modparam("nathelper", "sipping_bflag", FLB_NATSIPPING)modparam("nathelper", "sipping_from", "sip:pinger@67.215.8.130")
# params needed for NAT traversal in other modulesmodparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)")modparam("usrloc", "nat_bflag", FLB_NATB)#!endif
route[NATDETECT] {#!ifdef WITH_NATforce_rport();if (nat_uac_test("19")) {if (is_method("REGISTER")) {fix_nated_register();} else {add_contact_alias();}setflag(FLT_NATS);}#!endifreturn;}
# RTPProxy controlroute[NATMANAGE] {#!ifdef WITH_NATif (is_request()) {if(has_totag()) {if(check_route_param("nat=yes")) {setbflag(FLB_NATB);}}}if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))return;
rtpproxy_manage();
if (is_request()) {if (!has_totag()) {add_rr_param(";nat=yes");}}if (is_reply()) {if(isbflagset(FLB_NATB)) {add_contact_alias();}}#!endifreturn;}--
Kethzer Docteur
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013 - more details about Kamailio trainings at http://www.asipto.com -
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--