diff options
author | Jeff Peeler <jpeeler@digium.com> | 2009-09-10 20:18:30 +0000 |
---|---|---|
committer | Jeff Peeler <jpeeler@digium.com> | 2009-09-10 20:18:30 +0000 |
commit | 5561ba19aa8ebb0be8a74f291ebaf0805f8cbf29 (patch) | |
tree | 2b76e5de87fa0b1b44b0530ab9a3485a1af9b9a4 /channels/sig_analog.h | |
parent | 1fc7fb024126ee65ccd6de46e7d9280451cd64ea (diff) |
Stop caller id transmission when offhook event detected.
This fixes the problem that would occur if an analog phone was picked up while
the caller id was being sent. The caller id before sent the whole spill even
after pickup and is now corrected.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_analog.h')
-rw-r--r-- | channels/sig_analog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/sig_analog.h b/channels/sig_analog.h index ce41ccc70..1b9a14de1 100644 --- a/channels/sig_analog.h +++ b/channels/sig_analog.h @@ -201,6 +201,7 @@ struct analog_callback { int (* const check_waitingfordt)(void *pvt); void (* const set_confirmanswer)(void *pvt, int flag); int (* const check_confirmanswer)(void *pvt); + void (* const cancel_cidspill)(void *pvt); }; |