[libpri-commits] rmudgett: branch rmudgett/ntptmp r1106 - /team/rmudgett/ntptmp/q931.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Mon Sep 21 12:07:49 CDT 2009


Author: rmudgett
Date: Mon Sep 21 12:07:45 2009
New Revision: 1106

URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=1106
Log:
Remember call hold state and timer are in the master call record.

Modified:
    team/rmudgett/ntptmp/q931.c

Modified: team/rmudgett/ntptmp/q931.c
URL: http://svn.asterisk.org/svn-view/libpri/team/rmudgett/ntptmp/q931.c?view=diff&rev=1106&r1=1105&r2=1106
==============================================================================
--- team/rmudgett/ntptmp/q931.c (original)
+++ team/rmudgett/ntptmp/q931.c Mon Sep 21 12:07:45 2009
@@ -3304,7 +3304,7 @@
 					"NEW_HANGUP DEBUG: Destroying the call, ourstate %s, peerstate %s, hold-state %s\n",
 					q931_call_state_str(cur->ourcallstate),
 					q931_call_state_str(cur->peercallstate),
-					q931_hold_state_str(cur->hold_state));
+					q931_hold_state_str(cur->master_call->hold_state));
 			cleanup_and_free_call(c);
 			return;
 		}
@@ -4763,7 +4763,7 @@
 			"NEW_HANGUP DEBUG: Calling q931_hangup, ourstate %s, peerstate %s, hold-state %s\n",
 			q931_call_state_str(c->ourcallstate),
 			q931_call_state_str(c->peercallstate),
-			q931_hold_state_str(c->hold_state));
+			q931_hold_state_str(c->master_call->hold_state));
 	if (!ctrl || !c)
 		return -1;
 	/* If mandatory IE was missing, insist upon that cause code */




More information about the libpri-commits mailing list