rearrange hangup callflow to do more work in the session's own thread

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12784 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-03-25 20:07:40 +00:00
parent 83a3ccc809
commit bce5187da1
4 changed files with 45 additions and 32 deletions
@@ -209,7 +209,7 @@ static switch_status_t my_on_reporting(switch_core_session_t *session)
free(buf);
}
}
g_template_str = (const char *) switch_core_hash_find(globals.template_hash, globals.default_template);
if ((accountcode = switch_channel_get_variable(channel, "ACCOUNTCODE"))) {