This is an old revision of the document!
EasyCwmp is developed by PIVA Software.The aim of this project is to be fully compliant with the TR069 CWMP standard.
TR-069: CPE WAN Management Protocol v1.1 TR-098: Internet Gateway Device version 1 (Data Model for TR-069) TR-181: Device version 2. TR-104: Provisioning Parameters for VoIP CPE version 2 TR-106: Data Model Template for TR-069-Enabled Devices TR-111: Applying TR-069 to Remote Management of Home Networking Devices
Since ACS is a server and CPE is a client, there isn't a stadard way for ACS to initiate a connection. TR-069 however specifies a way to workaround this limitation. ACS can request CPE to initiate session by accessing a special HTTP URL. This way ACS may inform CPE that configuration was updated and ask it to reconfigure without waiting for a periodical request.
ucwmp project this is handled by CGI compatible
connreq binary. It simply requires configuring
uhttpd (or some different HTTP server) to handle some specific URL with a
connreq is called, it verifies ACS request using CGI environment variables (
REQUEST_URI) and calls
connection_request ubus method. As the result
ucwmpd will start a session if the authorization succeeded.