Hello list.

I’m using the sample configuration that comes with Kamailio RC3.  (version: kamailio 3.0.0-rc3 (i386/linux)).

I have two IP phones registered in the proxy.  If I call from one to another and the call is cancelled a “500 Server Internal Error”  message is send back to the caller (please see the debug attached) by the proxy.

This is not happening with Kamailio 1.4 or Opensips 1.6 (using the sample configurations).

 

Could be some problem?

 

10.0.0.220 – Caller

10.0.0.211 – Proxy

10.0.0.152 - Callee

 

U 10.0.0.220:5060 -> 10.0.0.211:5060

INVITE sip:5501122334@10.0.0.211:5060 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

Max-Forwards: 70.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

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

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

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

Supported: gruu, path, timer, 100rel, replaces.

User-Agent: Aastra 57i/2.5.2.1010.

Content-Type: application/sdp.

Content-Length: 285.

.

v=0.

o=MxSIP 0 0 IN IP4 10.0.0.220.

s=SIP Call.

c=IN IP4 10.0.0.220.

t=0 0.

m=audio 3000 RTP/AVP 18 0 8 101.

a=rtpmap:18 G729/8000.

a=rtpmap:0 PCMU/8000.

a=rtpmap:8 PCMA/8000.

a=rtpmap:101 telephone-event/8000.

a=silenceSupp:off - - - -.

a=fmtp:101 0-15.

a=ptime:30.

a=sendrecv.

 

 

U 10.0.0.211:5060 -> 10.0.0.220:5060

SIP/2.0 100 trying -- your call is important to us.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

Server: kamailio (3.0.0-rc3 (i386/linux)).

Content-Length: 0.

Warning: 392 10.0.0.211:5060 "Noisy feedback tells:  pid=9830 req_src_ip=10.0.0.220 req_src_port=5060 in_uri=sip:5501122334@10.0.0.211:5060 out_uri=sip:5501122334@10.0.0.152:5062 via_cnt==1".

.

 

 

U 10.0.0.211:5060 -> 10.0.0.152:5062

INVITE sip:5501122334@10.0.0.152:5062 SIP/2.0.

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

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

Max-Forwards: 69.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

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

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

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

Supported: gruu, path, timer, 100rel, replaces.

User-Agent: Aastra 57i/2.5.2.1010.

Content-Type: application/sdp.

Content-Length: 285.

.

v=0.

o=MxSIP 0 0 IN IP4 10.0.0.220.

s=SIP Call.

c=IN IP4 10.0.0.220.

t=0 0.

m=audio 3000 RTP/AVP 18 0 8 101.

a=rtpmap:18 G729/8000.

a=rtpmap:0 PCMU/8000.

a=rtpmap:8 PCMA/8000.

a=rtpmap:101 telephone-event/8000.

a=silenceSupp:off - - - -.

a=fmtp:101 0-15.

a=ptime:30.

a=sendrecv.

 

 

U 10.0.0.152:5062 -> 10.0.0.211:5060

SIP/2.0 100 Trying.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

User-Agent: T20 9.41.0.70.

Content-Length: 0.

.

 

 

U 10.0.0.152:5062 -> 10.0.0.211:5060

SIP/2.0 180 Ringing.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

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

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=1211757599.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

Contact: <sip:5501122334@10.0.0.152:5062>.

User-Agent: T20 9.41.0.70.

Allow-Events: talk,hold,conference,refer,check-sync.

Content-Length: 0.

.

 

 

U 10.0.0.211:5060 -> 10.0.0.220:5060

SIP/2.0 180 Ringing.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

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

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=1211757599.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

Contact: <sip:5501122334@10.0.0.152:5062>.

User-Agent: T20 9.41.0.70.

Allow-Events: talk,hold,conference,refer,check-sync.

Content-Length: 0.

.

 

 

U 10.0.0.220:5060 -> 10.0.0.211:5060

CANCEL sip:5501122334@10.0.0.211:5060 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

Max-Forwards: 70.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 CANCEL.

Supported: gruu, path.

User-Agent: Aastra 57i/2.5.2.1010.

Content-Length: 0.

.

 

 

U 10.0.0.211:5060 -> 10.0.0.152:5062

CANCEL sip:5501122334@10.0.0.152:5062 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Max-Forwards: 69.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>.

Call-ID: c8e55b952ba85701.

CSeq: 13486 CANCEL.

Content-Length: 0.

.

 

 

U 10.0.0.211:5060 -> 10.0.0.220:5060

SIP/2.0 200 canceling.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-cd47.

Call-ID: c8e55b952ba85701.

CSeq: 13486 CANCEL.

Server: kamailio (3.0.0-rc3 (i386/linux)).

Content-Length: 0.

Warning: 392 10.0.0.211:5060 "Noisy feedback tells:  pid=9831 req_src_ip=10.0.0.220 req_src_port=5060 in_uri=sip:5501122334@10.0.0.211:5060 out_uri=sip:5501122334@10.0.0.211:5060 via_cnt==1".

.

 

 

U 10.0.0.152:5062 -> 10.0.0.211:5060

SIP/2.0 200 OK.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=1211757599.

Call-ID: c8e55b952ba85701.

CSeq: 13486 CANCEL.

User-Agent: T20 9.41.0.70.

Content-Length: 0.

.

 

 

U 10.0.0.152:5062 -> 10.0.0.211:5060

SIP/2.0 487 Request Terminated.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=1211757599.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

User-Agent: T20 9.41.0.70.

Content-Length: 0.

.

 

 

U 10.0.0.211:5060 -> 10.0.0.152:5062

ACK sip:5501122334@10.0.0.152:5062 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.211;branch=z9hG4bKfee8.a17fc93.0.

Max-Forwards: 69.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=1211757599.

Call-ID: c8e55b952ba85701.

CSeq: 13486 ACK.

Content-Length: 0.

.

 

 

U 10.0.0.211:5060 -> 10.0.0.220:5060

SIP/2.0 500 I'm terribly sorry, server error occurred (1/TM).

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-cd47.

Call-ID: c8e55b952ba85701.

CSeq: 13486 INVITE.

Server: kamailio (3.0.0-rc3 (i386/linux)).

Content-Length: 0.

Warning: 392 10.0.0.211:5060 "Noisy feedback tells:  pid=9830 req_src_ip=10.0.0.220 req_src_port=5060 in_uri=sip:5501122334@10.0.0.211:5060 out_uri=sip:5501122334@10.0.0.152:5062 via_cnt==2".

.

 

 

U 10.0.0.220:5060 -> 10.0.0.211:5060

ACK sip:5501122334@10.0.0.211:5060 SIP/2.0.

Via: SIP/2.0/UDP 10.0.0.220:5060;branch=z9hG4bKf9043df6290194056.e3af2c48f0fba0802.

Max-Forwards: 70.

From: "5501234567" <sip:5501234567@10.0.0.211:5060>;tag=dbaa8e4386.

To: "5501122334" <sip:5501122334@10.0.0.211:5060>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-cd47.

Call-ID: c8e55b952ba85701.

CSeq: 13486 ACK.

User-Agent: Aastra 57i/2.5.2.1010.

Content-Length: 0.

.

 

Ricardo.-