<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[No ${BLINDTRANSFER} set]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have a complex dialplan which takes care of the ${BLINDTRANSFER} variable. If this is set, the called party will ring up a few seconds and if unanswered the call goes back to the transfering extension. This works well for months, when the phone does the transfer.</p>
<p dir="auto">But if I transfer a call via FOP2 (blindtransfer), the variable will not be set, so the destination rings for ever (or 'til the caller hung up). Is there a way, to set this variable, when transfering with FOP2?</p>
<p dir="auto">Asterisk 1.8, FOP2.27 (same with 2.26).</p>
<p dir="auto">Kind regards<br />
Dominique Görsch</p>
<p dir="auto">Dialplan example (See prio 4 and 19ff.):</p>
<pre><code>CLI&gt; dialplan show 490@from-internal                                                                       [553/20005]
[ Context 'from-internal' created by 'pbx_config' ]
  '490' =&gt;          hint: SIP/4901&amp;SIP/4902                       [pbx_config]
  '_XXX' =&gt;         hint: SIP/${EXTEN}                            [pbx_config]
[ Included context 'localphones' created by 'pbx_config' ]
  '490' =&gt;          1. NoOp(=== Interner Double-Ruf ===)          [pbx_config]
                    2. NoOp(CLI:${CALLERID(NUM)}   CLD:490 (SIP/4901 &amp; SIP/4902)) [pbx_config]
                    3. NoOp(STATE:SIP/4901/${DEVICE_STATE(SIP/4901)}   SIP/4902/${DEVICE_STATE(SIP/4902)}) [pbx_config]
                    4. GotoIf($["${BLINDTRANSFER}" != ""]?TRANSFER) [pbx_config]
                    5. GotoIf($["${DB_EXISTS(RUL/${EXTEN})}]?RUL) [pbx_config]
                    6. Set(_PICKUPMARK=${EXTEN})                  [pbx_config]
                    7. Macro(Normalize)                           [pbx_config]
                    8. GotoIf($["${CALLERID(NAME):0:3}"="Uml"]?DIAL) [pbx_config]
                    9. GotoIf($["${CALLERID(NAME):0:3}"="Abw"]?DIAL) [pbx_config]
                    10. GotoIf($["${CALLERID(NAME):0:3}"="Ret"]?DIAL) [pbx_config]
                    11. GotoIf($["${CALLERID(NAME):0:6}"="Wieder"]?DIAL) [pbx_config]
                    12. SIPAddHeader("Alert-Info:&lt;http://www.notused.com&gt;;info=alert-internal") [pbx_config]
                    13. AGI(ast_get_phonebook.php)                [pbx_config]
     [DIAL]         14. NoOp()                                    [pbx_config]
                    15. GotoIf($[ $["${DEVICE_STATE(SIP/4901)}" != "NOT_INUSE"] &amp; $["${DEVICE_STATE(SIP/4901)}" != "UNAVAILABLE"] &amp; $["${DEVICE_STATE(SIP/4901)}" != "INVALID"]]?BUSY) [pbx_config]
                    16. GotoIf($[ $["${DEVICE_STATE(SIP/4902)}" != "NOT_INUSE"] &amp; $["${DEVICE_STATE(SIP/4902)}" != "UNAVAILABLE"] &amp; $["${DEVICE_STATE(SIP/4902)}" != "INVALID"]]?BUSY) [pbx_config]
                    17. Dial(SIP/4901&amp;SIP/4902)                   [pbx_config]
                    18. Goto(HANGUP)                              [pbx_config]
     [TRANSFER]     19. NoOp(TRANS FROM: ${CUT(BLINDTRANSFER,,1)}) [pbx_config]
                    20. GotoIf($[ $["${DEVICE_STATE(SIP/4901)}" != "NOT_INUSE"] &amp; $["${DEVICE_STATE(SIP/4901)}" != "UNAVAILABLE"] &amp; $["${DEVICE_STATE(SIP/4901)}" != "INVALID"]]?RECALL) [pbx_config]
                    21. GotoIf($[ $["${DEVICE_STATE(SIP/4902)}" != "NOT_INUSE"] &amp; $["${DEVICE_STATE(SIP/4902)}" != "UNAVAILABLE"] &amp; $["${DEVICE_STATE(SIP/4902)}" != "INVALID"]]?RECALL) [pbx_config]
                    22. Dial(SIP/4901&amp;SIP/4902,25,m)              [pbx_config]
     [RECALL]       23. NoOp(WIEDERANRUF)                         [pbx_config]
                    24. SIPAddHeader(Diversion: "${EXTEN}" &lt;sip:${EXTEN}@10.9.8.1&gt;;reason=unconditional) [pbx_config]
                    25. Set(CALLERID(NAME)=Ret ${EXTEN})          [pbx_config]
                    26. RetryDial(,5,-1,${CUT(BLINDTRANSFER,,1)},,m) [pbx_config]
                    27. Goto(HANGUP)                              [pbx_config]
     [RUL]          28. NoOp(Anruf umgeleitet zu ${DB(RUL/${EXTEN})}) [pbx_config]
                    29. SIPAddHeader(Diversion: &lt;sip:${EXTEN}@10.9.8.1&gt;;reason=unconditional;screen=yes) [pbx_config]
                    30. Set(CALLERID(NAME)=Uml ${EXTEN})          [pbx_config]
                    31. Set(CONNECTEDLINE(num)=${DB(RUL/${EXTEN})}) [pbx_config]
                    32. Set(CONNECTEDLINE(num-pres)=allowed)      [pbx_config]
                    33. Set(CONNECTEDLINE(name)=Uml ${DB(RUL/${EXTEN})}) [pbx_config]
                    34. Set(CONNECTEDLINE(name-pres)=allowed)     [pbx_config]
                    35. Dial(LOCAL/${DB(RUL/${EXTEN})}@from-internal) [pbx_config]
     [BUSY]         36. Busy()                                    [pbx_config]
                    37. Goto(HANGUP)                              [pbx_config]
     [HANGUP]       38. NoOp(=== STATUS: ${DIALSTATUS} ===)       [pbx_config]
                    39. NoOp(=== HANGUP: ${HANGUPCAUSE} ===)      [pbx_config]
                    40. HangUp()                                  [pbx_config]
</code></pre>
]]></description><link>http://localhost:4567/topic/1614/no-blindtransfer-set</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:40:12 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1614.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Oct 2013 13:01:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Wed, 23 Oct 2013 06:20:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi Nicolás,</p>
<p dir="auto">that sounds good, so I wait for the next beta <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /><br />
Is there a mailinglist or the like where you announce new beta/version?</p>
<p dir="auto">Kind Regards<br />
Dominique Görsch</p>
]]></description><link>http://localhost:4567/post/6955</link><guid isPermaLink="true">http://localhost:4567/post/6955</guid><dc:creator><![CDATA[dgoersch]]></dc:creator><pubDate>Wed, 23 Oct 2013 06:20:49 GMT</pubDate></item><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Tue, 22 Oct 2013 22:33:52 GMT]]></title><description><![CDATA[<p dir="auto">It is not possible to change the order right now, but I might add the feature/option on the next version, so you can return pre and post ami commands somehow.</p>
]]></description><link>http://localhost:4567/post/6954</link><guid isPermaLink="true">http://localhost:4567/post/6954</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 22 Oct 2013 22:33:52 GMT</pubDate></item><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Tue, 22 Oct 2013 08:15:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">thanks for your fast reply, but it still don't work. I guess, the problem is that the var is set after the redirect command. The redirect is done and the new channel is allready fired up (and my GotoIf to decide whether it is an transfer or not is done) 'till the AMI answers with Success on the Variable Set.</p>
<p dir="auto">It is possible, to change the order? So that I can set the var before the Redirect-Command?</p>
<pre><code>10.0.1.219:2916      &lt;= &lt;msg data="98|blindxfer|96|f635ec21a101102c541b82c67e4505a3" /&gt;

