Yes, copy/paste error, sorry. I meant to say *!=$null.*

Thank you for noticing Daniel.


On Mon, Jun 9, 2014 at 10:13 AM, Daniel-Constantin Mierla <[email protected]
> wrote:

>  Hello,
>
>
> On 09/06/14 16:54, Carlos Ruiz Díaz wrote:
>
> Hi Rahul,
>
>  *if($var(client1)!="null") *should be *if($var(client1)!="$null")*
>
> even in the last IF, the double-quotes have to be removed around "$null"
> -- just compare with $null, because doublequotes there enforces a static
> string.
>
> Cheers,
> Daniel
>
>
>  *. *You are doing a string comparison with the string value "*null*".
>
>  Also make sure the dialog matching is correct: append these event routes
> to your config file:
>
>  *event_route[dialog:start] {*
> *        xlog("Dialog started");*
> *}*
>
>  *event_route[dialog:end] {*
> *        xlog("Dialog ended");*
> *}*
>
>  *event_route[dialog:failed] {*
> *        xlog("Dialog failed");*
> *}*
>
>  You should see a "dialog started" and "dialog ended" for every
> successful call.
>
>  Please do those modifications and see what happens.
>
>  Regards,
> Carlos
>
>
>
>
> On Mon, Jun 9, 2014 at 6:55 AM, Rahul MathuR <[email protected]>
> wrote:
>
>>  Hello Carlos,
>>
>> Were you able to look at my configuration file ?
>>
>>
>>
>> Carlos
http://caruizdiaz.com
http://ngvoice.com
+52 55 3048 3303
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to