Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Inter Asterisk Calling

Posted on 2008-11-19
2
Medium Priority
?
271 Views
Last Modified: 2013-11-12
Hi

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 user@domain.com or via an numeral extension (When the call originates from the PSTN). Preference is to the user@domain.com

Is this accomplished via pattern matching with contexts (ie domain.com)or 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. user@domain.com) Or would this only be possible with two seperate extensions?

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

Thanks
0
Comment
Question by:Wicus001
2 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 23011728
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/USERID:PASSWORD@dns.name.of.office.pbx/${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.
0
 

Accepted Solution

by:
Wicus001 earned 0 total points
ID: 23036794
Thanks for the reply.

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

http://www.voip-info.org/wiki/view/Asterisk+tips+SIP+URI+Dial

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Screencast - Getting to Know the Pipeline
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

575 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