[OpenSIPS-Users] Diversion ISSUE - No info from header

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Fri Apr 4 10:57:26 CEST 2014


        $var(FROMIP)=$si;
        $var(TOUSER)=$tU;
        $var(TO)=$tu;
        $var(FROM)=$fu;
        $var(RDNIS)=$di;
        $var(PRIV)=$dip;

        if (method=="INVITE")
        {
                xlog("L_DBG","\n RDNIS = $var(RDNIS) \n");
                xlog("L_DBG","\n FROMIP = $var(FROMIP) \n");
                xlog("L_DBG","\n TOUSER  = $var(TOUSER) \n");
                xlog("L_DBG","\n TO = $var(TO) \n");
                xlog("L_DBG","\n FROM = $var(FROM) \n");
                xlog("L_DBG","\n EXT = $(var(TOUSER){s.substr,0,3}) \n");
                xlog("L_DBG","\n PRIVACY = $var(PRIV) n");
                if (lookup("location"))
                {
                        t_relay();
                        exit;
                };
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140404/55b9e9af/attachment.htm>


More information about the Users mailing list