[asterisk-users] How to change the IP in the SIP contact header

2010-07-05 Thread Eyal Goltzman
Hello, I'm trying to use a SIP trunk service and the provider ask me to have the IP address of the contact header as my public IP and not as my private one, how can I do it? See attached the SIP invite where a.b.c.d is the SIP server IP and x.y.z.w is my public address: sipINVITE

Re: [asterisk-users] How to change the IP in the SIP contact header

2010-07-05 Thread Jamie A. Stapleton
Have you tried setting externip= In the [general] of your sip.conf? From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Eyal Goltzman Sent: Monday, July 05, 2010 1:58 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion'

Re: [asterisk-users] How to change the IP in the SIP contact header

2010-07-05 Thread Eyal Goltzman
Yes, I tried and it did not solve the problem, Thanks From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jamie A. Stapleton Sent: Monday, July 05, 2010 9:05 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject:

Re: [asterisk-users] How to change the IP in the SIP contact header

2010-07-05 Thread Zeeshan Zakaria
By definition, correct values for localnet, externip and nat=yes for this trunk should solve this problem. Zeeshan A Zakaria -- www.ilovetovoip.com On 2010-07-05 3:40 PM, Eyal Goltzman egoltz...@gmail.com wrote: Yes, I tried and it did not solve the problem, Thanks *From:*