: Re: [OpenSIPS-Users] Change the Via sent by OpenSIPS
On 09/21/2011 01:54 PM, John Quick wrote:
> Now we are trying to make inbound calls go to some IVR's on his LAN so
> I would like the Via to be the LAN address.
> Is there any way to change advertised_address on a per-call basis
On 09/21/2011 01:54 PM, John Quick wrote:
Now we are trying to make inbound calls go to some IVR's on his LAN so I
would like the Via to be the LAN address.
Is there any way to change advertised_address on a per-call basis?
You can use set_advertised_address() core function:
http://www.opensips
One of my clients has installed his opensips server behind NAT. So I use
advertised_address to make it use the external IP in Via's and Contact
headers. This works great for outbound calls. The version of OpenSIPS is
1.7.0-notls.
Now we are trying to make inbound calls go to some IVR's on his LAN