Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07d57d3818 | ||
|
|
e258c073aa | ||
|
|
120f751076 | ||
|
|
fccbc0649f | ||
|
|
59e2d271ee | ||
|
|
bc0125d4f9 |
11
ChangeLog
11
ChangeLog
@@ -1,14 +1,3 @@
|
||||
2008-07-22 Kevin P. Fleming <kpfleming@digium.com>
|
||||
|
||||
* Libpri 1.4.6 released.
|
||||
|
||||
2008-07-22 19:43 +0000 [r589] Kevin P. Fleming <kpfleming@digium.com>
|
||||
|
||||
* pri.c, pri_internal.h, q931.c, libpri.h: rename API call and
|
||||
option (nothing has been released to use it yet so this should be
|
||||
safe) to be more accurate in describing what it does (closes
|
||||
issue #13042)
|
||||
|
||||
2008-07-11 Jason Parker <jparker@digium.com>
|
||||
|
||||
* Libpri 1.4.5 released.
|
||||
|
||||
2
libpri.h
2
libpri.h
@@ -625,7 +625,7 @@ int pri_progress(struct pri *pri, q931_call *c, int channel, int info);
|
||||
int pri_proceeding(struct pri *pri, q931_call *c, int channel, int info);
|
||||
|
||||
/* Enable inband progress when a RELEASE is received */
|
||||
void pri_set_inbanddisconnect(struct pri *pri, unsigned int enable);
|
||||
void pri_set_inbandrelease(struct pri *pri, unsigned int enable);
|
||||
|
||||
/* Enslave a PRI to another, so they share the same call list
|
||||
(and maybe some timers) */
|
||||
|
||||
4
pri.c
4
pri.c
@@ -782,9 +782,9 @@ void pri_set_overlapdial(struct pri *pri,int state)
|
||||
pri->overlapdial = state;
|
||||
}
|
||||
|
||||
void pri_set_inbanddisconnect(struct pri *pri, unsigned int enable)
|
||||
void pri_set_inbandrelease(struct pri *pri, unsigned int enable)
|
||||
{
|
||||
pri->acceptinbanddisconnect = (enable != 0);
|
||||
pri->acceptinbandrelease = (enable != 0);
|
||||
}
|
||||
|
||||
int pri_fd(struct pri *pri)
|
||||
|
||||
@@ -65,7 +65,7 @@ struct pri {
|
||||
int tei;
|
||||
int protodisc;
|
||||
unsigned int bri:1;
|
||||
unsigned int acceptinbanddisconnect:1; /* Should we allow inband progress after RELEASE? */
|
||||
unsigned int acceptinbandrelease:1; /* Should we allow inband progress after RELEASE? */
|
||||
|
||||
/* Q.921 State */
|
||||
int q921_state;
|
||||
|
||||
2
q931.c
2
q931.c
@@ -3782,7 +3782,7 @@ int q931_receive(struct pri *pri, q931_h *h, int len)
|
||||
|
||||
/* wait for a RELEASE so that sufficient time has passed
|
||||
for the inband audio to be heard */
|
||||
if (pri->acceptinbanddisconnect && (c->progressmask & PRI_PROG_INBAND_AVAILABLE))
|
||||
if (pri->acceptinbandrelease && (c->progressmask & PRI_PROG_INBAND_AVAILABLE))
|
||||
break;
|
||||
|
||||
/* Return such an event */
|
||||
|
||||
Reference in New Issue
Block a user