[Users] Module UAC to authentication and redirect calls

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Apr 3 10:32:39 CEST 2007


See the "credential" module parameter:

    http://www.openser.org/docs/modules/1.2.x/uac.html#AEN106

regards,
bogdan

Thiago Maluf wrote:
> what`s parameters I will use to do this authentication?
>
> 2007/3/2, Bogdan-Andrei Iancu < bogdan at voice-system.ro 
> <mailto:bogdan at voice-system.ro>>:
>
>     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> <mailto:
>     malufrj at gmail.com <mailto:malufrj at gmail.com>>
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at openser.org <mailto:Users at openser.org>
>     > http://openser.org/cgi-bin/mailman/listinfo/users
>     >
>
>
>
>
> -- 
> ----------------------------------------------------------------
> THIAGO MALUF RESENDE
> Consultor Voip e Programador WEB (Voip Developer and Web Developer)
> Tel: +55 21 86042100
> e-mail: malufrj at gmail.com <mailto:malufrj at gmail.com> 





More information about the Users mailing list