[asterisk-users] outgoing call file and agi detect busy
Jerry Geis
geisj at pagestation.com
Mon Aug 11 16:07:04 CDT 2008
Jerry Geis wrote:
>>
>> Call files spawn a completely new channel that your AGI most likely
>> isn't going to be able to track. Since the call is a completely new
>> channel, the DIALSTATUS variable for this channel will not be visible
>> to your original channel. You may want to look at using the
>> Originate action from within the manager API.
>>
>> http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate
>>
>>
>
> So there is no way either in the dialplan or in the AGI that I can
> find out a status of my call?
> As to why it did or did not complete?
> Doesnt that seem like a defect?
> There has to be a way around that?
>
> I dont see off hand how this manager originate is any different.
>
> Jerry
>
After searching the code FAR and WIDE it comes down to the SIMPLE result of
not looking at DIALSTATUS in this case but looking at REASON.
REASON is set to 5 - busy and everything is good. So I was just looking
at the wrong
environment variable.
Jerry
More information about the asterisk-users
mailing list