Hello all,
I've a little problem with the SIP phone Thomson ST2030. When it registers, it auto-adds ";user=phone" in all the fields it can be. The problem is that it can't be called due to the contact header, kamailio can't found the phone.
I tried to delete the filed during the REGISTER and the PROXY AUTH processes, with no success ...
If someone has a solution, many thanks !
-- -- kamailio.cfg : -- -- ... # ;user=phone hack if (search("^Contact:.*;user=phone")) { xlog("L_INFO", "-> user=phone found, remove it - F=$fu ContactHF=$ct"); replace_all(";user=phone", "\r\n"); #subst("/;user=phone$;$")) } ...
=> all the logs here :
-- -- SQL result -- --
Database: openser SQL query: SELECT * FROM `location` WHERE `id` = 383 LIMIT 0, 30 ;
id 383 username 0123451013 domain sip.720.fr contact sip:0123451013@192.168.0.158:5060;user=phone received sip:77.246.81.162:1902 path NULL expires 2008-11-28 13:02:16 q 0.00 callid 18786315-c0a80101-5-a@192.168.0.158 cseq 270 last_modified 2008-11-28 12:02:16 flags 0 cflags 64 user_agent THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A socket udp:77.246.81.132:5060 methods NULL
-- -- kamailio REGISTER sip buffer -- --
REGISTER sip:sip.720.fr;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.158:5060 ;branch=z9hG4bK363142985921875976-158787787 From: sip:0123451013@sip.720.fr:5060;user=phone;tag=c0a80101-976e8ab To: sip:0123451013@sip.720.fr:5060;user=phone Call-ID: 18786315-c0a80101-5-a@192.168.0.158 CSeq: 250 REGISTER Max-Forwards: 69 Expires: 3600 Contact: sip:0123451013@192.168.0.158:5060;user=phone Authorization: Digest username="0123451013", realm="sip.720.fr", nonce="492f8a92000000697e7fefd30ce752d7e50c6166da2cc6e2", uri="sip:sip.720.fr", response="37f8ec824ba77eb37583f38f2a509f77", algorithm=MD5, qop=auth, cnonce="976e8cb", nc=00000001 User-Agent: THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Length: 0
-- -- ngrep log : -- --
U 2008/11/28 12:13:59.813649 77.246.81.162:8680 -> 77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "Sam" <sip:0123451010@sip.720.frsip%3A0123451010@sip.720.fr
;screen=yes;party=calling.
Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr ",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri=" sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr ",algorithm=MD5,response="1538e1ac3e3181f8bfb6f473f2470a6a",qop=auth,nc=00000001,cnonce="7c8a76fd". Contact: "Sam" sip:0123451010@192.168.0.113:5060. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 263. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113. s=-. c=IN IP4 192.168.0.113. t=0 0. m=audio 35692 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
U 2008/11/28 12:13:59.820056 77.246.81.132:5060 -> 77.246.81.162:8680 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.0.113:5060 ;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 "Noisy feedback tells: pid=14141 req_src_ip=77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.frsip%3A0123451013@sip.720.frout_uri= sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr via_cnt==1". .
U 2008/11/28 12:13:59.882639 77.246.81.132:5060 -> 77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: sip:77.246.81.132 ;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw--. Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 ;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" sip:0123451010@77.246.81.162:8680. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113. s=-. c=IN IP4 77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:00.273883 77.246.81.132:5060 -> 77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: sip:77.246.81.132 ;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw--. Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 ;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" sip:0123451010@77.246.81.162:8680. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113. s=-. c=IN IP4 77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:01.272604 77.246.81.132:5060 -> 77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: sip:77.246.81.132 ;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw--. Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 ;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" sip:0123451010@77.246.81.162:8680. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113. s=-. c=IN IP4 77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:03.283852 77.246.81.132:5060 -> 77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: sip:77.246.81.132 ;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw--. Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 ;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" sip:0123451010@77.246.81.162:8680. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113. s=-. c=IN IP4 77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:04.905612 77.246.81.162:8680 -> 77.246.81.132:5060 CANCEL sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr ",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri=" sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr ",algorithm=MD5,response="07e4433c6000309b8cac1f917dbb9643",qop=auth,nc=00000002,cnonce="7c8a76fd". User-Agent: Linksys/SPA941-5.1.8. Content-Length: 0. .
U 2008/11/28 12:14:04.912088 77.246.81.132:5060 -> 77.246.81.162:8680 SIP/2.0 501 Method Not Supported Here. Via: SIP/2.0/UDP 192.168.0.113:5060 ;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr
;tag=d25c9349df891607b66aeb00d1da49ca.b1d0.
Call-ID: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 "Noisy feedback tells: pid=14137 req_src_ip=77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.frsip%3A0123451013@sip.720.frout_uri= sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr via_cnt==1".
the user=phone parameter in the Contact is probably not the problem - there can be any parameter there. Except the client does not accept its own contact.
I suspect a NAT problem
regards klaus
Samuel Muller schrieb:
Hello all,
I've a little problem with the SIP phone Thomson ST2030. When it registers, it auto-adds ";user=phone" in all the fields it can be. The problem is that it can't be called due to the contact header, kamailio can't found the phone.
I tried to delete the filed during the REGISTER and the PROXY AUTH processes, with no success ...
If someone has a solution, many thanks !
kamailio.cfg :
... # ;user=phone hack if (search("^Contact:.*;user=phone")) { xlog("L_INFO", "-> user=phone found, remove it - F=$fu ContactHF=$ct"); replace_all(";user=phone", "\r\n"); #subst("/;user=phone$;$")) } ...
=> all the logs here :
SQL result
Database: openser SQL query: SELECT * FROM `location` WHERE `id` = 383 LIMIT 0, 30 ;
id 383 username 0123451013 domain sip.720.fr http://sip.720.fr contact sip:0123451013@192.168.0.158:5060;user=phone received sip:77.246.81.162:1902 http://77.246.81.162:1902 path NULL expires 2008-11-28 13:02:16 q 0.00 callid 18786315-c0a80101-5-a@192.168.0.158 mailto:18786315-c0a80101-5-a@192.168.0.158 cseq 270 last_modified 2008-11-28 12:02:16 flags 0 cflags 64 user_agent THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A socket udp:77.246.81.132:5060 http://77.246.81.132:5060 methods NULL
kamailio REGISTER sip buffer
REGISTER sip:sip.720.fr http://sip.720.fr;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.158:5060;branch=z9hG4bK363142985921875976-158787787 From: sip:0123451013@sip.720.fr:5060;user=phone;tag=c0a80101-976e8ab To: sip:0123451013@sip.720.fr:5060;user=phone Call-ID: 18786315-c0a80101-5-a@192.168.0.158 mailto:18786315-c0a80101-5-a@192.168.0.158 CSeq: 250 REGISTER Max-Forwards: 69 Expires: 3600 Contact: sip:0123451013@192.168.0.158:5060;user=phone Authorization: Digest username="0123451013", realm="sip.720.fr http://sip.720.fr", nonce="492f8a92000000697e7fefd30ce752d7e50c6166da2cc6e2", uri="sip:sip.720.fr http://sip.720.fr", response="37f8ec824ba77eb37583f38f2a509f77", algorithm=MD5, qop=auth, cnonce="976e8cb", nc=00000001 User-Agent: THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Length: 0
ngrep log :
U 2008/11/28 12:13:59.813649 77.246.81.162:8680 http://77.246.81.162:8680 -> 77.246.81.132:5060 http://77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "Sam" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>;screen=yes;party=calling. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr http://sip.720.fr",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr",algorithm=MD5,response="1538e1ac3e3181f8bfb6f473f2470a6a",qop=auth,nc=00000001,cnonce="7c8a76fd". Contact: "Sam" <sip:0123451010@192.168.0.113:5060 http://sip:0123451010@192.168.0.113:5060>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 263. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 192.168.0.113 http://192.168.0.113. t=0 0. m=audio 35692 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
U 2008/11/28 12:13:59.820056 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:8680 http://77.246.81.162:8680 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 http://77.246.81.162. From: "Sam" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 http://77.246.81.132:5060 "Noisy feedback tells: pid=14141 req_src_ip=77.246.81.162 http://77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr out_uri=sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr via_cnt==1". .
U 2008/11/28 12:13:59.882639 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:1902 http://77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 http://77.246.81.132;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 http://77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 http://77.246.81.162;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 http://sip:0123451010@77.246.81.162:8680>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:00.273883 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:1902 http://77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 http://77.246.81.132;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 http://77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 http://77.246.81.162;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 http://sip:0123451010@77.246.81.162:8680>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:01.272604 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:1902 http://77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 http://77.246.81.132;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 http://77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 http://77.246.81.162;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 http://sip:0123451010@77.246.81.162:8680>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:03.283852 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:1902 http://77.246.81.162:1902 INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 http://77.246.81.132;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 http://77.246.81.132;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 http://77.246.81.162;branch=z9hG4bK-eb23842c. From: "Anonymous" sip:anonymous@anonymous.invalid;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 http://sip:0123451010@77.246.81.162:8680>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:04.905612 77.246.81.162:8680 http://77.246.81.162:8680 -> 77.246.81.132:5060 http://77.246.81.132:5060 CANCEL sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr http://sip.720.fr",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr",algorithm=MD5,response="07e4433c6000309b8cac1f917dbb9643",qop=auth,nc=00000002,cnonce="7c8a76fd". User-Agent: Linksys/SPA941-5.1.8. Content-Length: 0. .
U 2008/11/28 12:14:04.912088 77.246.81.132:5060 http://77.246.81.132:5060 -> 77.246.81.162:8680 http://77.246.81.162:8680 SIP/2.0 501 Method Not Supported Here. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 http://77.246.81.162. From: "Sam" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>;tag=d25c9349df891607b66aeb00d1da49ca.b1d0. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto:39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 http://77.246.81.132:5060 "Noisy feedback tells: pid=14137 req_src_ip=77.246.81.162 http://77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr out_uri=sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr via_cnt==1".
-- Samuel MULLER Ingénieur Reseaux & Telecom 720 DEGRES +33 (0)663 128 505 sml@720.fr mailto:sml@720.fr
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hello,
ok, I tested this in the same LAN :
Thomson st2030 -> Linksys spa941 : ok Linksys -> Thomson : not ok Linksys -> another working Linksys : ok Thomson -> another Thomson : not ok
Indeed there's no RTP proxying. I check all the SIP messages below, the only differences I saw are : "user=phone" and the rtpmap. concerning NAT there are behind the same router, the location saved is fine ?
in the kamailio log, the routing logic is the same. registration of all sip phones are ok, proxy auth too. the Thomsons can't find any other sip phones ...
here are all the invites (got with ngrep) :
*** Here you have the INVITE message in the case Linksys => Linksys (call ok)
U 2008/12/01 10:34:09.950709 77.246.81.162:25722 -> 77.246.81.132:5060 INVITE sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-bdbd130c. From: "linksys1" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr
;tag=6fc94d28edd8dcaao0.
To: "linksys2" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: 7dba9d80-33140832@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr ",nonce="4933b0bd000000bb6b5025b195e2dac29e1a78759732fcfb",uri=" sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr ",algorithm=MD5,response="2d6a83ad081b23632bbc40bcfb277daf",qop=auth,nc=00000001,cnonce="6dec9235". Contact: "linksys1" sip:0123451005@192.168.0.120:5060. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 316723 316723 IN IP4 192.168.0.120. s=-. c=IN IP4 192.168.0.120. t=0 0. m=audio 38544 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Linksys => Thomson (call ok)
U 2008/12/01 10:39:43.317899 77.246.81.162:25722 -> 77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-30acba56. From: "linksys1" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr
;tag=4829c42d46f54ba1o0.
To: "thomson1" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: ebfea81d-6dcc3871@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr ",nonce="4933b20b000000bcd4130811017007669127457c07480a0e",uri=" sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr ",algorithm=MD5,response="a888badf3b4a5d787f2a763dd8fd8c28",qop=auth,nc=00000001,cnonce="7405f5b". Contact: "linksys1" sip:0123451005@192.168.0.120:5060. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 350059 350059 IN IP4 192.168.0.120. s=-. c=IN IP4 192.168.0.120. t=0 0. m=audio 38546 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Linksys (call not ok)
U 2008/12/01 10:41:54.428224 77.246.81.162:24507 -> 77.246.81.132:5060 INVITE sip:0123451010@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.184:5060 ;branch=z9hG4bK7920248682981536932-1809931. From: "thomson1"sip:0123451013@sip.720.fr:5060 ;user=phone;tag=c0a80101-1b9de5. To: sip:0123451010@sip.720.fr:5060;user=phone. Call-ID: 1bc719-c0a80101-0-2@192.168.0.184. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800. Proxy-Authorization: Digest username="0123451013", realm="sip.720.fr", nonce="4933b28e000000bf60feb103ab85ee5f758ec510d7773f66", uri="sip:0123451010@sip.720.fr:5060;user=phone", response="1eb59cbc25d6db05fafcd5d8b915da4a", algorithm=MD5, qop=auth, cnonce="1b9e0b", nc=00000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451013@192.168.0.184:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-00-5E-0A. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451013 1809894 1809894 IN IP4 192.168.0.184. s=-. c=IN IP4 192.168.0.184. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Thomson (call not ok)
U 2008/12/01 10:43:41.340288 77.246.81.162:30201 -> 77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.185:5060 ;branch=z9hG4bK9142470814203758154-1862706. From: "thomson2"sip:0123451014@sip.720.fr:5060 ;user=phone;tag=c0a80101-1c6c04. To: sip:0123451013@sip.720.fr:5060;user=phone. Call-ID: 1c93e7-c0a80101-0-2@192.168.0.185. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800.Proxy-Authorization: Digest username="0123451014", realm="sip.720.fr", nonce="4933b2f9000000c25f1b77c7d99d35ceeb25c03a20f5e153", uri="sip:0123451013@sip.720.fr:5060;user=phone", response="2c46b135e8453fce29308c03cf89aac5", algorithm=MD5, qop=auth, cnonce="1c6c33", nc=00 000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451014@192.168.0.185:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-E1-63-34. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451014 1862661 1862661 IN IP4 192.168.0.185. s=-. c=IN IP4 192.168.0.185. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
It's strange ...
.Sam.
On Fri, Nov 28, 2008 at 12:52 PM, Klaus Darilion < klaus.mailinglists@pernau.at> wrote:
the user=phone parameter in the Contact is probably not the problem - there can be any parameter there. Except the client does not accept its own contact.
I suspect a NAT problem
regards klaus
Samuel Muller schrieb:
Hello all,
I've a little problem with the SIP phone Thomson ST2030. When it registers, it auto-adds ";user=phone" in all the fields it can be. The problem is that it can't be called due to the contact header, kamailio can't found the phone.
I tried to delete the filed during the REGISTER and the PROXY AUTH processes, with no success ...
If someone has a solution, many thanks !
kamailio.cfg :
... # ;user=phone hack if (search("^Contact:.*;user=phone")) { xlog("L_INFO", "-> user=phone found, remove it - F=$fu ContactHF=$ct"); replace_all(";user=phone", "\r\n"); #subst("/;user=phone$;$")) } ...
=> all the logs here :
SQL result
Database: openser SQL query: SELECT * FROM `location` WHERE `id` = 383 LIMIT 0, 30 ;
id 383 username 0123451013 domain sip.720.fr http://sip.720.fr contact sip:0123451013@192.168.0.158:5060;user=phone received sip:77.246.81.162:1902 http://77.246.81.162:1902 path NULL expires 2008-11-28 13:02:16 q 0.00 callid 18786315-c0a80101-5-a@192.168.0.158 mailto: 18786315-c0a80101-5-a@192.168.0.158 cseq 270 last_modified 2008-11-28 12:02:16 flags 0 cflags 64 user_agent THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A socket udp:77.246.81.132:5060 http://77.246.81.132:5060 methods NULL
kamailio REGISTER sip buffer
REGISTER sip:sip.720.fr http://sip.720.fr;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.158:5060 ;branch=z9hG4bK363142985921875976-158787787 From: sip:0123451013@sip.720.fr:5060;user=phone;tag=c0a80101-976e8ab To: sip:0123451013@sip.720.fr:5060;user=phone Call-ID: 18786315-c0a80101-5-a@192.168.0.158 mailto: 18786315-c0a80101-5-a@192.168.0.158 CSeq: 250 REGISTER Max-Forwards: 69 Expires: 3600 Contact: sip:0123451013@192.168.0.158:5060;user=phone Authorization: Digest username="0123451013", realm="sip.720.fr < http://sip.720.fr%3E", nonce="492f8a92000000697e7fefd30ce752d7e50c6166da2cc6e2", uri="sip:sip.720.fr http://sip.720.fr", response="37f8ec824ba77eb37583f38f2a509f77", algorithm=MD5, qop=auth, cnonce="976e8cb", nc=00000001 User-Agent: THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Length: 0
ngrep log :
U 2008/11/28 12:13:59.813649 77.246.81.162:8680 < http://77.246.81.162:8680%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E INVITE sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Remote-Party-ID: "Sam" <sip:0123451010@sip.720.frsip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
;screen=yes;party=calling.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr < http://sip.720.fr
",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="
sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr
",algorithm=MD5,response="1538e1ac3e3181f8bfb6f473f2470a6a",qop=auth,nc=00000001,cnonce="7c8a76fd".
Contact: "Sam" <sip:0123451010@192.168.0.113:5060 < http://sip:0123451010@192.168.0.113:5060%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 263. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 192.168.0.113 http://192.168.0.113. t=0 0. m=audio 35692 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
U 2008/11/28 12:13:59.820056 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:8680 < http://77.246.81.162:8680%3E SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.0.113:5060 ;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 http://77.246.81.132:5060 "Noisy feedback tells: pid=14141 req_src_ip=77.246.81.162 http://77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.frsip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> out_uri= sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> via_cnt==1". .
U 2008/11/28 12:13:59.882639 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:1902 < http://77.246.81.162:1902%3E INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132
;branch=z9hG4bK821.3a570854.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 < http://sip:0123451010@77.246.81.162:8680%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:00.273883 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:1902 < http://77.246.81.162:1902%3E INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132
;branch=z9hG4bK821.3a570854.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 < http://sip:0123451010@77.246.81.162:8680%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:01.272604 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:1902 < http://77.246.81.162:1902%3E INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132
;branch=z9hG4bK821.3a570854.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 < http://sip:0123451010@77.246.81.162:8680%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:03.283852 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:1902 < http://77.246.81.162:1902%3E INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132
;branch=z9hG4bK821.3a570854.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 < http://sip:0123451010@77.246.81.162:8680%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 http://192.168.0.113. s=-. c=IN IP4 77.246.81.133 http://77.246.81.133. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
U 2008/11/28 12:14:04.905612 77.246.81.162:8680 < http://77.246.81.162:8680%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E CANCEL sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr < http://sip.720.fr
",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="
sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr
",algorithm=MD5,response="07e4433c6000309b8cac1f917dbb9643",qop=auth,nc=00000002,cnonce="7c8a76fd".
User-Agent: Linksys/SPA941-5.1.8. Content-Length: 0. .
U 2008/11/28 12:14:04.912088 77.246.81.132:5060 < http://77.246.81.132:5060%3E -> 77.246.81.162:8680 < http://77.246.81.162:8680%3E SIP/2.0 501 Method Not Supported Here. Via: SIP/2.0/UDP 192.168.0.113:5060 ;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 < http://77.246.81.162%3E. From: "Sam" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr
;tag=d25c9349df891607b66aeb00d1da49ca.b1d0.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 mailto: 39d2f3d0-b283756b@192.168.0.113. CSeq: 102 CANCEL. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 http://77.246.81.132:5060 "Noisy feedback tells: pid=14137 req_src_ip=77.246.81.162 http://77.246.81.162 req_src_port=8680 in_uri=sip:0123451013@sip.720.frsip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> out_uri= sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> via_cnt==1".
-- Samuel MULLER Ingénieur Reseaux & Telecom 720 DEGRES +33 (0)663 128 505 sml@720.fr mailto:sml@720.fr
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hi Samuel!
What exactly is the problem when "not ok". is signaling fine? what is the audio problem (one way audio? no audio at all?)
compare the SDP of the incoming INVITE with the outgoing INVITE. If you use rtpproxy, the IP address in the c line should be changed.
regards klaus
Samuel Muller schrieb:
Hello,
ok, I tested this in the same LAN :
Thomson st2030 -> Linksys spa941 : ok Linksys -> Thomson : not ok Linksys -> another working Linksys : ok Thomson -> another Thomson : not ok
Indeed there's no RTP proxying. I check all the SIP messages below, the only differences I saw are : "user=phone" and the rtpmap. concerning NAT there are behind the same router, the location saved is fine ?
in the kamailio log, the routing logic is the same. registration of all sip phones are ok, proxy auth too. the Thomsons can't find any other sip phones ...
here are all the invites (got with ngrep) :
*** Here you have the INVITE message in the case Linksys => Linksys (call ok)
U 2008/12/01 10:34:09.950709 77.246.81.162:25722 http://77.246.81.162:25722 -> 77.246.81.132:5060 http://77.246.81.132:5060 INVITE sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-bdbd130c. From: "linksys1" <sip:0123451005@sip.720.fr mailto:sip%3A0123451005@sip.720.fr>;tag=6fc94d28edd8dcaao0. To: "linksys2" <sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.fr mailto:sip%3A0123451005@sip.720.fr>;screen=yes;party=calling. Call-ID: 7dba9d80-33140832@192.168.0.120 mailto:7dba9d80-33140832@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr http://sip.720.fr",nonce="4933b0bd000000bb6b5025b195e2dac29e1a78759732fcfb",uri="sip:0123451010@sip.720.fr mailto:sip%3A0123451010@sip.720.fr",algorithm=MD5,response="2d6a83ad081b23632bbc40bcfb277daf",qop=auth,nc=00000001,cnonce="6dec9235". Contact: "linksys1" <sip:0123451005@192.168.0.120:5060 http://sip:0123451005@192.168.0.120:5060>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 316723 316723 IN IP4 192.168.0.120 http://192.168.0.120. s=-. c=IN IP4 192.168.0.120 http://192.168.0.120. t=0 0. m=audio 38544 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Linksys => Thomson (call ok)
U 2008/12/01 10:39:43.317899 77.246.81.162:25722 http://77.246.81.162:25722 -> 77.246.81.132:5060 http://77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-30acba56. From: "linksys1" <sip:0123451005@sip.720.fr mailto:sip%3A0123451005@sip.720.fr>;tag=4829c42d46f54ba1o0. To: "thomson1" <sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.fr mailto:sip%3A0123451005@sip.720.fr>;screen=yes;party=calling. Call-ID: ebfea81d-6dcc3871@192.168.0.120 mailto:ebfea81d-6dcc3871@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr http://sip.720.fr",nonce="4933b20b000000bcd4130811017007669127457c07480a0e",uri="sip:0123451013@sip.720.fr mailto:sip%3A0123451013@sip.720.fr",algorithm=MD5,response="a888badf3b4a5d787f2a763dd8fd8c28",qop=auth,nc=00000001,cnonce="7405f5b". Contact: "linksys1" <sip:0123451005@192.168.0.120:5060 http://sip:0123451005@192.168.0.120:5060>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 350059 350059 IN IP4 192.168.0.120 http://192.168.0.120. s=-. c=IN IP4 192.168.0.120 http://192.168.0.120. t=0 0. m=audio 38546 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Linksys (call not ok)
U 2008/12/01 10:41:54.428224 77.246.81.162:24507 http://77.246.81.162:24507 -> 77.246.81.132:5060 http://77.246.81.132:5060 INVITE sip:0123451010@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.184:5060;branch=z9hG4bK7920248682981536932-1809931. From: "thomson1"sip:0123451013@sip.720.fr:5060;user=phone;tag=c0a80101-1b9de5. To: sip:0123451010@sip.720.fr:5060;user=phone. Call-ID: 1bc719-c0a80101-0-2@192.168.0.184 mailto:1bc719-c0a80101-0-2@192.168.0.184. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800. Proxy-Authorization: Digest username="0123451013", realm="sip.720.fr http://sip.720.fr", nonce="4933b28e000000bf60feb103ab85ee5f758ec510d7773f66", uri="sip:0123451010@sip.720.fr:5060;user=phone", response="1eb59cbc25d6db05fafcd5d8b915da4a", algorithm=MD5, qop=auth, cnonce="1b9e0b", nc=00000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451013@192.168.0.184:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-00-5E-0A. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451013 1809894 1809894 IN IP4 192.168.0.184 http://192.168.0.184. s=-. c=IN IP4 192.168.0.184 http://192.168.0.184. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Thomson (call not ok)
U 2008/12/01 10:43:41.340288 77.246.81.162:30201 http://77.246.81.162:30201 -> 77.246.81.132:5060 http://77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.185:5060;branch=z9hG4bK9142470814203758154-1862706. From: "thomson2"sip:0123451014@sip.720.fr:5060;user=phone;tag=c0a80101-1c6c04. To: sip:0123451013@sip.720.fr:5060;user=phone. Call-ID: 1c93e7-c0a80101-0-2@192.168.0.185 mailto:1c93e7-c0a80101-0-2@192.168.0.185. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800.Proxy-Authorization: Digest username="0123451014", realm="sip.720.fr http://sip.720.fr", nonce="4933b2f9000000c25f1b77c7d99d35ceeb25c03a20f5e153", uri="sip:0123451013@sip.720.fr:5060;user=phone", response="2c46b135e8453fce29308c03cf89aac5", algorithm=MD5, qop=auth, cnonce="1c6c33", nc=00 000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451014@192.168.0.185:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-E1-63-34. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451014 1862661 1862661 IN IP4 192.168.0.185 http://192.168.0.185. s=-. c=IN IP4 192.168.0.185 http://192.168.0.185. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
It's strange ...
.Sam.
On Fri, Nov 28, 2008 at 12:52 PM, Klaus Darilion <klaus.mailinglists@pernau.at mailto:klaus.mailinglists@pernau.at> wrote:
the user=phone parameter in the Contact is probably not the problem - there can be any parameter there. Except the client does not accept its own contact. I suspect a NAT problem regards klaus Samuel Muller schrieb: Hello all, I've a little problem with the SIP phone Thomson ST2030. When it registers, it auto-adds ";user=phone" in all the fields it can be. The problem is that it can't be called due to the contact header, kamailio can't found the phone. I tried to delete the filed during the REGISTER and the PROXY AUTH processes, with no success ... If someone has a solution, many thanks ! -- -- kamailio.cfg : -- -- ... # ;user=phone hack if (search("^Contact:.*;user=phone")) { xlog("L_INFO", "-> user=phone found, remove it - F=$fu ContactHF=$ct"); replace_all(";user=phone", "\r\n"); #subst("/;user=phone$;$")) } ... => all the logs here : -- -- SQL result -- -- Database: openser SQL query: SELECT * FROM `location` WHERE `id` = 383 LIMIT 0, 30 ; id 383 username 0123451013 domain sip.720.fr <http://sip.720.fr> <http://sip.720.fr> contact sip:0123451013@192.168.0.158:5060;user=phone received sip:77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> path NULL expires 2008-11-28 13:02:16 q 0.00 callid 18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158> <mailto:18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158>> cseq 270 last_modified 2008-11-28 12:02:16 flags 0 cflags 64 user_agent THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A socket udp:77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> methods NULL -- -- kamailio REGISTER sip buffer -- -- REGISTER sip:sip.720.fr <http://sip.720.fr> <http://sip.720.fr>;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.158:5060;branch=z9hG4bK363142985921875976-158787787 From: <sip:0123451013@sip.720.fr:5060;user=phone>;tag=c0a80101-976e8ab To: <sip:0123451013@sip.720.fr:5060;user=phone> Call-ID: 18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158> <mailto:18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158>> CSeq: 250 REGISTER Max-Forwards: 69 Expires: 3600 Contact: <sip:0123451013@192.168.0.158:5060;user=phone> Authorization: Digest username="0123451013", realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr>", nonce="492f8a92000000697e7fefd30ce752d7e50c6166da2cc6e2", uri="sip:sip.720.fr <http://sip.720.fr> <http://sip.720.fr>", response="37f8ec824ba77eb37583f38f2a509f77", algorithm=MD5, qop=auth, cnonce="976e8cb", nc=00000001 User-Agent: THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Length: 0 -- -- ngrep log : -- -- U 2008/11/28 12:13:59.813649 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> -> 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> INVITE sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr <mailto:sip%253A0123451010@sip.720.fr>>>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Remote-Party-ID: "Sam" <sip:0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr <mailto:sip%253A0123451010@sip.720.fr>>>;screen=yes;party=calling. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr>",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>",algorithm=MD5,response="1538e1ac3e3181f8bfb6f473f2470a6a",qop=auth,nc=00000001,cnonce="7c8a76fd". Contact: "Sam" <sip:0123451010@192.168.0.113:5060 <http://sip:0123451010@192.168.0.113:5060> <http://sip:0123451010@192.168.0.113:5060>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 263. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. t=0 0. m=audio 35692 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 2008/11/28 12:13:59.820056 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>. From: "Sam" <sip:0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr <mailto:sip%253A0123451010@sip.720.fr>>>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> "Noisy feedback tells: pid=14141 req_src_ip=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162> req_src_port=8680 in_uri=sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> out_uri=sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> via_cnt==1". . U 2008/11/28 12:13:59.882639 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:00.273883 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:01.272604 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:03.283852 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->. Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:04.905612 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> -> 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> CANCEL sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr <mailto:sip%253A0123451010@sip.720.fr>>>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 CANCEL. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr>",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>",algorithm=MD5,response="07e4433c6000309b8cac1f917dbb9643",qop=auth,nc=00000002,cnonce="7c8a76fd". User-Agent: Linksys/SPA941-5.1.8. Content-Length: 0. . U 2008/11/28 12:14:04.912088 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> SIP/2.0 501 Method Not Supported Here. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>. From: "Sam" <sip:0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr <mailto:sip%253A0123451010@sip.720.fr>>>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>>>;tag=d25c9349df891607b66aeb00d1da49ca.b1d0. Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 CANCEL. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> "Noisy feedback tells: pid=14137 req_src_ip=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162> req_src_port=8680 in_uri=sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> out_uri=sip:0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr <mailto:sip%253A0123451013@sip.720.fr>> via_cnt==1". -- Samuel MULLER Ingénieur Reseaux & Telecom 720 DEGRES +33 (0)663 128 505 sml@720.fr <mailto:sml@720.fr> <mailto:sml@720.fr <mailto:sml@720.fr>> ------------------------------------------------------------------------ _______________________________________________ Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hey Klaus,
first, some answers :
-> when a thomson is the callee, there's no ringing even if indicated into the SIP message. -> when a thomson is the caller, no problem, there's a ring, and the call is ok with audio. -> the SIP mesages are the same in the 2 cases.
incoming invite are exactly the same (but the source IP, and the "user=phone" parameter, for sure). outgoing invite, in the 2 cases, replaces the source IP on the "c" line into the SDP by the RTP proxy IP (but at the end, it indicates a=nortpproxy:yes
what's wrong here ???
*** here is the incoming INVITE :
U 2008/12/01 10:39:43.317899 77.246.81.162:25722 -> 77.246.81.132:5060 INVITE sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-30acba56. From: "Youssef" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr
;tag=4829c42d46f54ba1o0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "Youssef" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: ebfea81d-6dcc3871@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr ",nonce="4933b20b000000bcd4130811017007669127457c07480a0e",uri=" sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr ",algorithm=MD5,response="a888badf3b4a5d787f2a763dd8fd8c28",qop=auth,nc=00000001,cnonce="7405f5b". Contact: "Youssef" sip:0123451005@192.168.0.120:5060. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 350059 350059 IN IP4 192.168.0.120. s=-. c=IN IP4 192.168.0.120. t=0 0. m=audio 38546 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** and the outgoing INVITE :
U 2008/12/01 10:39:43.359915 77.246.81.132:5060 -> 77.246.81.162:30623 INVITE sip:0123451013@192.168.0.184:5060;user=phone SIP/2.0. Record-Route: sip:77.246.81.132;lr=on;ftag=4829c42d46f54ba1o0;nat=yes. Via: SIP/2.0/UDP 77.246.81.132;branch=z9hG4bKc83d.ca0dd8d7.0. Via: SIP/2.0/UDP 192.168.0.120:5060;rport=25722;received=77.246.81.162 ;branch=z9hG4bK-30acba56. From: "Youssef" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr
;tag=4829c42d46f54ba1o0.
To: "st2030" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr>. Remote-Party-ID: "Youssef" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: ebfea81d-6dcc3871@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Youssef" sip:0123451005@77.246.81.162:25722. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 277. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. P-Asserted-Identity: <0123451005>. Remote-Party-ID: <<null>>;party=caller;privacy=none;screen=yes. . v=0. o=- 350059 350059 IN IP4 192.168.0.120. s=-. c=IN IP4 77.246.81.133. t=0 0. m=audio 35380 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes.
Did I force 2 times the RTP proxy, or is there a fix_nated_contact/fix_nated_register pbm ?
really strange, I can send to you the kamailio debugs if you need it
in advance many thanks,
.Sam.
On Mon, Dec 1, 2008 at 11:50 AM, Klaus Darilion < klaus.mailinglists@pernau.at> wrote:
Hi Samuel!
What exactly is the problem when "not ok". is signaling fine? what is the audio problem (one way audio? no audio at all?)
compare the SDP of the incoming INVITE with the outgoing INVITE. If you use rtpproxy, the IP address in the c line should be changed.
regards klaus
Samuel Muller schrieb:
Hello,
ok, I tested this in the same LAN :
Thomson st2030 -> Linksys spa941 : ok Linksys -> Thomson : not ok Linksys -> another working Linksys : ok Thomson -> another Thomson : not ok
Indeed there's no RTP proxying. I check all the SIP messages below, the only differences I saw are : "user=phone" and the rtpmap. concerning NAT there are behind the same router, the location saved is fine ?
in the kamailio log, the routing logic is the same. registration of all sip phones are ok, proxy auth too. the Thomsons can't find any other sip phones ...
here are all the invites (got with ngrep) :
*** Here you have the INVITE message in the case Linksys => Linksys (call ok)
U 2008/12/01 10:34:09.950709 77.246.81.162:25722 < http://77.246.81.162:25722%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E INVITE sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr <mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-bdbd130c. From: "linksys1" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr<mailto: sip%3A0123451005@sip.720.fr sip%253A0123451005@sip.720.fr
;tag=6fc94d28edd8dcaao0.
To: "linksys2" <sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr<mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr>>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr<mailto: sip%3A0123451005@sip.720.fr sip%253A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: 7dba9d80-33140832@192.168.0.120 mailto: 7dba9d80-33140832@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr < http://sip.720.fr
",nonce="4933b0bd000000bb6b5025b195e2dac29e1a78759732fcfb",uri="
sip:0123451010@sip.720.fr sip%3A0123451010@sip.720.fr <mailto: sip%3A0123451010@sip.720.fr sip%253A0123451010@sip.720.fr
",algorithm=MD5,response="2d6a83ad081b23632bbc40bcfb277daf",qop=auth,nc=00000001,cnonce="6dec9235".
Contact: "linksys1" <sip:0123451005@192.168.0.120:5060 < http://sip:0123451005@192.168.0.120:5060%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 316723 316723 IN IP4 192.168.0.120 http://192.168.0.120. s=-. c=IN IP4 192.168.0.120 http://192.168.0.120. t=0 0. m=audio 38544 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Linksys => Thomson (call ok)
U 2008/12/01 10:39:43.317899 77.246.81.162:25722 < http://77.246.81.162:25722%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E INVITE sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr> SIP/2.0. Via: SIP/2.0/UDP 192.168.0.120:5060;branch=z9hG4bK-30acba56. From: "linksys1" <sip:0123451005@sip.720.fr sip%3A0123451005@sip.720.fr<mailto: sip%3A0123451005@sip.720.fr sip%253A0123451005@sip.720.fr
;tag=4829c42d46f54ba1o0.
To: "thomson1" <sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr<mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr>>. Remote-Party-ID: "linksys1" <sip:0123451005@sip.720.frsip%3A0123451005@sip.720.fr<mailto: sip%3A0123451005@sip.720.fr sip%253A0123451005@sip.720.fr
;screen=yes;party=calling.
Call-ID: ebfea81d-6dcc3871@192.168.0.120 mailto: ebfea81d-6dcc3871@192.168.0.120. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451005",realm="sip.720.fr < http://sip.720.fr
",nonce="4933b20b000000bcd4130811017007669127457c07480a0e",uri="
sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto: sip%3A0123451013@sip.720.fr sip%253A0123451013@sip.720.fr
",algorithm=MD5,response="a888badf3b4a5d787f2a763dd8fd8c28",qop=auth,nc=00000001,cnonce="7405f5b".
Contact: "linksys1" <sip:0123451005@192.168.0.120:5060 < http://sip:0123451005@192.168.0.120:5060%3E%3E. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 259. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 350059 350059 IN IP4 192.168.0.120 http://192.168.0.120. s=-. c=IN IP4 192.168.0.120 http://192.168.0.120. t=0 0. m=audio 38546 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Linksys (call not ok)
U 2008/12/01 10:41:54.428224 77.246.81.162:24507 < http://77.246.81.162:24507%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E INVITE sip:0123451010@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.184:5060 ;branch=z9hG4bK7920248682981536932-1809931. From: "thomson1"sip:0123451013@sip.720.fr:5060 ;user=phone;tag=c0a80101-1b9de5. To: sip:0123451010@sip.720.fr:5060;user=phone. Call-ID: 1bc719-c0a80101-0-2@192.168.0.184 mailto: 1bc719-c0a80101-0-2@192.168.0.184. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800. Proxy-Authorization: Digest username="0123451013", realm="sip.720.fr < http://sip.720.fr%3E", nonce="4933b28e000000bf60feb103ab85ee5f758ec510d7773f66", uri="sip:0123451010@sip.720.fr:5060;user=phone", response="1eb59cbc25d6db05fafcd5d8b915da4a", algorithm=MD5, qop=auth, cnonce="1b9e0b", nc=00000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451013@192.168.0.184:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-00-5E-0A. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451013 1809894 1809894 IN IP4 192.168.0.184 http://192.168.0.184. s=-. c=IN IP4 192.168.0.184 http://192.168.0.184. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
*** Here you have the INVITE message in the case Thomson => Thomson (call not ok)
U 2008/12/01 10:43:41.340288 77.246.81.162:30201 < http://77.246.81.162:30201%3E -> 77.246.81.132:5060 < http://77.246.81.132:5060%3E INVITE sip:0123451013@sip.720.fr:5060;user=phone SIP/2.0. Via: SIP/2.0/UDP 192.168.0.185:5060 ;branch=z9hG4bK9142470814203758154-1862706. From: "thomson2"sip:0123451014@sip.720.fr:5060 ;user=phone;tag=c0a80101-1c6c04. To: sip:0123451013@sip.720.fr:5060;user=phone. Call-ID: 1c93e7-c0a80101-0-2@192.168.0.185 mailto: 1c93e7-c0a80101-0-2@192.168.0.185. CSeq: 2 INVITE. Max-Forwards: 70. Supported: timer, replaces. Session-Expires: 1800.Proxy-Authorization: Digest username="0123451014", realm="sip.720.fr http://sip.720.fr", nonce="4933b2f9000000c25f1b77c7d99d35ceeb25c03a20f5e153", uri="sip:0123451013@sip.720.fr:5060;user=phone", response="2c46b135e8453fce29308c03cf89aac5", algorithm=MD5, qop=auth, cnonce="1c6c33", nc=00 000001. Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO. Contact: sip:0123451014@192.168.0.185:5060;user=phone. User-Agent: THOMSON thomson1 hw5 fw1.63 00-14-7F-E1-63-34. Allow-Events: refer,dialog,message-summary,check-sync,talk,hold. Content-Type: application/sdp. Content-Length: 299. . v=0. o=0123451014 1862661 1862661 IN IP4 192.168.0.185 http://192.168.0.185. s=-. c=IN IP4 192.168.0.185 http://192.168.0.185. t=0 0. m=audio 41000 RTP/AVP 8 0 18 4 96. a=rtpmap:8 PCMA/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=rtpmap:96 telephone-event/8000. a=fmtp:96 0-15. a=sendrecv.
It's strange ...
.Sam.
On Fri, Nov 28, 2008 at 12:52 PM, Klaus Darilion < klaus.mailinglists@pernau.at mailto:klaus.mailinglists@pernau.at> wrote:
the user=phone parameter in the Contact is probably not the problem
- there can be any parameter there. Except the client does not
accept its own contact.
I suspect a NAT problem
regards klaus
Samuel Muller schrieb:
Hello all, I've a little problem with the SIP phone Thomson ST2030. When it registers, it auto-adds ";user=phone" in all the fields it can be. The problem is that it can't be called due to the contact header, kamailio can't found the phone. I tried to delete the filed during the REGISTER and the PROXY AUTH processes, with no success ... If someone has a solution, many thanks ! -- -- kamailio.cfg : -- -- ... # ;user=phone hack if (search("^Contact:.*;user=phone")) { xlog("L_INFO", "-> user=phone found, remove it - F=$fu ContactHF=$ct"); replace_all(";user=phone", "\r\n"); #subst("/;user=phone$;$")) } ... => all the logs here : -- -- SQL result -- -- Database: openser SQL query: SELECT * FROM `location` WHERE `id` = 383 LIMIT 0, 30 ; id 383 username 0123451013 domain sip.720.fr <http://sip.720.fr> <http://sip.720.fr> contact sip:0123451013@192.168.0.158:5060;user=phone received sip:77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> path NULL expires 2008-11-28 13:02:16 q 0.00 callid 18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158> <mailto:18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158>> cseq 270 last_modified 2008-11-28 12:02:16 flags 0 cflags 64 user_agent THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A socket udp:77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> methods NULL -- -- kamailio REGISTER sip buffer -- -- REGISTER sip:sip.720.fr <http://sip.720.fr> <http://sip.720.fr>;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.158:5060;branch=z9hG4bK363142985921875976-158787787 From: <sip:0123451013@sip.720.fr:5060;user=phone>;tag=c0a80101-976e8ab To: <sip:0123451013@sip.720.fr:5060;user=phone> Call-ID: 18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158> <mailto:18786315-c0a80101-5-a@192.168.0.158 <mailto:18786315-c0a80101-5-a@192.168.0.158>> CSeq: 250 REGISTER Max-Forwards: 69 Expires: 3600 Contact: <sip:0123451013@192.168.0.158:5060;user=phone> Authorization: Digest username="0123451013", realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr>", nonce="492f8a92000000697e7fefd30ce752d7e50c6166da2cc6e2", uri="sip:sip.720.fr <http://sip.720.fr> <http://sip.720.fr>", response="37f8ec824ba77eb37583f38f2a509f77", algorithm=MD5, qop=auth, cnonce="976e8cb", nc=00000001 User-Agent: THOMSON ST2030 hw5 fw1.63 00-14-7F-00-5E-0A Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Length: 0 -- -- ngrep log : -- -- U 2008/11/28 12:13:59.813649 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> -> 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> INVITE sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>>>
SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr<sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr>
<mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr> <mailto:sip%253A0123451010@sip.720.fr<sip%25253A0123451010@sip.720.fr>
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Remote-Party-ID: "Sam" <sip:0123451010@sip.720.fr<sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr>
<mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr> <mailto:sip%253A0123451010@sip.720.fr<sip%25253A0123451010@sip.720.fr>
;screen=yes;party=calling.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr
",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="
sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.frsip%253A0123451013@sip.720.fr
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
",algorithm=MD5,response="1538e1ac3e3181f8bfb6f473f2470a6a",qop=auth,nc=00000001,cnonce="7c8a76fd".
Contact: "Sam" <sip:0123451010@192.168.0.113:5060 <http://sip:0123451010@192.168.0.113:5060> <http://sip:0123451010@192.168.0.113:5060>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 263. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. t=0 0. m=audio 35692 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 2008/11/28 12:13:59.820056 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=
77.246.81.162 http://77.246.81.162 http://77.246.81.162. From: "Sam" <sip:0123451010@sip.720.frsip%3A0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.frsip%253A0123451010@sip.720.fr
<mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr> <mailto:sip%253A0123451010@sip.720.fr<sip%25253A0123451010@sip.720.fr>
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> "Noisy feedback tells: pid=14141 req_src_ip=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162> req_src_port=8680 in_uri=sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
out_uri=sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>>>
via_cnt==1". .
U 2008/11/28 12:13:59.882639 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:00.273883 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:01.272604 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:03.283852 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:1902 <http://77.246.81.162:1902> <http://77.246.81.162:1902> INVITE sip:0123451013@192.168.0.158:5060;user=phone SIP/2.0. Record-Route: <sip:77.246.81.132 <http://77.246.81.132> <http://77.246.81.132
;lr=on;ftag=4209e88c969ca7dfo0;nat=yes;vsf=dTRjN2NvOSh5O2l3chRUKWUpZWo5MGkrLFxGBRldBw-->.
Via: SIP/2.0/UDP 77.246.81.132 <http://77.246.81.132> <http://77.246.81.132>;branch=z9hG4bK821.3a570854.0. Via: SIP/2.0/UDP 192.168.0.113:5060;rport=8680;received=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162>;branch=z9hG4bK-eb23842c. From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=4209e88c969ca7dfo0. To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 INVITE. Max-Forwards: 49. Contact: "Sam" <sip:0123451010@77.246.81.162:8680 <http://sip:0123451010@77.246.81.162:8680> <http://sip:0123451010@77.246.81.162:8680>>. Expires: 240. User-Agent: Linksys/SPA941-5.1.8. Content-Length: 281. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, PRACK, REFER. Supported: 100rel, replaces. Content-Type: application/sdp. Privacy: id. Remote-Party-ID: <<null>>;party=caller;privacy=yes;screen=no. . v=0. o=- 33629308 33629308 IN IP4 192.168.0.113 <http://192.168.0.113> <http://192.168.0.113>. s=-. c=IN IP4 77.246.81.133 <http://77.246.81.133> <http://77.246.81.133>. t=0 0. m=audio 35132 RTP/AVP 18 0 8 101. a=rtpmap:18 G729a/8000. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. a=nortpproxy:yes. U 2008/11/28 12:14:04.905612 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> -> 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> CANCEL sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>>>
SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c. From: "Sam" <sip:0123451010@sip.720.fr<sip%3A0123451010@sip.720.fr> <mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr>
<mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr> <mailto:sip%253A0123451010@sip.720.fr<sip%25253A0123451010@sip.720.fr>
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 CANCEL. Max-Forwards: 50. Proxy-Authorization: Digest username="0123451010",realm="sip.720.fr <http://sip.720.fr> <http://sip.720.fr
",nonce="492fd3a300000094c9e8b4f3805f7f96dc3f36f981a64570",uri="
sip:0123451013@sip.720.fr sip%3A0123451013@sip.720.fr <mailto:sip%3A0123451013@sip.720.frsip%253A0123451013@sip.720.fr
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
",algorithm=MD5,response="07e4433c6000309b8cac1f917dbb9643",qop=auth,nc=00000002,cnonce="7c8a76fd".
User-Agent: Linksys/SPA941-5.1.8. Content-Length: 0. . U 2008/11/28 12:14:04.912088 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> -> 77.246.81.162:8680 <http://77.246.81.162:8680> <http://77.246.81.162:8680> SIP/2.0 501 Method Not Supported Here. Via: SIP/2.0/UDP 192.168.0.113:5060;branch=z9hG4bK-eb23842c;rport=8680;received=
77.246.81.162 http://77.246.81.162 http://77.246.81.162. From: "Sam" <sip:0123451010@sip.720.frsip%3A0123451010@sip.720.fr <mailto:sip%3A0123451010@sip.720.frsip%253A0123451010@sip.720.fr
<mailto:sip%3A0123451010@sip.720.fr<sip%253A0123451010@sip.720.fr> <mailto:sip%253A0123451010@sip.720.fr<sip%25253A0123451010@sip.720.fr>
;tag=4209e88c969ca7dfo0.
To: "st2030" <sip:0123451013@sip.720.fr<sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
;tag=d25c9349df891607b66aeb00d1da49ca.b1d0.
Call-ID: 39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113> <mailto:39d2f3d0-b283756b@192.168.0.113 <mailto:39d2f3d0-b283756b@192.168.0.113>>. CSeq: 102 CANCEL. Server: 720 DEGRES SIP PROXY. Content-Length: 0. Warning: 392 77.246.81.132:5060 <http://77.246.81.132:5060> <http://77.246.81.132:5060> "Noisy feedback tells: pid=14137 req_src_ip=77.246.81.162 <http://77.246.81.162> <http://77.246.81.162> req_src_port=8680 in_uri=sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>
out_uri=sip:0123451013@sip.720.fr <sip%3A0123451013@sip.720.fr> <mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr>
<mailto:sip%3A0123451013@sip.720.fr<sip%253A0123451013@sip.720.fr> <mailto:sip%253A0123451013@sip.720.fr<sip%25253A0123451013@sip.720.fr>>>
via_cnt==1".
-- Samuel MULLER Ingénieur Reseaux & Telecom 720 DEGRES +33 (0)663 128 505 sml@720.fr <mailto:sml@720.fr> <mailto:sml@720.fr <mailto:sml@720.fr>>
_______________________________________________ Users mailing list Users@lists.kamailio.org <mailto:Users@lists.kamailio.org> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Samuel Muller schrieb:
Hey Klaus,
first, some answers :
-> when a thomson is the callee, there's no ringing even if
indicated into the SIP message.
-> when a thomson is the caller, no problem, there's a ring, and the
call is ok with audio.
Please be a bit more specific: What does "no ring" mean? No "180 ringing" response from callee to caller? "180 ringing" response but no "ring-back" at the caller's client?
-> the SIP mesages are the same in the 2 cases.
incoming invite are exactly the same (but the source IP, and the
"user=phone" parameter, for sure).
outgoing invite, in the 2 cases, replaces the source IP on the "c"
line into the SDP by the RTP proxy IP (but at the end, it indicates a=nortpproxy:yes
a=nortpproxy:yes is fine. This line will signal to upstream proxies that an RTP proxy was already activated and there is no need to activate further RTP proxies.
Please post a complete ngrep trace (INVITE.....BYE) for the sucessfull and for the unsuccessful call.
Did I force 2 times the RTP proxy, or is there a
no
fix_nated_contact/fix_nated_register pbm ?
For REGISTER handling you use fix_nated_register. For all other cases you use fix_nated_contact.
BTW: What do you mean by "there's no RTP proxying" in the "not ok" case?
regards klaus
El Viernes, 28 de Noviembre de 2008, Samuel Muller escribió:
When it registers, it auto-adds ";user=phone" in all the fields it can be.
Can you show the Contact it generates?
The problem is that it can't be called due to the contact header, kamailio can't found the phone.
Do you mean that, after lookup(location), kamailio doesn't find the location?