[Users] Help (handle status)

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu May 17 11:27:35 CEST 2007


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
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the Users mailing list