Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rafaelsnsa at gmail.com
Guest





PostPosted: Fri Jul 11, 2014 8:39 am    Post subject: [asterisk-users] CDR(dst) not set in AEL macro Reply with quote

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
[url=http://br.linkedin.com/pub/rafael-saraiva/52/aab/230][/url]
Back to top
rnewton at digium.com
Guest





PostPosted: Fri Jul 11, 2014 9:40 am    Post subject: [asterisk-users] CDR(dst) not set in AEL macro Reply with quote

On Fri, Jul 11, 2014 at 8:38 AM, Rafael dos Santos Saraiva <rafaelsnsa@gmail.com (rafaelsnsa@gmail.com)> wrote:
Quote:
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.






Please don't post new duplicate threads in such a short time span. You posted this already yesterday. You'll have to be patient and wait for someone to respond.


Thanks,



--
Quote:
Rusty Newton
Digium, Inc. | Community Support Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
direct: +1 256 428 6200

Check us out at: http://digium.com & http://asterisk.org
Back to top
lists at jttech.se
Guest





PostPosted: Sat Jul 12, 2014 5:34 am    Post subject: [asterisk-users] CDR(dst) not set in AEL macro Reply with quote

2014-07-11 15:38, Rafael dos Santos Saraiva skrev:
Quote:
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;
}


I don't know if this is maybe related to this:
https://issues.asterisk.org/jira/browse/ASTERISK-20441

If it is this is a bug in the AEL compiler I think.


--
Johan Wilfer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
rafaelsnsa at gmail.com
Guest





PostPosted: Wed Jul 16, 2014 7:55 am    Post subject: [asterisk-users] CDR(dst) not set in AEL macro Reply with quote

Hi


Probably are this bug, my Asterisk version is 1.8.15.0(the version of report is 1.8.15.1).


I see that the problem occurs when the call is answered, if busy, fail, unanswered, the field dst is correct. I see too that when the problem occurs the dcontext field is set as name of the macro(aparently, the return in macro no works).


 I will go try with others versions and report the status.


Thank's.




Att,Rafael dos Santos Saraiva
[/url]






2014-07-12 7:33 GMT-03:00 Johan Wilfer <lists@jttech.se (
lists@jttech.se)>:
Quote:
2014-07-11 15:38, Rafael dos Santos Saraiva skrev:
Quote:
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;
}


I don't know if this is maybe related to this: [url=https://issues.asterisk.org/jira/browse/ASTERISK-20441]https://issues.asterisk.org/jira/browse/ASTERISK-20441

If it is this is a bug in the AEL compiler I think.


--
Johan Wilfer

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services