I recently upgraded to 4.0.6 from an older 4.0.x version using GIT, since then 
I have had several functions stop working. Here is one example:

I have a UA that is not in the location table, when calling I get the following 
output as a result of my xlog statements - (xlog statements added for 
troubleshooting)

INFO: xlog: 506:5d4d339e5a0fcb2d1ce245cb1c07bb71: Location not found for user-x
INFO: xlog: 524:5d4d339e5a0fcb2d1ce245cb1c07bb71: no match

if (!lookup("location")) {
                xlogl("L_INFO", "$ci : Location not found for $rU\n");
                $var(rc) = $rc;
                t_newtran();
                switch ($var(rc)) {
                        case -1:
                                xlogl("L_INFO", "$ci : case -1\n");
                                send_reply("480", "Temporarily Unavailable");
                                exit;
                        case -2:
                                xlogl("L_INFO", "$ci : case -2\n");
                                send_reply("405", "Method Not Allowed");
                                exit;
                        case -3:
                                xlogl("L_INFO", "$ci : case -3\n");
                                sl_send_reply("500", "Server Internal Error");
                                exit;
                }
        }
xlogl("L_INFO", "$ci : no match\n");

This worked previous to the upgrade, it should match case -1 but doesn't. Any 
direction is appreciated.

Thanks,

-dan

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to