How to have a "dial" command to a sip trunk

chiptransi
Posts: 104
Member Since:
2006-06-01

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/?????



necits
Posts: 419
Member Since:
2008-02-23
This is taken from Asterisk

This is taken from Asterisk The Futre of Telephony. Highly recommended reading

http://www.asteriskdocs.org

Dial(SIP/user[:password]@remote_host[:port][/remote_extension])

Example:
exten => 500,1,Dial(SIP/username:password@sip.voipprovider.com/s)
--

Michael Mathewson CCNA,MCSE
Owner/Consultant
Northeast CT IT Solutions



SkykingOH
Posts: 8128
Member Since:
2007-12-17
If you are using trixbox you

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.

--

Scott

aka "Skyking"



necits
Posts: 419
Member Since:
2008-02-23
I wasn't sure if he needed

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

--

Michael Mathewson CCNA,MCSE
Owner/Consultant
Northeast CT IT Solutions



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.