[asterisk-bugs] [Asterisk-GUI 0015577]: Add Prefix to CALLERID on a Trunk

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 24 10:56:33 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15577 
====================================================================== 
Reported By:                timeshell
Assigned To:                awk
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   15577
Category:                   NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk GUI Version:       SVN 
Asterisk Version:           1.6.0.9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 4970 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-24 10:55 CDT
Last Modified:              2009-07-24 10:56 CDT
====================================================================== 
Summary:                    Add Prefix to CALLERID on a Trunk
Description: 
I would like to be able to put a prefix on the CALLERID on the trunk so
that when the call arrives on a phone, it can be determined which trunk it
arrived on.

We need this as one of the trunks is a shared private line that is
presented to all phones in the office.
====================================================================== 

---------------------------------------------------------------------- 
 (0108180) timeshell (reporter) - 2009-07-24 10:56
 https://issues.asterisk.org/view.php?id=15577#c108180 
---------------------------------------------------------------------- 
I will be attempting to do this by inserting new step 3 as in the
following:

[DID_trunk_2_default]
exten = s,1,ExecIf($[ "${CALLERID(num)}"="" ],SetCallerPres,unavailable)
exten = s,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown
<0000000>)
exten = s,3,exten => s,1,Set(CALLERID(name)=9819-${CALLERID(name)})
exten = s,4,Goto(ringroups-custom-1,s,1) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-24 10:56 timeshell      Note Added: 0108180                          
======================================================================




More information about the asterisk-bugs mailing list