[asterisk-bugs] [Asterisk-GUI 0013533]: [patch] Outbound-CID not settable with mISDN

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 16 14:52:11 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13533 
====================================================================== 
Reported By:                thias
Assigned To:                awk
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13533
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-22 07:27 CDT
Last Modified:              2009-01-16 14:52 CST
====================================================================== 
Summary:                    [patch] Outbound-CID not settable with mISDN
Description: 
I am located in germany and have a multiport-BRI for PBX (Anlagenanschluss,
don't know the english synonym. Its the kind of BRI where you have a main
number with extensions).
My extensions have 2 digits (so the complete number to dial from outside
is 98765433 for extension 33). 
Unfortunately, macro-trunkdial-failover-0.3, which is rewritten on every
logon, checks if CID_$CALLERID(num) is longer than 2, otherweise the
default CID is used. Thats very bad for me, since some Extensions should
have an own CID, but others not. I think it would not break the macro if
macro-trunkdial-failover-0.3 is changed like this:

[macro-trunkdial-failover-0.3]
exten = s,1,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} >
1]?${CID_${CALLERID(num)}}:${GLOBAL_OUTBOUNDCID})})
exten = s,n,GotoIf($[${LEN(${CALLERID(num)})} > 1]?1-dial,1)
exten = s,n,Set(CALLERID(all)=${IF($[${LEN(${CID_${ARG3}})} >
6]?${CID_${ARG3}}:${GLOBAL_OUTBOUNDCID})})

Two-digit CIDs cannot be entered in the user manager; I have to change
CID_extension manual in extensions.conf.

====================================================================== 

---------------------------------------------------------------------- 
 (0098049) awk (manager) - 2009-01-16 14:52
 http://bugs.digium.com/view.php?id=13533#c98049 
---------------------------------------------------------------------- 
thias,
I am reviewing your patch. I see your point and I don't think there are
any other places in the gui that would break by adding this patch. Assuming
2 digit extensions are common enough. I'll update you again when a decision
has been made. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-16 14:52 awk            Note Added: 0098049                          
2009-01-16 14:52 awk            Assigned To              bkruse => awk       
======================================================================




More information about the asterisk-bugs mailing list