[asterisk-bugs] [Asterisk-GUI 0014154]: CID bug in macro-trunkdial-failover-0.3

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 7 08:12:41 CST 2010


The following issue is now in status NEW (again) 
====================================================================== 
https://issues.asterisk.org/view.php?id=14154 
====================================================================== 
Reported By:                dkerr
Assigned To:                
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   14154
Category:                   Service Providers/Trunks
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Target Version:             2.0.6
Asterisk GUI Version:       I did not set the version :( 
Asterisk Version:           1.4.21.2 
JIRA:                        
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 4389 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-31 14:15 CST
Last Modified:              2010-01-07 08:12 CST
====================================================================== 
Summary:                    CID bug in macro-trunkdial-failover-0.3
Description: 
The Macro macro-trunkdial-failover-0.3 assigns CallerID number/name on
outbound calls. It derives CallerID from a number of sources giving
precedent to one assigned specific to the outbound channel.

However, if the call by the primary channel fails due to CONGESTION or
CHANUNAVAIL and the macro then sends the call to the failover channel then
the CallerID is not "recalculated" based upon the new trunk. This could
potentially be a problem as some VoIP providers require that you set
CallerID to a number that matches the DID obtained by them. Routing (or
establishing eligibility for) emergency calling (911, 999) could require
accurate CallerID for the trunk.

Fix is fairly easy... but cumbersome... have to duplicate all of the
callerID setting stuff at the front of the macro again for ARG4.

When I find some time I'll work on a patch.

David
====================================================================== 

---------------------------------------------------------------------- 
 (0116193) tzafrir (manager) - 2010-01-07 08:12
 https://issues.asterisk.org/view.php?id=14154#c116193 
---------------------------------------------------------------------- 
What am I missing? Where is that macro defined?

kkerr, Could you please submit your fix as a patch vs. current SVN? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 08:12 tzafrir        Note Added: 0116193                          
2010-01-07 08:12 tzafrir        Assigned To              awk =>              
2010-01-07 08:12 tzafrir        Status                   assigned => new     
======================================================================




More information about the asterisk-bugs mailing list