VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mcampbellsmith at gmai... Guest
|
Posted: Tue Jul 07, 2009 9:26 am Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
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"/>
2. How can I make Freeswitch dial a number AFTER a voicemail is left?
Thanks!
_______________________________________________
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 |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jul 07, 2009 10:32 am Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
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 (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?
|
|
Back to top |
|
|
mctch at yahoo.com Guest
|
Posted: Tue Jul 07, 2009 12:46 pm Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
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"/>
I've been doing this successfully for quite some time using the mailer script that I wrote I just updated the wiki so that it would show the version I have been using that allows you to send multiple emails:
You can use a comma or semi-colon between emails and send as many as you want.
example:
<param name="vm-mailto" value="me2@myemail.com; (me@myemail.com)me3@myemail.com"/>
or
<param name="vm-mailto" value="me2@myemail.com, (me@myemail.com)me3@myemail.com"/>
http://wiki.freeswitch.org/wiki/PHP_email#mailer_app.php
The script can send to a mail server to send over plain smtp, smtp authentication or even smtp tls which works with gmail.
Mark J Crane
mctch@yahoo.com
--- On Tue, 7/7/09, Mark Campbell-Smith <mcampbellsmith@gmail.com> wrote:
|
|
Back to top |
|
|
mcampbellsmith at gmai... Guest
|
Posted: Fri Jul 10, 2009 4:59 am Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
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?
|
|
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 |
|
|
mike at jerris.com Guest
|
Posted: Fri Jul 10, 2009 11:05 am Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
could you post how you tired to do it in dialplan that didn't work?
Mike
On Jul 10, 2009, at 5:57 AM, Mark Campbell-Smith 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?
|
|
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
|
_______________________________________________
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 |
|
|
mcampbellsmith at gmai... Guest
|
Posted: Sat Jul 11, 2009 8:20 am Post subject: [Freeswitch-users] 2 voicemail questions |
|
|
Hi Mike,
This was my dialplan (extracted from my last email):
Quote: | Quote: | 2. How can I make Freeswitch dial a number AFTER a voicemail is left?
|
|
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?
On Sat, Jul 11, 2009 at 2:04 AM, Michael Jerris<mike@jerris.com> wrote:
Quote: | could you post how you tired to do it in dialplan that didn't work?
Mike
On Jul 10, 2009, at 5:57 AM, Mark Campbell-Smith 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?
|
|
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
|
_______________________________________________
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
|
_______________________________________________
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 |
|
|
|
|
|
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
|