Hi Jeferson,

use t_reply() instead of sl_send_reply() - as probably that piece of script in in failure_route, the processing of the transaction in stateful, so use the TM functions.

regards,
bogdan

Jeferson Prevedello wrote:
Hi guys,
I able the control of simultaneous users with the function [max_contacts], but whenever the user is blocked the softphone (X-lite) show the following message: [Registration error: 503 - Service Unavailable]. I tried to adapt the message conform code below, but not resolve: if (t_check_status("503")) {
                sl_send_reply("503","my new reply");
                exit;
        }
Any sugestion ? Regards
Jeferson
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to