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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 21 15:47:44 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=13533 
====================================================================== 
Reported By:                thias
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   13533
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-22 07:27 CDT
Last Modified:              2008-10-21 15:47 CDT
====================================================================== 
Summary:                    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.

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-21 15:47 bkruse         Status                   assigned => closed  
======================================================================




More information about the asterisk-bugs mailing list