Inter Asterisk Calling

Posted on 2008-11-19
Last Modified: 2013-11-12

I'm trying to setup my dialplan to allow calling asterisk users at different domains.

The IAX trunk between the domains are working 100%

The requirement though is to dial a user either with or via an numeral extension (When the call originates from the PSTN). Preference is to the

Is this accomplished via pattern matching with contexts (ie is there a "better" way of doing this via asterisk ? (Does asterisk do any type of DNS resolution WITHIN it's dialplan?)

Can an extension be referenced with both a numeric number ( 1 800 555 8520) as well as a character reference (i.e. Or would this only be possible with two seperate extensions?

Please correct me in my thinking and any advice would be appreciated !

Question by:Wicus001
    LVL 36

    Expert Comment

    Generally you do it using internal extension numbers.
    So to take my home phone system as an example it connects to the office system via IAX. I can dial a number normally and it goes out via my telephone line but if I dial an extension (starts with a 6), or 9 for an office outside line then it gets sent to the office system :-

    exten => _[6-9].,1,Dial(IAX2/${EXTEN},60,tT)

    The number I dialed is passed over to the office PBX with the number I dialed set as the destination to be called.

    Accepted Solution

    Thanks for the reply.

    Yet, I finally found the perfect solution to my question:-


    Featured Post

    Looking for New Ways to Advertise?

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

    Join & Write a Comment

    Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
    Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    734 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

    23 Experts available now in Live!

    Get 1:1 Help Now