127.0.0.1            -&gt; Action: Redirect
127.0.0.1            -&gt; Channel: SIP/ys2mAmt1-00030f5c
127.0.0.1            -&gt; Exten: 488
127.0.0.1            -&gt; Context: from-internal
127.0.0.1            -&gt; Priority: 1
127.0.0.1            -&gt; Async: True

127.0.0.1            -&gt; Action: Setvar
127.0.0.1            -&gt; Channel: SIP/ys2mAmt1-00030f5c
127.0.0.1            -&gt; Variable: _BLINDTRANSFER
127.0.0.1            -&gt; Value: SIP/4901-00030f5d

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Redirect successful

127.0.0.1            &lt;- Event: Unlink
127.0.0.1            &lt;- Privilege: call,all
127.0.0.1            &lt;- Channel1: SIP/ys2mAmt1-00030f5c
127.0.0.1            &lt;- Channel2: SIP/4901-00030f5d
127.0.0.1            &lt;- Uniqueid1: 1382428822.208932
127.0.0.1            &lt;- Uniqueid2: 1382428822.208933
127.0.0.1            &lt;- CallerID1: 00216685828000104
127.0.0.1            &lt;- CallerID2: 490

127.0.0.1            &lt;- Event: Hangup
127.0.0.1            &lt;- Privilege: call,all
127.0.0.1            &lt;- Channel: SIP/4901-00030f5d
127.0.0.1            &lt;- Uniqueid: 1382428822.208933
127.0.0.1            &lt;- CallerIDNum: 490
127.0.0.1            &lt;- CallerIDName: Goersch Dominique
127.0.0.1            &lt;- ConnectedLineNum: 00216685828000104
127.0.0.1            &lt;- ConnectedLineName: &lt;unknown&gt;
127.0.0.1            &lt;- Cause: 16
127.0.0.1            &lt;- Cause-txt: Normal Clearing

