[asterisk-bugs] [Asterisk 0014251]: Externalivr not sending 'H' event on channel hangup.
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jan 15 08:20:46 CST 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=14251
======================================================================
Reported By: chris-mac
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14251
Category: Applications/app_externalivr
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 168551
Request Review:
======================================================================
Date Submitted: 2009-01-15 08:20 CST
Last Modified: 2009-01-15 08:20 CST
======================================================================
Summary: Externalivr not sending 'H' event on channel hangup.
Description:
How to reproduce:
extensions.conf
-------%<--------------------------
exten => _X.,1,Answer()
exten => _X.,n,ExternalIVR(/enc/etc/asterisk/ivr/test.sh)
exten => _X.,n,Hangup()
----------%<------------------------
test.sh
-----%<------------------------------------
#!/bin/bash
echo "S,/var/lib/asterisk/sounds/demo-congrats"
while true; do
read stdin
echo $stdin >> /tmp/ivr.log
if [ "${stdin:0:1}" = "H" ]; then
exit;
fi
done
-----%<-------------------------------
Run:
$ tail -f /tmp/ivr.log
dial with any SIP phone into IVR. DTMF can be seen in /tmp/ivr.log just
fine. But when phone disconnects, no 'H' event is sent and test.sh
continues to run for ever.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-01-15 08:20 chris-mac New Issue
2009-01-15 08:20 chris-mac Asterisk Version => SVN
2009-01-15 08:20 chris-mac Regression => No
2009-01-15 08:20 chris-mac SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.1
2009-01-15 08:20 chris-mac SVN Revision (number only!) => 168551
======================================================================
More information about the asterisk-bugs
mailing list