[asterisk-bugs] [Asterisk 0018378]: [patch] Disable connected line updates for dahdi PRI channel
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Nov 25 16:53:19 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18378
======================================================================
Reported By: asbestoshead
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18378
Category: Channels/chan_dahdi
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.8.0
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-11-25 11:04 CST
Last Modified: 2010-11-25 16:53 CST
======================================================================
Summary: [patch] Disable connected line updates for dahdi PRI
channel
Description:
I need to prevent connected line updates from being sent to a PRI channel.
I'm having problems when a call from a PRI is answered by a SIP extension,
then transferred (blind or attended) to another SIP extension. One of my
PRI providers can't handle the ROSE_ETSI_EctInform APDU and drops the
call.
Looking through the chan_dahdi and sig_pri code, I don't see any
configuration flag to block the updates from going through. I would like to
add one.
Looking for guidance to add support to block these updates. I'm thinking I
could patch ast_channel_connected_line_macro() to check for a variable,
CONNECTED_LINE_CALLER_BLOCK or CONNECTED_LINE_CALLEE_BLOCK, and to prevent
the call to ast_channel_update_connected_line() if it is set to 1.
For completeness I'd also patch ast_channel_redirecting_macro() to check
for REDIRECTING_CALLER_BLOCK and REDIRECTING_CALLEE_BLOCK.
I'd then just have to add setvar=CONNECTED_LINE_CALLER_BLOCK=1 in my
chan_dahdi.conf, and for outbound calls to the PRI I may also have to
Set(CONNECTED_LINE_CALLEE_BLOCK=1) in the dialplan.
======================================================================
----------------------------------------------------------------------
(0129147) pabelanger (administrator) - 2010-11-25 16:53
https://issues.asterisk.org/view.php?id=18378#c129147
----------------------------------------------------------------------
All of it, there is no point using the same code in both
ast_channel_redirecting_macro() and ast_channel_connected_line_macro().
Create a function and call it.
Issue History
Date Modified Username Field Change
======================================================================
2010-11-25 16:53 pabelanger Note Added: 0129147
======================================================================
More information about the asterisk-bugs
mailing list