[Freeswitch-users] 2 voicemail questions

Mark Campbell-Smith mcampbellsmith at gmail.com
Fri Jul 10 02:57:55 PDT 2009


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_extension}@${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_number}@${domain_name})}"
expression="^(1)$">
         <action application="log" data="MSGBOX
${vm_boxcount(${dialed_extension}@${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="me at 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 <brian at 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="me at myemail.com"/>

> Try a comma sep. list.  Not sure if it will work.




More information about the FreeSWITCH-users mailing list