yes, that is correct as BYE is a sequential request and it will follow the loose_route mechanism.
Regards, Bogdan Deepak wrote: > Problem solved. I had to add the lines below to the > > if (loose_route()) section. That fixed the problem.Thanks for your help > > On Wed, Mar 11, 2009 at 4:08 PM, Deepak <[email protected] > <mailto:[email protected]>> wrote: > > Hi Bogdan, > Thanks. I tried it but does not help. I have the following line > > if (has_totag()) { > if (loose_route()) { > route(1); > } else { > if ( is_method("ACK") ) { > if ( t_check_trans() ) { > # non loose-route, but > stateful ACK; must be an ACK after a 487 or e.g. 404 from upstream > server > t_relay(); > exit; > } else { > # ACK without matching > transaction ... ignore and discard.\n"); > #t_relay(); > exit; > } > } > if (is_method("BYE") && > src_ip!=asteriskIP) /** Basically any BYE from the PSTN GW- > PSTNGW r not asterisk */ > { > subst_uri('/(sip:.*);transport=TCP/\1/'); > route(1); > exit; > } > sl_send_reply("404","Not here"); > } > exit; > > I have the same lines also outside the "has_totag" block. > > The log shows me: > > > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_msg: SIP Request: > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_msg: method: <BYE> > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_msg: uri: <sip:xxxx31...@asteriskip;transport=TCP> > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_msg: version: <SIP/2.0> > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=2 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_to_param: tag=as3783e88a > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_to: end of header reached, state=29 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_to: display={"XXXX31003"}, > ruri={sip:xxxx31...@asteriskip} > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_hdr_field: <To> [59]; uri=[sip:xxxx31...@asteriskip] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_hdr_field: to body > ["XXXX31003"<sip:6155631...@asteriskip>] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_hdr_field: cseq <CSeq>: <1> <BYE> > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_via_param: found param type 232, <branch> = > <z9hG4bK-1c03-6d6f6e-46f14d61>; state=16 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_via: end of header reached, state=5 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: via found, flags=2 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: this is the first via > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:receive_msg: After parse_msg... > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:receive_msg: preparing to run routing scripts... > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=100 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:maxfwd:is_maxfwd_present: value = 70 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:uri:has_totag: totag found > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=200 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:rr:is_preloaded: is_preloaded: No > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if host==us: 13==13 && > [asteriskip] == [opensipsip] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if port 5060 matches port 5060 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if host==us: 13==13 && > [asteriskip] == [opensips_ip] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if port 5060 matches port 5060 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:check_self: host != me > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if host==us: 13==13 && > [asteriskip] == [opensips_ip] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if port 5060 matches port 5060 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:rr:after_loose: Topmost route URI: > 'sip:asteriskip;transport=tcp;lr=on;r2=on' is me > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=200 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:grep_sock_info: checking if host==us: 13==13 && > [66.211.50.179] == [66.211.50.179] > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=200 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_hdr_field: content_length=0 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_hdr_field: found end of header > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:rr:find_next_route: No next Route HF found > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:rr:after_loose: no next URI found > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:t_newtran: transaction on entrance=0xffffffff > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=ffffffffffffffff > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=78 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:t_lookup_request: start searching: hash=25855, isACK=0 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:matching_3261: RFC3261 transaction matching failed > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:t_lookup_request: no transaction found > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:mk_proxy: doing DNS lookup... > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:get_send_socket: force_send_socket of different proto (2)! > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=2000 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:build_req_buf_from_sip_req: id added: <;i=e45>, rcv proto=2 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:check_via_address: params PSTNGW_IP_PUBLIC, > PSTNW_IP_PRIVATE, 0 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: no open tcp connection found, opening new one > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:core:tcp_blocking_connect: poll error: flags 18 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:core:tcp_blocking_connect: failed to retrieve SO_ERROR (111) > Connection refused > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:core:tcpconn_connect: tcp_blocking_connect failed > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:core:tcp_send: connect failed > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:tm:msg_send: tcp_send failed > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > ERROR:tm:t_forward_nonack: sending request failed > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:t_relay_to: t_forward_nonack returned error > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:parse_headers: flags=ffffffffffffffff > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:check_via_address: params 66.211.50.186, 10.100.1.186, 0 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:_shm_resize: resize(0) called > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:cleanup_uac_timers: RETR/FR timers reset > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:insert_timer_unsafe: [2]: 0xb3caf160 (9863) > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: tcp connection found (0xb3d33be8), acquiring fd > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2704]: > DBG:core:handle_ser_child: read response= b3d33be8, 1, fd -1 from > 9 (2702) > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: c= 0xb3d33be8, n=8 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: after receive_fd: c= 0xb3d33be8 n=4 fd=23 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: sending... > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: after write: c= 0xb3d33be8 n=633 fd=23 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:core:tcp_send: buf= SIP/2.0 477 Send failed (477/TM)^M From: > <sip:yyyy23...@opensips_ip>;tag=886ba98-0-13c4-50022-1bdd-1579f2a2-1bdd^M > To: "XXXX31003"<sip:6155631...@asteriskip>;tag=as3783e88a^M > Call-ID: 20da9a8820b1290734051bc850bf0...@asteriskip^m > <mailto:20da9a8820b1290734051bc850bf0...@asteriskip%5em> CSeq: 1 > BYE^M Via: SIP/2.0/TCP > > NON_ROUTABE_PRIVATEIP_PSTNGW:5060;branch=z9hG4bK-1c03-6d6f6e-46f14d61;received=PSTNGW_IP^M > Server: OpenSIPS (1.4.2-notls (i386/linux))^M Content-Length: 0^M > Warning: 392 opensips_IP:5060 "Noisy feedback tells: pid=2702 > req_src_ip=PSTNGW_IP req_src_port=1641 > in_uri=sip:x...@asterisk_ip;transport=TCP > out_uri=sip:xxxx...@asterisk_ip;transport=TCP via_cnt==1"^M ^M > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:_reply_light: reply sent out. buf=0x81a8a98: SIP/2.0 4..., > shmem=0xb3cb4e00: SIP/2.0 4 > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:_reply_light: finished > Mar 11 14:47:31 router1 /opt/local/sbin/opensips[2702]: > DBG:tm:t_relay_to: generation of a stateful reply on error succeeded > > > > > > > > > On Wed, Mar 11, 2009 at 12:18 PM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]>> wrote: > > yes, you can : > > if (is_method("BYE") && src_ip==xxx.xxx.xxx.xxx) > subst_uri('/(sip:.*);transport=tcp/\1/') > > Regards, > Bogdan > > Deepak wrote: > > Thanks Bogdan. That makes sense. > If I cannot have the PSTN GW fix the "bug", can I in > opensips cfg file, just modify the RURI of the BYE > received from the PSTNGW to remove "transport=tcp"? In > other words something like: > if is_method == BYW and src_ip == PSTNGW > remove transport=TCP from RURI > Deepak > > On Wed, Mar 11, 2009 at 11:32 AM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> wrote: > > Hi, > > my guess (check the logs to confirm) is that OpenSIPS > try to send > the BYE to Asterisk via TCP also - the send fails as > opensips > cannot open a TCP connection to Asterisk. > > A point to start is the bogus RURI in BYE: > sip:yyyyy91...@asterisk_ip;transport=TCP > > It looks like the GW is adding by itself the > transport=TCP param > to the received contact (check the contact in INVITE > and ACK, as > they do not have the transport param). > > So, it is a bug on the GW. > > Regards, > Bogdan > > Deepak wrote: > > Hi, I am in a predicament and would appreciate any > help. I > have the following setup: > asterisk<--- UDP---> OPENSIPS <--- TCP ---> PSTNGW > asterisk is sending SIP packets via UDP which then > OPENSIPS > forwards via TCP to the PSTNGW > All calls are initiated by asterisk and all works > well EXCEPT > _for the scenaio when PSTNGW sends a BYE_. In that > case I get > the following error on OPENSIPS > Send failed (477/TM). > If asterisk sends a BYE, no issues. > Opensips is listening on both TCP and UDP. Here is > call trace > for one complete call in which a BYE is received > from the > PSTNGW and OPENSIPS says "Send failed". > The only thing that I can notice is that the "Via" > Field in > the BYE initiated by the PSTNGW has a private IP > address > (10.100.1.189). Could this cause a problem? > Thanks > ---- > U asterisk_IP:5060 -> opensips_IP:5060 > INVITE sip:xxxx448...@opensips_ip SIP/2.0..Via: > SIP/2.0/UDP > asterisk_IP:5060; > branch=z9hG4bK1f043581;rport..Max-Forwards: 70..From: > "YYYYY91007" < > sip:yyyyy91...@asterisk_ip>;tag=as093bdd40..To: > <sip:xxxx448...@opensipsip > >..Contact: <sip:yyyyy91...@asterisk_ip>..Call-ID: > 7d78872708ef61a72 > 218b99a23ccf...@asterisk_ip..cseq > <mailto:218b99a23ccf...@asterisk_ip > <mailto:218b99a23ccf...@asterisk_ip>. > <mailto:218b99a23ccf...@asterisk_ip > <mailto:218b99a23ccf...@asterisk_ip>.>.CSeq>: 102 > INVITE..User-Agent: B2B..Remote-Pa > > rty-ID: "YYYYY91007" > <sip:yyyyy91...@asterisk_ip>;privacy=off;screen=no.. > Date: Wed, 11 Mar 2009 13:13:59 GMT..Allow: > INVITE, ACK, > CANCEL, OPTIONS, B > YE, REFER, SUBSCRIBE, NOTIFY..Supported: replaces, > timer..Content-Type: app > lication/sdp..Content-Length: 244....v=0..o=root > 1936846470 > 1936846470 IN I > P4 asterisk_IP..s=B2B..c=IN IP4 asterisk_IP..t=0 > 0..m=audio > 59442 RTP/A > VP 18 101..a=rtpmap:18 G729/8000..a=fmtp:18 > annexb=no..a=rtpm > U opensips_IP:5060 -> asterisk_IP:5060 > SIP/2.0 100 Giving a try..Via: SIP/2.0/UDP > asterisk_IP:5060;branch=z9hG4b > K1f043581;rport=5060..From: "YYYYY91007" > <sip:yyyyy91...@asterisk_ip>;tag > =as093bdd40..To: > <sip:xxxx448...@opensips_ip>..Call-ID: > 7d78872708ef61a7 > 2218b99a23ccf...@asterisk_ip..cseq > <mailto:2218b99a23ccf...@asterisk_ip > <mailto:2218b99a23ccf...@asterisk_ip>. > <mailto:2218b99a23ccf...@asterisk_ip > <mailto:2218b99a23ccf...@asterisk_ip>.>.CSeq>: 102 > INVITE..Server: OpenSIPS (1.4.2-n > > otls (i386/linux))..Content-Length: 0..Warning: 392 > opensips_IP:5060 "Noi > sy feedback tells: pid=1823 req_src_ip=asterisk_IP > req_src_port=5060 in_ > uri=sip:xxxx448...@opensips_ip > out_uri=sip:xxxx448...@pstngw_ip:506 > 0;transport=tcp via_cnt==1".... > T opensips_IP:60719 -> PSTNGW_IP:5060 [AP] > INVITE sip:xxxx448...@pstngw_ip:5060;transport=tcp > SIP/2.0..Record-Rou > te: > > <sip:opensips_IP;transport=tcp;r2=on;lr=on>..Record-Route: > <sip:opensips_IP > ;r2=on;lr=on>..Via: SIP/2.0/TCP > opensips_IP;branch=z9hG4bK95f6.df > 741935.0..Via: SIP/2.0/UDP > asterisk_IP:5060;received=asterisk_IP;branch > =z9hG4bK1f043581;rport=5060..Max-Forwards: 69..From: > "YYYYY91007" <sip:3184 > 491...@asterisk_ip>;tag=as093bdd40..To > <mailto:491...@asterisk_ip <mailto:491...@asterisk_ip> > <mailto:491...@asterisk_ip > <mailto:491...@asterisk_ip>>%3E;tag=as093bdd40..To>: > <sip:xxxx448...@opensips_ip>.. > > Contact: <sip:yyyyy91...@asterisk_ip>..Call-ID: > 7d78872708ef61a72218b99a2 > 3ccf...@asterisk_ip..cseq > <mailto:3ccf...@asterisk_ip <mailto:3ccf...@asterisk_ip>. > <mailto:3ccf...@asterisk_ip > <mailto:3ccf...@asterisk_ip>.>.CSeq>: 102 INVITE..User-Agent: > B2B..Remote-Party-ID: > > "YYYYY91007" > > <sip:yyyyy91...@asterisk_ip>;privacy=off;screen=no..Date: We > d, 11 Mar 2009 13:13:59 GMT..Allow: INVITE, ACK, > CANCEL, > OPTIONS, BYE, REFE > R, SUBSCRIBE, NOTIFY..Supported: replaces, > timer..Content-Type: application > /sdp..Content-Length: 244....v=0..o=root 1936846470 > 1936846470 IN IP4 asterisk_IP > 1.50...s=B2B..c=IN IP4 asterisk_IP..t=0 0..m=audio > 59442 > RTP/AVP 18 10 > 1..a=rtpmap:18 G729/8000..a=fmtp:18 > annexb=no..a=rtpmap:101 > telephone-event > /8000..a=fmtp:101 0-16..a=ptime:20..a=sendrecv.. > T PSTNGW_IP:5060 -> opensips_IP:60719 [AP] > SIP/2.0 180 Ringing..From: > "YYYYY91007"<sip:yyyyy91...@asterisk_ip>;tag=a > s093bdd40..To: > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f > 2d-441b0d06-39f2d..Call-ID: > 7d78872708ef61a72218b99a23ccf...@asterisk_ip > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip> > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>>>. > > .CSeq: 102 INVITE..Via: SIP/2.0/TCP > opensips_IP;branch=z9hG4bK95f6.df7419 > 35.0..Via: SIP/2.0/UDP > asterisk_IP:5060;received=asterisk_IP;rport=5060 > ;branch=z9hG4bK1f043581..Supported: > replaces..Record-Route: > <sip:opensipsIP > ;transport=tcp;lr=on;r2=on>..Record-Route: > <sip:opensips_IP;lr=on;r2=o > n>..Contact: > > <sip:xxxx448...@pstngw_ip:5060;transport=tcp>..Allow: INV > ITE, CANCEL, ACK, BYE, OPTIONS, REFER, > NOTIFY..Content-Type: > application/sd > p..Content-Length: 263....v=0..o=Intel_IPCCLib > 143379592 > 143379593 IN IP4 ptngw_IP > ..s=Intel_SIP_CCLIB..c=IN IP4 PSTNGW_IP..t=0 > 0..m=audio 493 > 42 RTP/AVP 18 101..a=rtpmap:18 G729/8000..a=fmtp:18 > annexb=no..a=ptime:30.. > a=sendrecv..a=rtpmap:101 > telephone-event/8000..a=fmtp:101 0-15.. > U opensips_IP:5060 -> asterisk_IP:5060 > SIP/2.0 180 Ringing..From: > "YYYYY91007"<sip:yyyyy91...@asterisk_ip>;tag=a > s093bdd40..To: > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f > 2d-441b0d06-39f2d..Call-ID: > 7d78872708ef61a72218b99a23ccf...@asterisk_ip > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip> > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>>>. > > .CSeq: 102 INVITE..Via: SIP/2.0/UDP > asterisk_IP:5060;received=asterisk_IP1.50.1 > 90;rport=5060;branch=z9hG4bK1f043581..Supported: > replaces..Record-Route: <s > > ip:opensips_IP;transport=tcp;lr=on;r2=on>..Record-Route: > <sip:asterisk_IP1.50.1 > 79;lr=on;r2=on>..Contact: > <sip:xxxx448...@pstngw_ip:5060;transport=tcp > >..Allow: INVITE, CANCEL, ACK, BYE, OPTIONS, REFER, > NOTIFY..Content-Type: a > pplication/sdp..Content-Length: > 263....v=0..o=Intel_IPCCLib > 143379592 14337 > 9593 IN IP4 PSTNGW_IP..s=Intel_SIP_CCLIB..c=IN IP4 > PSTNGW_IP..t=0 0 > ..m=audio 49342 RTP/AVP 18 101..a=rtpmap:18 > G729/8000..a=fmtp:18 annexb=no. > .a=ptime:30..a=sendrecv..a=rtpmap:101 > telephone-event/8000..a=fmtp:101 0-15 > .. > T PSTNGW_IP:5060 -> opensips_IP:60719 [AP] > SIP/2.0 200 OK..From: > "YYYYY91007"<sip:yyyyy91...@asterisk_ip>;tag=as093b > dd40..To: > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f2d-44 > 1b0d06-39f2d..Call-ID: > 7d78872708ef61a72218b99a23ccf...@asterisk_ip..cseq > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>. > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>.>.CSeq> > > : 102 INVITE..Via: SIP/2.0/TCP > opensips_IP;branch=z9hG4bK95f6.df741935.0. > .Via: SIP/2.0/UDP > asterisk_IP:5060;received=asterisk_IP;rport=5060;bran > ch=z9hG4bK1f043581..Supported: replaces..Record-Route: > <sip:opensips_IP;t > ransport=tcp;lr=on;r2=on>..Record-Route: > <sip:opensips_IP;lr=on;r2=on>..C > ontact: > <sip:xxxx448...@pstngw_ip:5060;transport=tcp>..Allow: > INVITE, > CANCEL, ACK, BYE, OPTIONS, REFER, > NOTIFY..Content-Type: > application/sdp..Co > ntent-Length: 263....v=0..o=Intel_IPCCLib > 143379592 143379593 > IN IP4 pstngw_IP.. > s=Intel_SIP_CCLIB..c=IN IP4 PSTNGW_IP..t=0 > 0..m=audio 49342 RT > P/AVP 18 101..a=rtpmap:18 G729/8000..a=fmtp:18 > annexb=no..a=ptime:30..a=sen > drecv..a=rtpmap:101 > telephone-event/8000..a=fmtp:101 0-15.. > U opensips_IP:5060 -> asterisk_IP:5060 > SIP/2.0 200 OK..From: > "YYYYY91007"<sip:yyyyy91...@asterisk_ip>;tag=as093b > dd40..To: > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f2d-44 > 1b0d06-39f2d..Call-ID: > 7d78872708ef61a72218b99a23ccf...@asterisk_ip..cseq > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>. > > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip > <mailto:7d78872708ef61a72218b99a23ccf...@asterisk_ip>.>.CSeq> > > : 102 INVITE..Via: SIP/2.0/UDP > asterisk_IP:5060;received=asterisk_IP;rp > ort=5060;branch=z9hG4bK1f043581..Supported: > replaces..Record-Route: <sip:opensipsIP > ;transport=tcp;lr=on;r2=on>..Record-Route: > <sip:opensips_IP;lr > =on;r2=on>..Contact: > <sip:xxxx448...@pstngw_ip:5060;transport=tcp>..Al > low: INVITE, CANCEL, ACK, BYE, OPTIONS, REFER, > NOTIFY..Content-Type: applic > ation/sdp..Content-Length: 263....v=0..o=Intel_IPCCLib > 143379592 143379593 > IN IP4 PSTNGW_IP..s=Intel_SIP_CCLIB..c=IN IP4 > PSTNGW_IP..t=0 > 0..m=a > udio 49342 RTP/AVP 18 101..a=rtpmap:18 > G729/8000..a=fmtp:18 > annexb=no..a=pt > ime:30..a=sendrecv..a=rtpmap:101 > telephone-event/8000..a=fmtp:101 0-15.. > U asterisk_IP:5060 -> opensips_IP:5060 > ACK sip:xxxx448...@pstngw_ip:5060;transport=tcp > SIP/2.0..Via: > SIP/2.0/ > UDP > asterisk_IP:5060;branch=z9hG4bK2ba1a834;rport..Route: > <sip:opensipsIP > > > ;lr=on;r2=on>,<sip:opensips_IP;transport=tcp;lr=on;r2=on>..Max-Forward > s: 70..From: "YYYYY91007" > <sip:yyyyy91...@asterisk_ip>;tag=as093bdd40..To > : > > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f2d-441b0d06-3 > 9f2d..Contact: <sip:yyyyy91...@asterisk_ip>..Call-ID: > 7d78872708ef61a7221 > 8b99a23ccf...@asterisk_ip..cseq > <mailto:8b99a23ccf...@asterisk_ip > <mailto:8b99a23ccf...@asterisk_ip>. > <mailto:8b99a23ccf...@asterisk_ip > <mailto:8b99a23ccf...@asterisk_ip>.>.CSeq>: 102 > ACK..User-Agent: B2B..Remote-Party-I > > D: "YYYYY91007" > > <sip:yyyyy91...@asterisk_ip>;privacy=off;screen=no..Conte > nt-Length: 0.... > T opensips_IP:60719 -> PSTNGW_IP:5060 [AP] > ACK sip:xxxx448...@pstngw_ip:5060;transport=tcp > SIP/2.0..Via: > SIP/2.0/ > TCP opensips_IP;branch=z9hG4bK95f6.df741935.2..Via: > SIP/2.0/UDP asterisk_IP1.50 > > > .:5060;received=asterisk_IP;branch=z9hG4bK2ba1a834;rport=5060..Max-For > wards: 69..From: "YYYYY91007" > <sip:yyyyy91...@asterisk_ip>;tag=as093bdd40 > ..To: > > > <sip:xxxx448...@opensips_ip>;tag=8841060-0-13c4-50022-39f2d-441b0d > 06-39f2d..Contact: > <sip:yyyyy91...@asterisk_ip>..Call-ID: > 7d78872708ef61a > 72218b99a23ccf...@asterisk_ip..cseq > <mailto:72218b99a23ccf...@asterisk_ip > <mailto:72218b99a23ccf...@asterisk_ip>. > <mailto:72218b99a23ccf...@asterisk_ip > <mailto:72218b99a23ccf...@asterisk_ip>.>.CSeq>: 102 > ACK..User-Agent: B2B..Remote-Par > > ty-ID: "YYYYY91007" > <sip:yyyyy91...@asterisk_ip>;privacy=off;screen=no..C > ontent-Length: 0.... > T PSTNGW_IP:4126 -> opensips_IP:5060 [AP] > BYE sip:yyyyy91...@asterisk_ip;transport=TCP > SIP/2.0..From: > <sip:XXXX448 > > > 9...@opensips_ip>;tag=8841060-0-13c4-50022-39f2d-441b0d06-39f2d..To > <mailto:9...@opensips_ip <mailto:9...@opensips_ip> > <mailto:9...@opensips_ip > > <mailto:9...@opensips_ip>>%3E;tag=8841060-0-13c4-50022-39f2d-441b0d06-39f2d..To>: > "3184 > > > 491007"<sip:yyyyy91...@asterisk_ip>;tag=as093bdd40..Call-ID: > 7d78872708ef > 61a72218b99a23ccf...@asterisk_ip..cseq > <mailto:61a72218b99a23ccf...@asterisk_ip > <mailto:61a72218b99a23ccf...@asterisk_ip>. > <mailto:61a72218b99a23ccf...@asterisk_ip > <mailto:61a72218b99a23ccf...@asterisk_ip>.>.CSeq>: 1 BYE..Via: > SIP/2.0/TCP 10.100.1. > > > 189:5060;branch=z9hG4bK-39f41-e261615-288a37a0..Max-Forwards: > 70..Supported > : replaces..Route: > <sip:opensips_IP;transport=tcp;lr=on;r2=on>..Route: <s > ip:opensips_IP;lr=on;r2=on>..Allow: INVITE, > CANCEL, ACK, BYE, > OPTIONS, RE > FER, NOTIFY..Allow-Events: refer..Content-Length: > 0.... > T opensips_IP:5060 -> PSTNGW_IP:4126 [AP] > SIP/2.0 477 Send failed (477/TM)..From: > <sip:xxxx448...@opensips_ip>;tag > =8841060-0-13c4-50022-39f2d-441b0d06-39f2d..To: > "YYYYY91007"<sip:YYYYY91007 > @asterisk_IP>;tag=as093bdd40..Call-ID: > 7d78872708ef61a72218b99a23ccf...@asteriskip > <mailto:7d78872708ef61a72218b99a23ccf...@asteriskip > <mailto:7d78872708ef61a72218b99a23ccf...@asteriskip> > <mailto:7d78872708ef61a72218b99a23ccf...@asteriskip > <mailto:7d78872708ef61a72218b99a23ccf...@asteriskip>>> > > ...CSeq: 1 BYE..Via: SIP/2.0/TCP > 10.100.1.189:5060;branch=z9hG4b > > K-39f41-e261615-288a37a0;received=PSTNGW_IP..Server: OpenSIPS > (1.4.2-no > tls (i386/linux))..Content-Length: 0..Warning: 392 > opensips_IP:5060 "Nois > y feedback tells: pid=1829 req_src_ip=PSTNGW_IP > req_src_port=4126 in_u > ri=sip:yyyyy91...@asterisk_ip;transport=TCP > out_uri=sip:yyyyy91...@asterisk_ip1 > .;transport=TCP via_cnt==1".... > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
