[asterisk-users] agi script runs even if no answer
shawn bright
nephish at gmail.com
Mon Aug 7 20:22:58 MST 2006
ok, i am getting the same thing
i am using a zap channel. this is the out put of asterisk -vvvvvvgc
> Channel Zap/4-1 was answered.
-- Executing Wait("Zap/4-1", "3") in new stack
-- Executing Answer("Zap/4-1", "") in new stack
-- Executing AGI("Zap/4-1", "server_dialout.py") in new stack
-- Launched AGI Script /usr/share/asterisk/agi-bin/server_dialout.py
It seemed to work on a different phone. Both landlines, 7 digits. etc...
just don't get it yet.
thanks
-sk
On 8/7/06, Alexander Lopez <Alex.Lopez at opsys.com> wrote:
>
> Try switching the wait and answer:
>
>
>
> Wait 3
>
> Answer
>
>
>
> What kind of interface is this?
>
>
>
> Zaptel, SIP, IAX, FXO, PRI??
>
>
>
>
> ------------------------------
>
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *shawn bright
> *Sent:* Monday, August 07, 2006 9:49 PM
> *To:* asterisk mailing list
> *Subject:* [asterisk-users] agi script runs even if no answer
>
>
>
> Hey there,
>
> i have a python script that drops a call.call file into the
> /var/spool/asterisk/outgoing directory
> the extension it points to reads like this
>
> [outboundmsg1]
> exten => s,1,Answer
> exten => s,2,Wait(3)
> exten => s,3,AGI(server_dialout.py)
> exten => s,4,Hangup
>
>
> the problem is that when the script is run, there is no pause to answer,
> and even if the phone is not answered, the script
> continues to run.
>
> any idea how to make the answer function stop and wait for the answer?
> thanks
>
> _______________________________________________
> --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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060807/1f729e71/attachment.htm
More information about the asterisk-users
mailing list