[Spce-user] Malformed re-invite

Boštjan Štros bostjan at alstar.si
Tue Dec 15 06:08:11 EST 2015


Hello all,

we have a problem with re-invites passing through sipwise during a call, 
kamailio-proxy sends out correct packet, but kamailio-lb seems like it 
cuts out a few characters in the end and therefore it does not get 
recognized and replied in PBX, the packet is also not visible in 
wireshark. I don't see any errors in kamailio-lb logs though. What could 
be the cause of that?

Here's a ngrep-sip of the re-invite:

U 2015/12/08 13:01:13.253868 127.0.0.1:5062 -> 127.0.0.1:5060
INVITE sip:38682280015 at 188.40.66.75:5060 SIP/2.0'
Max-Forwards: 10'
Record-Route: 
<sip:127.0.0.1:5062;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;rtpprx=yes;ice_caller=strip;ice_callee=strip;mpd=ii>'
Via: SIP/2.0/UDP 
127.0.0.1:5062;branch=z9hG4bK81db.432378edfe05dd0c2fa51462d323c8d6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1PPKiaWn;rport=5080'
From: 
<sip:38612341031 at voip.alstar.si:5060>;tag=71035B18-5666C668000395A7-56FEF700'
To: <sip:38682280015 at 188.40.66.75>;tag=as771e8823'
CSeq: 11 INVITE'
Call-ID: 5289233512da160f06fea9f86a82b954 at 188.40.66.75'
Contact: <sip:386981112341031 at 127.0.0.1:5080>'
Route: 
<sip:127.0.0.1;r2=on;lr=on;ftag=as771e8823;ngcplb=yes;socket=udp:77.94.133.244:5060>, 
<sip:77.94.133.244;r2=on;lr=on;ftag=as771e8823;ngcplb=yes;socket=udp:77.94.133.244:5060>, 
<sip:188.40.66.75;lr=on;ftag=as771e8823;did=5e4.283b507>'
User-Agent: BN4000-3.3.1 '
Supported: timer, 100rel'
Allow: INVITE,CANCEL,ACK,BYE,OPTIONS,INFO,PRACK,UPDATE,REFER,NOTIFY'
Content-Type: application/sdp'
Content-Length: 238'
'
v=0'
o=BN4000 3136201 7227637 IN IP4 77.94.133.244'
s=-'
c=IN IP4 77.94.133.244'
b=AS:64'
t=0 0'
m=audio 35292 RTP/AVP 8 101'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=ptime:20'
a=sendrecv'
a=rtcp:35293'


U 2015/12/08 13:01:13.254284 77.94.133.244:5060 -> 188.40.66.75:5060
INVITE sip:38682280015 at 188.40.66.75:5060 SIP/2.0'
Record-Route: 
<sip:77.94.133.244;r2=on;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;ngcplb=yes;socket=udp:77.94.133.244:5060>'
Record-Route: 
<sip:127.0.0.1;r2=on;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;ngcplb=yes;socket=udp:77.94.133.244:5060>'
Max-Forwards:  9'
Record-Route: 
<sip:127.0.0.1:5062;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;rtpprx=yes;ice_caller=strip;ice_callee=strip;mpd=ii>'
Via: SIP/2.0/UDP 
77.94.133.244;branch=z9hG4bK81db.a36a40d807fa8c2ed52fdda936aceb38.0'
Via: SIP/2.0/UDP 
127.0.0.1:5062;rport=5062;branch=z9hG4bK81db.432378edfe05dd0c2fa51462d323c8d6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1PPKiaWn;rport=5080'
From: 
<sip:38612341031 at voip.alstar.si:5060>;tag=71035B18-5666C668000395A7-56FEF700'
To: <sip:38682280015 at 188.40.66.75>;tag=as771e8823'
CSeq: 11 INVITE'
Call-ID: 5289233512da160f06fea9f86a82b954 at 188.40.66.75'
Route: <sip:188.40.66.75;lr=on;ftag=as771e8823;did=5e4.283b507>'
User-Agent: BN4000-3.3.1 '
Supported: timer, 100rel'
Allow: INVITE,CANCEL,ACK,BYE,OPTIONS,INFO,PRACK,UPDATE,REFER,NOTIFY'
Content-Type: application/sdp'
Content-Length: 238'
Contact: 
<sip:ngcp-lb at 77.94.133.244:5060;ngcpct=7369703a3132372e302e302e313a35303830>'
'
v=0'
o=BN4000 3136201 7227637 IN IP4 77.94.133.244'
s=-'
c=IN IP4 77.94.133.244'
b=AS:64'
t=0 0'
m=audio 35292 RTP/AVP 8 101'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=ptime:20'
a=sendrecv'
a=rtcp:

