[SR-Users] Kamailio and freeswitch integration for SBC

malik sherif asherif74 at hotmail.com
Wed Jan 20 22:55:04 CET 2016


Copy and paste part of tcmdump and highlighted the 404. 10.22.52.2 is the server IP address

Thanks again

Abdul




.4.........INVITE sip:7632689993 at AbdulKamailioSIP.com SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
User-Agent: CALIX 711/10.6.100.2
Accept: application/sdp
Max-Forwards: 70
Allow: ACK,BYE,CANCEL,INVITE,NOTIFY,INFO,OPTIONS
Contact: <sip:7632689991 at 10.22.50.23:5060>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Type: application/SDP
Content-Length: 170

v=0
o=7632689991 611732 611732 IN IP4 10.22.50.23
s=CALIX SIP CALL
c=IN IP4 10.22.50.23
t=0 0
m=audio 49152 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10
a=sendrecv

10:17:24.730003 IP (tos 0x10, ttl 64, id 43742, offset 0, flags [none], proto UDP (17), length 443)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 415
E....... at .S.
.4.
.2........?SIP/2.0 100 trying -- your call is important to us
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Server: kamailio (4.1.1 (x86_64/linux))
Content-Length: 0


10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


10:17:24.754176 IP (tos 0x0, ttl 64, id 56102, offset 0, flags [none], proto UDP (17), length 1103)
    10.22.52.2.5090 > 10.22.52.2.5060: [bad udp cksum 0x807c -> 0x95df!] UDP, length 1075
E..O.&.. at ..H
.4.
.4......;.|INVITE sip:7632689993 at 10.22.52.2 SIP/2.0
Via: SIP/2.0/UDP 10.22.52.2:5090;rport;branch=z9hG4bKU80S4QFy1t4pr
Max-Forwards: 14
From: "7632689991" <sip:7632689991 at 10.22.52.2>;tag=X6jgFceZ05SSQ
To: <sip:7632689993 at 10.22.52.2>
Call-ID: 21f9cf32-3a34-1234-32a7-0004e203079c
CSeq: 86317258 INVITE
Contact: <sip:ufs at 10.22.52.2:5090>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
X-FS-Support: update_display,send_info
Remote-Party-ID: "7632689991" <sip:7632689991 at 10.22.52.2>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1757856541 1757856542 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 20800 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.754709 IP (tos 0x10, ttl 64, id 56103, offset 0, flags [none], proto UDP (17), length 397)
10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


    10.22.52.2.5060 > 10.22.52.2.5090: [bad udp cksum 0x7dba -> 0x1ef6!] UDP, length 369
E....'.. at .!.
.4.
.4......y}.SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 10.22.52.2:5090;rport=5090;branch=z9hG4bKU80S4QFy1t4pr
From: "7632689991" <sip:7632689991 at 10.22.52.2>;tag=X6jgFceZ05SSQ
To: <sip:7632689993 at 10.22.52.2>;tag=0a5403eae2c268b22e9b4df60792062f-2584
Call-ID: 21f9cf32-3a34-1234-32a7-0004e203079c
CSeq: 86317258 INVITE
Server: kamailio (4.1.1 (x86_64/linux))
Content-Length: 0


10:17:24.755026 IP (tos 0x0, ttl 64, id 56104, offset 0, flags [none], proto UDP (17), length 382)
    10.22.52.2.5090 > 10.22.52.2.5060: [bad udp cksum 0x7dab -> 0xe34a!] UDP, length 354
E..~.(.. at .".
.4.
.4......j}.ACK sip:7632689993 at 10.22.52.2 SIP/2.0
Via: SIP/2.0/UDP 10.22.52.2:5090;rport;branch=z9hG4bKU80S4QFy1t4pr
Max-Forwards: 14
From: "7632689991" <sip:7632689991 at 10.22.52.2>;tag=X6jgFceZ05SSQ
To: <sip:7632689993 at 10.22.52.2>;tag=0a5403eae2c268b22e9b4df60792062f-2584
Call-ID: 21f9cf32-3a34-1234-32a7-0004e203079c
CSeq: 86317258 ACK
Content-Length: 0


10:17:24.762627 IP (tos 0x0, ttl 64, id 56105, offset 0, flags [none], proto UDP (17), length 1319)
    10.22.52.2.5090 > 10.22.52.2.5060: [bad udp cksum 0x8154 -> 0xc720!] UDP, length 1291
E..'.).. at ..m
.4.
.4........TSIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.52.2;branch=z9hG4bK2722.d24afa3ffbe9f3c64de0a40e16fc57f9.0
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.762891 IP (tos 0x10, ttl 64, id 43743, offset 0, flags [none], proto UDP (17), length 1236)
    10.22.52.2.5060 > 10.22.50.23.5060: [udp sum ok] UDP, length 1208
