<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div>Hi</div><div><br></div><div>I'm using a macro to dial in a AEL dialplan. The problem is the macro do not set the field CDR(dst), showing only ~~s~~.</div>
<div><br></div><div>I tried various configurations, but without solutions.</div>
<div><br></div><div>This is the macro:</div><div>macro dial-out(destno,dialstring,route_descr,interno) {</div><div>__TRANSFER_CONTEXT=ipbx;</div><div>if(${interno} = 1) {</div><div><span style="white-space:pre-wrap"> </span>Set(__PICKUPMARK=${destno});</div>
<div><span style="white-space:pre-wrap"> </span>if(${ODBC_verify_user(${CALLERID(num)})} > 0) {</div><div><span style="white-space:pre-wrap"> </span>t = tT;</div><div><span style="white-space:pre-wrap"> </span>} else {</div>
<div><span style="white-space:pre-wrap"> </span>t = t;</div><div><span style="white-space:pre-wrap"> </span>}</div><div>} else {</div><div><span style="white-space:pre-wrap"> </span>t = T;</div><div>}</div><div>
Dial(${dialstring}/${destno},30,${t});</div><div>return;</div><div>}</div><div><br></div><div>Thank's.</div><div><div dir="ltr"><div><br></div>Att,<div><b>Rafael dos Santos Saraiva</b></div><div><div><a href="http://br.linkedin.com/pub/rafael-saraiva/52/aab/230" target="_blank"><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15_pt_BR.png"></a><br>
</div></div></div></div>
</div></div>
</div><br></div>