< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Strange proglem with call ring


Hi all, I have wrote a UA base on reSIProcate 1.2, I'm encountered a strange problem during I test it:
 
I have two accounts with my server: 108 and 109, I used eyeBeam 1.5 logged in 108, use my UA logged in 109.
 
When 108 call 109, all are ok, the server respone 183 code to 108 and 109 is ringing.
 
When 109 call 108, the server respone 183 and 200 code to 109, but  108 does not received the call and does not ringing.
 
There are SIP message by wireshark, please help me how to solved this problem, where is wrong ?
 
Thanks
 
1: eyeBeam

INVITE sip:109@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-e3301f4f5a08db26-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:108@xxxxxxxxxxxxxxx:1234>
To: "109"<sip:109@xxxxxxxxxxxxxxx:5060>
From: "108"<sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1004p stamp 31962
Content-Length: 312

v=0
o=- 8 2 IN IP4 192.168.1.118
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.118
t=0 0
m=audio 62126 RTP/AVP 18 101
a=alt:1 1 : 69Ru1YX5 asH9a7Xh 192.168.1.118 62126
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:AEBEB6A548D44573A8ACBA3C95762B97


SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-e3301f4f5a08db26-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 1 INVITE
Content-Length: 0

 

SIP/2.0 401 Authentication Required
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-e3301f4f5a08db26-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 1 INVITE
User-Agent: PBX
WWW-Authenticate: Digest realm="sip.alphhhh.com",nonce="091f6a69e5a02e095b83954d2289b101",domain="sip:109@xxxxxxxxxxxxxxx:5060",stale=true,algorithm=MD5
Content-Length: 0


ACK sip:109@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-e3301f4f5a08db26-1--d87543-;rport
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
From: "108"<sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 1 ACK
Content-Length: 0

 

INVITE sip:109@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-0b6f2a1e4b629a0a-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:108@xxxxxxxxxxxxxxx:1234>
To: "109"<sip:109@xxxxxxxxxxxxxxx:5060>
From: "108"<sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1004p stamp 31962
Authorization: Digest

username="108",realm="sip.alphhhh.com",nonce="091f6a69e5a02e095b83954d2289b101",uri="sip:109@xxxxxxxxxxxxxxx:5060",response="04b52cbb40a87eb86c09171a2e5cedb3",algorithm=MD5
Content-Length: 312

v=0
o=- 8 2 IN IP4 192.168.1.118
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.1.118
t=0 0
m=audio 62126 RTP/AVP 18 101
a=alt:1 1 : 69Ru1YX5 asH9a7Xh 192.168.1.118 62126
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:AEBEB6A548D44573A8ACBA3C95762B97


SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-0b6f2a1e4b629a0a-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 2 INVITE
Content-Length: 0

 

SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-0b6f2a1e4b629a0a-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 2 INVITE
Contact: <sip:109@xxxxxxxxxxx:5060;transport=udp>
Supported: 100rel, replaces
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PRACK, INFO
Accept: application/sdp
User-Agent: PBX
Content-Type: application/sdp
Content-Length: 192

v=0
o=- 20016 20016 IN IP4 66.6.128.89
s=-
c=IN IP4 66.6.128.89
t=0 0
m=audio 55360 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=sendrecv


SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-0b6f2a1e4b629a0a-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 2 INVITE
Contact: <sip:109@xxxxxxxxxxx:5060;transport=udp>
Supported: 100rel, replaces
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PRACK, INFO
Accept: application/sdp
User-Agent: PBX
Content-Type: application/sdp
Content-Length: 192

v=0
o=- 20016 20016 IN IP4 66.6.128.89
s=-
c=IN IP4 66.6.128.89
t=0 0
m=audio 55360 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=sendrecv

 
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.118:31494;branch=z9hG4bK-d87543-0b6f2a1e4b629a0a-1--d87543-;rport=1234;received=222.247.101.155
From: "108" <sip:108@xxxxxxxxxxxxxxx:5060>;tag=7c487206
To: "109" <sip:109@xxxxxxxxxxxxxxx:5060>;tag=11803
Call-ID: ZWViNTc0OGU0YmY5ZDg3Y2U5MWEyYzMwYTY3NTFlNDY.
CSeq: 2 INVITE
Contact: <sip:109@xxxxxxxxxxx:5060;transport=udp>
Supported: 100rel, replaces
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PRACK, INFO
Accept: application/sdp
User-Agent: PBX
Content-Type: application/sdp
Content-Length: 192

