Hello Everyone,
My setup is kamailio as proxy with few boxes of freeswitch in the LAN. Having issue with
BYE when extensions register on different freeswitch boxes. Here are some trace of the
call.
Not sure if this tag= miss match or routing.
Dispatcher use group 0 with option 4 (round robin).
client_public_ip.28972 > proxy_public_ip.llrp: [udp sum ok] UDP, length 660
E....2..5...c....E.\q,.....CBYE sip:mod_sofia@10.18.130.24:5160 SIP/2.0
Via: SIP/2.0/UDP client_public_ip:28972;branch=z9hG4bK1248337638;rport
Route: <sip:proxy_public_ip:5084;r2=on;lr=on;ftag=01K2Q1BFa9pKH>
Route: <sip:10.18.130.27;r2=on;lr=on;ftag=01K2Q1BFa9pKH>
From: <sip:4300@client_public_ip:28972>;tag=487304085
To: <sip:4300@sip.company.tld>;tag=01K2Q1BFa9pKH
Call-ID: 1443c4ad-2085-1235-b5ad-5254003e39bb
CSeq: 98979026 BYE
Contact: <sip:4300@client_public_ip:28972>
Max-Forwards: 70
Supported: replaces, path, timer, eventlist
User-Agent: Grandstream Wave 1.2.2
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
IP (tos 0x10, ttl 64, id 10813, offset 0, flags [none], proto UDP (17), length 930)
10.18.130.27.sip > 10.18.130.24.5160: [bad udp cksum 0x1bf7 -> 0xd85c!] UDP, length
902
E...*=..@.4.
...
......(....BYE sip:mod_sofia@10.18.130.24:5160 SIP/2.0
Record-Route: <sip:10.18.130.27;r2=on;lr=on;ftag=487304085>
Record-Route: <sip:proxy_public_ip:5084;r2=on;lr=on;ftag=487304085>
Via: SIP/2.0/UDP 10.18.130.27;branch=z9hG4bKa61.22917bc5fdd65f16e39bf09dcbc7316b.0
Via: SIP/2.0/UDP
client_public_ip:28972;received=client_public_ip;branch=z9hG4bK1248337638;rport=28972
Route: <sip:proxy_public_ip:5084;r2=on;lr=on;ftag=01K2Q1BFa9pKH>
Route: <sip:10.18.130.27;r2=on;lr=on;ftag=01K2Q1BFa9pKH>
From: <sip:4300@client_public_ip:28972>;tag=487304085
To: <sip:4300@sip.company.tld>;tag=01K2Q1BFa9pKH
Call-ID: 1443c4ad-2085-1235-b5ad-5254003e39bb
CSeq: 98979026 BYE
Contact: <sip:4300@client_public_ip:28972>
Max-Forwards: 69
Supported: replaces, path, timer, eventlist
User-Agent: Grandstream Wave 1.2.2
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
IP (tos 0x0, ttl 64, id 38202, offset 0, flags [none], proto UDP (17), length 587)
10.18.130.24.5160 > 10.18.130.27.sip: [udp sum ok] UDP, length 559
E..K.:..@...
...
....(...7i.SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.18.130.27;branch=z9hG4bKa61.22917bc5fdd65f16e39bf09dcbc7316b.0
Via: SIP/2.0/UDP
client_public_ip:28972;received=client_public_ip;branch=z9hG4bK1248337638;rport=28972
From: <sip:4300@client_public_ip:28972>;tag=487304085
To: <sip:4300@sip.company.tld>;tag=01K2Q1BFa9pKH
Call-ID: 1443c4ad-2085-1235-b5ad-5254003e39bb
CSeq: 98979026 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY,
PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Content-Length: 0
IP (tos 0x10, ttl 64, id 782, offset 0, flags [none], proto UDP (17), length 503)
proxy_public_ip.llrp > client_public_ip.28972: [bad udp cksum 0x4c50 -> 0xd018!]
UDP, length 475
E.......@.+}.E.\c.....q,..LPSIP/2.0 200 OK
Via: SIP/2.0/UDP
client_public_ip:28972;received=client_public_ip;branch=z9hG4bK1248337638;rport=28972
From: <sip:4300@client_public_ip:28972>;tag=487304085
To: <sip:4300@sip.company.tld>;tag=01K2Q1BFa9pKH
Call-ID: 1443c4ad-2085-1235-b5ad-5254003e39bb
CSeq: 98979026 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY,
PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Content-Length: 0
IP (tos 0x0, ttl 64, id 10584, offset 0, flags [none], proto UDP (17), length 764)
10.18.130.26.5160 > 10.18.130.27.sip: [udp sum ok] UDP, length 736
E...)X..@.6@
...
....(....Y^BYE
sip:4200@client_public_ip:48147;rinstance=c4084e18f3f39974;alias=client_public_ip~48147~1
SIP/2.0
Via: SIP/2.0/UDP 10.18.130.26:5160;rport;branch=z9hG4bK33785247SrX3H
Route: <sip:10.18.130.27;r2=on;lr=on;ftag=d2e84f4a>
Route: <sip:proxy_public_ip:5084;r2=on;lr=on;ftag=d2e84f4a>
Max-Forwards: 70
From: <sip:4300@sip.company.tld>;tag=5K0FX0ryeBBeH
To: "volga629" <sip:4200@sip.company.tld>;tag=d2e84f4a
Call-ID: 137861_rel44MTA1ZGMwNzViODg5NDMwYzQ1NDQzYjlmMGExMzlmMmI
CSeq: 98979038 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY,
PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
IP (tos 0x10, ttl 64, id 802, offset 0, flags [none], proto UDP (17), length 741)
proxy_public_ip.llrp > client_public_ip.48147: [bad udp cksum 0x4d3e -> 0x4f2d!]
UDP, length 713
E...."..@.*{.E.\c.........M>BYE
sip:4200@client_public_ip:48147;rinstance=c4084e18f3f39974 SIP/2.0
Via: SIP/2.0/UDP
proxy_public_ip:5084;branch=z9hG4bK8395.d46858df1d9e02b910446fca09f1f864.0
Via: SIP/2.0/UDP
10.18.130.26:5160;received=10.18.130.26;rport=5160;branch=z9hG4bK33785247SrX3H
Max-Forwards: 69
From: <sip:4300@sip.company.tld>;tag=5K0FX0ryeBBeH
To: "volga629" <sip:4200@sip.company.tld>;tag=d2e84f4a
Call-ID: 137861_rel44MTA1ZGMwNzViODg5NDMwYzQ1NDQzYjlmMGExMzlmMmI
CSeq: 98979038 BYE
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY,
PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
IP (tos 0x0, ttl 52, id 810, offset 0, flags [DF], proto UDP (17), length 504)
client_public_ip.48147 > proxy_public_ip.llrp: [udp sum ok] UDP, length 476
E....*@.4..oc....E.\........SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
proxy_public_ip:5084;branch=z9hG4bK8395.d46858df1d9e02b910446fca09f1f864.0
Via: SIP/2.0/UDP
10.18.130.26:5160;received=10.18.130.26;rport=5160;branch=z9hG4bK33785247SrX3H
To: "volga629" <sip:4200@sip.company.tld>;tag=d2e84f4a
From: <sip:4300@sip.company.tld>;tag=5K0FX0ryeBBeH
Call-ID: 137861_rel44MTA1ZGMwNzViODg5NDMwYzQ1NDQzYjlmMGExMzlmMmI
CSeq: 98979038 BYE
Accept-Language: en
Content-Length: 0
IP (tos 0x10, ttl 64, id 63040, offset 0, flags [none], proto UDP (17), length 413)
10.18.130.27.sip > 10.18.130.26.5160: [bad udp cksum 0x19f4 -> 0x6386!] UDP, length
385
E....@..@.j.
...
......(....SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
10.18.130.26:5160;received=10.18.130.26;rport=5160;branch=z9hG4bK33785247SrX3H
To: "volga629" <sip:4200@sip.company.tld>;tag=d2e84f4a
From: <sip:4300@sip.company.tld>;tag=5K0FX0ryeBBeH
Call-ID: 137861_rel44MTA1ZGMwNzViODg5NDMwYzQ1NDQzYjlmMGExMzlmMmI
CSeq: 98979038 BYE
Accept-Language: en
Content-Length: 0
Slava.