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

Posted on 2006-05-26
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 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
    LVL 36

    Expert Comment

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now