Author |
Message |
achachej Brekeke Junior Member
Joined: 03 Jan 2008 Posts: 9
|
Posted: Thu Jan 03, 2008 8:03 pm Post subject: sip trunk to voip providers |
|
|
new in the forum
i need to have devices register into the sip server and when those devices dial a number, the call need to be router to a voip provider
how do i setup this ? i want my calls to be router thru link2voip and voiptrading.
i have no idea so far on where i input the destination gateway.
thanks |
|
Back to top |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Fri Jan 04, 2008 11:36 am Post subject: |
|
|
How about the dialplan below??
Matching Patterns | $request = ^INVITE To = sip:(.+)@
| Deploy Patterns | To = sip:%1@<voip_provider_address>
|
if you dial a number, the call will be routed to the provider. |
|
Back to top |
|
achachej Brekeke Junior Member
Joined: 03 Jan 2008 Posts: 9
|
Posted: Fri Jan 04, 2008 11:41 am Post subject: |
|
|
THANKS FOR YOUR response
however, i understood that i need the pbx to be able to route calls
scenario is as follow:
i want users to register on sip server with uid and pwd i give them.
wehn they dial in, the call should go to my voip provider ....
the trick is, for the call to go thru, it needs to be authentified. would it support
sip:user:passord@voipsipprovider ?
my otherissue is that devices do not register..do not know why |
|
Back to top |
|
voipwell.com Partner PBX
Joined: 20 Sep 2005 Posts: 528
Location: Tannersville, Pennsylvania
|
Posted: Sat Jan 05, 2008 10:46 pm Post subject: |
|
|
What devices are you trying to register? How have you set them up. Is the sip server behind a firewall, if so is the firewall ports open for the sip server.
Have you read this document carefully and followed the directions.
http://www.brekeke.com/products/products_sip_quickstart_simple.php |
|
Back to top |
|
achachej Brekeke Junior Member
Joined: 03 Jan 2008 Posts: 9
|
Posted: Sat Jan 05, 2008 11:11 pm Post subject: |
|
|
yes i did setup port forwarding for that server...
the server is behind nat router. all udp ports are forwarded and opened in firewall
registering is random BUT my main issue is how to setup a sip trunk
i want that the device that registers dial for ex 16467051314 and that the call is routed to my sip trunk provider (voiptrading)
there is no option for this as i need to have the sip trunk account authentified. how do i do this ? |
|
Back to top |
|
|