[Webinar] Streamline your web hosting managementRegister Today


Need help understanding multiple DID's with say like Broadvoice.

Posted on 2006-05-26
Medium Priority
Last Modified: 2010-07-27
I'm running Asterisk 1.110..mainly running AMP.. , 4 excenstions, running like a champ.  I have an account with BroadVoice.com with 1 DID # routing to the Asterisk server on SIP, then to a local  200 extenstion.

What my question is that I can't seem to find anywere, is what if I want to have BroadVoice give me a 2nd DID number which they will be placed to the main #.  Can that 2nd # now managable in Asterisk to make it do something else like go to a 2nd 201 extension?  If so, i don't see how to route it.

A little new.. sorry.. Thanks!

Question by:nbruner
  • 2
LVL 36

Expert Comment

ID: 16774905
Have a look in sip.conf and you probably have something like :-

fromuser=<phone number>
secret=<register password>
username=<phone number>
authname=<phone number>
;Disable canreinvite if you are behind a NAT

And in extensions.conf something like :-

;For incoming calls
;This extension line will ring SIP
;extension 200 for 60 seconds then hang up. Modify as necessary to fit your dialplan
exten => s,1,Dial(SIP/200,60,tr)
exten => s,2,hangup

All you need to do is make a copy of the [broadvoice] section in sip.conf and change the phone number and account settings so that it matches your second number. Now also change the context to something like "context=from-broadvoice2" and this will make incoming calls go to a different context in extensions.conf. Then add another entry in extensions.conf like :-

exten => s,1,Dial(SIP/201,60,tr)
exten => s,2,hangup
LVL 36

Accepted Solution

grblades earned 2000 total points
ID: 16774909

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
If you try to migrate from Elastix to Issabel, you will face a lot of issues. These problems are inevitable but fortunately, you can fix them. In the guide below, I will explain how I performed the migration while keeping all data and successfully t…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question