Version 0.3.1 from FTP

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@25 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2002-04-25 03:25:35 +00:00
parent 05f41a4926
commit 7857739408
2 changed files with 9 additions and 0 deletions

7
pri.c
View File

@ -199,6 +199,13 @@ int pri_disconnect(struct pri *pri, q931_call *call, int cause)
return q931_disconnect(pri, call, cause);
}
int pri_reset(struct pri *pri, int channel)
{
if (!pri)
return -1;
return q931_restart(pri, channel);
}
q931_call *pri_new_call(struct pri *pri)
{
if (!pri)

View File

@ -229,6 +229,8 @@ extern int q931_release(struct pri *pri, q931_call *call, int cause);
extern int q931_disconnect(struct pri *pri, q931_call *call, int cause);
extern int q931_restart(struct pri *pri, int channel);
extern q931_call *q931_new_call(struct pri *pri);
extern int q931_setup(struct pri *pri, q931_call *c, int transmode, int channel, int exclusive,