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

Darpan Patel darpan.gabani1093 at gmail.com
Mon Nov 4 09:25:39 EST 2019


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/20191104/f84cba34/attachment.html>


More information about the Users mailing list