E....... at .P.
.4.
.2....... #SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d57d2-278ad05a
Record-Route: <sip:10.22.52.2;lr=on>
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 INVITE
Contact: <sip:7632689993 at 10.22.52.2:5090;transport=udp>
User-Agent: FreeSWITCH-mod_sofia/1.4.18~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Session-Expires: 120;refresher=uas
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 160
Remote-Party-ID: "kb-7632689993" <sip:kb-7632689993 at AbdulKamailioSIP.com>;party=calling;privacy=off;screen=no

v=0
o=FreeSWITCH 1453275680 1453275681 IN IP4 10.22.52.2
s=FreeSWITCH
c=IN IP4 10.22.52.2
t=0 0
m=audio 30964 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=ptime:10

10:17:24.787780 IP (tos 0x0, ttl 62, id 207, offset 0, flags [none], proto UDP (17), length 734)
    10.22.50.23.5060 > 10.22.52.2.5060: [udp sum ok] UDP, length 706
E.......>...
.2.
.4........HACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 70
Contact: <sip:7632689991 at 10.22.50.23:5060>
Route: <sip:10.22.52.2;lr>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0


10:17:24.788186 IP (tos 0x10, ttl 64, id 56106, offset 0, flags [none], proto UDP (17), length 789)
    10.22.52.2.5060 > 10.22.52.2.5090: [bad udp cksum 0x7f42 -> 0x5179!] UDP, length 761
E....*.. at . n
.4.
.4........BACK sip:7632689993 at 10.22.52.2:5090;transport=udp SIP/2.0
From: 7632689991 <sip:7632689991 at AbdulKamailioSIP.com>;tag=1378608-a163217-13c4-17e5-662d0efc-17e5
To: <sip:7632689993 at AbdulKamailioSIP.com>;tag=vXSQDHXU3v36B
Call-ID: 137c190-a163217-13c4-17e5-3d0913f8-17e5 at AbdulKamailioSIP.com
CSeq: 2 ACK
Via: SIP/2.0/UDP 10.22.52.2;branch=z9hG4bK2722.5b81c7f3e4a61ce57604a60cda694802.0
Via: SIP/2.0/UDP 10.22.50.23:5060;branch=z9hG4bK-17e5-5d580e-421561a4
Max-Forwards: 16
Contact: <sip:7632689991 at 10.22.50.23:5060>
Proxy-Authorization: Digest username="7632689991",realm="AbdulKamailioSIP.com",nonce="Vp+0QFafsxToZFRGg9d5/pBf0jLCNurV",uri="sip:7632689993 at AbdulKamailioSIP.com",response="78d437422bee35a1b1c21a1cef932169",algorithm=MD5
Content-Length: 0



________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org> on behalf of malik sherif <asherif74 at hotmail.com>
Sent: Wednesday, January 20, 2016 9:39 PM
To: miconda at gmail.com; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC


Hello Daniel,

Thanks again for responding. Should I attached tcmpdump file or just copy and paste the 404 response?

Thanks

Abdul


________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda at gmail.com>
Sent: Tuesday, January 19, 2016 10:51 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC

I think I asked what do you mean by "freeswitch is generated UN-allocated number" -- is it sending a SIP reply to Kamailio?

Maybe you can paste here the sip capture with ngrep for such call.

Cheers,
Daniel

On 19/01/16 23:44, malik sherif wrote:

Any idea as to how to correct this problem? Also wireshark trace shows that  unrecognized SIP header for invite from freeswitch to kamailio and the header from freeswitch is X-FS-support: update _display ,send_info. How can I disable this header? any other solution beside disabling the header?




Thanks

Abdulmalik Sherif

2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup sofia/internal/7632689993 at 10.22.52.2<mailto:sofia/internal/7632689993 at 10.22.52.2> [CS_ROUTING] [UNALLOCATED_NUMBER]
2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.  Cause: UNALLOCATED_NUMBER

________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org><mailto:sr-users-bounces at lists.sip-router.org> on behalf of malik sherif <asherif74 at hotmail.com><mailto:asherif74 at hotmail.com>
Sent: Wednesday, January 13, 2016 9:21 PM
To: Kamailio (SER) - Users Mailing List; miconda at gmail.com<mailto:miconda at gmail.com>
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC


Kamailio SIP is sending 404 not found since freeswitch is generated UN-allocated number, the call got rejected and goes to voicemail.

Thank you again for your help

Abdul


________________________________
From: Daniel-Constantin Mierla <miconda at gmail.com><mailto:miconda at gmail.com>
Sent: Wednesday, January 13, 2016 9:06 PM
To: malik sherif; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC

What application is sending the 404?

