Hi,<br><br>  I&#39;ve created a tiny dialplan to test the return of a call on transfers, like this: (I had to use the DEVSTATE backport here)<br><br>[phones]<br>exten =&gt; _12XX,1,Dial(SIP/${EXTEN},6,tT)<br>exten =&gt; _12XX,n,GotoIf($[ &quot;x${BLINDTRANSFER}&quot; = &quot;x&quot; ]?noBT)<br>
exten =&gt; _12XX,n,Set(DIALRET=${CUT(BLINDTRANSFER,-,1)});<br>exten =&gt; _12XX,n,Goto(dRet)<br>exten =&gt; _12XX,n(noBT),GotoIf($[ &quot;x${TRANSFERERNAME}&quot; = &quot;x&quot; ]?sai)<br>exten =&gt; _12XX,n,Set(DIALRET=${CUT(TRANSFERERNAME,-,1)});<br>
exten =&gt; _12XX,n,GotoIf($[ &quot;${DEVSTATE(${DIALRET})}&quot; = &quot;INUSE&quot; ]?sai);<br>exten =&gt; _12XX,n(dRet),Set(CALLERID(all)=RET_${EXTEN} &lt;${CALLERID(num)}&gt;)<br>exten =&gt; _12XX,n,Dial(${DIALRET},,mTt)<br>
exten =&gt; _12XX,n(sai),Hangup()<br><br>It all works like a charm, except that when I do an atxfer and dial another SIP and it rings, but dont answer, asterisk plays the &#39;pbx-invalid&#39; sound, that is a bit confusing, because the phone is there and actually rang . Here is the CLI output<br>
<br>*CLI&gt;<br>    -- Executing [1201@irrestrito-user:1] Dial(&quot;SIP/1202-08330f80&quot;, &quot;SIP/1201|6|tT&quot;) in new stack<br>    -- Called 1201<br>    -- SIP/1201-08335530 is ringing<br>    -- SIP/1201-08335530 answered SIP/1202-08330f80<br>
    -- Started music on hold, class &#39;default&#39;, on SIP/1202-08330f80<br>    -- &lt;SIP/1201-08335530&gt; Playing &#39;pbx-transfer&#39; (language &#39;en&#39;)<br>    -- Executing [1203@irrestrito-user:1] Dial(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;SIP/1203|6|tT&quot;) in new stack<br>
    -- Called 1203<br>    -- SIP/1203-08325260 is ringing<br>    -- Local/1203@irrestrito-user-70b2,1 is ringing<br>    <br>    <br>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ring and no answer...<br><br>    -- Nobody picked up in 6000 ms<br>
    -- Executing [1203@irrestrito-user:2] GotoIf(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;1?noBT&quot;) in new stack<br>    -- Goto (irrestrito-user,1203,5)<br>    -- Executing [1203@irrestrito-user:5] GotoIf(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;0?sai&quot;) in new stack<br>
    -- Executing [1203@irrestrito-user:6] Set(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;DIALRET=SIP/1201&quot;) in new stack<br>    -- Executing [1203@irrestrito-user:7] GotoIf(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;1?sai&quot;) in new stack<br>
    -- Goto (irrestrito-user,1203,10)<br>    -- Executing [1203@irrestrito-user:10] Hangup(&quot;Local/1203@irrestrito-user-70b2,2&quot;, &quot;&quot;) in new stack<br>  == Spawn extension (irrestrito-user, 1203, 10) exited non-zero on &#39;Local/1203@irrestrito-user-70b2,2&#39;<br>
    -- Stopped music on hold on SIP/1202-08330f80<br>&gt;&gt;? -- &lt;SIP/1201-08335530&gt; Playing &#39;pbx-invalid&#39; (language &#39;en&#39;)<br><br><br>am I doing something wrong?<br><br>Thanks,<br>Gabriel<br>