[libpri-commits] mattf: branch mattf/libpri-1.4-ntptmp r940 - /team/mattf/libpri-1.4-ntptmp/
SVN commits to the libpri project
libpri-commits at lists.digium.com
Thu Jul 9 16:55:34 CDT 2009
Author: mattf
Date: Thu Jul 9 16:55:31 2009
New Revision: 940
URL: http://svn.asterisk.org/svn-view/libpri?view=rev&rev=940
Log:
Make sure we cannot send the DS1 indicator for BRI, also, stop using semi-persistent layer 2 links
Modified:
team/mattf/libpri-1.4-ntptmp/q921.c
team/mattf/libpri-1.4-ntptmp/q931.c
Modified: team/mattf/libpri-1.4-ntptmp/q921.c
URL: http://svn.asterisk.org/svn-view/libpri/team/mattf/libpri-1.4-ntptmp/q921.c?view=diff&rev=940&r1=939&r2=940
==============================================================================
--- team/mattf/libpri-1.4-ntptmp/q921.c (original)
+++ team/mattf/libpri-1.4-ntptmp/q921.c Thu Jul 9 16:55:31 2009
@@ -604,10 +604,11 @@
pri->t203_timer = pri_schedule_event(pri, pri->timers[PRI_TIMER_T200], t200_expire, pri);
} else {
if (pri->debug & PRI_DEBUG_Q921_DUMP)
- pri_message(pri, "T203 counter expired in weird state %d\n", pri->q921_state);
+ pri_message(pri, "T203 counter expired in weird state %d on pri with sapi %d and tei %d\n", pri->q921_state, pri->sapi, pri->tei);
pri->t203_timer = 0;
}
}
+
static pri_event *q921_handle_iframe(struct pri *pri, q921_i *i, int len)
{
int res;
@@ -1183,7 +1184,6 @@
/* Acknowledge */
q921_send_ua(pri, h->u.p_f);
ev = q921_dchannel_down(pri);
- q921_restart(pri, 0);
return ev;
case 3:
if (h->u.m2 == 3) {
Modified: team/mattf/libpri-1.4-ntptmp/q931.c
URL: http://svn.asterisk.org/svn-view/libpri/team/mattf/libpri-1.4-ntptmp/q931.c?view=diff&rev=940&r1=939&r2=940
==============================================================================
--- team/mattf/libpri-1.4-ntptmp/q931.c (original)
+++ team/mattf/libpri-1.4-ntptmp/q931.c Thu Jul 9 16:55:31 2009
@@ -393,7 +393,7 @@
return 0;
}
- if (((ctrl->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0)) || call->ds1explicit) {
+ if (!ctrl->bri && (((ctrl->switchtype != PRI_SWITCH_QSIG) && (call->ds1no > 0)) || call->ds1explicit)) {
/* Note that we are specifying the identifier */
ie->data[pos++] |= 0x40;
/* We need to use the Channel Identifier Present thingy. Just specify it and we're done */
More information about the libpri-commits
mailing list