]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 May 2006 01:12:40 +0000 (01:12 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 12 May 2006 01:12:40 +0000 (01:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1439 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
src/mod/endpoints/mod_woomera/mod_woomera.c

index 7fafbb92686e64a5b19958d552687b3dd1b9c5ac..01c28f3422c642b4590c65813b9416f952dc43ca 100644 (file)
@@ -981,7 +981,7 @@ static int on_hangup(struct sangoma_pri *spri, sangoma_pri_event_t event_type, p
 
                tech_pvt->cause = event->hangup.cause;
 
-               switch_channel_HANGUP(channel, SWITCH_CAUSE_NORMAL_CLEARING);
+               switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
 
                chanmap->map[event->hangup.channel] = NULL;
        }
index 220e2079cc01f5d3d717e77bc4938eede6f8c504..c97933c2281d893f80bade0179ace9252362354f 100644 (file)
@@ -953,7 +953,7 @@ static void *woomera_channel_thread_run(switch_thread_t *thread, void *obj)
                }
 
                if (switch_test_flag(tech_pvt, TFLAG_ABORT)) {
-                       switch_channel_HANGUP(channel, SWITCH_CAUSE_NORMAL_CLEARING);
+                       switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
                        udp_socket_close(tech_pvt);
                        break;
                }