[OpenSIPS-Users] URGENT: contact header changed between opensips and client
Satish Patel
satish.txt at gmail.com
Thu Apr 9 20:11:09 CEST 2015
Yes, both Opensips in different location with different ISP. I think its
somewhere ISP doing ALG which causing this issue. Even i have tried to
change post number instead of default 5060 but still issue is there. I
thought ALG only work on default 5060 but i am wrong.
Anyway good to know it wasn't my configuration issue.
On Thu, Apr 9, 2015 at 1:59 PM, Newlin, Ben <Ben.Newlin at inin.com> wrote:
> ISPs can do ALG, but in this case it would be the ISP where the UA is
> located so the fact that the server is in a different data center wouldn’t
> matter (unless the UA is also on a different ISP from the others).
>
>
>
> Is this server using a different address range than the others? Is it
> possible that some configuration in your router is dependent on the IP
> ranges from the first data center, so that messages from the new data
> center don’t get the same treatment?
>
>
>
> Bottom line though, your traces clearly indicate the message being sent
> correctly by OpenSIPS and it is being altered in a way that could only
> occur in the UA’s private network.
>
>
>
> Ben Newlin
>
>
>
> *From:* users-bounces at lists.opensips.org [mailto:
> users-bounces at lists.opensips.org] *On Behalf Of *Satish Patel
> *Sent:* Thursday, April 09, 2015 10:47 AM
>
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between
> opensips and client
>
>
>
> But issue only on this server. My other servers working fine. Why my
> router not changing contacts of other servers? I have many opensips but
> only issue with this single server :(
>
>
>
> one thing i notice, other opensips in different data center. Do you think
> ISP can do ALG?
>
>
>
> On Thu, Apr 9, 2015 at 10:39 AM, Newlin, Ben <Ben.Newlin at inin.com> wrote:
>
> Something in between is manipulating the addressing in the SIP message.
> You said that ALG was disabled in the router, but either that is incorrect
> or there is some other piece of equipment changing the message.
>
>
>
> This is clear because the contact is not the only header that is changed.
> The ‘received’ parameter of the Via address was also changed from the
> public address of the UA to the private address. Only an entity within the
> private network could know that address, so it is almost certainly the
> router doing it.
>
>
>
> Ben Newlin
>
>
>
> *From:* users-bounces at lists.opensips.org [mailto:
> users-bounces at lists.opensips.org] *On Behalf Of *Satish Patel
> *Sent:* Thursday, April 09, 2015 10:13 AM
> *To:* OpenSIPS users mailling list
> *Subject:* Re: [OpenSIPS-Users] URGENT: contact header changed between
> opensips and client
>
>
>
> Any thought guys? Why contact address change in transit? is it normal?
>
>
>
> On Wed, Apr 8, 2015 at 12:12 PM, Satish Patel <satish.txt at gmail.com>
> wrote:
>
> Very interesting thing going on between opensips and my client [UA]
>
>
>
> Opensips sending following contact header to Client but on client side i
> check it received different contact header, who is changing it?
>
>
>
> [UA]-----[Opensips]------[FS]
>
>
>
> UA - 173.xx.xx.xx.215
>
> Opensips - 182.xx.xx.164:5060
>
> FS - 182.xx.xx.162:5061
>
>
>
> My UA behind the NAT and I have ALG disabled on router.
>
>
>
>
>
> * [Opensips] sending following packet SDP OK 200 to [UA]
>
>
>
> 2015/04/08 07:42:22.820354 182.xx.xx.164:5060 -> 173.xx.xx.215:49152
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 173.xx.xx.215:49152;received=173.xx.xx.215;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo
> Record-Route: <
> sip:182.xx.xx.164;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93
> >
> CSeq: 722 INVITE
> Contact: <sip:1646327XXXX at 182.xx.xx.162:5061;transport=udp>
>
>
>
>
>
>
>
> * [UA] Received following packet, look at Contact: it changed here. 162
> to 164.
>
>
>
> U 182.xx.xx.164:5060 -> 192.168.1.9:60895
> IP/2.0 200 OK.
> Via: SIP/2.0/UDP
> 173.xx.xx.215:49152;received=192.168.1.9;rport=49152;branch=z9hG4bKPjHB6245E6-SpIsEUs.kPIxxNAFMM0HTDo.
> Record-Route: <
> sip:182.xx.xx.164:5060;lr;ftag=OdSDiepaL9YssVLqOv.3C82QrrsrrdUV;did=3fd.556edf93
> >.
> CSeq: 722 INVITE.
> Contact: <sip:1646327XXXX at 182.xx.xx.164:5061;transport=udp>.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150409/012850e6/attachment.htm>
More information about the Users
mailing list