[Freeswitch-users] Group calls & voicemail

Michael Collins msc at freeswitch.org
Tue Dec 21 20:49:31 MSK 2010


Marty,

Try putting the ignore_early_media in the actual dialstring:

<action application="bridge"
data="{ignore_early_media=true}${group_call(maui_group@${domain_name}+F)}"/>

If that doesn't work then pastebin the debug output so we can have a look at
what's happening.
-MC

On Tue, Dec 21, 2010 at 2:50 AM, Marty Lee <marty at maui-systems.co.uk> wrote:

>
> Trying to get my head around the dialplan in FreeSwitch and can't
> find a good example of how to do call a group of extensions, but
> if there is no answer, leave it in a common voicemail.
>
> Think of an incoming line to a small business; it rings all the
> extensions and if nobody answers, the message is left in an 'office'
> voicemail, rather than an individual.
>
> I've got an entry in the public dialplan that maps the incoming
> number to the extension 'office'; what I currently have for the
> 'office' extension is below and is a blatant frankenstein job on
> the Local-extensions entry, but doesn't work.
>
> I'll keep looking, but if anyone has any ideas, then feel free to
> point me in the right direction.
>
> m
>
>
>
> <extension name="office">
>    <condition field="destination_number" expression="^office$">
>      <action application="set" data="dialed_extension=$1"/>
>      <action application="export" data="dialed_extension=$1"/>
>      <action application="set" data="ringback=${uk-ring}"/>
>      <action application="set" data="call_timeout=10"/>
>      <action application="set" data="hangup_after_bridge=true"/>
>      <action application="set" data="ignore_early_media=true"/>
>      <action application="set" data="continue_on_fail=true"/>
>      <action application="set"
> data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name}
> var callgroup)}"/>
>
>      <action application="bridge" data="${group_call(maui_group@
> ${domain_name}+F)}"/>
>      <action application="answer"/>
>      <action application="sleep" data="10000"/>
>      <action application="bridge" data="loopback/app=voicemail:default
> ${domain_name} 1000"/>
>    </condition>
>  </extension>
>
> Notes:
>
> 'maui_group' is defined as two test extensions; '1000' is the destination
> voicemail account I want it to go to if there is no answer or the
> handsets are offline.
>
>
>
>
> -----
> Marty Lee                         e: marty at maui-systems.co.uk
> Technical Director                v: +44 845 869 2661
> Maui Systems Ltd                  f: +44 871 433 8922
> Scotland, UK                      w: http://www.maui-systems.co.uk
>
>
> _______________________________________________
> 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/20101221/d8835196/attachment.html 


More information about the FreeSWITCH-users mailing list