[asterisk-bugs] [JIRA] (ASTERISK-20599) A Module to Submit CDR via Curl to a webservice end point

Felippe Silvestre (JIRA) noreply at issues.asterisk.org
Wed Oct 25 14:01:21 CDT 2017


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

Felippe Silvestre edited comment on ASTERISK-20599 at 10/25/17 2:00 PM:
------------------------------------------------------------------------

Use *ast_channel_amaflags2string* to convert the enum representation of an AMA flag to a string representation. (Since version *12*)
{code:none}
append_string_query_param("amaflags", ast_channel_amaflags2string(cdr->amaflags), buf, sizeof(buf));
append_string_query_param("accountcode", cdr->accountcode, buf, sizeof(buf));
append_string_query_param("flags", ast_channel_amaflags2string(cdr->flags), buf, sizeof(buf));
{code}


was (Author: fsilvestre):
Use *ast_channel_amaflags2string* to convert the enum representation of an AMA flag to a string representation. (Since version *12*)
{code:c}
append_string_query_param("amaflags", ast_channel_amaflags2string(cdr->amaflags), buf, sizeof(buf));
append_string_query_param("accountcode", cdr->accountcode, buf, sizeof(buf));
append_string_query_param("flags", ast_channel_amaflags2string(cdr->flags), buf, sizeof(buf));
{code}

> A Module to Submit CDR via Curl to a webservice end point
> ---------------------------------------------------------
>
>                 Key: ASTERISK-20599
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20599
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Functions/func_curl
>    Affects Versions: 10.2.1
>            Reporter: Alex
>            Severity: Minor
>         Attachments: cdr_curl.c, cdr_curl.conf
>
>
> A Module to Submit CDR via Curl to a webservice end point.



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



More information about the asterisk-bugs mailing list