On Tue, May 22, 2012 at 4:24 AM, John Jacob
<lists.jj@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@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
Join Us At ClueCon - Aug 7-9, 2012
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