[asterisk-bugs] [JIRA] (ASTERISK-24443) CDR fields (dst, dcontext) empty in transfer call started from Macro
Perssy Llamosas (JIRA)
noreply at issues.asterisk.org
Wed Jan 7 19:53:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224338#comment-224338 ]
Perssy Llamosas edited comment on ASTERISK-24443 at 1/7/15 7:51 PM:
--------------------------------------------------------------------
I happen to have the same issue. Running Asterisk 13.1.0
Dialplan is simple:
{code}
[from-pstn]
exten => _X.,n,Macro(dial-queue,myqueue)
[macro-dial-queue]
exten => s,1,Set(CHANNEL(amaflags)=BILLING)
exten => s,n,Ringing
exten => s,n,Queue(${ARG1},t)
{code}
Applying the patch, the CDR generated:
|| calldate | uniqueid | dst | dcontext | channel | dstchanne ||
| 2015-01-07 20:42:26 | 1420681346.8 | 222394 | from-pstn | DAHDI/3-1 | SIP/03-00000006 |
| 2015-01-07 20:42:30 | 1420681346.8 | s | macro-dial-queue | DAHDI/3-1 | SIP/04-00000007 |
| 2015-01-07 20:42:30 | 1420681346.8 | s | macro-dial-queue | DAHDI/3-1 | SIP/01-00000008 |
Only one line has the correct dst/dcontext, the rest is empty without the patch or wrong with the patch.
was (Author: pll):
I happen to have the same issue. Running Asterisk 13.1.0
Dialplan is simple:
{code}
[from-pstn]
exten => _X.,n,Macro(dial-queue,myqueue)
[macro-dial-queue]
exten => s,1,Set(CHANNEL(amaflags)=BILLING)
exten => s,n,Ringing
exten => s,n,Queue(${ARG1},t)
{code}
Applying the patch, the CDR generated:
|| calldate | uniqueid | dst | dcontext | channel | dstchanne ||
| 2015-01-07 20:42:26 | 1420681346.8 | 222394 | from-trunk | DAHDI/3-1 | SIP/03-00000006 |
| 2015-01-07 20:42:30 | 1420681346.8 | s | macro-dial-queue | DAHDI/3-1 | SIP/04-00000007 |
| 2015-01-07 20:42:30 | 1420681346.8 | s | macro-dial-queue | DAHDI/3-1 | SIP/01-00000008 |
Only one line has the correct dst/dcontext, the rest is empty without the patch or wrong with the patch.
> CDR fields (dst, dcontext) empty in transfer call started from Macro
> --------------------------------------------------------------------
>
> Key: ASTERISK-24443
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24443
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: CDR/General
> Affects Versions: 12.6.0
> Environment: Debian wheezy
> Reporter: Arveno Santoro
> Assignee: Rusty Newton
> Attachments: ASTERISK-24443-12.diff, cdrlog.txt
>
>
> Hi there,
> I have installed Asterisk version 12.6 (on Debian wheezy) and I note
> that, only when I make a transfer of call (attended or unattended),
> the fields 'dst' and 'dcontex' in the CDR are empty.
> This happen both in MySQL record and in CVS.
> Below the log of the transfered call.
> \[edit: mjordan\]
> Removed inline log file.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list