Avi,

Are you looking at the XML CDR for the call leg that goes to voicemail? If so, check out the billsec value. The lower the value, the less likely they left a message. If it's zero then they definitely did not leave a message. I'd ask Tony for confirmation, but based on my experiments (with the "Local_Extension") I'd wager that the billsec variable only goes above zero if the voicemail app gets to the point where it actually records something. As a rule of thumb, I'd say anything less than four seconds should be considered "they did not leave a voicemail." 

Do some experimenting and let us know what you come up with.

-MC

On Mon, Jan 2, 2012 at 4:33 PM, Avi Marcus <avi@avimarcus.net> wrote:
Can the xml_cdrs tell me if the user actually left a voicemail, rather than merely that VM picked up? I don't see where.
I know it's on ESL, and it hits the voicemail email code.. what's the easiest way to integrate it with the CDRs? preferably with the xml_cdrs?
Maybe a patch to the xml_cdr mod? Or the easiest is to have mod_voicemail set a channel variable once a voicemail gets marked as saved or the like?

Is there currently a solution for this that I missed?

Thanks,
-Avi 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org