<div>Thanks Michael,</div><div><br></div><div>The paste is at: <a href="http://pastebin.freeswitch.org/18788">http://pastebin.freeswitch.org/18788</a></div><div><br></div><div>Here is my extension:</div><div><br></div><div>
<div> <extension name="mad_boss_intercom"></div><div> <condition field="destination_number" expression="^0911$"></div><div> <action application="set" data="conference_auto_outcall_caller_id_name=Mad Boss1"/></div>
<div> <action application="set" data="conference_auto_outcall_caller_id_number=0911"/></div><div> <action application="set" data="conference_auto_outcall_timeout=60"/></div>
<div> <action application="set" data="sip_exclude_contact=${network_addr}"/></div><div> <action application="conference_set_auto_outcall" data="[sip_auto_answer=true]user/1003@${domain_name}"/></div>
<div> <action application="conference_set_auto_outcall" data="user/1004@${domain_name}"/></div><div> <action application="conference" data="madboss_intercom1@default+flags{endconf|deaf}"/></div>
<div> </condition></div><div> </extension></div></div><div><br></div><div>When I call from, for example, 1002, both 1003 and 1004 pick up and broadcast the page, and when I hang up, all legs get torn down.</div>
<div><br></div><div>When I call from 1003, however, deaf legs to both 1003 and 1004 are set up, but I expect the sip_exclude_contact setting to ensure no leg is set up to 1003. When I hang up, the "page" leg hangs up, but the deaf legs are still up, and the phone at 1003 has its deaf leg on hold. I need to resume the leg and hang it up for the conference to end.</div>
<div><br></div><div>The paste is from this second scenario.</div><div><br></div><div>I looked in the code, and it looks src/mod/endpoints/mod_sofia/mod_sofia.c does an sql lookup and excludes anything "like" the network_addr in the contact header, but I couldn't trace back how this is actually used. Maybe I'm using this extension wrong. Does this work only with groups? (Note that I haven't figured out yet how to use groups properly, since the mad boss groups example in dialplan/default.xml does not work with the groups as defined in directory/default.xml. That "pointer" seems to break things.) In the meantime, I'll look more closely at that.</div>
<div><br></div><div>Thanks for any insight you might have on this.</div><br>Les<br><br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 8:03 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Grab a console debug log and throw it on <a href="http://pastebin.freeswitch.org" target="_blank">pastebin.freeswitch.org</a>. Use "FreeSWITCH Log" for syntax highlighting and then give us the pb URL in this thread.<span class="HOEnZb"><font color="#888888"><br>
-MC</font></span><div class="HOEnZb"><div class="h5"><br><br>
<div class="gmail_quote">On Thu, Mar 29, 2012 at 5:02 PM, Lesley Pervis <span dir="ltr"><<a href="mailto:lesley.pervis@gmail.com" target="_blank">lesley.pervis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I'm using a small variation on the mad boss extension in the default dialplan, much like this, except instead of using groups, I'm using multiple user/100X@${domain} lines.</div><div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Variable_conference_auto_outcall_prefix" target="_blank">http://wiki.freeswitch.org/wiki/Variable_conference_auto_outcall_prefix</a>
</div><div><br></div><div>The problem is that the <span style="line-height:1.1em">sip_exclude contact does not work as I expect. I expect that the conference is NOT bridged to the caller, but it is. I can see in the logs that a conference leg to the calling phone is set up, and the phone answers and puts it on hold. This means there are two conference legs up on the calling phone: the one that initiated the page, and another deaf leg. When the first leg hangs up, the deaf one is on hold, and to end the conference, I have to resume that leg and hang it up.</span></div>
<div><span style="line-height:1.1em"><br></span></div><div><span style="line-height:14px">Anyone know why this isn't working for me?</span></div><div><span style="line-height:14px"><br>
</span></div><div><span style="line-height:14px"><div>FreeSWITCH version: 1.0.head (git-d8d4d20 2012-03-14 19-00-26 +0000)</div></span></div><div><span style="line-height:14px"><br></span></div><div><span style="line-height:14px">Thanks,</span></div>
<div><span style="line-height:1.1em">Les</span></div><br></blockquote></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>