View Issue Details

IDProjectCategoryView StatusLast Update
0000144easycwmpHelppublic2016-07-14 10:37
Reporterfedericod Assigned Tomohamed.kallel  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionno change required 
Platformx86OSopenwrtOS Version15.05
Summary0000144: need help getting some voip values from acs server
DescriptionHi all,

I succesfully set up easycwmp on openwrt, it connects to the commercial server in https (log is attached). now I would like to retrieve two parameters from the server:

InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword
InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName

could someone guide me through the easiest way of doing so? I guess a script should be written for this purpose, but I am unable to figure out how.
Thanks
Additional Information2016-07-10 10:01:06 [easycwmp] NOTICE - add event '2 PERIODIC'
2016-07-10 10:01:06 [easycwmp] NOTICE - start session
+++ HTTP CLIENT CONFIGURATION +++
http_client_init(50):: url: https://91.80.32.241:7006/cwmpWeb/CPEMgt
http_client_init(56):: ssl_verify: SSL certificate validation disabled.
--- HTTP CLIENT CONFIGURATION ---
2016-07-10 10:01:06 [easycwmp] NOTICE - configured acs url https://91.80.32.241:7006/cwmpWeb/CPEMgt
2016-07-10 10:01:06 [easycwmp] NOTICE - external script init
2016-07-10 10:01:06 [easycwmp] NOTICE - external: execute inform parameter
2016-07-10 10:01:06 [easycwmp] NOTICE - send Inform
+++ SEND HTTP REQUEST +++
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <soap_env:Envelope
xmlns:soap_env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soap_enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-2">
  <soap_env:Header>
   <cwmp:ID soap_env:mustUnderstand="1">7</cwmp:ID>
  </soap_env:Header>
  <soap_env:Body>
   <cwmp:Inform>
    <DeviceId>
     <Manufacturer>V0d@fone</Manufacturer>
     <OUI>90356E</OUI>
     <ProductClass>Vox2.5</ProductClass>
     <SerialNumber>D140900xxxxx</SerialNumber>
    </DeviceId>
    <Event soap_enc:arrayType="cwmp:EventStruct[1]">
     <EventStruct>
      <EventCode>2 PERIODIC</EventCode>
      <CommandKey />
     </EventStruct>
    </Event>
    <MaxEnvelopes>1</MaxEnvelopes>
    <CurrentTime>2016-07-10T10:01:06+00:00</CurrentTime>
    <RetryCount>0</RetryCount>
    <ParameterList soap_enc:arrayType="cwmp:ParameterValueStruct[11]">
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name>
      <Value xsi:type="xsd:string">ADB 963168_ADBVOX25</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.Manufacturer</Name>
      <Value xsi:type="xsd:string">V0d@fone</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ManufacturerOUI</Name>
      <Value xsi:type="xsd:string">90356E</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ProductClass</Name>
      <Value xsi:type="xsd:string">Vox2.5</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SerialNumber</Name>
      <Value xsi:type="xsd:string">D14090000148048</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name>
      <Value xsi:type="xsd:string">5.4.8.1.160.12.67.1.35</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name>
      <Value xsi:type="xsd:string">1.0</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name>
      <Value xsi:type="xsd:string">http://192.168.1.3:7547/</Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name>
      <Value xsi:type="xsd:string"></Value>
     </ParameterValueStruct>
     <ParameterValueStruct>
      <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.ExternalIPAddress</Name>
      <Value xsi:type="xsd:string">192.168.1.10</Value>
     </ParameterValueStruct>
    </ParameterList>
   </cwmp:Inform>
  </soap_env:Body>
 </soap_env:Envelope>
--- SEND HTTP REQUEST ---
* Error reading ca cert path /etc/ssl/certs - PolarSSL: (-0x2900) X509 - Read/write of file failed
> POST /cwmpWeb/CPEMgt HTTP/1.1
Host: 91.80.32.241:7006
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
SOAPAction:
Content-Length: 3107
Expect: 100-continue

< HTTP/1.1 401 Unauthorized
< Date: Sun, 10 Jul 2016 10:01:07 GMT
< Content-Length: 1518
< Content-Type: text/html; charset=UTF-8
< WWW-Authenticate: Basic realm="default"
< X-Powered-By: Servlet/2.5 JSP/2.1
<
* Error reading ca cert path /etc/ssl/certs - PolarSSL: (-0x2900) X509 - Read/write of file failed
> POST /cwmpWeb/CPEMgt HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Host: 91.80.32.241:7006
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
Content-Length: 3107
Expect: 100-continue

< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Date: Sun, 10 Jul 2016 10:01:09 GMT
< Content-Length: 532
< Content-Type: text/xml; charset=UTF-8
< Set-Cookie: JSESSIONID=tLD2XCcFGp0WNS2ffyGStLzL212Lbxrc2pf9C7jT9wTLfhnhYTLM!1311065348; path=/
< X-Powered-By: Servlet/2.5 JSP/2.1
<
+++ RECEIVED HTTP RESPONSE +++
<soapenv:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cwmp="urn:dslforum-org:cwmp-1-2" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <cwmp:ID soapenv:mustUnderstand="1">7</cwmp:ID>
    </soapenv:Header>
    <soapenv:Body>
        <cwmp:InformResponse>
            <MaxEnvelopes>1</MaxEnvelopes>
        </cwmp:InformResponse>
    </soapenv:Body>
</soapenv:Envelope>
--- RECEIVED HTTP RESPONSE ---
2016-07-10 10:01:09 [easycwmp] NOTICE - receive InformResponse from the ACS
2016-07-10 10:01:09 [easycwmp] NOTICE - send empty message to the ACS
+++ SEND EMPTY HTTP REQUEST +++
> POST /cwmpWeb/CPEMgt HTTP/1.1
Authorization: Basic YWRtaW46YWRtaW4=
Host: 91.80.32.241:7006
Cookie: JSESSIONID=tLD2XCcFGp0WNS2ffyGStLzL212Lbxrc2pf9C7jT9wTLfhnhYTLM!1311065348
User-Agent: easycwmp
Content-Type: text/xml; charset="utf-8"
Content-Length: 0

< HTTP/1.1 204 No Content
< Date: Sun, 10 Jul 2016 10:01:09 GMT
< Content-Length: 0
< Content-Type: text/xml; charset=UTF-8
< X-Powered-By: Servlet/2.5 JSP/2.1
<
+++ RECEIVED EMPTY HTTP RESPONSE +++
2016-07-10 10:01:09 [easycwmp] NOTICE - receive empty message from the ACS
2016-07-10 10:01:09 [easycwmp] NOTICE - external: execute apply service
2016-07-10 10:01:09 [easycwmp] NOTICE - external script exit
2016-07-10 10:01:09 [easycwmp] NOTICE - end session success
TagsNo tags attached.
e-mail notification

Activities

mohamed.kallel

2016-07-11 11:01

administrator   ~0000491

You have to develop the script for voice parameters.
You can follow the existing data model parameters already implemented like lan_device script. Or you can refer to the commercial support service to guide you in the implementation or you can refer to refer to the commercial service to implement your voice parameters

Issue History

Date Modified Username Field Change
2016-07-10 12:04 federicod New Issue
2016-07-11 11:01 mohamed.kallel Note Added: 0000491
2016-07-14 10:37 mohamed.kallel Status new => resolved
2016-07-14 10:37 mohamed.kallel Resolution open => no change required
2016-07-14 10:37 mohamed.kallel Assigned To => mohamed.kallel