[Freeswitch-users] DIALPLAN: Bridge, Hang Up and Voice mail
Avi Marcus
avi at avimarcus.net
Fri Mar 9 10:26:35 MSK 2012
1) It's an option that defaults to false. See:
http://wiki.freeswitch.org/wiki/Variable_hangup_after_bridge
2) Same, it's an option that default to "don't continue on error" To
change, see: http://wiki.freeswitch.org/wiki/Variable_continue_on_fail
I'm pretty sure these are both in the default configurations. Did you take
a look at them? They are pretty good example of many of the most common use
cases.
-Avi
On Fri, Mar 9, 2012 at 5:54 AM, Sean Devoy <sdevoy at bizfocused.com> wrote:
> Hi,****
>
> ** **
>
> I have a couple of questions regarding XML dialplan functionality.****
>
> ** **
>
> First, using this simple dial plan:****
>
> <extension name="220" >****
>
> <condition field="destination_number" expression="^220$">****
>
> <action application="set" data="
> effective_caller_id_number=${internal_caller_id_number}"/>****
>
> <action application="set" data="
> effective_caller_id_name=${internal_caller_id_name}"/>****
>
> <action application="set" data="ringback=${us-ring}"/>****
>
> <action application="set" data="call_timeout=20"/>****
>
> <action application="bridge" data="sofia/external/220%
> mydomainname.com"/> ****
>
> <action application="answer"/>****
>
> <action application="voicemail" data="default voicemail_BFIS 220"/>*
> ***
>
> <action application="hangup"/>****
>
> </condition>****
>
> </extension>****
>
> ** **
>
> I can call 220, if there is no answer it goes to voicemail. GOOD.****
>
> However, if that user answers and then hangs up, I still go to voice mail..
> I thought bridge terminated the call.****
>
> Question 1: Why does the dial plan continue to voicemail after bridge
> answers, talks and hangs up?****
>
> ** **
>
> Question 2: If this user’s phone is unplugged, the bridge kicks an error
> and it DOES NOT go to voice mail. How can I detect “extension unavailable”
> in the dial plan and perhaps forward to a cell phone?****
>
> ** **
>
> ** **
>
> Thanks in advance,****
>
> Sean****
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120309/e99d097c/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list