[asterisk-users] CDR(dst) in AEL macro

Rafael dos Santos Saraiva rafaelsnsa at gmail.com
Thu Jul 10 14:00:45 CDT 2014


Hi

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~~.

I tried various configurations, but without solutions.

This is the macro:
macro dial-out(destno,dialstring,route_descr,interno) {
__TRANSFER_CONTEXT=ipbx;
if(${interno} = 1) {
Set(__PICKUPMARK=${destno});
if(${ODBC_verify_user(${CALLERID(num)})} > 0) {
t = tT;
} else {
t = t;
}
} else {
t = T;
}
Dial(${dialstring}/${destno},30,${t});
return;
}

Thank's.

Att,
*Rafael dos Santos Saraiva*
<http://br.linkedin.com/pub/rafael-saraiva/52/aab/230>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140710/bea23e13/attachment.html>


More information about the asterisk-users mailing list