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