Hello, I created an extension in my dialplan so that when an incoming call arrives, it rings a group of lines and then fallback to the voicemail if no line is answered. I wanted then that when voicemail starts, the calling party could dial some numbers to fetch the voicemail. I used bind_meta_app for this. My problem is, when using bind_meta_app, the voicemail continues, and I sometimes experience freeswitch hanging after the call is over, depending on when the bind_meta_app is activated. How can I make freeswitch terminate the first voicemail instance when activating the bind_meta_app. Here's my extension : Thanks François
On Wed, Dec 02, Fran??ois Legal wrote:
Hello,
I created an extension in my dialplan so that when an incoming call arrives, it rings a group of lines and then fallback to the voicemail if no line is answered.
I wanted then that when voicemail starts, the calling party could dial some numbers to fetch the voicemail. I used bind_meta_app for this. My problem is, when using bind_meta_app, the voicemail continues, and I sometimes experience freeswitch hanging after the call is over, depending on when the bind_meta_app is activated.
The action your looking for is what is bound to "*" in the default voicemail config. Look at autoload_configs/voicemail.conf.xml <param name="vmain-key" value="*"/> HTH --FC
On Wed, 2 Dec 2009 08:45:27 -0500, Frank Carmickle <frank@carmickle.com> wrote:
On Wed, Dec 02, Fran??ois Legal wrote:
Hello,
I created an extension in my dialplan so that when an incoming call arrives, it rings a group of lines and then fallback to the voicemail if no line is answered.
I wanted then that when voicemail starts, the calling party could dial some numbers to fetch the voicemail. I used bind_meta_app for this. My problem is, when using bind_meta_app, the voicemail continues, and I sometimes experience freeswitch hanging
after
the call is over, depending on when the bind_meta_app is activated.
The action your looking for is what is bound to "*" in the default voicemail config. Look at autoload_configs/voicemail.conf.xml
<param name="vmain-key" value="*"/>
HTH --FC
I tried to remove the bind_meta_app from the dialplan, call the extension then press * when the greeting message starts, but it did not bring the voicemail prompt for my id and password. François
_______________________________________________ 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 Wed, Dec 02, Fran??ois Legal wrote: Snip...
voicemail config. Look at autoload_configs/voicemail.conf.xml
<param name="vmain-key" value="*"/>
HTH --FC
I tried to remove the bind_meta_app from the dialplan, call the extension then press * when the greeting message starts, but it did not bring the voicemail prompt for my id and password.
Did you check your voicemail config as I pointed out? autoload_configs/voicemail.conf.xml should have <param name="vmain-key" value="*"/> And what exactly do you mean by "Remote fetching of voicemail?" --FC
I did check (and modify as my voicemail extension name is not vmain) the voicemail.conf.xml, and vmain-key is *. What I mean by remote fetching of voicemail, is that someone may dial in, either from inside (via FXS or even SIP) or outside (via FXO), then when reaching the voice mail to leave a message, he could dial some specific digit (or digits) to reach the voicemail login and fetch his voice mails. I can do this using bind_meta_app (it is already working), but then I need to terminate the extension when invoking the meta_app, otherwise freeswitch may sometimes hang if the meta app is called after the "leave a message" voicemail tone. François On Wed, 2 Dec 2009 11:00:11 -0500, Frank Carmickle <frank@carmickle.com> wrote:
On Wed, Dec 02, Fran??ois Legal wrote: Snip...
voicemail config. Look at autoload_configs/voicemail.conf.xml
<param name="vmain-key" value="*"/>
HTH --FC
I tried to remove the bind_meta_app from the dialplan, call the extension then press * when the greeting message starts, but it did not bring the voicemail prompt for my id and password.
Did you check your voicemail config as I pointed out? autoload_configs/voicemail.conf.xml should have
<param name="vmain-key" value="*"/>
And what exactly do you mean by "Remote fetching of voicemail?"
--FC
_______________________________________________ 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 Wed, Dec 02, Fran??ois Legal wrote:
I did check (and modify as my voicemail extension name is not vmain) the voicemail.conf.xml, and vmain-key is *.
What I mean by remote fetching of voicemail, is that someone may dial in, either from inside (via FXS or even SIP) or outside (via FXO), then when reaching the voice mail to leave a message, he could dial some specific digit (or digits) to reach the voicemail login and fetch his voice mails.
I can do this using bind_meta_app (it is already working), but then I need to terminate the extension when invoking the meta_app, otherwise freeswitch may sometimes hang if the meta app is called after the "leave a message" voicemail tone.
Alright. I missed what vmain actually does in the voicemail config. It actually calls the extension named vmain in the dialplan. So if you don't have this then you will need to have one. Thanks for asking this question because my voicemail auth was broken and I didn't even know it! I fixed it and a working extension for vmain can look like this. <extension name="vmain"> <condition field="destination_number" expression="^vmain$|^voicemail$|^\*98$|^\*86$"> <action application="answer"/> <action application="set" data="voicemail_authorized=false"/> <action application="sleep" data="200"/> <action application="voicemail" data="check default $${domain} ${effective_caller_id_number}"/> </condition> </extension> HTH --FC
bind to the transfer app so that it transfers the call to the vm extension that way the current application is always interrupted and replaced. The special "inline" dialplan lets you transfer calls right to an application use "inline" as the dp name and voicemail:<options> as the extension On Wed, Dec 2, 2009 at 4:57 AM, François Legal <devel@thom.fr.eu.org> wrote:
Hello,
I created an extension in my dialplan so that when an incoming call arrives, it rings a group of lines and then fallback to the voicemail if no line is answered.
I wanted then that when voicemail starts, the calling party could dial some numbers to fetch the voicemail. I used bind_meta_app for this. My problem is, when using bind_meta_app, the voicemail continues, and I sometimes experience freeswitch hanging after the call is over, depending on when the bind_meta_app is activated.
How can I make freeswitch terminate the first voicemail instance when activating the bind_meta_app.
Here's my extension :
Thanks
François
_______________________________________________ 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 <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Frank Carmickle
-
François Legal