[SR-Users] set_advertised_port using pseudovariable

Alex Balashov abalashov at evaristesys.com
Tue Aug 7 22:38:16 CEST 2012


On 08/07/2012 04:34 PM, Neven Boric wrote:

> So, am I missing something or does set_advertised_port actually only
> accept literal values?

Correct, set_advertised_port does not accept PVs.  There is an entire 
category of legacy core functions, and some module functions, for which 
that is true.

There's an ongoing effort to update many of them to use PVs, but it's 
... incremental.  :-)

Methodologically speaking, you really, really don't want to run Kamailio 
behind a NAT as a client, unless the endpoint on the other side of the 
NAT can deal with it entirely using far-end NAT traversal strategies.

-- Alex

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list