Add support to enable/disable facility IE Supplementary Services

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@217 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson
2005-05-12 14:48:00 +00:00
parent 3803535593
commit 8205ce358a
4 changed files with 20 additions and 0 deletions

10
pri.c
View File

@@ -400,6 +400,16 @@ int pri_get_debug(struct pri *pri)
return pri->debug;
}
void pri_facility_enable(struct pri *pri)
{
if (!pri)
return;
pri->sendfacility = 1;
if (pri->subchannel)
pri_facility_enable(pri->subchannel);
return;
}
int pri_acknowledge(struct pri *pri, q931_call *call, int channel, int info)
{
if (!pri || !call)