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

Aft nix aftnix at gmail.com
Mon May 28 16:24:29 CEST 2012


On Mon, May 28, 2012 at 4:52 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> 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

Hi Daniel,
Thanks, other than the typo, its ok to print stuffs like this, then.

>
> 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
>
>
>



--
-aft


-- 
-aft



More information about the sr-users mailing list