<div dir="auto">Any solution?<div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 4 Nov 2019, 7:55 pm Darpan Patel, <<a href="mailto:darpan.gabani1093@gmail.com">darpan.gabani1093@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello , I have used <b>$DLG_dir</b> for sequential request in<b> LOCAL_ROUTE</b> and also did<b> loose route</b> but i am getting $DLG_dir <b> null .(opensips 3.0 version) .<br></b></div><div><br></div><div>----------------------------------------------------------------------------------------------------------</div><div><b>USAGE:</b><br></div><div>route[WITHINDIALOG] {<br> if (has_totag()) {<br># sequential request withing a dialog should<br># take the path determined by record-routing<br> if (loose_route()) {<br># validate the sequential request against dialog<br> if ( $DLG_status!=NULL && !validate_dialog() ) {<br> xlog("In-Dialog $rm from $si (callid=$ci) is not valid according to dialog\n");<br> }</div><div> }<br></div><div>}<br></div><div>local_route {<br> xlog("====>> [LOCAL_ROUTE] <<<==");<br><br> xlog("L_ERROR", "--- [LOCAL_ROUTE] METHOD: [$rm] DIRECTION: [<b>$DLG_dir</b>] ---");<br> }<br>-----------------------------------------------------------------------------------------------------------</div><div><b>OUTPUT :</b> <br></div><div><br></div><div>[LOCAL_ROUTE] METHOD: [BYE] DIRECTION: [<b>null</b>]</div><div><br></div><div>please , look into it . and thanks in advance <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div>