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@gmail.com mailto:malufrj@gmail.com
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users