I have 2 Asterisk/freepbx server in 2 separate locations. One is used primarly for TDM to VoIP gateway and other is used in a separate location as PBX.
I have an autoattendant application on Asterisk1(GW) which allows for the call to enter an extension and based on extension they enter I want to route the call to Asterisk2(PBX). Asterisk1 is not aware of the extensions on Asterisk2, all it knows is that anything _6XXX needs to go to Asterisk2. When i call from from an extensions on Asterisk1 the call does get sent to Asterisk2 properly. But when I enter the extension during the Announcement on Asterisk1 all i get is that the extension is invalid.
How can I configure a destination trunk in the Announcement so that it goes to Asterisk2
Am I making this too difficult.