<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Yes, copy/paste error, sorry. I meant to say </span><b style="font-family:arial,sans-serif;font-size:12.727272033691406px">!=$null.</b><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thank you for noticing Daniel.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 10:13 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<div class=""><br>
    <br>
    <div>On 09/06/14 16:54, Carlos Ruiz Díaz
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Rahul,
        <div><br>
        </div>
        <div><i>if($var(client1)!="null") </i>should be <i>if($var(client1)!="$null")</i></div>
      </div>
    </blockquote></div>
    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.<br>
     <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><i>. </i>You are doing a string comparison with the string
          value "<i>null</i>".</div>
        <div><br>
        </div>
        <div>Also make sure the dialog matching is correct: append these
          event routes to your config file:</div>
        <div><br>
        </div>
        <div><i>event_route[dialog:start] {</i></div>
        <div><i>        xlog("Dialog started");</i></div>
        <div><i>}</i></div>
        <div><i><br>
          </i></div>
        <div><i>event_route[dialog:end] {</i></div>
        <div><i>        xlog("Dialog ended");</i></div>
        <div><i>}</i></div>
        <div><i><br>
          </i></div>
        <div><i>event_route[dialog:failed] {</i></div>
        <div><i>        xlog("Dialog failed");</i></div>
        <div><i>}</i></div>
        <div><br>
        </div>
        <div>You should see a "dialog started" and "dialog ended" for
          every successful call.</div>
        <div><br>
        </div>
        <div>
          Please do those modifications and see what happens.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Carlos </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Jun 9, 2014 at 6:55 AM, Rahul
          MathuR <span dir="ltr"><<a href="mailto:rahul.ultimate@gmail.com" target="_blank">rahul.ultimate@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>Hello Carlos,</div>
              <div> </div>
              <div>Were you able to look at my configuration file ?</div>
              <div> </div>
              <div> </div>
              <div><br></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><div dir="ltr">Carlos<div><a href="http://caruizdiaz.com" target="_blank">http://caruizdiaz.com</a></div><div>
<a href="http://ngvoice.com" target="_blank">http://ngvoice.com</a></div><div>+52 55 3048 3303</div></div>
</div></div>