Re: [OpenSIPS-Users] $shv strange errors

2010-12-09 Thread Anton Zagorskiy
[mailto:users-boun...@lists.opensips.org] On Behalf Of Duane Larson Sent: Thursday, December 09, 2010 4:16 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] $shv strange errors Maybe throw some xlog statements in there print out what the variable is to see if it is actually null.  You

Re: [OpenSIPS-Users] $shv strange errors

2010-12-09 Thread Duane Larson
Maybe throw some xlog statements in there print out what the variable is to see if it is actually null. You could also print out the actual caller id from the sip message with the opensips header variable in xlog. On Dec 9, 2010 6:35 AM, "Anton Zagorskiy" wrote: Hello. I'm using $shv variables

[OpenSIPS-Users] $shv strange errors

2010-12-09 Thread Anton Zagorskiy
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