mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Restore the 'w' modifier support for ISDN spans. Dial(DAHDI/g0/1234w888)
This feature also causes the sending complete ie to be sent for switch types that do not automatically send the ie. (EuroISDN/ETSI) The main difference between dialing Dial(DAHDI/g0/1234w888) and Dial(DAHDI/g0/1234,,D(888)) is the sending of the sending complete ie. (closes issue ASTERISK-19176) Reported by: rmudgett Tested by: rmudgett ........ Merged revisions 353867 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 353868 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -156,6 +156,8 @@ enum sig_pri_call_level {
|
||||
SIG_PRI_CALL_LEVEL_PROCEEDING,
|
||||
/*! Called party is being alerted of the call. (ALERTING) */
|
||||
SIG_PRI_CALL_LEVEL_ALERTING,
|
||||
/*! Call is dialing 'w' deferred digits. (CONNECT) */
|
||||
SIG_PRI_CALL_LEVEL_DEFER_DIAL,
|
||||
/*! Call is connected/answered. (CONNECT) */
|
||||
SIG_PRI_CALL_LEVEL_CONNECT,
|
||||
};
|
||||
@@ -199,6 +201,7 @@ struct sig_pri_callback {
|
||||
const char *(* const get_orig_dialstring)(void *pvt);
|
||||
void (* const make_cc_dialstring)(void *pvt, char *buf, size_t buf_size);
|
||||
void (* const update_span_devstate)(struct sig_pri_span *pri);
|
||||
void (* const dial_digits)(void *pvt, const char *dial_string);
|
||||
|
||||
void (* const open_media)(void *pvt);
|
||||
|
||||
@@ -290,6 +293,8 @@ struct sig_pri_chan {
|
||||
/*! \brief Keypad digits that came in with the SETUP message. */
|
||||
char keypad_digits[AST_MAX_EXTENSION];
|
||||
#endif /* defined(HAVE_PRI_SETUP_KEYPAD) */
|
||||
/*! 'w' deferred dialing digits. */
|
||||
char deferred_digits[AST_MAX_EXTENSION];
|
||||
/*! Music class suggested with AST_CONTROL_HOLD. */
|
||||
char moh_suggested[MAX_MUSICCLASS];
|
||||
enum sig_pri_moh_state moh_state;
|
||||
@@ -605,6 +610,7 @@ void sig_pri_init_pri(struct sig_pri_span *pri);
|
||||
/* If return 0, it means this function was able to handle it (pre setup digits). If non zero, the user of this
|
||||
* functions should handle it normally (generate inband DTMF) */
|
||||
int sig_pri_digit_begin(struct sig_pri_chan *pvt, struct ast_channel *ast, char digit);
|
||||
void sig_pri_dial_complete(struct sig_pri_chan *pvt, struct ast_channel *ast);
|
||||
|
||||
void sig_pri_stop_pri(struct sig_pri_span *pri);
|
||||
int sig_pri_start_pri(struct sig_pri_span *pri);
|
||||
|
||||
Reference in New Issue
Block a user