v=0
o=- 20016 20016 IN IP4 66.6.128.89
s=-
c=IN IP4 66.6.128.89
t=0 0
m=audio 55360 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=sendrecv

 

2: My UA

INVITE sip:108@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-2012fc7498576a33-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:109@xxxxxxxxxxxxx:9226>
To: <sip:108@xxxxxxxxxxxxxxx:5060>
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, NOTIFY, REFER, REGISTER, SUBSCRIBE, MESSAGE, INFO
Content-Type: application/sdp
User-Agent: Test Phone
Content-Length: 268

v=0
o=- 6471055 6471055 IN IP4 192.168.1.128
s=Test Phone
c=IN IP4 192.168.1.128
t=0 0
m=audio 20268 RTP/AVP 18 98 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=ptime:20
a=rtpmap:18 G729/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000

 

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-2012fc7498576a33-1---d8754z-;rport=1272;received=222.247.101.155
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 1 INVITE
Content-Length: 0


SIP/2.0 401 Authentication Required
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-2012fc7498576a33-1---d8754z-;rport=1272;received=222.247.101.155
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 1 INVITE
User-Agent: PBX
WWW-Authenticate: Digest

realm="sip.alphhhh.com",nonce="80204cc2e39ade8758fa5ac646d7e8d4",domain="sip:108@xxxxxxxxxxxxxxx:5060",stale=true,algorithm=MD5
Content-Length: 0

 

ACK sip:108@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-2012fc7498576a33-1---d8754z-;rport
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 1 ACK
Content-Length: 0

 

INVITE sip:108@xxxxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-b21985717076ab23-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:109@xxxxxxxxxxxxx:9226>
To: <sip:108@xxxxxxxxxxxxxxx:5060>
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, NOTIFY, REFER, REGISTER, SUBSCRIBE, MESSAGE, INFO
Content-Type: application/sdp
User-Agent: Test Phone
Authorization: Digest

username="109",realm="sip.alphhhh.com",nonce="80204cc2e39ade8758fa5ac646d7e8d4",uri="sip:108@xxxxxxxxxxxxxxx:5060",response="4f

74524e09fcf2522e1618ca4ea12a7d",algorithm=MD5
Content-Length: 268

v=0
o=- 6471055 6471055 IN IP4 192.168.1.128
s=Test Phone
c=IN IP4 192.168.1.128
t=0 0
m=audio 20268 RTP/AVP 18 98 101
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=ptime:20
a=rtpmap:18 G729/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000

 


SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-b21985717076ab23-1---d8754z-;rport=1272;received=222.247.101.155
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 2 INVITE
Content-Length: 0

 


SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-b21985717076ab23-1---d8754z-;rport=1272;received=222.247.101.155
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 2 INVITE
Contact: <sip:108@xxxxxxxxxxx:5060;transport=udp>
Supported: 100rel, replaces
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PRACK, INFO
Accept: application/sdp
User-Agent: PBX
Content-Type: application/sdp
Content-Length: 204

v=0
o=- 17280 17280 IN IP4 66.6.128.89
s=-
c=IN IP4 66.6.128.89
t=0 0
m=audio 55196 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=ptime:20
a=sendrecv

 

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-b21985717076ab23-1---d8754z-;rport=1272;received=222.247.101.155
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 2 INVITE
Contact: <sip:108@xxxxxxxxxxx:5060;transport=udp>
Supported: 100rel, replaces
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, PRACK, INFO
Accept: application/sdp
User-Agent: PBX
Content-Type: application/sdp
Content-Length: 204

v=0
o=- 17280 17280 IN IP4 66.6.128.89
s=-
c=IN IP4 66.6.128.89
t=0 0
m=audio 55196 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=ptime:20
a=sendrecv


ACK sip:108@xxxxxxxxxxx:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.1.128:9226;branch=z9hG4bK-d8754z-6239da5894376147-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:109@xxxxxxxxxxxxx:9226>
To: <sip:108@xxxxxxxxxxxxxxx:5060>;tag=25684
From: <sip:109@xxxxxxxxxxxxxxx:5060>;tag=ce79b86a
Call-ID: NWNmOTRlMzI2M2U2YjIwOTRiNGFlMjcxOGU4NTU2ODA.
CSeq: 2 ACK
User-Agent: Test Phone
Authorization: Digest

username="109",realm="sip.alphhhh.com",nonce="80204cc2e39ade8758fa5ac646d7e8d4",uri="sip:108@xxxxxxxxxxxxxxx:5060",response="4f

74524e09fcf2522e1618ca4ea12a7d",algorithm=MD5
Content-Length: 0