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: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
------------------------------------------------------------------------

_______________________________________________
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