]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
we *need* to send a PROCEEDING when sending_complete is set, even if need_more_infos...
authorChristian Richter <christian.richter@beronet.com>
Fri, 18 May 2007 08:24:08 +0000 (08:24 +0000)
committerChristian Richter <christian.richter@beronet.com>
Fri, 18 May 2007 08:24:08 +0000 (08:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@64902 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 27633db4add8dc723280c79cbbb157d1f27d93a1..e2bd8b087cf9d4219b2c0dc62b71aabb27e76ca2 100644 (file)
@@ -3749,7 +3749,8 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
                        if (!ch->noautorespond_on_setup) {
                                ch->state=MISDN_DIALING;
 
-                               if (bc->nt || (bc->need_more_infos && misdn_lib_is_ptp(bc->port)) ) {
+                               if (!bc->sending_complete &&
+                                               (bc->nt || (bc->need_more_infos && misdn_lib_is_ptp(bc->port)))) {
                                        int ret; 
                                        ret = misdn_lib_send_event(bc, EVENT_SETUP_ACKNOWLEDGE );
                                } else {