You can setting variables in a user directory entry (<variable> entries in <variables> section). Examples are on the Wiki. They'll be set for incoming calls and would affect the behaviour. If you're wanting to set them on the outbound channels based on destination, I'd suggest configuring the destinations as sofia gateways. In the gateway definitions you can set variables to be set on incoming/outgoing/both calls via that gateway... setting outbound variables there should affect the bleg. Again, examples on the wiki. On 26 November 2012 14:58, sparklezou <sparklezou@163.com> wrote:
** ** Hi Mod_spandsp developers,
Is it possible to develop Mod_spandsp like "Mod_voicemail"?
I means, set all of the related parameters in the user configure file. such as "vm-enabled", "vm-mailto", "vm-mailfrom", and so on. Also the mail sender configuration, such as SMTP.
Something seemd the same, send "voice message" via eamil. Send "fax file" via email.
Thanks!
2012-11-26 ------------------------------ sparklezou **
_________________________________________________________________________ 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-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org