[Freeswitch-users] Excluding busy extensions from intercom

Michael Collins msc at freeswitch.org
Fri Dec 23 01:20:50 MSK 2011


What kind of phones are these?
-MC

On Sun, Dec 18, 2011 at 11:17 PM, Rob Hutton <justlikeef at gmail.com> wrote:

> **
>
> I am trying to get a basic "All Page" setup working and have used the wiki
> and example configs to put together the following dialplan:
>
>
>  <extension name="main_number_10" continue="true">
>
> <condition field="destination_number" expression="^\*40$">
>
> <action application="set" data="api_hangup_hook=conference 40 kick all"/>
>
> <action application="answer"/>
>
> <action application="set"
> data="conference_auto_outcall_caller_id_name=${effective_caller_id_name}"/>
>
> <action application="set"
> data="conference_auto_outcall_caller_id_number=${effective_caller_id_number}"/>
>
> <action application="set" data="conference_auto_outcall_timeout=5"/>
>
> <action application="set" data="conference_auto_outcall_flags=mute"/>
>
> <action application="set"
> data="conference_auto_outcall_prefix={sip_auto_answer=true}"/>
>
> <action application="set" data="sip_exclude_contact=${presence_id}"/>
>
> <action application="conference_set_auto_outcall" data="user/115@
> $${location_1}"/>
>
> <action application="conference_set_auto_outcall" data="user/100@
> $${location_1}"/>
>
> <action application="conference_set_auto_outcall" data="user/warehouse@
> $${location_1}"/>
>
> <action application="conference" data="40 at conference_2"/>
>
> <action application="conference" data="40 kick all"/>
>
> </condition>
>
> </extension>
>
>
> Everything works as expected, except that intercom forces any active calls
> to hold, and likewise forces the originating call on hold.
>
>
> Is there a way of excluding any active users?
>
>
> I have tried both ${network_addr} and ${presence_id} in the
> sip_exclude_contact variable, and neither causes the orginator to be
> excluded.
>
>
> Console log is here:
>
> http://pastebin.freeswitch.org/18022
>
> _________________________________________________________________________
> 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/20111222/0104f26b/attachment.html 


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