U 2015/12/08 13:01:13.719199 127.0.0.1:5062 -> 127.0.0.1:5060
INVITE sip:38682280015 at 188.40.66.75:5060 SIP/2.0'
Max-Forwards: 10'
Record-Route: 
<sip:127.0.0.1:5062;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;rtpprx=yes;ice_caller=strip;ice_callee=strip;mpd=ii>'
Via: SIP/2.0/UDP 
127.0.0.1:5062;branch=z9hG4bK81db.432378edfe05dd0c2fa51462d323c8d6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1PPKiaWn;rport=5080'
From: 
<sip:38612341031 at voip.alstar.si:5060>;tag=71035B18-5666C668000395A7-56FEF700'
To: <sip:38682280015 at 188.40.66.75>;tag=as771e8823'
CSeq: 11 INVITE'
Call-ID: 5289233512da160f06fea9f86a82b954 at 188.40.66.75'
Contact: <sip:386981112341031 at 127.0.0.1:5080>'
Route: 
<sip:127.0.0.1;r2=on;lr=on;ftag=as771e8823;ngcplb=yes;socket=udp:77.94.133.244:5060>, 
<sip:77.94.133.244;r2=on;lr=on;ftag=as771e8823;ngcplb=yes;socket=udp:77.94.133.244:5060>, 
<sip:188.40.66.75;lr=on;ftag=as771e8823;did=5e4.283b507>'
User-Agent: BN4000-3.3.1 '
Supported: timer, 100rel'
Allow: INVITE,CANCEL,ACK,BYE,OPTIONS,INFO,PRACK,UPDATE,REFER,NOTIFY'
Content-Type: application/sdp'
Content-Length: 238'
'
v=0'
o=BN4000 3136201 7227637 IN IP4 77.94.133.244'
s=-'
c=IN IP4 77.94.133.244'
b=AS:64'
t=0 0'
m=audio 35292 RTP/AVP 8 101'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=ptime:20'
a=sendrecv'
a=rtcp:35293'


U 2015/12/08 13:01:13.719615 77.94.133.244:5060 -> 188.40.66.75:5060
INVITE sip:38682280015 at 188.40.66.75:5060 SIP/2.0'
Record-Route: 
<sip:77.94.133.244;r2=on;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;ngcplb=yes;socket=udp:77.94.133.244:5060>'
Record-Route: 
<sip:127.0.0.1;r2=on;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;ngcplb=yes;socket=udp:77.94.133.244:5060>'
Max-Forwards:  9'
Record-Route: 
<sip:127.0.0.1:5062;lr=on;ftag=71035B18-5666C668000395A7-56FEF700;rtpprx=yes;ice_caller=strip;ice_callee=strip;mpd=ii>'
Via: SIP/2.0/UDP 
77.94.133.244;branch=z9hG4bK81db.a36a40d807fa8c2ed52fdda936aceb38.0'
Via: SIP/2.0/UDP 
127.0.0.1:5062;rport=5062;branch=z9hG4bK81db.432378edfe05dd0c2fa51462d323c8d6.0'
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bK1PPKiaWn;rport=5080'
From: 
<sip:38612341031 at voip.alstar.si:5060>;tag=71035B18-5666C668000395A7-56FEF700'
To: <sip:38682280015 at 188.40.66.75>;tag=as771e8823'
CSeq: 11 INVITE'
Call-ID: 5289233512da160f06fea9f86a82b954 at 188.40.66.75'
Route: <sip:188.40.66.75;lr=on;ftag=as771e8823;did=5e4.283b507>'
User-Agent: BN4000-3.3.1 '
Supported: timer, 100rel'
Allow: INVITE,CANCEL,ACK,BYE,OPTIONS,INFO,PRACK,UPDATE,REFER,NOTIFY'
Content-Type: application/sdp'
Content-Length: 238'
Contact: 
<sip:ngcp-lb at 77.94.133.244:5060;ngcpct=7369703a3132372e302e302e313a35303830>'
'
v=0'
o=BN4000 3136201 7227637 IN IP4 77.94.133.244'
s=-'
c=IN IP4 77.94.133.244'
b=AS:64'
t=0 0'
m=audio 35292 RTP/AVP 8 101'
a=rtpmap:8 PCMA/8000'
a=rtpmap:101 telephone-event/8000'
a=fmtp:101 0-15'
a=ptime:20'
a=sendrecv'
a=rtcp:



Thank you for reply and best regards,
Bostjan
-- 





More information about the Spce-user mailing list