aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:38:08 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-22 15:38:08 +0000
commit06391db7f1f851453827b41940ef8becae562aec (patch)
treeeda11f6010d86115fb220e622f2f9855c443d222 /channels/misdn
parentf9b50e3732805c79bb5700fcc0626a72346cdb31 (diff)
Merged revisions 70672 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r70672 | crichter | 2007-06-21 15:11:29 +0200 (Do, 21 Jun 2007) | 1 line we activate the bchannels in TE mode on incoming calls only when we want to connect the call. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71123 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn')
-rw-r--r--channels/misdn/isdn_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c
index 1eb108012..92c594aec 100644
--- a/channels/misdn/isdn_lib.c
+++ b/channels/misdn/isdn_lib.c
@@ -3276,6 +3276,8 @@ int misdn_lib_send_event(struct misdn_bchannel *bc, enum event_e event )
case EVENT_ALERTING:
case EVENT_PROCEEDING:
case EVENT_SETUP_ACKNOWLEDGE:
+ if (!stack->nt) break;
+
case EVENT_CONNECT:
case EVENT_RETRIEVE_ACKNOWLEDGE: