[asterisk-bugs] [LibPRI 0011496]: problem changing callerid when it comes in as unknown

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jan 18 11:08:57 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11496 
====================================================================== 
Reported By:                ibismalta
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   11496
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             12-08-2007 04:02 CST
Last Modified:              01-18-2008 11:08 CST
====================================================================== 
Summary:                    problem changing callerid when it comes in as
unknown
Description: 
I have a client who wants to change the callerid when the user the call is
intented to does not reply so he wants to divert it to all his staff. This
works well when the incoming call has a visible callerid but it does not
work at all when the caller id is unknown. Below is a sample of the
extensions.conf so you can understand me better. This code works well when
the incoming call comes in on an Analogue TDM400P card but it does not work
when using ISDN. It used to work on ISDN on version 1.0 but stopped to work
on 1.2 and 1.4 series.


exten =>
23880008,1,SetVar(CALLFILENAME=${TIMESTAMP}-${CALLERIDNUM}-${EXTEN})
exten => 23880008,2,Monitor(wav,${CALLFILENAME},m)
exten => 23880008,3,Dial(SIP/8,15)
exten => 23880008,4,SetCallerID(loncil ->${CALLERIDNUM})
exten => 23880008,5,Dial(SIP/8&SIP/10&SIP/11,15)
exten => 23880008,6,Voicemail(u8)
exten => 23880008,7,Hangup
exten => 23880008,105,Voicemail(b8)
exten => 23880008,106,Hangup

it seems that if the ${CALLERIDNUM} comes in empty or null you cannot
change its value when using an isdn channel.

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

---------------------------------------------------------------------- 
 qwell - 01-18-08 11:08  
---------------------------------------------------------------------- 
Closed due to lack of response.  If you can still reproduce, please reopen
and respond to the question file asked on 12/10. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-18-08 11:08  qwell          Status                   feedback => resolved
01-18-08 11:08  qwell          Resolution               open => suspended   
01-18-08 11:08  qwell          Note Added: 0080854                          
======================================================================




More information about the asterisk-bugs mailing list