<div dir="ltr">Thanks Liviu,<div><br></div><div>Where should i put this variable in script? I have following code, should i before it create dialog? </div><div><br></div><div><br></div><div><div> if (has_totag()) {</div><div>                # sequential request withing a dialog should</div><div>                # take the path determined by record-routing</div><div>                if (loose_route() || match_dialog())  {</div><div>                        if ($DLG_status!=NULL &amp;&amp; !validate_dialog() ) {</div><div>                                #xlog(&quot; in-dialog bogus request \n&quot;);</div><div>                                fix_route_dialog();</div><div>                         } else {</div><div>                                 #xlog(&quot; in-dialog valid request - $DLG_dir !\n&quot;);</div><div>                                 fix_route_dialog();</div><div>                        }</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 11:32 AM, Liviu Chircu <span dir="ltr">&lt;<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hello Satish,<br>
      <br>
      You can use dialog-persistent variables [1]. For example,<br>
      $dlg_var(customer_name) = $var(name);<br>
      <br>
      [1] :
      <a href="http://www.opensips.org/html/docs/modules/2.1.x/dialog.html#id297182" target="_blank">http://www.opensips.org/html/docs/modules/2.1.x/dialog.html#id297182</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre cols="72">Liviu Chircu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
    <div>On 05.03.2015 18:27, Satish Patel
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>How do i add customer info in opensipsctl fifo dlg_list_ctx
          output? </div>
        <div><br>
        </div>
        <div>I want to add custom field ( customer name) in dlg_list_ctx
          output </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>