[asterisk-bugs] [JIRA] (ASTERISK-23626) CDR custom field is not inserted to DB when call is not answered

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Mon Apr 14 11:15:19 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-23626:
---------------------------------------

    Description: 
Hi,

I am having following problem:
{noformat}
${DST},${TEST_ITERATION_ID},${DEVICE_ID}
{noformat}
are passed to the dialplan by adding extra channel variables in originate command.
{noformat}
exten => s,n,Set(CDR(destination)=${DST})
exten => s,n,Set(CDR(test_iteration_id)=${TEST_ITERATION_ID})
exten => s,n,Set(CDR(device_id)=${DEVICE_ID})
exten => s,n,Answer()
exten => s,n,Wait(5)
exten => s,n,HelloWorld()
exten => s,n,Wait(5)
exten => s,n,Hangup()
{noformat}

When call is answered, DB record is complete and contains default + extra user defined and set CDR variables.
In case where call is not answered, only default CDR variables are inserted to database.

I would be very thankful for help.

Best Regards,
Marek Labonarski

  was:
Hi,

I am having following problem:
${DST},${TEST_ITERATION_ID},${DEVICE_ID} are passed to the dialplan by adding extra channel variables in originate command.

exten => s,n,Set(CDR(destination)=${DST})
exten => s,n,Set(CDR(test_iteration_id)=${TEST_ITERATION_ID})
exten => s,n,Set(CDR(device_id)=${DEVICE_ID})
exten => s,n,Answer()
exten => s,n,Wait(5)
exten => s,n,HelloWorld()
exten => s,n,Wait(5)
exten => s,n,Hangup()

When call is answered, DB record is complete and contains default + extra user defined and set CDR variables.
In case where call is not answered, only defualt CDR variables are inserted to database.

I would be very thankful for help.

Best Regards,
Marek Labonarski


> CDR custom field is not inserted to DB when call is not answered
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-23626
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23626
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/cdr_mysql
>    Affects Versions: 11.8.0
>         Environment: Asterisk Now 3.0.1
>            Reporter: Marek Labonarski
>
> Hi,
> I am having following problem:
> {noformat}
> ${DST},${TEST_ITERATION_ID},${DEVICE_ID}
> {noformat}
> are passed to the dialplan by adding extra channel variables in originate command.
> {noformat}
> exten => s,n,Set(CDR(destination)=${DST})
> exten => s,n,Set(CDR(test_iteration_id)=${TEST_ITERATION_ID})
> exten => s,n,Set(CDR(device_id)=${DEVICE_ID})
> exten => s,n,Answer()
> exten => s,n,Wait(5)
> exten => s,n,HelloWorld()
> exten => s,n,Wait(5)
> exten => s,n,Hangup()
> {noformat}
> When call is answered, DB record is complete and contains default + extra user defined and set CDR variables.
> In case where call is not answered, only default CDR variables are inserted to database.
> I would be very thankful for help.
> Best Regards,
> Marek Labonarski



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list