[svn-commits] branch crichter/0.3.0 - r8184 /team/crichter/0.3.0/channels/chan_misdn.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jan 18 02:38:17 MST 2006


Author: crichter
Date: Wed Jan 18 03:38:14 2006
New Revision: 8184

URL: http://svn.digium.com/view/asterisk?rev=8184&view=rev
Log:
we should still at least indicate the alerting without sending an alerting or changing our state.

Modified:
    team/crichter/0.3.0/channels/chan_misdn.c

Modified: team/crichter/0.3.0/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/chan_misdn.c?rev=8184&r1=8183&r2=8184&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/chan_misdn.c (original)
+++ team/crichter/0.3.0/channels/chan_misdn.c Wed Jan 18 03:38:14 2006
@@ -1695,7 +1695,8 @@
 				chan_misdn_log(1, p->bc->port, " --> * IND :\tringing pid:%d but I was Ringing before, so ignoreing it\n",p->bc?p->bc->pid:-1);
 				break;
 			case MISDN_CONNECTED:
-				chan_misdn_log(1, p->bc->port, " --> * IND :\tringing pid:%d but I was Connected before, so ignoreing it\n",p->bc?p->bc->pid:-1);
+				chan_misdn_log(1, p->bc->port, " --> * IND :\tringing pid:%d but Connected, so just send TONE_ALERTING without state changes \n",p->bc?p->bc->pid:-1);
+				tone_indicate(p, TONE_ALERTING);
 				break;
 			default:
 				p->state=MISDN_ALERTING;



More information about the svn-commits mailing list