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