[asterisk-users] Issues with AGI+Dial command

Steve Totaro stotaro at asteriskhelpdesk.com
Sun Sep 17 14:06:06 MST 2006


Brian Rogan wrote:
> Hi,
>
> I am still working on trying to figure out why I cannot use the Dial
> command from my AGI script.  Can anyone tell me what I can do to get
> more information about what's going on.  I've tried asterisk -v with as
> many v's as I can put on one line (like 40), and I was wondering if
> there is anything that I can do to debug this problem.
>
> Thanks a lot,
>
> --Brian
>
> On Fri, Sep 15, 2006 at 09:51:01AM -0400, Brian Rogan wrote:
>   
>> Hello,
>>
>> I am trying to write an AGI application that will transfer the caller to
>> a phone number on certain conditions.  From what I understand (from the
>> astcc application and voip-info wiki), I should just be able to EXEC the
>> dial command.  I'm having problems with this though.  I send asterisk
>> the following:
>>
>> EXEC Dial "Zap/g1/8475881188|30"
>>
>> I get back:
>>
>> 200 result=-1
>>
>> On the asterisk console I see:
>>
>>     -- AGI Script Executing Application: (Dial) Options:
>> (Zap/g1/8475881188|30)
>>     -- Requested transfer capability: 0x00 - SPEECH
>>     -- Called g1/8475881188
>>     -- Hungup 'Zap/1-1'
>>
>>
>> The HANGUPCAUSE variable is set to 0.  When I put this dial in my
>> dialplan as Dial(Zap/g1/8475881188|30), the call goes through fine, so I
>> don't think that its the T card or any configuration.
>>
>> Has anyone ever seen this before?
>>
>> Thanks,
>>
>> --Brian
>> _______________________________________________
>> --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
>>     
> __
Type AGI debug in the console

Thanks,
Steve Totaro


More information about the asterisk-users mailing list