[asterisk-bugs] [LibPRI 0011496]: problem changing callerid when it comes in as unknown
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Dec 11 13:45:04 CST 2007
The following issue requires your FEEDBACK.
======================================================================
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: feedback
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:
======================================================================
Date Submitted: 12-08-2007 04:02 CST
Last Modified: 12-11-2007 13:45 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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
12-11-07 13:45 file Status assigned => feedback
======================================================================
More information about the asterisk-bugs
mailing list