Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] 2 voicemail questions


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mcampbellsmith at gmai...
Guest





PostPosted: Tue Oct 20, 2009 6:18 pm    Post subject: [Freeswitch-users] 2 voicemail questions Reply with quote

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="email@number1.com,email@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
<mcampbellsmith@gmail.com> wrote:
Quote:
Hi!
Quote:
Quote:
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?

Quote:
Quote:
2. How can I make Freeswitch dial a number AFTER a voicemail is left?

Quote:
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

Quote:
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@myemail.com"/>

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

Quote:

2. How can I make Freeswitch dial a number AFTER a voicemail is left?

api Hangup hook?

I g
Quote:
From: Brian West <brian@freeswitch.org>

Quote:
On Jul 7, 2009, at 9:11 AM, Mark Campbell-Smith wrote:

Quote:
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@myemail.com"/>

Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services