[svn-commits] trunk r310 - /trunk/q931.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Feb 14 12:30:33 MST 2006


Author: mattf
Date: Tue Feb 14 13:30:32 2006
New Revision: 310

URL: http://svn.digium.com/view/libpri?rev=310&view=rev
Log:
Make sure we reset the field if we get one in a disconnect

Modified:
    trunk/q931.c

Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=310&r1=309&r2=310&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Tue Feb 14 13:30:32 2006
@@ -3516,6 +3516,8 @@
 		pri->ev.hangup.cause = c->cause;
 		pri->ev.hangup.call = c;
 		pri->ev.hangup.aoc_units = c->aoc_units;
+                libpri_copy_string(pri->ev.hangup.useruserinfo, c->useruserinfo, sizeof(pri->ev.ring.useruserinfo));
+		c->useruserinfo[0] = '\0';
 		if (c->alive)
 			return Q931_RES_HAVEEVENT;
 		else



More information about the svn-commits mailing list