Use uac_auth(). You need modaram() for the credentials and an entry in failure route for auth messages. Check out
http://docs.huihoo.com/openser/tutorials/uac/ar01s06.html
besides the uac module page.
On Jul 30, 2007, at 11:06 AM, Marc LEURENT wrote:
I have a SIP/PSTN provider with an account username/password. The address of the provider is sip.test.com
I would like to redirect phone calls to the gateway, but how is it possible to log in on the gateway and forward calls? Thank you for your replies
Best Regards,
I've tried:
if (uri=~"0[0-9][0-9]*@*") { rewritehostport ("username:password@sip.test.com"); # Rewrite the URI route(1); exit; }
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users