[asterisk-bugs] [JIRA] (ASTERISK-25883) In the func_odbc doesn't work the option "escapecommas"

Vadim (JIRA) noreply at issues.asterisk.org
Thu Apr 7 01:29:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230164#comment-230164 ] 

Vadim edited comment on ASTERISK-25883 at 4/7/16 1:29 AM:
----------------------------------------------------------

{noformat}
same => n,Set(ODBC_CDR()=${CDR(accountcode)},${IF($["${REDIR_CID}" != ""]?${REDIR_CID}:${CALLERID(num)})},${FIRST_NUMBER},${CDR(dcontext)},${CALLERID(all)},${CDR(channel)},${CDR(dstchannel)},${CDR(lastapp)},${CDR(lastdata)},${CDR(start)},${CDR(answer)},${STRFTIME(,,%Y-%m-%d %H:%M:%S)},${IF($["${DIALEDTIME}" = ""]?${CDR(duration)}:${DIALEDTIME})},${IF($["${ANSWREDTIME}" = ""]?${CDR(billsec)}:${ANSWREDTIME})},${CDR(disposition)},${DIAL_STAT_QUERY},${OPERATOR},${ANS_DURATION},${CDR(amaflags)},${CDR(userfield)},${UNIQUEID},${CDR(linkedid)},${CDR(peeraccount)},${DIRECT},${CDR(sequence)})
{noformat}


was (Author: cron333):
{noformat}
same => n,Set(ODBC_CDR()=${CDR(accountcode)},'${IF($["${REDIR_CID}" != ""]?${REDIR_CID}:${CALLERID(num)})}',${FIRST_NUMBER},${CDR(dcontext)},${CALLERID(all)},${CDR(channel)},${CDR(dstchannel)},${CDR(lastapp)},${CDR(lastdata)},${CDR(start)},${CDR(answer)},${STRFTIME(,,%Y-%m-%d %H:%M:%S)},${IF($["${DIALEDTIME}" = ""]?${CDR(duration)}:${DIALEDTIME})},${IF($["${ANSWREDTIME}" = ""]?${CDR(billsec)}:${ANSWREDTIME})},${CDR(disposition)},${DIAL_STAT_QUERY},${OPERATOR},${ANS_DURATION},${CDR(amaflags)},${CDR(userfield)},${UNIQUEID},${CDR(linkedid)},${CDR(peeraccount)},${DIRECT},${CDR(sequence)})
{noformat}

> In the func_odbc doesn't work the option "escapecommas"
> -------------------------------------------------------
>
>                 Key: ASTERISK-25883
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25883
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_odbc
>    Affects Versions: 11.21.2
>         Environment: CentOS 6.7
>            Reporter: Vadim
>            Assignee: Unassigned
>         Attachments: add_func_odbc.conf, Dump_ODBC.txt, func_odbc.conf, func_odbc.conf.txt
>
>
> In the func_odbc doesn't work the option "escapecommas"



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



More information about the asterisk-bugs mailing list