From 681a5f582ea47797cd0c146cb877dc0a8de4b50a Mon Sep 17 00:00:00 2001 From: Matthew Fredrickson Date: Thu, 19 Jan 2006 23:27:27 +0000 Subject: [PATCH] RLT works!!! Tested successfully on a DMS100 switch. (For those wondering, RLT is basically 2 B-channel transfer on DMS100) git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@305 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- pri.c | 5 ----- pri_facility.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pri.c b/pri.c index fb8354f..ca616d5 100644 --- a/pri.c +++ b/pri.c @@ -529,11 +529,6 @@ int pri_channel_bridge(q931_call *call1, q931_call *call2) if (!call1 || !call2) return -1; - /* Check switchtype compatibility */ - if (call1->pri->switchtype != PRI_SWITCH_LUCENT5E || - call2->pri->switchtype != PRI_SWITCH_LUCENT5E) - return -1; - /* Check for bearer capability */ if (call1->transcapability != call2->transcapability) return -1; diff --git a/pri_facility.c b/pri_facility.c index 9de30ee..feaf816 100644 --- a/pri_facility.c +++ b/pri_facility.c @@ -857,7 +857,7 @@ int rlt_initiate_transfer(struct pri *pri, q931_call *c1, q931_call *c2) } else return -1; - buffer[i++] = (0x80 | Q932_PROTOCOL_ROSE); + buffer[i++] = (Q932_PROTOCOL_ROSE); buffer[i++] = (0x80 | RLT_SERVICE_ID); /* Service Identifier octet */ ASN1_ADD_SIMPLE(comp, COMP_TYPE_INVOKE, buffer, i);