<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.astercc.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.astercc.org/feed.php">
        <title>asterCC, hosted call center solution based asterisk en:custom_development_guide:apis</title>
        <description></description>
        <link>https://wiki.astercc.org/</link>
        <image rdf:resource="https://wiki.astercc.org/lib/tpl/arctic-mbo/images/favicon.ico" />
       <dc:date>2026-06-29T11:50:35+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:http&amp;rev=1513047940&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:javascript&amp;rev=1513047940&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:language_codes&amp;rev=1513047940&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:receive_call_events_via_http_post&amp;rev=1513047940&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:return_messages&amp;rev=1513047940&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:webservice&amp;rev=1513047940&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.astercc.org/lib/tpl/arctic-mbo/images/favicon.ico">
        <title>asterCC, hosted call center solution based asterisk</title>
        <link>https://wiki.astercc.org/</link>
        <url>https://wiki.astercc.org/lib/tpl/arctic-mbo/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:http&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:http</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:http&amp;rev=1513047940&amp;do=diff</link>
        <description>HTTP

HTTP request URL:

http://$(ipaddress):$(port)/asterccinterfaces


Description:
$(ipaddress) － asterCC URL
$(port) － port

Use login as example, check sample php code



HTTP APIs

	* login
	* logout
	* agent group (checkin/checkout)
	* pause/unpause
	* switch ACW mode
	* exit ACW
	* switch work mode
	* call
	* consult
	* transfer
	* resume
	* conference
	* hangup
	* barge-in
	*</description>
    </item>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:javascript&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:javascript</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:javascript&amp;rev=1513047940&amp;do=diff</link>
        <description>JavaScript

JavaScript APIs includes agent stat change and call control, to use JavaScript APIs, customer need to call asterCC CJI plugin.

JS file URL：

http://$(ipaddress):$(port)/asterccinterface/astcc_CJI.js


$(ipaddress) － IP of asterCC server
$(port) － port of your asterCC http service
sample page</description>
    </item>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:language_codes&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:language_codes</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:language_codes&amp;rev=1513047940&amp;do=diff</link>
        <description>Languege Codes
Code        Language            cn    Simplified Chineseen	Englishjp	Japanesekr	Koreanru	Russianfr	Frenchde	Germanes	Spanish</description>
    </item>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:receive_call_events_via_http_post&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:receive_call_events_via_http_post</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:receive_call_events_via_http_post&amp;rev=1513047940&amp;do=diff</link>
        <description>receive events

Example: Generate CDR for an outbound call based on call events

In this case, we will create a script cdrlog to generate CDR(call record details), the script will receive call events, based on these events we can create/update CDRs. The script is written in php and we use MySql database.</description>
    </item>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:return_messages&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:return_messages</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:return_messages&amp;rev=1513047940&amp;do=diff</link>
        <description>Return Messages
Code        Message          MemoBackMsg_01Parameters can not be emptyBackMsg_02Team identity string error or doesn't existBackMsg_03Agent no. error or doesn't existBackMsg_04Login successBackMsg_05Agent account is disabledBackMsg_06Agent account doesn't exist</description>
    </item>
    <item rdf:about="https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:webservice&amp;rev=1513047940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-12T03:05:40+00:00</dc:date>
        <title>en:custom_development_guide:apis:webservice</title>
        <link>https://wiki.astercc.org/doku.php?id=en:custom_development_guide:apis:webservice&amp;rev=1513047940&amp;do=diff</link>
        <description>WebService

Summarize

asterCC build-in Web Service engine accept third-party request, finish the task, and then response message feedback. Web Service function includes include an agent's state changes and call control interface.

Webservice address：</description>
    </item>
</rdf:RDF>
