Add notify patch (bug #1785)
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@127 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
e88ac71b3d
commit
5fd79b6b1b
7
pri.c
7
pri.c
@ -263,6 +263,13 @@ int pri_information(struct pri *pri, q931_call *call, char digit)
|
|||||||
return q931_information(pri, call, digit);
|
return q931_information(pri, call, digit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pri_notify(struct pri *pri, q931_call *call, int channel, int info)
|
||||||
|
{
|
||||||
|
if (!pri || !call)
|
||||||
|
return -1;
|
||||||
|
return q931_notify(pri, call, channel, info);
|
||||||
|
}
|
||||||
|
|
||||||
void pri_destroycall(struct pri *pri, q931_call *call)
|
void pri_destroycall(struct pri *pri, q931_call *call)
|
||||||
{
|
{
|
||||||
if (pri && call)
|
if (pri && call)
|
||||||
|
Loading…
Reference in New Issue
Block a user