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:
parent
05f41a4926
commit
7857739408
7
pri.c
7
pri.c
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user