127.0.0.1            &lt;- Response: Success
127.0.0.1            &lt;- Message: Variable Set
</code></pre>
<p dir="auto">Kind regards<br />
Dominique Görsch</p>
]]></description><link>http://localhost:4567/post/6953</link><guid isPermaLink="true">http://localhost:4567/post/6953</guid><dc:creator><![CDATA[dgoersch]]></dc:creator><pubDate>Tue, 22 Oct 2013 08:15:08 GMT</pubDate></item><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Mon, 21 Oct 2013 13:04:38 GMT]]></title><description><![CDATA[<p dir="auto">Prefix the variable name with an underscore so it is inherited. You can use double underscore to inherit it further.</p>
<p dir="auto">Variable: _BLINDTRANSFER</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/6952</link><guid isPermaLink="true">http://localhost:4567/post/6952</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 21 Oct 2013 13:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Mon, 21 Oct 2013 06:52:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply, but it don't work.</p>
<pre><code>10.0.1.219:4319      &lt;= &lt;msg data="98|blindxfer|96|201a5f6c61cca57502cdfe73469638f7" /&gt;

127.0.0.1            -&gt; Action: Redirect
127.0.0.1            -&gt; Channel: SIP/ys2mAmt1-0003030c
127.0.0.1            -&gt; Exten: 488
127.0.0.1            -&gt; Context: from-internal
127.0.0.1            -&gt; Priority: 1
127.0.0.1            -&gt; Async: True

127.0.0.1            -&gt; Action: Setvar
127.0.0.1            -&gt; Channel: SIP/ys2mAmt1-0003030c
127.0.0.1            -&gt; Variable: BLINDTRANSFER
127.0.0.1            -&gt; Value: SIP/4901-0003030d
</code></pre>
<p dir="auto">The variable will be set after the redirect is initiated on the Channel that is redirecting. But I need the var set on the new call, to see that this call is an redirected call.<br />
If I redirect with the phone, asterisk fires up the new channel with this variable set. If I redirect via FOP/AMI that var is not set. Do you have any idea, how to fire up the new channel with this var set?</p>
<p dir="auto">Kind regards<br />
Dominique Görsch</p>
]]></description><link>http://localhost:4567/post/6951</link><guid isPermaLink="true">http://localhost:4567/post/6951</guid><dc:creator><![CDATA[dgoersch]]></dc:creator><pubDate>Mon, 21 Oct 2013 06:52:47 GMT</pubDate></item><item><title><![CDATA[Reply to No ${BLINDTRANSFER} set on Wed, 16 Oct 2013 13:37:11 GMT]]></title><description><![CDATA[<p dir="auto">The way to extend FOP2 is via <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a>, you will have to intercept the redirect/transfer commands received from flash and act upon it on the callsbacks file (like setting the variable via AMI). In FOP 2.27, the blind transfer button sends the blindxfer command, so you can insert that into the flashCommand if/else block. You will have to modify the bellow code to your environment, the channel and value depends on your dialplan/configuration, so they might be wrong, look at the print output to see the data you receive that you can use to set them correctly:</p>
<pre><code>    } elsif($command eq "blindxfer") {

         my $cont=0;
         foreach my $param (@parameters) {
             print "Parameter $cont = $param\n";
             $cont++;
         }

        // look at the above to see what parameter to use for your purpose

        $channel = $parameters[2];
        $value     = $parameters[3];

        $return  = "Action: Setvar\r\n";
        $return .= "Channel: $channel\r\n";
        $return .= "Variable: BLINDTRANSFER\r\n";
        $return .= "Value: $value\n";
        $return .= "\r\n";
        push @allreturn, $return;
        return @allreturn;

</code></pre>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/6950</link><guid isPermaLink="true">http://localhost:4567/post/6950</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 16 Oct 2013 13:37:11 GMT</pubDate></item></channel></rss>