<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans Serif">
<p>Dear All,</p>
<p></p>
<p>I have a problem with call transfer. When I dial a number and then I want to transfer current call to an extension, I'm getting disconnected. Transfering incoming call works fine. I'm using macro for dialing.</p>
<p></p>
<p><span style="font-weight:600">extensions.conf:</span></p>
<p></p>
<p>[from-internal]</p>
<p>ignorepat =&gt; 9</p>
<p></p>
<p>exten =&gt; 200,1,Macro(stdexten,200,SIP/dzalewski)</p>
<p></p>
<p>[macro-stdexten]</p>
<p>exten =&gt; s,1,Set(temp=${DB(CFU/${ARG1})})       ; Get CFU key</p>
<p>exten =&gt; s,2,Set(DNDStatus=${DB(DND/${ARG1})})  ; Get DND key</p>
<p>exten =&gt; s,3,GotoIf($[&quot;${temp}&quot; = &quot;&quot;]?5)        ; If not existing, goto priority 5</p>
<p>exten =&gt; s,4,Dial(Local/${temp}@local/n); Unconditional Forward</p>
<p>exten =&gt; s,5,GoToIf($[&quot;${DNDStatus}&quot; = &quot;&quot;]?7)   ; If not existing ring the interface</p>
<p>exten =&gt; s,6,Voicemail(u${ARG1})                ; If CFU failed, send to voicemail w/ unavail announce</p>
<p><span style="font-weight:600">exten =&gt; s,7,Dial(${ARG2},20,tTrR)</span>              ; Ring the interface</p>
<p>exten =&gt; s,8,Goto(s-${DIALSTATUS},1)            ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)</p>
<p></p>
<p>exten =&gt; s-NOANSWER,1,Set(temp=${DB(CFNA/${ARG1})})     ; Get CFNA key</p>
<p>exten =&gt; s-NOANSWER,2,GotoIf($[&quot;${temp}&quot; = &quot;&quot;]?4)       ; If not existing, goto voicemail</p>
<p>exten =&gt; s-NOANSWER,3,Dial(Local/${temp}@local/n)     ; Forward on No Answer</p>
<p>exten =&gt; s-NOANSWER,4,Voicemail(u${ARG1})       ; If unavailable, send to voicemail w/ unavail announce</p>
<p>exten =&gt; s-NOANSWER,5,Goto(s,5)                 ; If they press #, return to ring the interface</p>
<p></p>
<p>exten =&gt; s-BUSY,1,Set(temp=${DB(CFB/${ARG1})})          ; Get CFB key</p>
<p>exten =&gt; s-BUSY,2,GotoIf($[&quot;${temp}&quot; = &quot;&quot;]?4)   ; If not existing, goto voicemail</p>
<p>exten =&gt; s-BUSY,3,Dial(Local/${temp}@local/n) ; Forward on Busy</p>
<p>exten =&gt; s-BUSY,4,Voicemail(b${ARG1})           ; If busy, send to voicemail w/ busy announce</p>
<p>exten =&gt; s-BUSY,5,Goto(s,5)                     ; If they press #, return to ring the interface</p>
<p></p>
<p>exten =&gt; _s-.,1,Goto(s-NOANSWER,1)              ; Treat anything else as no answer</p>
<p></p>
<p>exten =&gt; a,1,VoicemailMain(${ARG1}@default)     ; If they press *, send the user into VoicemailMai</p>
<p></p>
<p><span style="font-weight:600">features.conf:</span></p>
<p>[featuremap]</p>
<p>blindxfer =&gt; #                  ; Blind transfer</p>
<p>;disconnect =&gt; *0               ; Disconnect</p>
<p>;automon =&gt; *2                  ; One Touch Record</p>
<p>atxfer =&gt; *2                    ; Attended transfer</p>
<p></p>
<p>Thanks in advance,</p>
<p></p>
<p>Dominik</p>
</body></html>