What kind of phones are these?
-MC

On Sun, Dec 18, 2011 at 11:17 PM, Rob Hutton <justlikeef@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@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@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

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