[OpenSIPS-Users] $DLG_dir getting NULL in opensips 3.0.

Darpan Patel darpan.gabani1093 at gmail.com
Wed Nov 6 01:44:27 EST 2019


Any solution?


On Mon, 4 Nov 2019, 7:55 pm Darpan Patel, <darpan.gabani1093 at gmail.com>
wrote:

> Hello , I have used *$DLG_dir*  for sequential request in* LOCAL_ROUTE*
> and also did* loose route* but i am getting $DLG_dir
> * null .(opensips 3.0 version) .*
>
>
> ----------------------------------------------------------------------------------------------------------
> *USAGE:*
> route[WITHINDIALOG] {
>     if (has_totag()) {
> # sequential request withing a dialog should
> # take the path determined by record-routing
>         if (loose_route()) {
> # validate the sequential request against dialog
>             if ( $DLG_status!=NULL && !validate_dialog() ) {
>                 xlog("In-Dialog $rm from $si (callid=$ci) is not valid
> according to dialog\n");
>                }
>             }
> }
> local_route {
>     xlog("====>> [LOCAL_ROUTE] <<<==");
>
>     xlog("L_ERROR", "--- [LOCAL_ROUTE] METHOD: [$rm] DIRECTION: [
> *$DLG_dir*] ---");
>     }
>
> -----------------------------------------------------------------------------------------------------------
> *OUTPUT :*
>
> [LOCAL_ROUTE] METHOD: [BYE] DIRECTION: [*null*]
>
> please , look into it . and thanks in advance
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191106/923e4a6a/attachment.html>


More information about the Users mailing list