Re: [SR-Users] set_advertised_port using pseudovariable

2012-08-07 Thread Neven Boric
Alex Balashov escribió: 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,

Re: [SR-Users] set_advertised_port using pseudovariable

2012-08-07 Thread Alex Balashov
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.

[SR-Users] set_advertised_port using pseudovariable

2012-08-07 Thread Neven Boric
Hi, I'm trying to use Kamailio as an outbound proxy behind a NAT (all clients and kamailio itself are behind the same NAT): UACs -> Kamailio -> NAT router -> PBX (hosted, public server) I figured I could detect the external source port used by the router by periodically sending an OPTIONS re