Outgoing Calls Through DID's

Hello,

I got the account details from voip provider as

For the calling voip account
username : abc
password : def
Domain : 123.45.67.890

for the call back number (DID)
username : xyz
password : lmn
Domain : 111.234.56.789

In sip.conf
[general]
bindaddr = 0.0.0.0
register => abc:def@123. 45.67.890

[dids]
host=123.45. 67.890
insecure=very
username=abc
secret=def
type=peer
context=outgoing

In extensions.conf
[outgoing]
exten => _1NXXNXXXXXX, 1,Dial(SIP/ ${EXTEN}@ 123.45.67. 890)

i want to use DID’s & want to make outgoing calls from soft phones.Please let me know in this scenario since i purchased these accounts for making outgoing calls.

Thanks.

I am not real sure what you are asking but it sounds like you have bought DID’s from a provider and now would like to use them? The easiest way is to create a sip user and when that user dials out only have them use that specific DID to do it, then have all calls made in on that DID routed to that extension… If you are not sure how to do that then reading this will help:

Asterisk: The Future of Telephony 2nd Edition (ISBN 0-596-51048-9) — Order yours at tfot.leifmadsen.com

Or maybe if you wanted you can try the asterisk-gui
www.asterisknow.org
asteriskNOW.org/install-related

I hope this helps you, and of course you can use the forums :smile: