Hello.
I'm using $shv variables:
loadmodule "cfgutils.so"
modparam("cfgutils", "shvset", "load_table_domain=i:0")
modparam("cfgutils", "shvset", "load_table_caller_id=i:0")
In the main route block there are 2 'if's:
(line 388) if ($(shv(load_table_domain){s.int}) == 2)
route(load_table_domain);
(line 391) if ($(shv(load_table_caller_id){s.int}) == 2)
route(load_table_caller_id);
When openSIPS has started all is ok. But on every next SIP messages there
are errors in the log:
[30629]: CRITICAL:core:comp_scriptvar: cannot get left var value
[30629]: WARNING:core:do_action: error in expression (l=391)
What a difference between line 388 and 391 so 391 raises the error?
WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
[email protected]
www.oyster-telecom.ru
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users