I think the patch didn't push confirm you have the revision i posted. On Mon, Nov 15, 2010 at 4:41 PM, Jerry Richards <jerry.richards@teotech.com> wrote:
Okay, maybe something is wrong with my configuration? FS is connecting the call when I dial "**<extension>" from another phone after the call was answered at extension. I posted a trace to the pastebin: http://pastebin.freeswitch.org/14499.
CONFIGURATION:
Freeswitch Server: FreeSWITCH Version 1.0.head (git-97c65a0 2010-11-15 12-22-09 -0600))
Hardphone Ext 1003
Hardphone Ext 1004
Hardphone Ext 1005
conf/dialplan/default.xml:
<extension name="intercept-ext">
<condition field="destination_number" expression="^\*\*(\d+)$">
<action application="set" data="intercept_unanswered_only=true"/>
<action application="answer"/>
<action application="intercept" data="${hash(select/${domain_name}-last_dial_ext/$1)}"/>
<action application="sleep" data="2000"/>
</condition>
</extension>
SCENARIO:
1) 1004 calls 1003
2) 1003 answers call
3) 1005 calls **1003
4) Freeswitch takes call from 1003 and establishes talk path between 1004 and 1005
Thanks,
Jerry
From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Monday, November 15, 2010 12:13 PM
To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] "intercept_unbridged_only=true" Not Working
On Mon, Nov 15, 2010 at 11:59 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
commit 36ba0f24625291c85cd1a82e295238ad05fbdf67 Author: Anthony Minessale <anthm@freeswitch.org> Date: Mon Nov 15 13:51:27 2010 -0600
add intercept_unanswered_only var akin to intercept_unbridged_only
try this patch if you could document it on the wiki i would appreciate it.
FYI I created the necessary links, stub, etc. so that all you have to do is confirm that the information on this page is correct:
http://wiki.freeswitch.org/wiki/Variable_intercept_unanswered_only
Also, if there are any other caveats please add them to this page.
-MC
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900