<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><BASE
href=x-msg://1407/>
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi again folks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have posted a dump into the Pastebin (11276),
could someone have a look and perhaps suggest where the problem might be please
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm sure you'll be able to work it out, but the log
is for a call where :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>incoming on PSTN Line (ext 1000)<BR>Group
exts, 111, 1001, 1001<BR>Answered on 111 and requested transfer to 1001 with no
success</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=stevendt@primrosebank.net
href="mailto:stevendt@primrosebank.net">Dave Stevenson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 24, 2009 10:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Call
Transfer Help Please</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Mike,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thanks for the reply. I am using the pre-compiled
Windows binary - is there a 1.0.5 pre-release of that yet ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>FreeSwitch reports its version as 1.0.4 (14460)
but this is not correct, I was sure that I had previously loaded a later SVN
Version, but just did it again, unless I'm not doing it right, the version
number does not seem to be getting updated. </FONT><FONT face=Arial size=2>The
current build in the precompiled binaries area is reported to be 15604 and
I've downloaded and installed that - although when the installer runs it tells
me that it is version 15376. Either way, the "Version" command in FreeSwitch
reports 1.0.4 (14460).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Transfer still does not work for me from the
extension which answers the call.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sorry if my earlier questions were unclear
...</FONT></DIV>
<DIV>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>"What are the correct LISTEN_TO and RESPOND_ON
entries in dialplan.xml ?"</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2>What is the correct "transfer" data string in
features.xml ?</FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE>I don't understand
this question(s)</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I was looking for clarification of the second two
arguments in the bind_meta_app data call, i.e, that the "b" and "s" were the
correct values and also that the "is transfer" "transfer" data argument was
"-bleg"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>That is, that the arguments in the default
dialplan are correct for this scenario - which they appear to be based on your
previous reply to my query.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So, is there anything else that I can check to
see why this is not working ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=mike@jerris.com href="mailto:mike@jerris.com">Michael Jerris</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 24, 2009 8:19
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Call
Transfer Help Please</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On Nov 24, 2009, at 5:29 AM, Dave Stevenson wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to setup call transfer for a phone
without a transfer button. I was on IRC last night and got some pointers
to how this is setup in dialplan.xml and features.xml and what "<FONT
face="Times New Roman">bind meta app</FONT>" does.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Once it became clear how the transfer is
initiated and that the transfer, in the default config, can only
be initiated by the "b" leg of the call, I was able to make
this work as configured in the defaults, i.e, to initiate a transfer
(for an internal call) from the dialled extension to a new
extension.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Now the problem . . .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have an incoming PSTN line that rings a
group of extensions, what I want to be able to do is to give whoever
answers the PSTN call ability to transfer the call on to another
extension.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>There is an ATA (Linksys SPA3101) set up on
the PSTN line with a FreeSwitch extension of 1000, it rings the extension
phones in the group.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'd hoped that the default transfer setup
would handle this without modification - the incoming call on extension
1000 would be the "a" leg, the answering extension would be the "b" leg
and a transfer from "b" would work as per the default config. This does
not work for me though.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm struggling a bit with the "bind meta app"
options and can't seem to make it do what I want.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Could someone please confirm that what I'm
trying to do is feasible and perhaps suggest the right parameters to use
in dialplan.xml and features.xml please ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV>Relevant section in the "is_transfer" section in
features.xml</DIV>
<DIV><action application="transfer" data="-bleg ${digits} XML
default"/></DIV>
<DIV> </DIV>
<DIV>And in default.xml from</DIV>
<DIV><action application="bind_meta_app" data="1 b s
execute_extension::dx XML features"/> to<BR></DIV>
<DIV> </DIV>
<DIV>I've tried posting a call log to the Pastebin (11252/3) but there was
an error - it looks like the dump was too big. Not sure what the maximum
size on pastebin dumps is ?</DIV>
<DIV> </DIV>
<DIV> </DIV></FONT>
<DIV><FONT face=Arial size=2>My understanding (or lack of) of "a" and "b"
are in the scenario described is not helping ...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is the "a" leg the call coming in on the PSTN
line (on Ext 1000) ?</FONT></DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR></DIV>Yes, the calling leg</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Is the answering extension the "b" leg
?</FONT></DIV>
<DIV></DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV>Yes</DIV><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>What are the correct LISTEN_TO and RESPOND_ON
entries in dialplan.xml ?</FONT></DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR></DIV>I don't understand this question</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>What is the correct "transfer" data string in
features.xml ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV></DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<DIV>ditto</DIV><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>Or am I totally on the wrong track here
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>You should just need to make
sure that the bind meta is called in this scenario so the b leg is able to
do it, thats it.</DIV>
<DIV><FONT face=Arial size=2></FONT><BR>
<BLOCKQUOTE type="cite"><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: medium Helvetica; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2>If it is possible to do what I want, and
changes are required to the dialplan.xml and/or features.xml files, is it
possible to have different logic in there such that the actions are
different whether it is the "a" leg or "b" leg that's requesting the
transfer ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>regards</DIV>
<DIV>Dave</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>FreeSwitch Version 1.0.4 (14460)</DIV></DIV></SPAN></BLOCKQUOTE>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<DIV>also, try the latest 1.0.5. pre release or svn trunk to confirm this is
not an issue that has already been fixed.</DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>
<DIV>Mike</DIV></DIV><BR>
<P>
<HR>
<P></P>_______________________________________________<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></BLOCKQUOTE>
<P>
<HR>
<P></P>_______________________________________________<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></BLOCKQUOTE></BODY></HTML>