[asterisk-commits] trunk r9364 - /trunk/channels/chan_misdn.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Feb 10 03:11:00 MST 2006
Author: crichter
Date: Fri Feb 10 04:10:58 2006
New Revision: 9364
URL: http://svn.digium.com/view/asterisk?rev=9364&view=rev
Log:
added Proceeding state, to be more ETSI conform with outgoing setups on the Network side (no release_complete but disconnect or release in proceeding state)
Modified:
trunk/channels/chan_misdn.c
Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=9364&r1=9363&r2=9364&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Fri Feb 10 04:10:58 2006
@@ -120,6 +120,7 @@
MISDN_EXTCANTMATCH, /*!< when asterisk couldnt match our ext */
MISDN_DIALING, /*!< when pbx_start */
MISDN_PROGRESS, /*!< we got a progress */
+ MISDN_PROCEEDING, /*!< we got a progress */
MISDN_CALLING, /*!< when misdn_call is called */
MISDN_CALLING_ACKNOWLEDGE, /*!< when we get SETUP_ACK */
MISDN_ALERTING, /*!< when Alerting */
@@ -1858,6 +1859,8 @@
break;
case MISDN_ALERTING:
+ case MISDN_PROGRESS:
+ case MISDN_PROCEEDING:
chan_misdn_log(2, bc->port, " --> * State Alerting\n");
if (p->orginator != ORG_AST)
@@ -3262,6 +3265,8 @@
start_bc_tones(ch);
}
+ ch->state = MISDN_PROCEEDING;
+
ast_queue_control(ch->ast, AST_CONTROL_PROCEEDING);
}
break;
@@ -3879,6 +3884,7 @@
chan_misdn_log(1, ch->bc->port, "SETOPT: EchoCancel\n");
if (neglect) {
+ chan_misdn_log(1, ch->bc->port, " --> disabled\n");
ch->bc->ec_enable=0;
} else {
ch->bc->ec_enable=1;
More information about the asterisk-commits
mailing list