summaryrefslogtreecommitdiff
path: root/channels/sig_pri.h
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2009-07-15 22:02:55 +0000
committerJeff Peeler <jpeeler@digium.com>2009-07-15 22:02:55 +0000
commit646cd02c09f3a50555d2d505acfee2acc53eeba2 (patch)
treede5bedaf3496ae212405264b5d95921d6b92cb8d /channels/sig_pri.h
parente9e753d6f3f2ba9fa8854dbc24c7a7adc929332f (diff)
The dialing flag was mistakingly removed from sig_pri.
This readds the proper setting of the flag and is really a continuation of r205731. The flag was being set properly in sig_analog, but use of the newly added set_dialing callback allowed for some simplification in chan_dahdi. (closes issue #15486) Reported by: rmudgett git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r--channels/sig_pri.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h
index c7f34d056..89d598b74 100644
--- a/channels/sig_pri.h
+++ b/channels/sig_pri.h
@@ -70,6 +70,7 @@ struct sig_pri_callback {
/* Note: Called with PRI lock held */
void (* const handle_dchan_exception)(struct sig_pri_pri *pri, int index);
+ void (* const set_dialing)(void *pvt, int flag);
};
#define NUM_DCHANS 4 /*!< No more than 4 d-channels */