I guess the problem is in this:
if (method=="ACK"){ sl_send_reply("", "ACK"); break; };
What is this supposed to do ? You must not send any replies to ACK.
Jan.
On 26-05 19:18, Shirley Toh wrote:
Hi,
Please help! I am trying to forward calls to PSTN gateway. But I run the ser code below, the call went through for the PSTN gateway but I can see multiple request of ACK. Anyone know what is happening ...thanks.!! Please HELP.
<<ser.txt>> <<error.txt>> Regards, Shirley
route{
# initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if ( msg:len > max_len ) { sl_send_reply("513", "Message too big"); break; };
#!! Nathelper if (nat_uac_test("3")){ if (method == "REGISTER" || !search("^Record-Route:")){ log("LOG:Someone trying to register from private IP, rewriting\n"); fix_nated_contact(); # Rewtite contact with source IP of signalling if(method== "INVITE"){ fix_nated_sdp("1"); # Add direction-active to SDP }; force_rport(); setflag(6); }; }else{ fix_nated_contact(); };
# we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol record_route(); # loose-route processing
if (loose_route()) { t_relay(); break; };
# if the request is for other domain use UsrLoc # (in case, it does not work, use the following command # with proper names and addresses in it) if (uri==myself) {
if (method=="REGISTER") { save("location"); break; };
};
if (uri=~"sip:019[0-9]+@myserver.com") { strip(1); rewritehostport("1.2.3.4:5060"); t_relay(); break; }
if (method=="INVITE") { fix_nated_sdp("3"); append_hf("P-hint:Invite"); # native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("", "Connecting"); break; }; };
if (method=="ACK"){ sl_send_reply("", "ACK"); break; };
if (isflagset(6)){ force_rtp_proxy(); append_hf("P-hint:Flag6"); }else{ force_rtp_proxy(); t_on_reply("1"); };
# forward to current uri now; use stateful forwarding; that # works reliably even if we forward from TCP to UDP if (!t_relay()) { sl_reply_error(); break; }; }
# all incoming replies for t_onrepli-ed transactions enter here onreply_route[1] { sdp_mangle_port("-12000"); if (isflagset(6) && status=~"2[0-9][0-9]"){ append_hf("First Route"); fix_nated_contact(); fix_nated_sdp("1"); force_rtp_proxy(); } else if (status=~"2[0-9][0-9]"){ if (uri=~"sip:019[0-9]+@myserver.com") { append_hf("019"); fix_nated_contact(); fix_nated_sdp("3"); } else{ append_hf("2nd Route"); fix_nated_contact(); fix_nated_sdp("2"); fix_nated_sdp("3"); force_rtp_proxy(); } }; }
SEND >> 1.2.3.4:5060 INVITE sip:testA@myserver.com SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C067A511D88A02005070100A6A From: Caliber Tech sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com Contact: sip:testB@203.125.211.234:5060 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Max-Forwards: 70 Content-Type: application/sdp User-Agent: myserver Product VersionOne Content-Length: 261
v=0 o=testB 17930046 17930046 IN IP4 203.125.211.234 s=myserver Product c=IN IP4 203.125.211.234 t=0 0 m=audio 8000 RTP/AVP 4 98 97 0 a=rtpmap:4 G723/8000 a=rtpmap:98 iLBC/8000 a=rtpmap:97 speex/8000 a=rtpmap:0 telephone-event/8000 a=fmtp:0 0-15
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 trying -- your call is important to us Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hG4bKD06873C067A511D88A02005070100A6A From: Caliber Tech sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Server: Sip EXpress router (0.8.12-tcp_nonb (i386/linux)) Content-Length: 0 Warning: 392 1.2.3.4:5060 "Noisy feedback tells: pid=20027 req_src_ip=203.125.211.234 req_src_port=58447 in_uri=sip:testA@myserver.com out_uri=sip:testA@PSTN:5060 via_cnt==1"
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1732 RTP/AVP 4 a=rtpmap:4 G723/8000
RECEIVE << 1.2.3.4:5060 SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1732 RTP/AVP 4 a=rtpmap:4 G723/8000
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1732 RTP/AVP 4 a=rtpmap:4 G723/8000
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1732 RTP/AVP 4 a=rtpmap:4 G723/8000
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
SEND >> 1.2.3.4:5060 BYE sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C267A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Max-Forwards: 9 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:58447 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Max-Forwards: 9 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:58447 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=9621243475442f10938a000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=9621243475442f10938a000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1734 RTP/AVP 4 a=rtpmap:4 G723/8000
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=9621243475442f10938a000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1734 RTP/AVP 4 a=rtpmap:4 G723/8000
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
SEND >> 203.125.211.233:5060 REGISTER sip:203.125.211.233 SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C467A511D88A02005070100A6A From: van sip:6567772238@203.125.211.233 To: van sip:6567772238@203.125.211.233 Contact: "van" sip:6567772238@203.125.211.234:5060 Call-ID: D068711367A511D88A02005070100A6A@203.125.211.233 CSeq: 4901 REGISTER Expires: 300 Max-Forwards: 70 User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 BYE sip:testB@203.125.211.234:58447 SIP/2.0 Max-Forwards: 10 Record-Route: sip:testB@1.2.3.4;lr=on Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK4c19.6fbff762.0 Via: SIP/2.0/UDP PSTN:5060;rport=5060 Via: SIP/2.0/UDP 202.8.41.94:5060 From: sip:testA@PSTN:5060 To: sip:testB@PSTN:5060 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 BYE Content-Length: 0 P-hint:Flag6
SEND >> 1.2.3.4:5060 SIP/2.0 200 Ok Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK4c19.6fbff762.0 Via: SIP/2.0/UDP PSTN:5060;rport=5060 Via: SIP/2.0/UDP 202.8.41.94:5060 From: sip:testA@PSTN:5060;tag=890f823375442f108d06000000000000 To: sip:testB@PSTN:5060;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 BYE User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 BYE sip:testB@203.125.211.234:58447 SIP/2.0 Max-Forwards: 10 Record-Route: sip:testB@1.2.3.4;lr=on Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK4c19.6fbff762.0 Via: SIP/2.0/UDP PSTN:5060;rport=5060 Via: SIP/2.0/UDP 202.8.41.94:5060 From: sip:testA@PSTN:5060 To: sip:testB@PSTN:5060 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 BYE Content-Length: 0 P-hint:Flag6
SEND >> 1.2.3.4:5060 SIP/2.0 200 Ok Via: SIP/2.0/UDP 1.2.3.4;branch=z9hG4bK4c19.6fbff762.0 Via: SIP/2.0/UDP PSTN:5060;rport=5060 Via: SIP/2.0/UDP 202.8.41.94:5060 From: sip:testA@PSTN:5060;tag=890f823375442f108d06000000000000 To: sip:testB@PSTN:5060;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 BYE User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Max-Forwards: 9 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:58447 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
SEND >> 203.125.211.233:5060 REGISTER sip:203.125.211.233 SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C467A511D88A02005070100A6A From: van sip:6567772238@203.125.211.233 To: van sip:6567772238@203.125.211.233 Contact: "van" sip:6567772238@203.125.211.234:5060 Call-ID: D068711367A511D88A02005070100A6A@203.125.211.233 CSeq: 4901 REGISTER Expires: 300 Max-Forwards: 70 User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Max-Forwards: 9 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:58447 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=cc039f3475442f108c19000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
SEND >> 203.125.211.233:5060 REGISTER sip:203.125.211.233 SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C467A511D88A02005070100A6A From: van sip:6567772238@203.125.211.233 To: van sip:6567772238@203.125.211.233 Contact: "van" sip:6567772238@203.125.211.234:5060 Call-ID: D068711367A511D88A02005070100A6A@203.125.211.233 CSeq: 4901 REGISTER Expires: 300 Max-Forwards: 70 User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=cc039f3475442f108c19000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Content-Length: 159 Content-Type: application/sdp
v=0 o=voizBridge 17930046 17930046 IN IP4 PSTN s=myserver Product c=IN IP4 PSTN t=0 0 m=audio 1737 RTP/AVP 4 a=rtpmap:4 G723/8000
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 486 Busy Here Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=cc039f3475442f108c19000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE Contact: "MEDIARING-ID" sip:testA@PSTN:5060;transport=udp Content-Length: 0
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 200 OK Max-Forwards: 9 Record-Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c267a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:58447 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13293 BYE User-agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=c053dc3475442f108a48000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
SEND >> 203.125.211.233:5060 REGISTER sip:203.125.211.233 SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C467A511D88A02005070100A6A From: van sip:6567772238@203.125.211.233 To: van sip:6567772238@203.125.211.233 Contact: "van" sip:6567772238@203.125.211.234:5060 Call-ID: D068711367A511D88A02005070100A6A@203.125.211.233 CSeq: 4901 REGISTER Expires: 300 Max-Forwards: 70 User-Agent: myserver Product VersionOne Content-Length: 0
RECEIVE << 1.2.3.4:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 203.125.211.234:5060;rport=58447;branch=z9hg4bkd06873c067a511d88a02005070100a6a From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=739b193575442f109940000000000000 Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 INVITE User-agent: myserver Product VersionOne Content-Length: 0
SEND >> 1.2.3.4:5060 ACK sip:testA@PSTN:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 203.125.211.234:5060;rport;branch=z9hG4bKD06873C167A511D88A02005070100A6A From: "Caliber Tech" sip:testB@myserver.com;tag=170752194 To: sip:testA@myserver.com;tag=890f823375442f108d06000000000000 Contact: sip:testB@203.125.211.234:5060 Route: sip:testA@1.2.3.4;ftag=170752194;lr=on Call-ID: D06873BF-67A5-11D8-8A02-005070100A6A@192.168.0.142 CSeq: 13292 ACK Max-Forwards: 70 Content-Length: 0
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers