On Wed, 2006-05-24 at 11:45 -0500, Eric "ManxPower" Wieling wrote:
>>
>> my $dialstat = $AGI->get_variable('DIALSTATUS');
>>
> 
> Hi,
> 
>    I have tried that as well.
> Thanks for the suggestion.
> 
> Any other thoughts.

1) What version of Asterisk are you using?

I am running from debian package version 1.2.7.1.dfsg-2
2) Can you get any other dialplan variables?

I have tried getting other variables and no I do not get any results.
3) Are you running the Dial app inside your AGI or before you run your AGI?

here is what my dialplan looks like within extensions.conf
exten => _5NXXXXXX,1,AGI,LCRdialout.agi.test|${EXTEN}
exten => _51NXXNXXXXXX,1,AGI,LCRdialout.agi.test|${EXTEN}

Here are the two lines that I run from within the AGI script
$AGI->exec("DIAL Zap/g2/$number|25|TW");
$callStatus = $AGI->get_variable('DIALSTATUS');

$AGI->exec("DIAL IAX2/$iaxUser\:[EMAIL PROTECTED]/$one$areaCode$number|25|TW");
$callStatus = $AGI->get_variable('DIALSTATUS');


Thanks,
Jon Scottorn
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to