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
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@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