[OpenSER-Users] Privider SIP/PSTN

Taylor Carpenter taylor at codecafe.com
Mon Jul 30 18:50:32 CEST 2007


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 at sip.test.com");             # Rewrite the URI
>                 route(1);
>                 exit;
> }
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users





More information about the Users mailing list