[Asterisk-Users] Signals to AGI scripts
James Sharp
jsharp at psychoses.org
Tue Apr 15 20:20:45 MST 2003
But if you're not polling, you don't get anything? Adding a SIGHUP
generator would be greatly helpful...but yes, have the script request it
with something like "ENABLE SIGHUP" would be the right thing.
> You get a return code if you're polling on something like
> "check_for_digit". It would be possible to give it a signal (presumably
> "SIGHUP" would seem the most logical, but it would probably be
> appropriate that the script would need to request this behavior since
> there could be bad things if hanging up a channel could interrupt a
> script.
>
> Mark
>
> On Tue, 15 Apr 2003, James Sharp wrote:
>
>> Are any signals (SIGTERM, SIGINT, SIGDIERIGHTNOW?) passed to an AGI
>> script if it gets hung up upon before it exits?
>>
>>
>>
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list