diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 16:14:12 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-06-02 16:14:12 +0000 |
commit | aa138b6e3f15826d199ecac0160d6ba2f21cec84 (patch) | |
tree | 35a07219840cd89e9f223a408a5bd77e900e18d0 /channels/chan_dahdi.c | |
parent | b988f37ebc56d5a8dc6f95b7477da4e2efc3a3b0 (diff) |
Add ETSI Explicit Call Transfer (ECT) support.
Added ability to send and receive ETSI Explicit Call Transfer (ECT)
messages to eliminate tromboned calls.
Note: Asterisk already supported initiating the transfer of calls to
eliminate tromboned calls to libpri so there was nothing to do for the
asterisk portion.
Review: https://reviewboard.asterisk.org/r/520/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@266926 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index d8e7496ce..2d28c6fb0 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -6904,7 +6904,7 @@ static enum ast_bridge_result dahdi_bridge(struct ast_channel *c0, struct ast_ch #ifdef PRI_2BCT if (!triedtopribridge) { triedtopribridge = 1; - if (p0->pri && p0->pri == p1->pri && p0->transfer && p1->transfer) { + if (p0->pri && p0->pri == p1->pri && p0->pri->transfer) { ast_mutex_lock(&p0->pri->lock); switch (p0->sig) { case SIG_PRI_LIB_HANDLE_CASES: @@ -11777,6 +11777,7 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf, pris[span].pri.cc_qsig_signaling_link_rsp = conf->pri.pri.cc_qsig_signaling_link_rsp; #endif /* defined(HAVE_PRI_CCSS) */ + pris[span].pri.transfer = conf->chan.transfer; pris[span].pri.facilityenable = conf->pri.pri.facilityenable; ast_copy_string(pris[span].pri.msn_list, conf->pri.pri.msn_list, sizeof(pris[span].pri.msn_list)); ast_copy_string(pris[span].pri.idledial, conf->pri.pri.idledial, sizeof(pris[span].pri.idledial)); |