[Users] Module UAC to authentication and redirect calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Mar 2 17:08:13 CET 2007


Hi,

try something like:

failure_route[1] {
    xlog("-----------$T_reply_code ---------\n");
    if (t_check_status("401|407")) {
        log(1,"doing auth\n");
        if (uac_auth()) {
            append_branch();
            t_relay();
       }
    }
}

regards,
bogdan

Thiago Maluf wrote:
> Hi List,
> I need config one module UAC to do authentication and redirect my 
> calls to other Voip Provider.
> Somebody already did it? If can tell me what functions you used.
> Thanks in advanced!
> Thiago Maluf.
>
> ----------------------------------------------------------------
> THIAGO MALUF RESENDE
> Consultor Voip e Programador WEB (Voip Developer and Web Developer)
> e-mail: malufrj at gmail.com <mailto:malufrj at gmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   





More information about the Users mailing list