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