[OpenSER-Users] Privider SIP/PSTN

Marc LEURENT lftsy at free.fr
Mon Jul 30 18:06:34 CEST 2007


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;
}




More information about the Users mailing list