[Users] Cisco Gateway Disconnects the call

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Jul 12 18:31:54 CEST 2006


Hello,

the "***** [Remaining retries omitted …]" are very important. The issue 
is that the ACK is not routed properly to the gateway. The caller's 
phone is broken, does not handle properly the record-routing. the ACK 
has no information to route the message to the gateway.

As you can see the r-uri is set to sip server and the Route header as 
well (in the Route headers matters he host part and the port). So, 
either the r-uri or the Route header has to be the address from the 
Contact header of the 200 OK reply,

Cheers,
Daniel




On 07/12/06 17:49, Hamid Ali Asgari wrote:
>
> Hi,
>
> Here comes the dump from ngrep for a sample call.
>
> Any idea what’s wrong?
>
> Thanks,
>
> Hamid10.30.30.19: Cisco Gateway
>
> 10.30.30.18: OpenSER
>
> 192.168.11.102: UA
>
> #
>
> #
>
> U 10.30.30.19:5060 -> 10.30.30.18:5060
>
> SIP/2.0 200 OK.
>
> Via: SIP/2.0/UDP 10.30.30.18;branch=0,SIP/2.0/UDP 
> 192.168.11.102:5060;branch=z9hG4bK10145.
>
> From: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> To: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> Date: Fri, 01 Mar 2002 00:10:32 GMT.
>
> Call-ID: 32268 at 192.168.11.102.
>
> Server: Cisco-SIPGateway/IOS-12.x.
>
> CSeq: 101 INVITE.
>
> Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, 
> SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER.
>
> Allow-Events: telephone-event.
>
> Contact: <sip:0098146 at 10.30.30.19:5060>.
>
> Record-Route: <sip:10.30.30.18;ftag=analog-sip28734;lr=on>.
>
> Content-Type: application/sdp.
>
> Content-Length: 252.
>
> .
>
> v=0.
>
> o=CiscoSystemsSIP-GW-UserAgent 6865 4884 IN IP4 10.30.30.19.
>
> s=SIP Call.
>
> c=IN IP4 10.30.30.19.
>
> t=0 0.
>
> m=audio 16400 RTP/AVP 18 103.
>
> c=IN IP4 10.30.30.19.
>
> a=rtpmap:18 G729/8000.
>
> a=fmtp:18 annexb=no.
>
> a=rtpmap:103 telephone-event/8000.
>
> a=fmtp:103 0-15.
>
> #
>
> U 10.30.30.18:5060 -> 192.168.11.102:5060
>
> SIP/2.0 200 OK.
>
> Via: SIP/2.0/UDP 192.168.11.102:5060;branch=z9hG4bK10145.
>
> From: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> To: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> Date: Fri, 01 Mar 2002 00:10:32 GMT.
>
> Call-ID: 32268 at 192.168.11.102.
>
> Server: Cisco-SIPGateway/IOS-12.x.
>
> CSeq: 101 INVITE.
>
> Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, 
> SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER.
>
> Allow-Events: telephone-event.
>
> Contact: <sip:0098146 at 10.30.30.19:5060>.
>
> Record-Route: <sip:10.30.30.18;ftag=analog-sip28734;lr=on>.
>
> Content-Type: application/sdp.
>
> Content-Length: 252.
>
> .
>
> v=0.
>
> o=CiscoSystemsSIP-GW-UserAgent 6865 4884 IN IP4 10.30.30.19.
>
> s=SIP Call.
>
> c=IN IP4 10.30.30.19.
>
> t=0 0.
>
> m=audio 16400 RTP/AVP 18 103.
>
> c=IN IP4 10.30.30.19.
>
> a=rtpmap:18 G729/8000.
>
> a=fmtp:18 annexb=no.
>
> a=rtpmap:103 telephone-event/8000.
>
> a=fmtp:103 0-15.
>
> #
>
> U 192.168.11.102:5060 -> 10.30.30.18:5060
>
> ACK sip:10.30.30.18;ftag=analog-sip28734;lr SIP/2.0.
>
> Via: SIP/2.0/UDP 192.168.11.102:5060;branch=z9hG4bK9072.
>
> To: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> From: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> Call-ID: 32268 at 192.168.11.102.
>
> CSeq: 101 ACK.
>
> Route:<sip:0098146 at mydomain.com>.
>
> Contact: <sip:102 at 192.168.11.102:5060>.
>
> Max-Forwards: 70.
>
> Content-Length: 0.
>
> .
>
> #
>
> ***** [Remaining retries omitted …]
>
> #
>
> U 10.30.30.19:55584 -> 10.30.30.18:5060
>
> BYE sip:102 at 192.168.11.102:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.30.30.19:5060;branch=z9hG4bK11BD8.
>
> From: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> To: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> Date: Fri, 01 Mar 2002 00:10:32 GMT.
>
> Call-ID: 32268 at 192.168.11.102.
>
> User-Agent: Cisco-SIPGateway/IOS-12.x.
>
> Max-Forwards: 70.
>
> Route: <sip:10.30.30.18;ftag=analog-sip28734;lr=on>.
>
> Timestamp: 1014941453.
>
> CSeq: 101 BYE.
>
> Content-Length: 0.
>
> .
>
> #
>
> U 10.30.30.18:5060 -> 192.168.11.102:5060
>
> BYE sip:102 at 192.168.11.102:5060 SIP/2.0.
>
> Record-Route: <sip:10.30.30.18;ftag=9A65C-1F0E;lr=on>.
>
> Via: SIP/2.0/UDP 10.30.30.18;branch=z9hG4bK6b5f.4db3aed2.0.
>
> Via: SIP/2.0/UDP 10.30.30.19:5060;branch=z9hG4bK11BD8.
>
> From: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> To: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> Date: Fri, 01 Mar 2002 00:10:32 GMT.
>
> Call-ID: 32268 at 192.168.11.102.
>
> User-Agent: Cisco-SIPGateway/IOS-12.x.
>
> Max-Forwards: 69.
>
> Timestamp: 1014941453.
>
> CSeq: 101 BYE.
>
> Content-Length: 0.
>
> P-hint: rr-enforced.
>
> .
>
> #
>
> U 192.168.11.102:5060 -> 10.30.30.18:5060
>
> SIP/2.0 200 OK.
>
> Via: SIP/2.0/UDP 10.30.30.18;branch=z9hG4bK6b5f.4db3aed2.0,SIP/2.0/UDP 
> 10.30.30.19:5060;branch=z9hG4bK11BD8.
>
> To: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> From: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> Call-ID: 32268 at 192.168.11.102.
>
> CSeq: 101 BYE.
>
> Record-Route:<sip:10.30.30.18;ftag=9A65C-1F0E;lr>.
>
> Content-Length: 0.
>
> .
>
> #
>
> U 10.30.30.18:5060 -> 10.30.30.19:5060
>
> SIP/2.0 200 OK.
>
> Via: SIP/2.0/UDP 10.30.30.19:5060;branch=z9hG4bK11BD8.
>
> To: 102 at mydomain.com <sip:102 at mydomain.com>;tag=analog-sip28734.
>
> From: 0098146 <sip:0098146 at mydomain.com>;tag=9A65C-1F0E.
>
> Call-ID: 32268 at 192.168.11.102.
>
> CSeq: 101 BYE.
>
> Record-Route:<sip:10.30.30.18;ftag=9A65C-1F0E;lr>.
>
> Content-Length: 0.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list