[libpri-commits] rmudgett: branch rmudgett/ect r1585 - in	/team/rmudgett/ect: ./ q931.c
    SVN commits to the libpri project 
    libpri-commits at lists.digium.com
       
    Fri Apr  9 17:42:50 CDT 2010
    
    
  
Author: rmudgett
Date: Fri Apr  9 17:42:48 2010
New Revision: 1585
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1585
Log:
Merged revisions 1584 via svnmerge from 
https://origsvn.digium.com/svn/libpri/team/group/ccss
................
  r1584 | rmudgett | 2010-04-09 17:41:45 -0500 (Fri, 09 Apr 2010) | 9 lines
  
  Merged revisions 1577 via svnmerge from 
  https://origsvn.digium.com/svn/libpri/branches/1.4
  
  ........
    r1577 | rmudgett | 2010-04-09 16:43:42 -0500 (Fri, 09 Apr 2010) | 1 line
    
    Only one PROCEEDING message per call please.
  ........
................
Modified:
    team/rmudgett/ect/   (props changed)
    team/rmudgett/ect/q931.c
Propchange: team/rmudgett/ect/
------------------------------------------------------------------------------
    automerge = *
Propchange: team/rmudgett/ect/
------------------------------------------------------------------------------
--- ect-integrated (original)
+++ ect-integrated Fri Apr  9 17:42:48 2010
@@ -1,1 +1,1 @@
-/team/group/ccss:1-1578
+/team/group/ccss:1-1584
Propchange: team/rmudgett/ect/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Apr  9 17:42:48 2010
@@ -1,1 +1,1 @@
-/branches/1.4:1-1548
+/branches/1.4:1-1583
Modified: team/rmudgett/ect/q931.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/ect/q931.c?view=diff&rev=1585&r1=1584&r2=1585
==============================================================================
--- team/rmudgett/ect/q931.c (original)
+++ team/rmudgett/ect/q931.c Fri Apr  9 17:42:48 2010
@@ -4538,6 +4538,10 @@
 
 int q931_call_proceeding(struct pri *ctrl, q931_call *c, int channel, int info)
 {
+	if (c->proc) {
+		/* We have already sent a PROCEEDING message.  Don't send another one. */
+		return 0;
+	}
 	if (c->ourcallstate == Q931_CALL_STATE_CALL_INDEPENDENT_SERVICE) {
 		/* Cannot send this message when in this state */
 		return 0;
    
    
More information about the libpri-commits
mailing list