[OpenSIPS-Users] Pseudo variable in Route {...} is empty. Why?
Rodrigo Pimenta Carvalho
pimenta at inatel.br
Thu Dec 8 15:23:36 EST 2016
There is no error.
That result is observed when the message is a SIP ACK, for example.
Br.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Rodrigo Pimenta Carvalho <pimenta at inatel.br>
Enviado: quinta-feira, 8 de dezembro de 2016 15:42
Para: users at 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:
----------------------------------------------------------------------------------------------------
route{
if (nat_uac_test("114"))
{
if (is_method("REGISTER"))
{
} else
if($(ct.fields(uri){uri.host}) == "127.0.0.1" ) {
}
}
}
------------------------------------------------------------------------------------------------------
Some times I see the following error in the code:
ERROR:core:comp_scriptvar: cannot get left var value
This error is about the instruction '$(ct.fields(uri){uri.host})'. But, what is wrong here ?
Any hint will be very helpful!
Best regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161208/7b612715/attachment.htm>
More information about the Users
mailing list