[OpenSIPS-Users] Diversion information

Mike Claudi Pedersen mike.pedersen at ipnordic.dk
Fri Apr 4 09:58:15 CEST 2014


When calls are forwarded they have a diversion header, containing
information about the forwarded route. why cant i get this information i
keep getting 0 or NULL values my code is something like this to display the
diversion header.


        $var(RDNIS)=$di;
        $var(PRIV)=$dip;

        if (method=="INVITE")
        {
                xlog("L_DBG","\n RDNIS = $var(RDNIS) \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/754b9b40/attachment.htm>


More information about the Users mailing list