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 email@example.com or via an numeral extension (When the call originates from the PSTN). Preference is to the firstname.lastname@example.org
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. email@example.com) Or would this only be possible with two seperate extensions?
Please correct me in my thinking and any advice would be appreciated !