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
This commit is contained in:
parent
0a326a9744
commit
681a5f582e
5
pri.c
5
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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user