<html><head><base href="x-msg://1407/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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>&nbsp;</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&nbsp;what "<font face="Times New Roman">bind meta app</font>" does.</font></div><div>&nbsp;</div><div><font face="Arial" size="2">Once it became clear how the transfer is initiated and that the transfer, in the default config,&nbsp;can only be&nbsp;initiated by the "b" leg of the call, I was able to make this&nbsp;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>&nbsp;</div><div><font face="Arial" size="2">Now the problem . . .</font></div><div><font face="Arial" size="2"></font>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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">&nbsp;</font></div><font face="Arial" size="2"><div>Relevant section&nbsp;in the "is_transfer" section in features.xml</div><div>&lt;action application="transfer" data="-bleg ${digits} XML default"/&gt;</div><div>&nbsp;</div><div>And&nbsp;in default.xml from</div><div>&lt;action application="bind_meta_app" data="1 b s execute_extension::dx XML features"/&gt; to<br></div><div>&nbsp;</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>&nbsp;</div><div>&nbsp;</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>&nbsp;</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><br></div>Yes, the calling leg</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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><br></div><div>Yes</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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><br></div>I don't understand this question</div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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>&nbsp;</div><div></div></div></span></blockquote><div><br></div><div>ditto</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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>&nbsp;</div></div></span></blockquote><div><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><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -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>&nbsp;</div><div>regards</div><div>Dave</div><div>&nbsp;</div><div>FreeSwitch Version 1.0.4 (14460)</div></div></span></blockquote><div><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><br></div><div>Mike</div></div><br></body></html>