Cheers,
Daniel

On 13/01/16 21:43, malik sherif wrote:

Any hint as to how to correct this issue?


1 404 UNALLOCATED_NUMBER Unallocated (unassigned) number [Q.850 value 1] This cause indicates that the called party cannot be reached because, although the called party number is in a valid format, it is not currently allocated (assigned).

________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org><mailto:sr-users-bounces at lists.sip-router.org> on behalf of malik sherif <asherif74 at hotmail.com><mailto:asherif74 at hotmail.com>
Sent: Wednesday, January 13, 2016 8:11 PM
To: Kamailio (SER) - Users Mailing List; miconda at gmail.com<mailto:miconda at gmail.com>
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC


is there a new to edit vars.xml file? I haven't touched this file but one of the warning about default password


016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.

________________________________
From: sr-users <sr-users-bounces at lists.sip-router.org><mailto:sr-users-bounces at lists.sip-router.org> on behalf of malik sherif <asherif74 at hotmail.com><mailto:asherif74 at hotmail.com>
Sent: Wednesday, January 13, 2016 5:15 PM
To: Kamailio (SER) - Users Mailing List; <mailto:miconda at gmail.com> miconda at gmail.com<mailto:miconda at gmail.com>
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC


Thanks again Daniel for replying.

Now the call is failing with 404 not found and goes to voicemail. I was calling between 7632689991 and 7632689993, I looked the extensions on freeswitch, and look OK but it is possible I might have missed something. Freeswitch issues the following errors. Thank you again for your help

Abdulmalik Sherif


2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel <mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> [e945266d-8eec-4c0e-80b4-b306f43e18df]
2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context public
2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer <mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> to XML[kb-7632689993 at default]
2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 <7632689991>->kb-7632689993 in context default
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Once changed type 'reloadxml' at the console.
2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
2016-01-13 05:37:39.632245 [NOTICE] switch_channel.c:1055 New Channel <mailto:sofia/internal/7632689993 at 10.22.52.2> sofia/internal/7632689993 at 10.22.52.2<mailto:sofia/internal/7632689993 at 10.22.52.2> [d52b6ef9-c4f6-4edf-aff9-8a8da3761788]
2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup <mailto:sofia/internal/7632689993 at 10.22.52.2> sofia/internal/7632689993 at 10.22.52.2<mailto:sofia/internal/7632689993 at 10.22.52.2> [CS_ROUTING] [UNALLOCATED_NUMBER]
2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.  Cause: UNALLOCATED_NUMBER
2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12 (sofia/internal/7632689993 at 10.22.52.2<mailto:sofia/internal/7632689993 at 10.22.52.2>) Ended
2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689993 at 10.22.52.2<mailto:sofia/internal/7632689993 at 10.22.52.2> [CS_DESTROY]
2016-01-13 05:37:39.632245 [NOTICE] sofia_media.c:92 Pre-Answer <mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com>!
2016-01-13 05:37:39.653182 [NOTICE] mod_dptools.c:1268 Channel [<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com>sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com>] has been answered
2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup <mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> [CS_EXECUTE] [NORMAL_CLEARING]
2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1641 Session 11 (sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com>) Ended
2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1645 Close Channel sofia/internal/7632689991 at AbdulKamailioSIP.com<mailto:sofia/internal/7632689991 at AbdulKamailioSIP.com> [CS_DESTROY]

###########################################################################################################################



My extensions are as follow:

<include>
  <user id="7632689991">
    <params>
      <param name="vm-password" value="1001"/>
    </params>
    <variables>
      <variable name="accountcode" value="7632689991"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 7632689991"/>
      <variable name="effective_caller_id_number" value="7632689991"/>
    </variables>
  </user>
</include>

##########################################################################

<include>
  <user id="7632689993">
    <params>
      <param name="vm-password" value="1003"/>
    </params>
    <variables>
      <variable name="accountcode" value="7632689993"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension Sherif"/>
      <variable name="effective_caller_id_number" value="7632689993"/>
    </variables>
  </user>
</include>
############################################################################




________________________________
From: Daniel-Constantin Mierla <miconda at gmail.com><mailto:miconda at gmail.com>
Sent: Wednesday, January 13, 2016 6:34 AM
To: malik sherif; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC

Hello,

the error with creating the SIP UA is most probable because of kamailio listening on 5060 and freeswitch trying to do the same.

To troubleshoot the 408, use ngrep or other network sniffing tool, and look on the network to see where the sip request is sent. Like:

ngrep -d any -qt -W byline port 5060

Cheers,
Daniel

[http://kb.asipto.com/_media/wiki:logo.png]<http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>





--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda<http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160120/afdc0d0c/attachment.html>


More information about the sr-users mailing list