[asterisk-bugs] [Asterisk 0013815]: Missing CallerID in CDR when last app is voicemail

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 4 17:41:30 CST 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-12-04 17:41 CST
====================================================================== 
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



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

---------------------------------------------------------------------- 
 (0095815) otherwiseguy (administrator) - 2008-12-04 17:41
 http://bugs.digium.com/view.php?id=13815#c95815 
---------------------------------------------------------------------- 
I don't seem to be able to recreate this at all now in the branch. 
ssuehring, I know you found a workaround.  So, I'm going to go ahead and
close this one.  If you still run into it, please feel free to reopen. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-04 17:41 otherwiseguy   Note Added: 0095815                          
======================================================================




More information about the asterisk-bugs mailing list