[asterisk-commits] trunk r18800 - /trunk/channels/chan_misdn.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Apr 10 07:09:19 MST 2006
Author: crichter
Date: Mon Apr 10 09:09:17 2006
New Revision: 18800
URL: http://svn.digium.com/view/asterisk?rev=18800&view=rev
Log:
we send nearly everytime a RELEASE, only if we for sure know, that it's a TE and we did create the call we don't to hear the Inband Info
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=18800&r1=18799&r2=18800&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Mon Apr 10 09:09:17 2006
@@ -3556,7 +3556,7 @@
send_cause2ast(ch->ast,bc);
- if (misdn_inband_avail(bc) && ch->state != MISDN_CONNECTED) {
+ if ( ch->orginator==ORG_AST && !bc->nt && misdn_inband_avail(bc) && ch->state != MISDN_CONNECTED) {
/* If there's inband information available (e.g. a
recorded message saying what was wrong with the
dialled number, or perhaps even giving an
@@ -3588,7 +3588,6 @@
*/
misdn_lib_send_event(bc,EVENT_RELEASE);
-
}
break;
More information about the asterisk-commits
mailing list