Allow ability to send just call proceeding
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@92 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
c591726079
commit
c8528b633a
4
libpri.h
4
libpri.h
@ -393,4 +393,8 @@ extern void pri_dump_info(struct pri *pri);
|
|||||||
/* Get file descriptor */
|
/* Get file descriptor */
|
||||||
extern int pri_fd(struct pri *pri);
|
extern int pri_fd(struct pri *pri);
|
||||||
|
|
||||||
|
#define PRI_PROGRESS
|
||||||
|
/* Send call proceeding */
|
||||||
|
extern int pri_progress(struct pri *pri, q931_call *c);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
7
pri.c
7
pri.c
@ -191,6 +191,13 @@ int pri_acknowledge(struct pri *pri, q931_call *call, int channel, int info)
|
|||||||
return q931_alerting(pri, call, channel, info);
|
return q931_alerting(pri, call, channel, info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int pri_progress(struct pri *pri, q931_call *call)
|
||||||
|
{
|
||||||
|
if (!pri || !call)
|
||||||
|
return -1;
|
||||||
|
return q931_call_proceeding(pri, call);
|
||||||
|
}
|
||||||
|
|
||||||
int pri_information(struct pri *pri, q931_call *call, char digit)
|
int pri_information(struct pri *pri, q931_call *call, char digit)
|
||||||
{
|
{
|
||||||
if (!pri || !call)
|
if (!pri || !call)
|
||||||
|
Loading…
Reference in New Issue
Block a user