diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-10-06 16:17:30 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-10-06 16:17:30 +0000 |
commit | 0c3cd2ee458a347a9ff0a3ffb4366137b306b4a3 (patch) | |
tree | 1ad60ebc0949d32f7b91d3fdd766a5b9190df7ca /res | |
parent | 1c9fe00920c4d887328400bf43c3e16fc9d24c37 (diff) |
Make sure digit events are not reported as "ERROR"
dahdievent_to_analogevent used a simple switch statement to convert DAHDI
event numbers to "ANALOG_*" event numbers. However "digit" events
(DAHDI_EVENT_PULSEDIGIT, DAHDI_EVENT_DTMFDOWN, DAHDI_EVENT_DTMFUP)
are accompannied by the digit in the low word of the event number.
This fix makes dahdievent_to_analogevent() return the event number as-is
for such an event.
This is also required to fix #15924 (in addition to r222108).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@222237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions