I'm trying to screen the call transfert to my cell phone using a exemple found on the web.<br>
<a href="http://www.voip-info.org/wiki-Asterisk+cmd+Dial">http://www.voip-info.org/wiki-Asterisk+cmd+Dial</a><br>
<br>
It work partially: while I'm prompted to accept the the caller still
her the music. But wether I accept the call or reject it I'm put in
communication with the caller.<br>
I can see in the log that MARCO_RESULT is set to CONTINUE when I reject
the call but is doesn't hangup as documented on the wiki: &quot;CONTINUE -
Hangup the called party and continue on in the dialplan from where you
called Dial&quot;<br>
<br>
Any hint?<br>
<br>
exten =&gt; 447,1,Playback(pls-wait-connect-call)<br>
exten =&gt; 447,2,Dial(IAX2/xxxxx/15149999999,20,gmM(screen2))<br>
exten =&gt; 447,3,Macro(vm,200)<br>
exten =&gt; 447,101,Macro(vm,200,BUSY)<br>
exten =&gt; 447,102,hangup <br>
<br>
<br>
[macro-screen2]<br>
exten =&gt; s,1,Playback(silence/1)<br>
exten =&gt; s,2,Playback(custom/screen-from)<br>
exten =&gt; s,3,Read(ACCEPT|custom/screen-accept|1||3)<br>
exten =&gt; s,4,GotoIf($[${ACCEPT} = 1 ] ?6:5)<br>
exten =&gt; s,5,SetVar(MACRO_RESULT=CONTINUE)<br>
exten =&gt; s,6,NoOp <br>
<br clear="all"><br>-- <br>Marcel Eric<br>mailto: <a href="mailto:marceleric@gmail.com">marceleric@gmail.com</a>