[Freeswitch-users] mod_voicemail.c

Michael Collins msc at freeswitch.org
Mon Nov 12 21:20:47 MSK 2012


This information gets passed in to the function in which this query is
called. Look for calls to the function named "deliver_vm" to see what
arguments the calling process sends to it.

-MC

On Fri, Nov 9, 2012 at 4:49 AM, Archana Venugopan <a.venugopan at mundio.com>wrote:

>  Hi,****
>
> ** **
>
> I have got a doubt. In mod_voicemail.c script I see the below query****
>
> ** **
>
> "insert into voicemail_msgs(created_epoch, read_epoch, username, domain,
> uuid, cid_name, "****
>
>                                                           "cid_number,
> in_folder, file_path, message_len, flags, read_flags, forwarded_by) "****
>
>
> "values(%ld,0,'%q','%q','%q','%q','%q','%q','%q','%u','','%q','%q')",
> (long) switch_epoch_time_now(NULL),****
>
>                                                           myid,
> domain_name, use_uuid, caller_id_name, caller_id_number,****
>
>                                                           myfolder,
> file_path, message_len, read_flags, switch_str_nil(forwarded_by));****
>
> ** **
>
> Want to know from where myid and domain_name are picked up. Initially I
> thought it was picking from voicemail_prefs but even if there are no
> entries for a caller in voicemail_prefs table it still insert the value.**
> **
>
> Please let me know on this. ****
>
> ** **
>
> Mod_voicemail.c code is the same as present online.****
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121112/595dc547/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list