There is a very simple explanation for the error message you are seeing.
This line of code
if($(ct.fields(uri){uri.host}) == "127.0.0.1" )
will work just fine as long as there is a Contact header in the SIP request.
However, some SIP requests do not have a Contact header and that is when you
se
Enviado: quinta-feira, 8 de dezembro de 2016 15:42
Para: users@lists.opensips.org
Assunto: [OpenSIPS-Users] Pseudo variable in Route {...} is empty. Why?
Hi.
In my OpenSIPS script I have a kind of code like this
Hi.
In my OpenSIPS script I have a kind of code like this:
route{
if (nat_uac_test("114"))
{
if (is_method("REGISTER"))
{
} else
if($(c