[libpri-commits] rmudgett: branch rmudgett/link_q931 r2037 - /team/rmudgett/link_q931/q931.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Oct 15 18:46:58 CDT 2010
Author: rmudgett
Date: Fri Oct 15 18:46:54 2010
New Revision: 2037
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=2037
Log:
Fixup the dummy call records for TE PTMP mode.
The TE PTMP group link will use the specific TEI dummy call record. It
makes no sense for TE PTMP interfaces to broadcast messages on the dummy
call (or to broadcast any messages for that matter).
Modified:
team/rmudgett/link_q931/q931.c
Modified: team/rmudgett/link_q931/q931.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/link_q931/q931.c?view=diff&rev=2037&r1=2036&r2=2037
==============================================================================
--- team/rmudgett/link_q931/q931.c (original)
+++ team/rmudgett/link_q931/q931.c Fri Oct 15 18:46:54 2010
@@ -3954,6 +3954,12 @@
}
if (cr == Q931_DUMMY_CALL_REFERENCE) {
/* Do not create new dummy call records. */
+ return NULL;
+ }
+ if (link->tei == Q921_TEI_GROUP
+ && BRI_NT_PTMP(link)) {
+ /* Do not create NT PTMP broadcast call records here. */
+ pri_error(ctrl, "NT PTMP cannot create call record for cref %d on the broadcast TEI.\n", cr);
return NULL;
}
More information about the libpri-commits
mailing list