You could try running the following command from the OpenSIPS server: curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
See if its going out with the proper address. More than likely the NAT statement on the router is not setup properly for Reverse NAT Policy. Gordon From: <Newlin>, Ben <ben.new...@inin.com<mailto:ben.new...@inin.com>> Reply-To: OpenSIPS users mailling list <users@lists.opensips.org<mailto:users@lists.opensips.org>> Date: Thursday, April 9, 2015 at 9:39 AM To: OpenSIPS users mailling list <users@lists.opensips.org<mailto:users@lists.opensips.org>> Subject: Re: [OpenSIPS-Users] URGENT: contact header changed between opensips and client 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-boun...@lists.opensips.org<mailto:users-boun...@lists.opensips.org> [mailto:users-boun...@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....@gmail.com<mailto:satish....@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:1646327x...@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<http://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:1646327x...@182.xx.xx.164:5061;transport=udp>. Think before you Print. This e-mail may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply e-mail and delete all copies of this message.
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users