[Freeswitch-users] default dialplan: signal busy when busy and voicemail disabled

Brian Foster bdfoster at endigotech.com
Tue May 22 19:00:35 MSD 2012


http://wiki.freeswitch.org/wiki/Mod_commands#user_data

-BDF

On Tue, May 22, 2012 at 4:24 AM, John Jacob <lists.jj at googlemail.com> wrote:

> Hi,
>
> I guess you are all aware of the default dialplan entry for local
> extensions:
>
>    <extension name="Local_Extension">
>      <condition field="destination_number" expression="^(10[01][0-9])$">
> [...]
>        <action application="bridge"
> data="user/${dialed_extension}@${domain_name}"/>
>        <action application="answer"/>
>        <action application="sleep" data="1000"/>
>        <action application="bridge"
> data="loopback/app=voicemail:default ${domain_name}
> ${dialed_extension}"/>
>      </condition>
>    </extension>
>
>
> So, if a caller calls a callee, which disabled his voicemail and is
> currently busy/unavailable FreeSWITCH plays a good bye message and
> hangs up. This is unexpected for most of our clients and they are
> interpreting it as a malfunctioning PBX.
>
> I'd like to change this default behavior and respect the extension's
> setting for "vm-enabled".
> If it's enabled, the default behavior is fine, if it's disabled, I'd
> like FreeSWITCH to signal *busy* to the caller.
>
>
> It looks like I can't test for user parameters with conditions, so I
> don't have a clue how to implement this?
>
> For now I just removed answer,sleep and bridge to voicemail and busy
> is signalled just fine, but I'm aware that I killed voicemail
> completely by doing this ;)
>
>
> Any hints or tipps? I can't implement dynamic dialplans with mod_curl
> though, because those don't fit into the current setup.
>
>
> Thanks,
>
>  Johannes
>
> _________________________________________________________________________
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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
>



-- 
Brian D. Foster
Endigo Computer LLC
Email: bdfoster at endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA

This message contains confidential information and is intended for those
listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If
you are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120522/9e000397/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list