[asterisk-bugs] [Asterisk 0018616]: ${CALLERID(subaddr)} returns the trailing '}', ${CALLERID(dnid-subaddr)} works OK

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 13 20:19:01 CST 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18616 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18616
Category:                   Functions/func_callerid
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-13 17:50 CST
Last Modified:              2011-01-13 20:19 CST
====================================================================== 
Summary:                    ${CALLERID(subaddr)} returns the trailing '}', 
${CALLERID(dnid-subaddr)} works OK
Description: 
Workaround is to trim it back off.
exten => s,n,Set(CALLERID(num)=${CALLERID(subaddr):0:4} )

Looks like it stems from the subaddress thats being set for the call
notice "DAHDI/i1/4XXX9100:8512}-5a" has it as well.

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

---------------------------------------------------------------------- 
 (0130475) rmudgett (administrator) - 2011-01-13 20:19
 https://issues.asterisk.org/view.php?id=18616#c130475 
---------------------------------------------------------------------- 
CALLERID(subaddr) and CALLERID(dnid-subaddr) are different subaddresses.
CALLERID(subaddr) is the caller's subaddress.
CALLERID(dnid-subaddress) is the dialed subaddress.

Since the '}' is in the channel name, it is likely received that way in
the SETUP message.  Please check the PRI debug trace SETUP message.  The
actual error may be in the calling dialplan.
 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-13 20:19 rmudgett       Note Added: 0130475                          
2011-01-13 20:19 rmudgett       Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list