I am trying to set up a new provider and they give the example of the following for my extensions.conf:
exten => 12125551234,1,Dial,Zap/g1
I don't have a Zap trunk or a regular phone line. I just have voip lines which are all Sip. How can I use this command to send this to a Sip trunk?
Something like exten => 12125551234,1,Dial,Sip/?????
How to have a "dial" command to a sip trunk
Submitted by chiptransi on Wed, 11/12/2008 - 12:00pm.
 
This is taken from Asterisk
Wed, 11/12/2008 - 1:24pm
This is taken from Asterisk The Futre of Telephony. Highly recommended reading
Dial(SIP/user[:password]@remote_host[:port][/remote_extension]) Example: exten => 500,1,Dial(SIP/username:password@sip.voipprovider.com/s)
 
If you are using trixbox you
Wed, 11/12/2008 - 3:01pm
If you are using trixbox you don't have to worry about any of this. Just setup the trunk and extensions and it is all taken care of for you,
In fact any changes you make to extensions.conf will be overwritten.
 
I wasn't sure if he needed
Wed, 11/12/2008 - 3:49pm
I wasn't sure if he needed the dial command for a custom dial plan. If you do make sure you put it into extensions_custom.conf
 

Member Since:
2006-06-01