[Spce-user] Issue after upgrade from 4.5.13 to 5.5.11
Robert Cuaresma
rcuaresma at cloudcom.cat
Tue Apr 14 12:17:41 EDT 2020
Thanks Marco,
My Sipwise is behind a NAT. It can the problem? That the edge router changes the source port for nat reasons.
In the afirmative case, there are any workaround for solve this?
Enviado desde Outlook Mobile<https://aka.ms/blhgte>
________________________________
From: Marco Capetta <mcapetta at sipwise.com>
Sent: Tuesday, April 14, 2020 5:13:13 PM
To: spce-user at lists.sipwise.com <spce-user at lists.sipwise.com>
Subject: Re: [Spce-user] Issue after upgrade from 4.5.13 to 5.5.11
Hi,
in mr4.5.X there was no easy way to distinguish inbound calls received from two different providers that were using the same IP as source.
This is way in mr5.5.X we introduced the inbound rules for peerings. In additional to the rules you can manually configure there is an implicit one: IP, port and protocoll has to match the ones configured in the peer.
At the moment there no "official" way to bypass this implicit rule. You have to check in kamailio config and remove or comment out the part where the port is checked.
Cheers
Marco
On 4/14/20 3:10 PM, Robert Cuaresma wrote:
Thanks Marco,
Is there any way to permit all source porta from the same IP address?
On Sipwise 4.5.12 and I don't have this issue.
Enviado desde Outlook Mobile<https://aka.ms/blhgte>
________________________________
From: Marco Capetta <mcapetta at sipwise.com><mailto:mcapetta at sipwise.com>
Sent: Tuesday, April 14, 2020 2:51:34 PM
To: spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com> <spce-user at lists.sipwise.com><mailto:spce-user at lists.sipwise.com>
Subject: Re: [Spce-user] Issue after upgrade from 4.5.13 to 5.5.11
Hi,
What you find written in the logs with "IP=XX.XX.38.229:42314" is the source IP (so the port from which your provider is sending the message) not the destination IP.
You have to ask them to use always the same source ip:port to send messages to you.
Cheers
Marco
On 4/14/20 2:08 PM, Robert Cuaresma wrote:
Hi Marco, thanks for the reply.
Yes I have seen that you say but I don’t understand. This is strange. My SIP Provider always send me the SIP traffic with destination port 5060 UDP, that Sipwise is listening for. The RURI show that the call was sended to the port 5060, but the IP tag show that the destination port is 42314. This looks as instead of setting the destination port, sipwise are setting the source port of the sip packet. I don't know if I'm explaining myself correctly.
It works.
New request on proxy - M=INVITE R=sip:3493712XXXX at XX.XX.144.197:5060 F=sip:3465522XXXX at XX.XX.38.229 T=sip:3491530XXXX at XX.XX.144.197 IP=XX.XX.38.229:5060 (127.0.0.1:5060) ID=520502484_50133906 at XX.XX.38.229<mailto:ID=520502484_50133906 at XX.XX.38.229> UA='<null>'
Call from PSTN - R=sip:3493712XXXX at XX.XX.144.197:5060 ID=520502484_50133906 at XX.XX.38.229<mailto:ID=520502484_50133906 at XX.XX.38.229> UA='<null>'
Inbound peering group '2' matched, looking up peer host - R=sip:3493712XXXX at XX.XX.144.197:5060 ID=520502484_50133906 at XX.XX.38.229<mailto:ID=520502484_50133906 at XX.XX.38.229> UA='<null>'
Fail
New request on proxy - M=INVITE R=sip:3493764XXXX at XX.XX.144.197:5060 F=sip:3469786XXXX at XX.XX.38.229 T=sip:349376XXXX at XX.XX.144.197 IP=XX.XX.38.229:42314 (127.0.0.1:5060) ID=520504084_38977676 at XX.XX.38.229<mailto:ID=520504084_38977676 at XX.XX.38.229> UA='<null>'
Call from PSTN - R=sip:3493764XXXX at XX.XX.144.197:5060 ID=520504084_38977676 at XX.XX.38.229<mailto:ID=520504084_38977676 at XX.XX.38.229> UA='<null>'
No matching inbound peer rule in any peering group, rejecting call - R=sip:3493764XXXX at XX.XX.144.197:5060 ID=520504084_38977676 at XX.XX.38.229<mailto:ID=520504084_38977676 at XX.XX.38.229> UA='<null>'
Saludos,
Robert Cuaresma
--
Marco Capetta
VoIP Developer
Sipwise GmbH <http://www.sipwise.com> , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Phone: +43(0)1 301 2044 <tel:+4313012044>
Email: mcapetta at sipwise.com <mailto:mcapetta at sipwise.com>
Website: www.sipwise.com <http://www.sipwise.com>
Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206
--
Marco Capetta
VoIP Developer
Sipwise GmbH <http://www.sipwise.com> , Campus 21/Europaring F15
AT-2345 Brunn am Gebirge
Phone: +43(0)1 301 2044 <tel:+4313012044>
Email: mcapetta at sipwise.com <mailto:mcapetta at sipwise.com>
Website: www.sipwise.com <http://www.sipwise.com>
Particulars according Austrian Companies Code paragraph 14
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge
FN:305595f, Commercial Court Vienna, ATU64002206
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20200414/9f576e3a/attachment-0002.html>
More information about the Spce-user
mailing list