]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 10 Apr 2007 01:16:14 +0000 (01:16 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 10 Apr 2007 01:16:14 +0000 (01:16 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4905 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

index 250f9ef9ba906b11813b5dd8ddd4daff1336fe20..4e94b2005f85594fafe280bd3639242f914f5600 100644 (file)
@@ -665,10 +665,10 @@ static switch_status_t wanpipe_on_hangup(switch_core_session_t *session)
        } else if (tech_pvt->spri) {
                chanmap = tech_pvt->spri->private_info;
 
-               if (!switch_test_flag(tech_pvt, TFLAG_BYE)) {
+               //if (!switch_test_flag(tech_pvt, TFLAG_BYE)) {
                        pri_hangup(tech_pvt->spri->pri, tech_pvt->call, switch_channel_get_cause(channel));
                        pri_destroycall(tech_pvt->spri->pri, tech_pvt->call);
-               }
+                       //}
 
                switch_mutex_lock(globals.channel_mutex);
                *chanmap->map[tech_pvt->callno] = '\0';