cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1792
Views
0
Helpful
1
Replies

SPA112 TR-069 management

ren fau
Level 1
Level 1

Hi

I wonder if anybody had managed to configure SPA112 (HardwareVersion 1.0.0, SoftwareVersion 1.3.1) with TR-069. I experienced with Perl ACS server implementing CWMP protocol ( https://github.com/dpavlin/perl-cwmp.git ) and when I am trying for example this:


HTTP/1.1 200 OK.

Content-Type: text/xml; charset="utf-8".

Content-Length: 779.

Set-Cookie: ID=1; path=/.

Server: Perl-CWMP/0.21.

SOAPServer: Perl-CWMP/0.21.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

               xmlns:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

               xmlns:cwmp="urn:dslforum-org:cwmp-1-0">

  <soap:Header>

    <cwmp:ID soap:mustUnderstand="1">1</cwmp:ID>

    <cwmp:NoMoreRequests>0</cwmp:NoMoreRequests>

  </soap:Header>

  <soap:Body>

    <cwmp:SetParameterValues>

      <ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[1]">

        <ParameterValueStruct>

          <Name>Device.Services.VoiceService.1.VoiceProfile.1.SIP.ProxyServer</Name>

          <Value xsi:type="xsd:string">1.2.3.4</Value>

        </ParameterValueStruct>

      </ParameterList>

      <ParameterKey></ParameterKey>

    </cwmp:SetParameterValues>

  </soap:Body>

</soap:Envelope>

I get from SPA112:

POST / HTTP/1.1.

Host: 2.2.2.2:3333.

User-Agent: gSOAP/2.6.

Content-Type: text/xml; charset=utf-8.

Content-Length: 916.

Connection: keep-alive.

Cookie: ID=1.

SOAPAction: .

.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><SOAP-ENV:Header><cwmp:ID SOAP-ENV:mustUnderstand="1">1</cwmp:ID></SOAP-ENV:Header><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>CWMP fault</faultstring><detail><cwmp:Fault><FaultCode>9003</FaultCode><FaultString>Invalid arguments</FaultString><SetParameterValuesFault><ParameterName>Device.Services.VoiceService.1.VoiceProfile.1.SIP.ProxyServer</ParameterName><FaultCode>9006</FaultCode><FaultString>Invalid parameter type</FaultString></SetParameterValuesFault></cwmp:Fault></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

What conditions are necessary to perform in "SetParameterValues" to successfully manage device?

1 Reply 1

ren fau
Level 1
Level 1

OK, I learned a little more about SOAP, CWMP. This is the valid request:


    xmlns:cwmp="urn:dslforum-org:cwmp-1-0"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

    xmlns:xsd="http://www.w3.org/2001/XMLSchema"

    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

    1

   

       

           

                Device.Services.VoiceService.1.VoiceProfile.1.SIP.ProxyServer

                1.2.3.4

           

       

        x

   

Use SOAP::Lite