[Freeswitch-users] mod_voicemail.c

Archana Venugopan a.venugopan at mundio.com
Fri Nov 9 15:49:57 MSK 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121109/eb674427/attachment-0001.html 


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