<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Michael,</DIV>
<DIV> </DIV>
<DIV>Thanks again for your tip on this.</DIV>
<DIV> </DIV>
<DIV>I’ve located the code in mod_dptools.c and made the modification to allow
custom digits bound to the existing functions of att_xfer. This compiles and
appears to work fine but when I choose the “conference digit” all 3 calls go
into limbo. When I press the “complete transfer” key to hang up the B party and
connect A + C, all 3 disconnect. I can see in the debug “threeway(UUID)” where
the UUID looks like a real UUID, so it’s trying to do it just failing for some
reason.</DIV>
<DIV> </DIV>
<DIV>I then reverted back (in case I’d made a mistake), compiled and installed
again but the problem persists, so I’m wondering if I have some dial plan issue
somewhere stopping att_xfer from working properly.</DIV>
<DIV> </DIV>
<DIV>Here is my feature extension, bound to a digit so the B party can initiate
att_xfer – is there anything obviously wrong with what I am doing here?</DIV>
<DIV> </DIV>
<DIV><extension name="start_att_xfer"></DIV>
<DIV> <condition field="destination_number"
expression="^START_ATT_XFER$"></DIV>
<DIV> <action application="set"
data="continue_on_fail=true"/></DIV>
<DIV> <action application="set"
data="origination_cancel_key=#"/></DIV>
<DIV> <action application="set"
data="att_xfer_conference_key=5"/></DIV>
<DIV> <action application="set"
data="att_xfer_txcomplete_key=1"/></DIV>
<DIV> <action application="log" data="INFO inside
att_xfer"/> </DIV>
<DIV> <action application="read" data="4 12
'tone_stream://%(10000,0,350,440)' divertnumber 5000 #"/></DIV>
<DIV> <action application="log" data="INFO att_xfer to
${divertnumber}"/>
</DIV>
<DIV> <action application="att_xfer"
data="sofia/gateway/sip_gateway/44${divertnumber:1}"/></DIV>
<DIV> </condition></DIV>
<DIV></extension></DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Regards,</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV><FONT size=3 face=Calibri>Stuart</FONT></DIV>
<DIV><FONT size=3 face=Calibri></FONT> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=msc@freeswitch.org
href="mailto:msc@freeswitch.org">Michael Collins</A> </DIV>
<DIV><B>Sent:</B> Sunday, August 04, 2013 12:57 AM</DIV>
<DIV><B>To:</B> <A title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A>
</DIV>
<DIV><B>Subject:</B> Re: [Freeswitch-users] att_xfer
origination_cancel_key</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-SIZE: small; FONT-FAMILY: 'Calibri'; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; TEXT-DECORATION: none; DISPLAY: inline">
<DIV dir=ltr>
<DIV>
<DIV>
<DIV>You may also research and see how you might add this yourself. The place to
look is in mod_dialplan.c at approx line 2230 inside static switch_status_t
xfer_on_dtmf(...)
:<BR><BR> if
(dtmf->digit == '0')
{<BR>
switch_caller_extension_t *extension =
NULL;<BR>
const char *app = "three_way";<BR></DIV><snip><BR><BR></DIV>In any case,
JM is right that it is relatively easy to change that to check for a channel
variable. If you peruse the code you'll find lots of examples of that sort of
thing. If it's not your cup of tea then by all means open a jira as a feature
request.<BR><BR></DIV>-MC<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Sat, Aug 3, 2013 at 12:57 AM, Stuart Mills <SPAN
dir=ltr><<A href="mailto:stuart.mills3@btopenworld.com"
target=_blank>stuart.mills3@btopenworld.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV>That is great, thanks for your reply.</DIV>
<DIV> </DIV>
<DIV>I haven't opened a Jira before, so will read up on the wiki and put a
request in.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV>Stuart<BR><BR>Sent from my iPhone</DIV>
<DIV>
<DIV class=h5>
<DIV><BR>On 3 Aug 2013, at 04:31, João Mesquita <<A
href="mailto:jmesquita@freeswitch.org"
target=_blank>jmesquita@freeswitch.org</A>> wrote:<BR><BR></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV>I am not looking at the code right now but if I recall correctly no you
cannot. It is trivial to make single key configurable. Open a Jira and I can
make a patch for it to configure using channel variables. If you want
multiple keys like bda, forget it. A lot more complicated...<BR><BR>Sent
from my iPhone</DIV>
<DIV><BR>On Aug 2, 2013, at 6:17 PM, "Stuart Mills" <<A
href="mailto:stuart.mills3@btopenworld.com"
target=_blank>stuart.mills3@btopenworld.com</A>> wrote:<BR><BR></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I have noticed that att_xfer has a configurable cancel key to stop
the transfer mid dial, is there an option to change keys for the other
transfer features? </DIV>
<DIV> </DIV>
<DIV>0 is conference all 3 parties at the moment, but I'd like to
designate a 4 or some other key, is this possible?</DIV>
<DIV> </DIV>
<DIV>Many Thanks,</DIV>
<DIV> </DIV>
<DIV>Stuart Mills</DIV></DIV></DIV></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN>_________________________________________________________________________</SPAN><BR><SPAN>Professional
FreeSWITCH Consulting Services:</SPAN><BR><SPAN><A
href="mailto:consulting@freeswitch.org"
target=_blank>consulting@freeswitch.org</A></SPAN><BR><SPAN><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server</SPAN><BR><SPAN><A
href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>Official
FreeSWITCH Sites</SPAN><BR><SPAN><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>FreeSWITCH-users
mailing list</SPAN><BR><SPAN><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></SPAN><BR><SPAN>UNSUBSCRIBE:http://<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>lists.freeswitch.org/mailman/options/freeswitch-users</A></SPAN><BR><SPAN><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN>_________________________________________________________________________</SPAN><BR><SPAN>Professional
FreeSWITCH Consulting Services:</SPAN><BR><SPAN><A
href="mailto:consulting@freeswitch.org"
target=_blank>consulting@freeswitch.org</A></SPAN><BR><SPAN><A
href="http://www.freeswitchsolutions.com"
target=_blank>http://www.freeswitchsolutions.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>FreeSWITCH-powered
IP PBX: The CudaTel Communication Server</SPAN><BR><SPAN><A
href="http://www.cudatel.com"
target=_blank>http://www.cudatel.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>Official
FreeSWITCH Sites</SPAN><BR><SPAN><A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://wiki.freeswitch.org"
target=_blank>http://wiki.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://www.cluecon.com"
target=_blank>http://www.cluecon.com</A></SPAN><BR><SPAN></SPAN><BR><SPAN>FreeSWITCH-users
mailing list</SPAN><BR><SPAN><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A></SPAN><BR><SPAN><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></SPAN><BR><SPAN>UNSUBSCRIBE:http://<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>lists.freeswitch.org/mailman/options/freeswitch-users</A></SPAN><BR><SPAN><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A></SPAN><BR></DIV></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><BR
clear=all><BR>-- <BR>Michael S Collins<BR>Twitter: @mercutioviz<BR><A
href="http://www.FreeSWITCH.org"
target=_blank>http://www.FreeSWITCH.org</A><BR><A href="http://www.ClueCon.com"
target=_blank>http://www.ClueCon.com</A><BR><A href="http://www.OSTAG.org"
target=_blank>http://www.OSTAG.org</A><BR><BR></DIV>
<P>
<HR>
_________________________________________________________________________<BR>Professional
FreeSWITCH Consulting
Services:<BR>consulting@freeswitch.org<BR>http://www.freeswitchsolutions.com<BR><BR>FreeSWITCH-powered
IP PBX: The CudaTel Communication
Server<BR>http://www.cudatel.com<BR><BR>Official FreeSWITCH
Sites<BR>http://www.freeswitch.org<BR>http://wiki.freeswitch.org<BR>http://www.cluecon.com<BR><BR>FreeSWITCH-users
mailing
list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></DIV></DIV></DIV></BODY></HTML>