[Kamailio-Users] Problem with ACK

Ricardo Martinez rmartinez at redvoiss.net
Mon Dec 7 21:26:42 CET 2009


Hello List.

I'm testing the last kamailio versión 1.5.3.  I'm using the default configuration file and a gateway sending calls to a registered device.

 

Gw : 10.0.0.7

Proxy : 10.0.0.11

Registered device : 10.0.0.20

 

This is what I see : 

 

U 10.0.0.7:5060 -> 10.0.0.11:5060

INVITE sip:5501234567 at 10.0.0.11 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Supported: timer, replaces, early-session.

Min-SE: 1800.

Date: Mon, 07 Dec 2009 16:17:13 GMT.

User-Agent: AddPac SIP Gateway.

Contact: <sip:3341876 at 10.0.0.7>.

Accept: application/sdp.

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO.

Content-Type: application/sdp.

Content-Length: 238.

Max-Forwards: 70.

.

v=0.

o=3341876 1260202633 1260202633 IN IP4 10.0.0.7.

s=AddPac Gateway SDP.

c=IN IP4 10.0.0.7.

t=1260202633 0.

m=audio 23068 RTP/AVP 18 101.

a=rtpmap:18 G729/8000.

a=rtpmap:101 telephone-event/8000.

a=fmtp:101 0-15.

a=ptime:20.

 

 

U 10.0.0.11:5060 -> 10.0.0.7:5060

SIP/2.0 100 Giving a try.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Server: Kamailio (1.5.3-notls (i386/linux)).

Content-Length: 0.

.

 

 

U 10.0.0.11:5060 -> 10.0.0.20:5060

INVITE sip:5501234567 at 10.0.0.20:5060;transport=udp SIP/2.0.

Record-Route: <sip:10.0.0.11;lr=on>.

Via: SIP/2.0/UDP 10.0.0.11;branch=z9hG4bKd506.b3a3dd83.0.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Supported: timer, replaces, early-session.

Min-SE: 1800.

Date: Mon, 07 Dec 2009 16:17:13 GMT.

User-Agent: AddPac SIP Gateway.

Contact: <sip:3341876 at 10.0.0.7>.

Accept: application/sdp.

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO.

Content-Type: application/sdp.

Content-Length: 238.

Max-Forwards: 69.

.

v=0.

o=3341876 1260202633 1260202633 IN IP4 10.0.0.7.

s=AddPac Gateway SDP.

c=IN IP4 10.0.0.7.

t=1260202633 0.

m=audio 23068 RTP/AVP 18 101.

a=rtpmap:18 G729/8000.

a=rtpmap:101 telephone-event/8000.

a=fmtp:101 0-15.

a=ptime:20.

 

 

U 10.0.0.20:5060 -> 10.0.0.11:5060

SIP/2.0 180 Ringing.

Via: SIP/2.0/UDP 10.0.0.11;branch=z9hG4bKd506.b3a3dd83.0.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

Record-Route: <sip:10.0.0.11;lr=on>.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>;tag=3079903260.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.

Allow-Events: talk, hold, conference, LocalModeStatus.

Contact: "5501234567" <sip:5501234567 at 10.0.0.20:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D1B6C7A>".

Server: Aastra 57i/2.5.0.82.

Supported: gruu, path.

Content-Length: 0.

.

 

 

U 10.0.0.11:5060 -> 10.0.0.7:5060

SIP/2.0 180 Ringing.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

Record-Route: <sip:10.0.0.11;lr=on>.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>;tag=3079903260.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.

Allow-Events: talk, hold, conference, LocalModeStatus.

Contact: "5501234567" <sip:5501234567 at 10.0.0.20:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D1B6C7A>".

Server: Aastra 57i/2.5.0.82.

Supported: gruu, path.

Content-Length: 0.

.

 

 

U 10.0.0.20:5060 -> 10.0.0.11:5060

SIP/2.0 200 OK.

Via: SIP/2.0/UDP 10.0.0.11;branch=z9hG4bKd506.b3a3dd83.0.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

Record-Route: <sip:10.0.0.11;lr=on>.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>;tag=3079903260.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.

Allow-Events: talk, hold, conference, LocalModeStatus.

Contact: "5501234567" <sip:5501234567 at 10.0.0.20:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D1B6C7A>".

Server: Aastra 57i/2.5.0.82.

Supported: gruu, path, timer, replaces.

Content-Type: application/sdp.

Content-Length: 210.

.

v=0.

o=MxSIP 0 0 IN IP4 10.0.0.20.

s=SIP Call.

c=IN IP4 10.0.0.20.

t=0 0.

m=audio 3000 RTP/AVP 18 101.

a=rtpmap:18 G729/8000.

a=rtpmap:101 telephone-event/8000.

a=fmtp:101 0-15.

a=ptime:20.

a=sendrecv.

 

 

U 10.0.0.11:5060 -> 10.0.0.7:5060

SIP/2.0 200 OK.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

Record-Route: <sip:10.0.0.11;lr=on>.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>;tag=3079903260.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 INVITE.

Allow:  INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO.

Allow-Events: talk, hold, conference, LocalModeStatus.

Contact: "5501234567" <sip:5501234567 at 10.0.0.20:5060;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-00085D1B6C7A>".

Server: Aastra 57i/2.5.0.82.

Supported: gruu, path, timer, replaces.

Content-Type: application/sdp.

Content-Length: 210.

.

v=0.

o=MxSIP 0 0 IN IP4 10.0.0.20.

s=SIP Call.

c=IN IP4 10.0.0.20.

t=0 0.

m=audio 3000 RTP/AVP 18 101.

a=rtpmap:18 G729/8000.

a=rtpmap:101 telephone-event/8000.

a=fmtp:101 0-15.

a=ptime:20.

a=sendrecv.

 

 

U 10.0.0.7:5060 -> 10.0.0.11:5060

ACK  SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.7:5060;branch=z9hG4bK894be985a441.

From: <sip:3341876 at 10.0.0.7>;tag=894be985a4.

To: <sip:5501234567 at 10.0.0.11>;tag=3079903260.

Call-ID: 892a1d4b-35e7-e926-8085-0002a401f510 at 10.0.0.7.

CSeq: 41 ACK.

Route: <sip:10.0.0.11;lr=on>.

Content-Length: 0.

Max-Forwards: 70.

.

 

The call is answered and then the ACK is sent without R-URI.. making the Proxy fails with : 

 

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_uri: uri too short: <> (0)

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_sip_msg_uri: bad uri <>

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:rr:loose_route: failed to parse Request URI

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_uri: uri too short: <> (0)

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_sip_msg_uri: bad uri <>

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:pv:pv_get_ruri_attr: failed to parse the R-URI

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_uri: uri too short: <> (0)

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:core:parse_sip_msg_uri: bad uri <>

Dec  7 17:22:17 proxy /usr/local/sbin/kamailio[14219]: ERROR:pv:pv_get_ruri_attr: failed to parse the R-URI

 

What could be the problem? I'm using the default configuration file, and this start happening to me since the upgrade from 1.5.2 to 1.5.3..

Hope that someone could help me.

 

Ricardo Martinez.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091207/d7e53edd/attachment.htm>


More information about the sr-users mailing list