A quick hack would be to do something like
exten => h, 1, system("kill the php")
of course this would knock out all the calls in progress using php.

Perhaps in the hangup extension you could send a message to your php
script that would end it's blocking.  I don't suppose SendDTMF would
send to the php :-/  However,  in any event, remember that the php
script should timeout eventually...


On 5/25/05, Jon Farmer <[EMAIL PROTECTED]> wrote:
> 
> --- Thierry Wehr <[EMAIL PROTECTED]> wrote:
> > Hello
> >
> > Did you tried a deadagi in place of agi
> >
> > A++
> >
> >
> 
> I am calling the PHP app via deadagi. I believe what
> might be happening is that the application is going
> into a internal loop waiting for DTMF to know what to
> do next. I am going to investigate if I very time I
> poll for DTMF I check the channel status and exit()
> the script if the line is anything but UP.
> 
> Regards
> 
> Jon
> 
> 
> Jon Farmer
> Skype: viperdude_uk
> 
> 
> 
> ___________________________________________________________
> How much free photo storage do you get? Store your holiday
> snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
> _______________________________________________
> Asterisk-Users mailing list
> [email protected]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to