[libpri-commits] rmudgett: branch 1.4 r1577 - /branches/1.4/q931.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Apr 9 16:43:44 CDT 2010
Author: rmudgett
Date: Fri Apr 9 16:43:42 2010
New Revision: 1577
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1577
Log:
Only one PROCEEDING message per call please.
Modified:
branches/1.4/q931.c
Modified: branches/1.4/q931.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q931.c?view=diff&rev=1577&r1=1576&r2=1577
==============================================================================
--- branches/1.4/q931.c (original)
+++ branches/1.4/q931.c Fri Apr 9 16:43:42 2010
@@ -4289,6 +4289,11 @@
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 (channel) {
c->ds1no = (channel & 0xff00) >> 8;
c->ds1explicit = (channel & 0x10000) >> 16;
More information about the libpri-commits
mailing list