Hi,
It looks like it was a config issue on header remove via regex that was removing more headers that what we intended and we were getting topos error messages. Now that we used the correct regex on the config, topos is working fine and contact and via is ok on the second invite.
Thank you!
Kind Regards, Angelo
On Thu, Sep 16, 2021, 11:15 AM Arnd Schmitter aschmitter@megasat.de wrote:
Hello,
my guess is, you have a problem with udp/ip fragmentation. You reinvite is much larger then the initial invite (~1200 vs 1600 Bytes). Talk to your provider so he can fix his firewall or other settings. Alternative ask for a switch to TCP.
As a last resort, you can try to reduce the size of the reinvite somehow. Like removing not neccessary SIP header or codecs from the SDP.
BR Arnd
Am Mi, Sep 15, 2021 um 17:38:14 schrieb Angelo Sipper:
Hello,
I am trying to understand a problem we have with reinvites. When there
is a
reinvite on the call our provider refuses to receive the reinvite and the call is dropped. The setup is the bellow: UA-> Kamailio1 -> Kamailio2 -> Provider On Kamailio2 we have Topos enabled. Looking on the trace I can see that on the second invite, Kamailio does send out the original contact and not the one that was originally send
out
to the provider. Is this correct? Is this breaking the call?
Bellow the trace and the flow from Kamailio2 until the second reinvite.
All
reinvites are the same as per the last
Thank you for your help!
2021/09/15 16:29:59.420162 50.50.50.181:5060 -> 200.200.200.193:5060 INVITE sip:1234567890@sip.mydomain.com:5060 SIP/2.0 Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK3db6.b5141bfea33b57c5223aff14ab3b5466.0 Max-Forwards: 67 From: 987654321 sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302510 INVITE 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: 481 Contact: sip:btpsh-b5-6141f513-11f69-4@50.50.50.181
v=0 o=FreeSWITCH 1631683257 1631683258 IN IP4 50.50.50.183 s=FreeSWITCH c=IN IP4 50.50.50.183 t=0 0 m=audio 26472 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv a=rtcp:26473 a=ptime:20 m=video 26510 RTP/AVP 103 b=AS:1024 a=rtpmap:103 H264/90000 a=rtcp-fb:103 ccm fir a=rtcp-fb:103 ccm tmmbr a=rtcp-fb:103 nack a=rtcp-fb:103 nack pli a=sendrecv a=rtcp:26511
======================================================================================
2021/09/15 16:29:59.439009 200.200.200.193:5060 -> 50.50.50.181:5060 SIP/2.0 100 Trying Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK3db6.b5141bfea33b57c5223aff14ab3b5466.0 From: 987654321 sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com;tag=gK0dc15c15 Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302510 INVITE Content-Length: 0
======================================================================================
2021/09/15 16:30:02.596613 200.200.200.193:5060 -> 50.50.50.181:5060 SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK3db6.b5141bfea33b57c5223aff14ab3b5466.0 From: 987654321 sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com;tag=gK0dc15c15 Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302510 INVITE Contact: sip:1234567890@200.200.200.193:5060 Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS Content-Length: 313 Content-Disposition: session; handling=required Content-Type: application/sdp
v=0 o=Sonus_UAC 27823 25478 IN IP4 200.200.200.193 s=SIP Media Capabilities c=IN IP4 200.200.200.196 t=0 0 m=audio 19958 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=maxptime:20 m=video 0 RTP/AVP 103 b=AS:1024 a=rtpmap:103 H264/90000 a=inactive
======================================================================================
2021/09/15 16:30:06.163783 200.200.200.193:5060 -> 50.50.50.181:5060 SIP/2.0 200 OK Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK3db6.b5141bfea33b57c5223aff14ab3b5466.0 From: 987654321 sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com;tag=gK0dc15c15 Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302510 INVITE Accept: application/sdp, application/isup, application/dtmf, application/dtmf-relay, multipart/mixed Contact: sip:1234567890@200.200.200.193:5060 Allow: INVITE,ACK,CANCEL,BYE,INFO,PRACK,UPDATE,OPTIONS P-Asserted-Identity: <sip:6979111336@MOBILE.MOBILEPROVIDER.COM
;user=phone>
Require: timer Supported: timer Session-Expires: 300;refresher=uac Content-Length: 313 Content-Disposition: session; handling=required Content-Type: application/sdp
v=0 o=Sonus_UAC 27823 25478 IN IP4 200.200.200.193 s=SIP Media Capabilities c=IN IP4 200.200.200.196 t=0 0 m=audio 19958 RTP/AVP 8 101 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv a=maxptime:20 m=video 0 RTP/AVP 103 b=AS:1024 a=rtpmap:103 H264/90000 a=inactive
======================================================================================
2021/09/15 16:30:06.405147 50.50.50.181:5060 -> 200.200.200.193:5060 ACK sip:1234567890@200.200.200.193:5060 SIP/2.0 Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK3db6.58e9d8820221b191b49fe0c91299e56f.0 Max-Forwards: 68 From: "987654321" sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com;tag=gK0dc15c15 Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302510 ACK Proxy-Authorization: Digest username="mycustomerid", realm=" sbc1.mydomain.com", nonce="YUH2g2FB9VcCxZ3l2WSvJCj7aUokLhAKksYQ1zfOfyQRWm90h2vJgH8I/B+A", algorithm=MD5, uri="sip:1234567890@sbc1.mydomain.com", response="dc4d3d7e9281c04ecc3e3 63ea162fb" Content-Length: 0 Contact: sip:btpsh-b5-6141f513-11f69-4@50.50.50.181
=============================================
2021/09/15 16:32:37.685497 50.50.50.181:5060 -> 200.200.200.193:5060 INVITE sip:1234567890@200.200.200.193:5060 SIP/2.0 Via: SIP/2.0/UDP 50.50.50.181;branch=z9hG4bK4db6.691137b194a14953af928c339e03d60e.0 Via: SIP/2.0/UDP
50.50.50.210;rport=5060;branch=z9hG4bK4db6.4619cd1b550ba7e45a3fbd0321a5c0b0.0
Via: SIP/2.0/UDP 62.1.2.62;received=62.1.2.62;rport=5060;branch=z9hG4bKXDZQF19XUj3QB Max-Forwards: 67 From: "987654321" sip:987654321@sip.mydomain.com;tag=2QK2mpeH5Sy4g To: sip:1234567890@sip.mydomain.com;tag=gK0dc15c15 Call-ID: dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq: 41302511 INVITE Contact: sip:mycustomerid@62.1.2.62:5060 ;transport=udp;gw=1606bb6a-6563-43be-b4dd-4890d524d0e9 User-Agent: Supervoice VPBX Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Proxy-Authorization: Digest username="mycustomerid", realm=" sbc1.mydomain.com", nonce="YUH2g2FB9VcCxZ3l2WSvJCj7aUokLhAKksYQ1zfOfyQRWm90h2vJgH8I/B+A", algorithm=MD5, uri="sip:atpsh-b5-6141f513-11f69-4@50.50.50.181", response="50ed75ca9002 ca76fbfa306fb8a599" Session-Expires: 300;refresher=uac Min-SE: 120 Content-Type: application/sdp Content-Disposition: session Content-Length: 348 Remote-Party-ID: "987654321" <sip:987654321@sbc1.mydomain.com
;party=calling;screen=yes;privacy=off
v=0 o=FreeSWITCH 1631683257 1631683258 IN IP4 50.50.50.183 s=FreeSWITCH c=IN IP4 50.50.50.183 t=0 0 m=audio 26472 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv a=rtcp:26473 a=ptime:20 m=video 0 RTP/AVP 103 a=rtpmap:103 H264/90000
|Time | 50.50.50.210 | 200.200.200.193 | | | | 50.50.50.181 | |0.000024 | INVITE SDP (g711A g7 |
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> Call-ID:dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq:41302510 | |(5060) ------------------> (5060) | | |0.001523 | 100 trying -- your c |
|SIP
Status 100 trying -- your call is important to us | |(5060) <------------------ (5060) | | |0.011760 | | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302510 | | |(5060) ------------------> (5060) | |0.030607 | | 100 Trying|
|SIP
Status 100 Trying | | |(5060) <------------------ (5060) | |2.690501 | | 183 Session Progress
|SIP
Status 183 Session Progress | | |(5060) <------------------ (5060) | |2.708868 | 183 Session Progress |
|SIP
Status 183 Session Progress | |(5060) <------------------ (5060) | | |3.188211 | | 183 Session Progress
|SIP
Status 183 Session Progress | | |(5060) <------------------ (5060) | |3.199099 | 183 Session Progress |
|SIP
Status 183 Session Progress | |(5060) <------------------ (5060) | | |6.755381 | | 200 OK SDP (g711A te
|SIP
Status 200 OK | | |(5060) <------------------ (5060) | |6.819017 | 200 OK SDP (g711A te |
|SIP
Status 200 OK | |(5060) <------------------ (5060) | | |6.973845 | ACK | |
|SIP
Request INVITE ACK 200 CSeq:41302510 | |(5060) ------------------> (5060) | | |6.996745 | | ACK |
|SIP
ACK From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302510 | | |(5060) ------------------> (5060) | |158.269723| INVITE SDP (g711A g7 |
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> Call-ID:dfb297d1-90cb-123a-d4a1-00155d01bf11 CSeq:41302511 | |(5060) ------------------> (5060) | | |158.275396| 100 trying -- your c |
|SIP
Status 100 trying -- your call is important to us | |(5060) <------------------ (5060) | | |158.277105| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |158.753781| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |159.753493| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |161.753502| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |165.753630| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |169.754980| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |173.753719| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |177.753676| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |181.753657| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |185.753503| | INVITE SDP (g711A g7
|SIP
INVITE From: 1234567890 sip:1234567890@sip.mydomain.com To:< sip:987654321@sip.mydomain.com> CSeq:41302511 | | |(5060) ------------------> (5060) | |188.254337| 503 Service not avai |
|SIP
Status 503 Service not available | |(5060) <------------------ (5060) | | |188.255085| ACK | |
|SIP
Request INVITE ACK 200 CSeq:41302511 | |(5060) ------------------> (5060) | | |188.326552| BYE | |
|SIP
Request BYE CSeq:41302512 | |(5060) ------------------> (5060) | | |188.342106| | BYE |
|SIP
Request BYE CSeq:41302512 | | |(5060) ------------------> (5060) | |188.373697| | 200 OK |
|SIP
Status 200 OK | | |(5060) <------------------ (5060) | |188.379670| 200 OK | |
|SIP
Status 200 OK | |(5060) <------------------ (5060) | |
Kind Regards, Angelo
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
--
Arnd Schmitter
MEGA TECH Multimedia Technology GmbH Friedrich-Krupp-Str. 16 - 18 41564 Kaarst
Tel.: +49 (0)2131 794 154 Fax : +49 (0)2131 794 111
E-Mail: aschmitter@megasat.de http://www.megasat.de/megatech
MEGA TECH Multimedia Technology GmbH
Geschäftsführer: Necip Varol HRB 12332 Amtsgericht Neuss Sitz der Gesellschaft: Friedrich-Krupp-Str. 16-18, Kaarst Steuer-Nr: 105/5830/0754 Finanzamt Düsseldorf-Nord Ust-IDNr.: DE 812.582.572
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: