[Freeswitch-dev] "intercept_unbridged_only=true" Not Working
Jerry Richards
jerry.richards at teotech.com
Mon Nov 15 14:41:05 PST 2010
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 at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Monday, November 15, 2010 12:13 PM
To: freeswitch-dev at 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 at gmail.com<mailto:anthony.minessale at gmail.com>> wrote:
commit 36ba0f24625291c85cd1a82e295238ad05fbdf67
Author: Anthony Minessale <anthm at freeswitch.org<mailto:anthm at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20101115/312dfe17/attachment-0001.html
More information about the FreeSWITCH-dev
mailing list