Project "FreeSWITCH Source" received a push.

branch: master updated

       via: cb6f1ed61da20672600db792d3a86e051fa484c5 (commit)
      from: b53a68484361c9581a26f6b090a58b0803bd412d (commit)


= COMMIT LOG ===========================================================
committer: Mathieu Rene
comments: 
Fix storage class for 'cause' in user_outgoing_channel() so that each call has its very own hangup cause

diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c
index 9a1258a..346cdaa 100755
--- a/src/mod/applications/mod_dptools/mod_dptools.c
+++ b/src/mod/applications/mod_dptools/mod_dptools.c
@@ -2893,7 +2893,7 @@ static switch_call_cause_t user_outgoing_channel(switch_core_session_t *session,
 	switch_xml_t x_domain = NULL, xml = NULL, x_user = NULL, x_group = NULL, x_param, x_params;
 	char *user = NULL, *domain = NULL, *dup_domain = NULL;
 	const char *dest = NULL;
-	static switch_call_cause_t cause = SWITCH_CAUSE_NONE;
+	switch_call_cause_t cause = SWITCH_CAUSE_NONE;
 	unsigned int timelimit = 60;
 	switch_channel_t *new_channel = NULL;
 	switch_event_t *params = NULL, *var_event_orig = var_event;
========================================================================

Summary of changes:
 src/mod/applications/mod_dptools/mod_dptools.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630 --
FreeSWITCH Source