1. Can I email the voicemail message to multiple email addresses? I revisited this again after not requiring it for a while. A comma separated list in the extension.xml file does work. The problem was the template file. Once I removed < and > in the To: field, I can send to multple emails no problems:
In 1000.xml (for example) <param name="vm-mailto" value="em...@number1.com,em...@number2.com"/> And then I editied voicemail.tpl and changed the second line from: To: <${voicemail_email}> TO: To: ${voicemail_email} Not sure if this is a fault in the mail server or not. Maybe the default templates should be changed to handle this? On Fri, Jul 10, 2009 at 8:57 PM, Mark Campbell-Smith <mcampbellsm...@gmail.com> wrote: > Hi! >>> 1. Can I email the voicemail message to multiple email addresses? > A comma separated list does not work in the extensions.xml file > (1000.xml), but it does work if I hard code the email addresses into > the notify-voicemail.tpl file. > > Could this be added to the switch so that it can handle comma separated lists? > >>> 2. How can I make Freeswitch dial a number AFTER a voicemail is left? > >>api Hangup hook? > > i want the 'voicemail' application to appear to call the extension to > notify the user that there is a waiting message. This is an extract > from my dialplan.xml: > > <condition field="destination_number" expression="^(10[01][0-9])$"> > <action application="set" data="dialed_extension=$1"/> > <action application="export" data="dialed_extension=$1"/> > <!-- <action application="set" data="ringback=${us-ring}"/> --> > <action application="set" data="call_timeout=30"/> > <action application="set" data="hangup_after_bridge=true"/> > <action application="set" data="continue_on_fail=true"/> > <action application="bridge" > data="user/${dialed_extensi...@${domain_name}"/> > <action application="answer"/> > <action application="sleep" data="1000"/> > <action application="voicemail" data="default ${domain_name} > ${dialed_extension}"/> > </condition> > <condition > field="${vm_boxcount(${destination_numb...@${domain_name})}" > expression="^(1)$"> > <action application="log" data="MSGBOX > ${vm_boxcount(${dialed_extensi...@${domain_name})}"/> > <action application="set" data="api_hangup_hook=originate > sofia/internal_nat/${dialed_etension}%${domain_name} default default > Message 4000 4000 3"/> > > This only works if the B leg (ie voicemail application) hangs up > first. This would be an unusual situation and does not achieve what I > want... is there any other way to achieve this? > > Thanks > >> Hi! >> >> I have 2 questions regarding voicemail ... >> >> 1. Can I email the voicemail message to multiple email addresses? If >> so, what format is this in? >> <param name="vm-mailto" value="m...@myemail.com"/> > > Try a comma sep. list. Not sure if it will work. > >> >> 2. How can I make Freeswitch dial a number AFTER a voicemail is left? > > api Hangup hook? > > I g >> From: Brian West <br...@freeswitch.org> > >> On Jul 7, 2009, at 9:11 AM, Mark Campbell-Smith wrote: > >> Hi! >> >> I have 2 questions regarding voicemail ... >> >> 1. Can I email the voicemail message to multiple email addresses? If >> so, what format is this in? >> <param name="vm-mailto" value="m...@myemail.com"/> > >> Try a comma sep. list. Not sure if it will work. > _______________________________________________ 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