[asterisk-bugs] [Asterisk 0013815]: Missing CallerID in CDR when last app is voicemail
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 30 20:16:53 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13815
======================================================================
Reported By: ssuehring
Assigned To: otherwiseguy
======================================================================
Project: Asterisk
Issue ID: 13815
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.6.0.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-10-30 15:54 CDT
Last Modified: 2008-10-30 20:16 CDT
======================================================================
Summary: Missing CallerID in CDR when last app is voicemail
Description:
Hello,
I believe this to be a bug but I haven't had any luck combing the code for
where it might be happening. I have a dialplan (included in this ticket)
that ends with a call to VoiceMail. However, whenever this happens the CDR
record contains no callerid information, neither number nor name. The CDR
record is indeed produced but the callerid info is empty. This is true
regardless of the method for CDR, of which I'm using cdr-csv, cdr_custom,
and cdr-mysql. None of them contain callerid info when the last app is
voicemail.
Here's a CDR record for a voicemail-answered call:
"","","s","dp-incoming","","DAHDI/3-1","SIP/gxp2000-081ebaa8","VoiceMail","110 at default","2008-10-30
15:29:09","2008-10-30 15:29:36","2008-10-30 15:29:48",39
,12,"ANSWERED","DOCUMENTATION","1225398549.14",""
Here's a CDR record for a person-answered call (using X's to replace the
phone number):
"","71534XXXXX","s","dp-open","""UW STE"" <71534XXXXX>","DAHDI/3-1","SI
P/spa31-b7a4ae38","Dial","SIP/spa31&SIP/gxpste1&SIP/gxp2000,25","2008-1
0-30 15:08:25","2008-10-30 15:08:35","2008-10-30
15:09:18",53,43,"ANSWERED","DOC
UMENTATION","1225397305.11",""
This occurs regardless of whether the person leaves a voicemail or not. I
did a NoOp and the callerid is sent to the messages log just fine for
either type of call.
Here's the dialplan:
[dp-incoming]
exten => s,1,Gosub(checkid,s,1)
exten => s,n,GotoIfTime(08:00-17:00,*,*,*?dp-open,s,1)
exten => s,n,GotoIfTime(17:01-07:59,*,*,*?dp-closed,s,1)
exten => s,n,Goto(dp-closed,s,1)
[dp-open]
exten => s,1,Dial(SIP/spa31&SIP/gxpste1&SIP/gxp2000,25)
exten => s,n,Answer
exten => s,n,Wait(2)
exten => s,n,VoiceMail(110 at default)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup()
Please let me know if I can provide any additional details.
Steve
======================================================================
----------------------------------------------------------------------
(0094454) ssuehring (reporter) - 2008-10-30 20:16
http://bugs.digium.com/view.php?id=13815#c94454
----------------------------------------------------------------------
Note that after leaving the voicemail the channel falls through to a
NOANSWER state. As I type this I'm realizing it's probably not relevant
since I'm getting the CDR entry just no callerid.
[Oct 30 20:15:43] VERBOSE[3715] logger.c: -- Recording automatically
stopped
after a silence of 3 seconds
[Oct 30 20:15:43] VERBOSE[3715] logger.c: -- <DAHDI/3-1> Playing
'auth-thank
you.gsm' (language 'en')
[Oct 30 20:15:44] VERBOSE[3715] logger.c: -- Auto fallthrough, channel
'DAHD
I/3-1' status is 'NOANSWER'
[Oct 30 20:15:44] VERBOSE[3715] logger.c: -- Hungup 'DAHDI/3-1'
Issue History
Date Modified Username Field Change
======================================================================
2008-10-30 20:16 ssuehring Note Added: 0094454
======================================================================
More information about the asterisk-bugs
mailing list