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
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
With a patch still in http://jira.freeswitch.org/browse/FS-3797 ... mod_voicemail can save to the channel variables voicemail_message_len how long the actual VM is if one has been saved. Thanks Moc for holding my hand to write this tiny change. It has not been committed yet. -Avi Marcus On Tue, Jan 3, 2012 at 2:33 AM, 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
So you didn't like my billsec trick, eh? :P -MC On Tue, Jan 3, 2012 at 2:45 PM, Avi Marcus <avi@avimarcus.net> wrote:
With a patch still in http://jira.freeswitch.org/browse/FS-3797 ... mod_voicemail can save to the channel variables voicemail_message_len how long the actual VM is if one has been saved. Thanks Moc for holding my hand to write this tiny change.
It has not been committed yet.
-Avi Marcus
On Tue, Jan 3, 2012 at 2:33 AM, 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
No, it's a hack, not a real method. And silly since the patch is ONE line in mod_voicemail. If the user discards their VM it will be long but no message. If that extension has a long VM message, then comparatively it's harder to see how long a VM is. There's no need for a hack here... -Avi On Wed, Jan 4, 2012 at 1:54 AM, Michael Collins <msc@freeswitch.org> wrote:
So you didn't like my billsec trick, eh? :P -MC
On Tue, Jan 3, 2012 at 2:45 PM, Avi Marcus <avi@avimarcus.net> wrote:
With a patch still in http://jira.freeswitch.org/browse/FS-3797 ... mod_voicemail can save to the channel variables voicemail_message_len how long the actual VM is if one has been saved. Thanks Moc for holding my hand to write this tiny change.
It has not been committed yet.
-Avi Marcus
On Tue, Jan 3, 2012 at 2:33 AM, 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
_________________________________________________________________________ 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
participants (2)
-
Avi Marcus
-
Michael Collins