[libpri-commits] mattf: branch 1.4 r427 - in /branches/1.4: ./ q931.c

SVN commits to the libpri project libpri-commits at lists.digium.com
Tue Jun 19 13:23:37 CDT 2007


Author: mattf
Date: Tue Jun 19 13:23:36 2007
New Revision: 427

URL: http://svn.digium.com/view/libpri?view=rev&rev=427
Log:
Merged revisions 426 via svnmerge from 
https://origsvn.digium.com/svn/libpri/branches/1.2

........
r426 | mattf | 2007-06-19 13:22:33 -0500 (Tue, 19 Jun 2007) | 1 line

Try to send pending facility messages if we receive alerting (for when we don't get proceeding) (#9651)
........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/q931.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
--- branch-1.2-merged (original)
+++ branch-1.2-merged Tue Jun 19 13:23:36 2007
@@ -1,1 +1,1 @@
-/branches/1.2:1-332,385,389,415,423
+/branches/1.2:1-332,385,389,415,423,426

Modified: branches/1.4/q931.c
URL: http://svn.digium.com/view/libpri/branches/1.4/q931.c?view=diff&rev=427&r1=426&r2=427
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Tue Jun 19 13:23:36 2007
@@ -3348,6 +3348,16 @@
 		pri->ev.ringing.progressmask = c->progressmask;
 		libpri_copy_string(pri->ev.ringing.useruserinfo, c->useruserinfo, sizeof(pri->ev.ringing.useruserinfo));
 		c->useruserinfo[0] = '\0';
+
+		cur = c->apdus;
+		while (cur) {
+			if (!cur->sent && cur->message == Q931_FACILITY) {
+				q931_facility(pri, c);
+				break;
+			}
+			cur = cur->next;
+		}
+
 		return Q931_RES_HAVEEVENT;
 	case Q931_CONNECT:
 		if (c->newcall) {




More information about the libpri-commits mailing list