I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this. All I want to do is set up an extension to send unanswered calls to it will: - Play a recording (please leave a message.. etc) - Record the message - hangup - then email the message and not leave it behind in a voicemail box. I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app? (IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.) -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Prosperity is the best protector of principle. -- Mark Twain --------------------------------------------------------------------------------
Pretty trivial to implement this with a couple of dial plan rules and a script to package up the recording, transcode optionally, and send it as an attachment. You lose the ability to have a MWI though at that point. I've taken a slight variation on this - using email notifications to a web UI to be able to listen to the message, which still supports an MWI, but the message isn't directly attached (just a "Listen as WAV" and "Listen as MP3" link) which doesn't support maintaining the MWI status. Users can also authenticate (using on-site SSO userid) and manage voicemail from a custom web page. -- Nathan On 07/21/2013 04:13 PM, Karl Schmidt wrote:
I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this.
All I want to do is set up an extension to send unanswered calls to it will:
- Play a recording (please leave a message.. etc)
- Record the message
- hangup
- then email the message and not leave it behind in a voicemail box.
I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app?
(IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Prosperity is the best protector of principle. -- Mark Twain --------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
You can configure the built-in VM app to do this... email + delete file. Also, if you decide to go custom, you can likely borrow some of the fusionpbx's project's voicemail lua script. -Avi On Mon, Jul 22, 2013 at 12:13 AM, Karl Schmidt <karl@xtronics.com> wrote:
I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this.
All I want to do is set up an extension to send unanswered calls to it will:
- Play a recording (please leave a message.. etc)
- Record the message
- hangup
- then email the message and not leave it behind in a voicemail box.
I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app?
(IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Prosperity is the best protector of principle. -- Mark Twain
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
I'd keep the MWI and the voicemail functionality. After the caller leaves a voicemail, send the user an email with a link to the file. When that link is hit, make an API call to freeswitch to mark message as read. From there, you can let the user decide how they retrieve their voicemail. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Jul 21, 2013 5:00 PM, "Avi Marcus" <avi@avimarcus.net> wrote:
You can configure the built-in VM app to do this... email + delete file.
Also, if you decide to go custom, you can likely borrow some of the fusionpbx's project's voicemail lua script.
-Avi
On Mon, Jul 22, 2013 at 12:13 AM, Karl Schmidt <karl@xtronics.com> wrote:
I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this.
All I want to do is set up an extension to send unanswered calls to it will:
- Play a recording (please leave a message.. etc)
- Record the message
- hangup
- then email the message and not leave it behind in a voicemail box.
I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app?
(IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Prosperity is the best protector of principle. -- Mark Twain
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
_________________________________________________________________________ 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-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
Or if you prefer to "fire and forget" then use this param in your vm configs: https://wiki.freeswitch.org/wiki/Mod_voicemail#vm-keep-local-after-email After you email the recording to the user mod_voicemail will purge the file from the local HDD. -MC On Sun, Jul 21, 2013 at 5:11 PM, Brian Foster <bdfoster@davri.com> wrote:
I'd keep the MWI and the voicemail functionality. After the caller leaves a voicemail, send the user an email with a link to the file. When that link is hit, make an API call to freeswitch to mark message as read. From there, you can let the user decide how they retrieve their voicemail.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device. On Jul 21, 2013 5:00 PM, "Avi Marcus" <avi@avimarcus.net> wrote:
You can configure the built-in VM app to do this... email + delete file.
Also, if you decide to go custom, you can likely borrow some of the fusionpbx's project's voicemail lua script.
-Avi
On Mon, Jul 22, 2013 at 12:13 AM, Karl Schmidt <karl@xtronics.com> wrote:
I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this.
All I want to do is set up an extension to send unanswered calls to it will:
- Play a recording (please leave a message.. etc)
- Record the message
- hangup
- then email the message and not leave it behind in a voicemail box.
I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app?
(IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Prosperity is the best protector of principle. -- Mark Twain
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
_________________________________________________________________________ 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-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
_________________________________________________________________________ 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-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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
If anyone wants an examole of my solution let me know. I think I'm going to code it up for use here sometime this week. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Jul 21, 2013 7:11 PM, "Brian Foster" <bdfoster@davri.com> wrote:
I'd keep the MWI and the voicemail functionality. After the caller leaves a voicemail, send the user an email with a link to the file. When that link is hit, make an API call to freeswitch to mark message as read. From there, you can let the user decide how they retrieve their voicemail.
Thank you,
Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana
Sent from a mobile device. On Jul 21, 2013 5:00 PM, "Avi Marcus" <avi@avimarcus.net> wrote:
You can configure the built-in VM app to do this... email + delete file.
Also, if you decide to go custom, you can likely borrow some of the fusionpbx's project's voicemail lua script.
-Avi
On Mon, Jul 22, 2013 at 12:13 AM, Karl Schmidt <karl@xtronics.com> wrote:
I see the voicemail app - but I want to do something much simpler and reading through the books and docs there seems to be several ways to approach this.
All I want to do is set up an extension to send unanswered calls to it will:
- Play a recording (please leave a message.. etc)
- Record the message
- hangup
- then email the message and not leave it behind in a voicemail box.
I can figure out the details, but my question is the BEST way to do this - a script or messing with the voicemail app?
(IMO this is a much better way to handle voice-mail - you check for messages at the same time you check your email - and listening to voicemail in vlc is much better than over a phone - you can scrub back to figure out the number/address etc.. You can forward the message via email if you need to.)
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
Prosperity is the best protector of principle. -- Mark Twain
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
_________________________________________________________________________ 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-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
This turns out to be utterly simple - no need for an external script - much better than phone based voicemail: <include> <extension name="my_voicemail"> <condition field="destination_number" expression="^.*$"> <action application="playback" data="mysounds/answer.wav"/> <action application="set" data="file=/home/freeswitch/voicemail/${strepoch()}.wav"/> <action application="record" data="${file} 300 100 5"/> <action application="sleep" data="30"/> <action application="system" data='echo "See attached Voice-mail message" | mutt -a ${file} -s "Voicemail Message" -- user@example.com' /> </condition> </extension> </include> You can add a second system call to delete after you send if it makes your day. <action application="system" data='rm -f ${file}'/> -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 The only valid market survey is a signed purchase order. -- Jay Last --------------------------------------------------------------------------------
Cool. Sounds like a great recipe to save on the wiki... -Avi On Thu, Jul 25, 2013 at 10:34 PM, Karl Schmidt <karl@xtronics.com> wrote:
This turns out to be utterly simple - no need for an external script - much better than phone based voicemail:
<include> <extension name="my_voicemail"> <condition field="destination_number" expression="^.*$"> <action application="playback" data="mysounds/answer.wav"/> <action application="set" data="file=/home/freeswitch/voicemail/${strepoch()}.wav"/> <action application="record" data="${file} 300 100 5"/> <action application="sleep" data="30"/> <action application="system" data='echo "See attached Voice-mail message" | mutt -a ${file} -s "Voicemail Message" -- user@example.com' /> </condition> </extension> </include>
You can add a second system call to delete after you send if it makes your day.
<action application="system" data='rm -f ${file}'/>
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
The only valid market survey is a signed purchase order. -- Jay Last
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
If you hangup in the middle of recording it won't execute the rest of your dialplan unless you enable zombie exec mode. On Thu, Jul 25, 2013 at 2:45 PM, Avi Marcus <avi@avimarcus.net> wrote:
Cool. Sounds like a great recipe to save on the wiki... -Avi
On Thu, Jul 25, 2013 at 10:34 PM, Karl Schmidt <karl@xtronics.com> wrote:
This turns out to be utterly simple - no need for an external script - much better than phone based voicemail:
<include> <extension name="my_voicemail"> <condition field="destination_number" expression="^.*$"> <action application="playback" data="mysounds/answer.wav"/> <action application="set" data="file=/home/freeswitch/voicemail/${strepoch()}.wav"/> <action application="record" data="${file} 300 100 5"/> <action application="sleep" data="30"/> <action application="system" data='echo "See attached Voice-mail message" | mutt -a ${file} -s "Voicemail Message" -- user@example.com' /> </condition> </extension> </include>
You can add a second system call to delete after you send if it makes your day.
<action application="system" data='rm -f ${file}'/>
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
The only valid market survey is a signed purchase order. -- Jay Last
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
_________________________________________________________________________ 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-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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On 07/25/2013 04:13 PM, Anthony Minessale wrote:
If you hangup in the middle of recording it won't execute the rest of your dialplan unless you enable zombie exec mode.
Hmm - seems to work different depending if it is a sip call or freedtm.. have to dig a little deeper.. The zombie docs don't tell 'how to kill a zombie' ?? ( Perhaps a silver stake? Wait that is for vampires.. ) I'm also puzzling over the answer command - I can send a freetdm call to voicemail with out answering it? What exactly does the answer command do.. I apparently can hangup a call I haven't answered if it comes from freetdm?? -------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 It is high time that we start teaching ALL of the four 'R's: Reading, Riting, Rithmatic, AND Reason. -kps --------------------------------------------------------------------------------
The zombie exec mode executes the rest of the dp even when you hangup. Answer answers, otherwise its just early media. If you don't answer soon the call will end. On Jul 26, 2013 9:23 PM, "Karl Schmidt" <karl@xtronics.com> wrote:
On 07/25/2013 04:13 PM, Anthony Minessale wrote:
If you hangup in the middle of recording it won't execute the rest of your dialplan unless you enable zombie exec mode.
Hmm - seems to work different depending if it is a sip call or freedtm.. have to dig a little deeper..
The zombie docs don't tell 'how to kill a zombie' ?? ( Perhaps a silver stake? Wait that is for vampires.. )
I'm also puzzling over the answer command - I can send a freetdm call to voicemail with out answering it? What exactly does the answer command do.. I apparently can hangup a call I haven't answered if it comes from freetdm??
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434
It is high time that we start teaching ALL of the four 'R's: Reading, Riting, Rithmatic, AND Reason. -kps
--------------------------------------------------------------------------------
_________________________________________________________________________ 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-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
On 07/26/2013 09:26 PM, Anthony Minessale wrote:
The zombie exec mode executes the rest of the dp even when you hangup.
Thus, I can say that "zombie exec stops once all the steps of the extension definition have completed"?
Answer answers, otherwise its just early media. If you don't answer soon the call will end.
This is not what I see with freetdm - I have this extension to deal with incoming analog phone calls <extension name="fxo3"> <!-- <condition field="destination_number" expression="^.+$"> --> <condition field="chan_name" expression="FreeTDM/2:1/" > <action application="tone_detect" data="busy-pan 350,440 r 2 hangup> <action application="set" data="domain_name=$${domain}"/> <action application="log" data="chan_name ${chan_name}"/> <action application="log" data="freetdm_span_name ${freetdm_span_name}"/> <action application="log" data="freetdm_span_number ${freetdm_span_number}"/> <action application="log" data="freetdm_chan_number ${freetdm_chan_number}"/> <action application="transfer" data="my_voicemail XML features" /> </condition> </extension> Just sending to this for now.. <extension name="my_voicemail"> <condition field="destination_number" expression="^.*$"> <!-- <action application="set_zombie_exec"/> --> <action application="playback" data="mysounds/answer.wav"/> <action application="set" data="file=/home/freeswitch/voicemail/${strepoch()}.wav"/> <action application="record" data="${file} 300 100 5"/> <action application="sleep" data="50"/> <action application="system" data='echo "See attached Voicemail message" | mutt -a ${file} -s "Voice-mail Message" -- freeswitch@xtronics.network' /> </condition> </extension> It works - but is never answered. ( Could be I'm confusing myself by starting off focused on a a freetdm line that is an exception to how SIP calls normally work? ) There is a problem with what I have - I rely on the tone detect to hangup and stop the recording, zombie would let me finish doing things, but it works as is - possibly because I have never answered? I would have to have a different voicemail for SIP calls. The freetdm examples in the wiki don't have the answer application in them either.
On Jul 26, 2013 9:23 PM, "Karl Schmidt" <karl@xtronics.com <mailto:karl@xtronics.com>> wrote:
On 07/25/2013 04:13 PM, Anthony Minessale wrote: > If you hangup in the middle of recording it won't execute the rest of your dialplan unless you > enable zombie exec mode.
Hmm - seems to work different depending if it is a sip call or freedtm.. have to dig a little deeper..
The zombie docs don't tell 'how to kill a zombie' ?? ( Perhaps a silver stake? Wait that is for vampires.. )
I'm also puzzling over the answer command - I can send a freetdm call to voicemail with out answering it? What exactly does the answer command do.. I apparently can hangup a call I haven't answered if it comes from freetdm??
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com <mailto:Karl@xtronics.com> Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 <tel:%28785%29%20841-3089> Lawrence, KS 66049 FAX (785) 841-0434 <tel:%28785%29%20841-0434>
It is high time that we start teaching ALL of the four 'R's: Reading, Riting, Rithmatic, AND Reason. -kps --------------------------------------------------------------------------------
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ 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-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
-------------------------------------------------------------------------------- Karl Schmidt EMail Karl@xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 The only way that has ever been discovered to have a lot of people cooperate together voluntarily is through the free market. And that’s why it’s so essential to preserving individual freedom. - Milton Freidman --------------------------------------------------------------------------------
participants (6)
-
Anthony Minessale
-
Avi Marcus
-
Brian Foster
-
Karl Schmidt
-
Michael Collins
-
Nathan Neulinger