[OpenSIPS-Users] OpenSIPs behind a firewall

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 8 08:20:03 CEST 2009


Hi Daniel,

Try using set_advertised_address() before sending the call out.
      http://www.opensips.org/Resources/DocsCoreFcn#toc125

or use the record_route_preset() function :
     http://www.opensips.org/html/docs/modules/devel/rr.html#id228590

Regards,
Bogdan

Daniel Goepp wrote:
> After further investigation, this only updating the Via header, but
> the RR is remaining untouched:
>
> Record-Route: <sip:10.250.7.164;lr=on>
>
> Ideas about how I might get this field updated correctly?
>
> Thanks
>
> -dg
>
> On Wed, Oct 7, 2009 at 2:10 PM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro> wrote:
>   
>> Hi Daniel,
>>
>> try using the advertise_address and advertise_port to force opensips in
>> using the public IPs of the NAT:
>>    http://www.opensips.org/Resources/DocsCoreFcn#toc24
>>
>> Regards,
>> Bogdan
>>
>> Daniel Goepp wrote:
>>     
>>> I am trying to setup OpenSIPs to run behind a firewall, and not
>>> finding much information regarding how to get OpenSIPs to be aware of
>>> the public IP for it's signaling.  The firewall is setup with a 1 to 1
>>> NAT for the public and private IPs, and right now all udp and tcp
>>> traffic is being passed directly through.  Has anyone successfully
>>> gotten OpenSIPs setup like this?  If so, can you please provide any
>>> information on how it was setup.
>>>
>>> TIA
>>>
>>> -dg
>>>
>>> _______________________________________________
>>> 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
>>
>>     
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list