[Asterisk-Users] Dial from AGI [MSG]

Steven Critchfield critch at basesys.com
Thu Aug 19 11:09:29 MST 2004


On Thu, 2004-08-19 at 12:26, Morgan Gilroy wrote:
> Hi can someone help me, I want to do 'Dial(IAX2/bla/1234567|50|tT)'
> From an AGI script so people can dial #* to hang up (and other things) but
> when using AGI using 'EXEC DIAL IAX2/bla/1234567|50|tT' it dials ok but
> nothing happens when they dial #, is there something special I need to do to
> escape from the AGI script? Or pass something more to Dial.

Are you coming in from IAX to begin with? You may be being caught by the
auto transfer in IAX. If you are at IAX point A calling the asterisk box
with the AGI and it dials IAX/blah and is able to transfer the load off,
the tT doesn't have any valid context, nor anything listening for it.

For instance, in my office, we have a PRI at a colo that handles most
calls. We forward a few DID numbers via IAX to our actual office. If the
office switch the redirects the call to a PSTN phone number it is
transfered back to the colo asterisk machine to connect the incoming
PSTN call to the pstn extension. At that point, the office asterisk
machine that has tT in it's dial string is no longer in the loop and
can't listen for the transfer request.
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-users mailing list