[SR-Users] Creating RURI ($ru) from Contact ($ct)

Daniel-Constantin Mierla miconda at gmail.com
Mon May 28 12:52:37 CEST 2012


Hello,

On 5/27/12 12:46 AM, Aft nix wrote:
> [...]
> Hi Aleksandrov
> Thanks for the reply.
>
> Yes my checks should be more specific.
>
> On the side how , i'm facing difficulties to print script variables
> and hashtable entries.
>
> xdbg("my var [$var(temp)]")
> xdbg("my hash entries [$sht(a=>$ci)"])
>
> Both statements shows parse errors. What's the correct syntax to print script
> variables and hash table entries?
if you copy&paste the lines from your config, then the errors are:
- missing ; at the end of lines
- second xdbg has the double quotes before ], making it invalid syntax

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu






More information about the sr-users mailing list