Dial plan help

Home » Asterisk Users » Dial plan help
Asterisk Users 12 Comments

Hi,

I am facing issue while generating a dial plan for the following case:

all caller should be asked a code to enter than All the callers should be
connected one extension.

also tell me testing scenario :
I have pbx setup and currently I have soft phones to use as extension.

Currently I have created a dial plan using vdp I tried submitting it here
but I don’t know how to extract text version for the same .

I have deployed that dial plan to my local system and when I dial any
extension call just gets ended.

At the end I should be able to dial a no from a soft phone and it should ask
me a code then I should be connected to an fixed extension.

please also mention how to deploy sound file to system using web interface.

Thanks

12 thoughts on - Dial plan help

  • Jigar Joshi wrote:

    After Googling a bit, I found that VDP is Visual Dial Plan for
    Asterisk. Neat little application, but I doubt you’ll find many if any
    here using it. I also don’t agree with their statement:

    “Why should I use Visual Dialplan?

    Simply because this is the easiest and fastest way to create Asterisk
    dialplan.
    You do not need to have Asterisk dialplan development experience to
    create large and complex dialplans. Simply drag, drop and connect
    components to create the dialplan”

    If you don’t have dial plan experience, then when things aren’t working,
    you’ll be completely lost.

    Hence as you are now. I’d suggest you visit

    http://asteriskdocs.org
    http://www.voip-info.org

    And learn how to code a basic dial plan. You’ll find many here willing
    to help you at that point.

    Doug

  • Have you read the book?

    Have you tried some of the examples?

    This “visual dial plan” stuff is leading down a path where you will never
    understand how a dial plan “really works” and you will not learn how to
    help yourself — which you will need to do since nobody on this list seems
    to know anything about vdp.

    I’m still trying to understand what you are trying to accomplish. It
    sounds like you want to allow callers to join a conference after entering
    a PIN. If so, search the book for examples on using the meetme()
    application. Google will also prove to be a valuable resource.

    It also sounds like you haven’t mastered even calling from one extension
    to another. Learn to walk before you try to run.

    Doesn’t your vdp stuff automagically do this for you?

    Skip looking for some magic visual or web based tools and learn to use the
    Unix command line — it’s really not all that difficult.

    If you don’t want to invest the time to learn to use the proper tools,
    please hire someone to do it for you. Do you repair your own [kitchen
    appliances|plumbing|car|computer]? You can learn any of these skills or
    you can hire somebody to do it for you.

    Do you have the basic Unix skills to use cp (from a USB stick), scp, or
    ftp?

    Try this approach:

    1) Learn enough Unix to log in and edit the Asterisk configuration files
    using an editor like emacs, vi, or joe.

    2) Create a simple dial plan so you can dial a number and play a file like
    “demo-congrats.”

    3) Add to your dialplan so you can dial another number and dial another
    phone.

    4) Add to your dialplan so you can dial a number and execute the meetme()
    application.

    At each step, observe the console output from Asterisk so you will learn
    what a normal call looks like and you will see useful messages that will
    clue you in when something doesn’t work as expected.

    Everybody on this list is interested in helping you succeed with Asterisk,
    but only if you are willing to invest the effort.

  • I totally agree with Steve’s wise advice. One should at least give himself a
    week learning asterisk fundamentals and related Linux basics before jumping
    into creating dialplans or setting up Telecom systems. Asterisk’s official
    book’s first few chapters cover all the basics which every asterisk user
    must to know. Otherwise seeking help here won’t help because you won’t be
    able to even understand the answers here.

    Zeeshan A Zakaria

  • Hi Jigar

    connected one extension.

    Try DISA component, and then use MeetMe component if you want callers to go
    to conference or Dial component if you want them to go to extension.

    don’t know how to extract text version for the same .

    Visual dialplan outputs standard extensions.conf code.
    You can get the code by selecting Local deploy option at preferences window
    or SSH to Asterisk server and check extensions.conf.

    I was coding dial plans in vi for some time and then switch to Visual
    Dialplan, much easier and faster, very useful tool.

    Rayan

  • Hi Jigar,

    I use visual dialplan too. Nice tool.
    Here you can find some dial plan examples and tutorials that may help you:
    codezone.apstel.com

    Nile

  • _____

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Nile Kaledon
    Sent: Monday, October 25, 2010 12:06 PM
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

    Hi Jigar,

    I use visual dialplan too. Nice tool.

    Here you can find some dial plan examples and tutorials that may help you:
    codezone.apstel.com

    Nile

    I’ll have to agree that VDP is a nice tool, but it is just that – a tool.
    If you don’t know how the dialplan and commands work, it will eventually dig
    you into a hole you won’t get out of.

  • Ok Thanks Guys.
    Can you guyz suggest me upto which chapters orwhat are the chapters I should
    cover for my requirement.
    Because Its too long book 😛

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com [mailto:
    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com] *On Behalf Of *Nile Kaledon
    href=”mailto:asterisk-users@lists.digium.com”>asterisk-users@lists.digium.com

  • Ok Thanks Guys.

    Can you guyz suggest me upto which chapters orwhat are the chapters I should
    cover for my requirement.

    Because Its too long book 😛

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Zeeshan
    Zakaria

    Specifically, read PP 100-195. Also, google “Asterisk cookbook” for good
    dialplan snippets. Start simple and keep it that way. My “dialplan trick”
    is to try to do the dialplan in many small contexts. This helps to not get
    too lost. Z. is fond on the new AEL syntax which isn’t really covered in
    the O’Reilly book, but it is easier than coding each line of dialplan by
    hand.

  • Un-top-posting…

    Yep. That’s where I’d start if I didn’t even know enough to ask questions
    using the correct terminology.

    I always skip the first 3 chapters in any technical book because I figure
    the authors put them in just to fill out their commitment to the publisher
    so he can charge more for the book — even when the book is available for
    free.

    I figure, why learn the foundation of a new technology when there are
    always mailing lists manned by volunteers waiting at my beck and call —
    my time is worth more than theirs.

    The one thing I can’t figure out is why everybody keeps adding me to their
    MUA kill lists…