Provision not applied to cpe

Ebenezer Ejukorlem eejukorlem at ipnxnigeria.net
Wed Apr 3 08:52:07 EDT 2019


Hello All,

I would appreciate some help with this issue.

When I try to provision a CPE using the provisioning script below, All 
parameters values are seen to be correctly set on the genieacs server gui.
However, these settings are not reflected on the CPE. This is despite 
calling the "commit();" function and forcing a reboot after the provision.

Please what am I missing?

-------------------------------Provision 
Script----------------------------------
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*", 
null, {path: 1});
     log('Create WANPPPConnection objects if necessary');
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.*", 
{path: now});
     //Create and Refresh the voice service objects
     declare("InternetGatewayDevice.Services.VoiceService.*.VoiceProfile.*", 
null, {path: 1});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.*", 
null, {path: 2});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.*", 
{path: now});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.*", 
{path: now});
     //Create and Refresh the wlan service objects
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.*", null, 
{path: 2});
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*", 
{path: now});
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.*", 
{value: now});
     //Set the parameters
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CIG_VLANEnable", 
{value: now},  {value: true});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CIG_VLANID", 
{value: now}, {value: 511});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.Username", 
null, {value: config.username});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.Password", 
null, {value: config.password});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.NATEnabled", 
{value: now}, {value: true});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.MaxMRUSize", 
null, {value: 1492});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CIG_ServiceList", 
null, {value: "INTERNET"});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.Alias", 
{value: now}, {value: "ipnx_cpe"});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.ConnectionType", 
{value: now}, {value: "IP_Routed"});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.Name", 
{value: now}, {value: "Internet"});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CU_IPv4Enabled", 
{value: now}, {value: 1});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CU_IPv6Enabled", 
{value: now}, {value: 0});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.ConnectionTrigger", 
null, {value: "AlwaysOn"});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.IdleDisconnectTime", 
{value: now}, {value: 0});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.X_CT-COM_IPMode", 
{value: now}, {value: 1});
     declare("InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.*.Enable", 
{value: now}, {value: true});
     log("Done setting wanppp params");
     log('Setting WLAN Prameters');
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID", 
{value: now}, {value: "ipNX_GPON"});
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.KeyPassphrase", 
{value: now}, {value: "11111111"});
     declare("InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.Enable", 
{value: now}, {value: true});
     log('Done setting WLAN params');
     //Set the voice parameters
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName", 
{value: now}, {value: config.sip_line1});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword", 
{value: now}, {value: config.sip_password1});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI", 
{value: now}, {value: config.sip_line1});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.Enable", 
{value: now}, {value:"Enabled"});
     // Set the voice parameters for line 2
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.AuthUserName", 
{value: now}, {value: config.sip_line2});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.AuthPassword", 
{value: now}, {value: config.sip_password2});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.URI", 
{value: now}, {value: config.sip_line2});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.Enable", 
{value: now}, {value:"Enabled"});
     // Set the SIP parameter values
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.RegistrarServer", 
{value: now}, {value: "xx.xxxx.com"});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.UserAgentDomain", 
{value: now}, {value: "xx.xxxx.com"});
     declare("InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.OutboundProxy", 
{value: now}, {value: "1.1.1.1"});
     commit();
     //Reboot the ONT
     log("Rebooting the DNP ONT");
     declare("Reboot", null, {value: Date.now()});

-----------------------------Part of Debug 
output---------------------------------------------------------------------------------
# REQUEST Wed Apr 03 2019 13:45:44 GMT+0100 (WAT)
{"host":"tr69acs.ipnxnigeria.net:7547","user-agent":"gSOAP/2.7","content-type":"text/xml; 
charset=utf-8","content-length":"3702","connection":"keep-alive","cookie":"session=12d1e05b0279b076","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">169e33bd3490222</cwmp:ID>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <cwmp:GetParameterValuesResponse>
       <ParameterList xsi:type="SOAP-ENC:Array" 
SOAP-ENC:arrayType="cwmp:ParameterValueStruct[13]">
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMappingNumberOfEntries</Name>
           <Value xsi:type="xsd:unsignedInt">0</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CU_NATType</Name>
           <Value xsi:type="xsd:string">symmetric</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Alias</Name>
           <Value xsi:type="xsd:string"></Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionStatus</Name>
           <Value xsi:type="xsd:string">Unconfigured</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PossibleConnectionTypes</Name>
           <Value 
xsi:type="xsd:string">Unconfigured,IP_Routed,DHCP_Spoofed,PPPoE_Bridged,PPPoE_Relay,PPTP_Relay,L2TP_Relay</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionType</Name>
           <Value xsi:type="xsd:string">Unconfigured</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Name</Name>
           <Value xsi:type="xsd:string">Unconfigured</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.IdleDisconnectTime</Name>
           <Value xsi:type="xsd:unsignedInt">180</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled</Name>
           <Value xsi:type="xsd:boolean">0</Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password</Name>
           <Value xsi:type="xsd:string"></Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ExternalIPAddress</Name>
           <Value xsi:type="xsd:string"></Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.RemoteIPAddress</Name>
           <Value xsi:type="xsd:string"></Value>
         </ParameterValueStruct>
         <ParameterValueStruct>
           <Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.MaxMRUSize</Name>
           <Value xsi:type="xsd:unsignedInt">1540</Value>
         </ParameterValueStruct>
       </ParameterList>
     </cwmp:GetParameterValuesResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


# RESPONSE Wed Apr 03 2019 13:45:44 GMT+0100 (WAT)
{"Server":"GenieACS/1.1.2","SOAPServer":"GenieACS/1.1.2","Content-Type":"text/xml; 
charset=\"utf-8\""}
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope 
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" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID 
soap-env:mustUnderstand="1">169e33bd3490223</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:SetParameterValues><ParameterList 
soap-enc:arrayType="cwmp:ParameterValueStruct[25]"><ParameterValueStruct><Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.Enable</Name><Value 
xsi:type="xsd:boolean">true</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.SSID</Name><Value 
xsi:type="xsd:string">ipNX_GPON</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.LANDevice.1.WLANConfiguration.2.KeyPassphrase</Name><Value 
xsi:type="xsd:string">11111111</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Username</Name><Value 
xsi:type="xsd:string">IPNXFX6TEST</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CU_IPv4Enabled</Name><Value 
xsi:type="xsd:unsignedInt">1</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CIG_VLANID</Name><Value 
xsi:type="xsd:unsignedInt">511</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CIG_VLANEnable</Name><Value 
xsi:type="xsd:boolean">true</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_CIG_ServiceList</Name><Value 
xsi:type="xsd:string">INTERNET</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Enable</Name><Value 
xsi:type="xsd:boolean">true</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionTrigger</Name><Value 
xsi:type="xsd:string">AlwaysOn</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Alias</Name><Value 
xsi:type="xsd:string">ipnx_cpe</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ConnectionType</Name><Value 
xsi:type="xsd:string">IP_Routed</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Name</Name><Value 
xsi:type="xsd:string">Internet</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.IdleDisconnectTime</Name><Value 
xsi:type="xsd:unsignedInt">0</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.NATEnabled</Name><Value 
xsi:type="xsd:boolean">true</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.Password</Name><Value 
xsi:type="xsd:string">4E34A798EE6205B95840</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.MaxMRUSize</Name><Value 
xsi:type="xsd:unsignedInt">1492</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.SIP.RegistrarServer</Name><Value 
xsi:type="xsd:string">sip.ipnxtelecoms.com</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthUserName</Name><Value 
xsi:type="xsd:string">628002222</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.AuthPassword</Name><Value 
xsi:type="xsd:string">letmein123</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.1.SIP.URI</Name><Value 
xsi:type="xsd:string">628002222</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.AuthUserName</Name><Value 
xsi:type="xsd:string">null</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.AuthPassword</Name><Value 
xsi:type="xsd:string">null</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.SIP.URI</Name><Value 
xsi:type="xsd:string">null</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.Services.VoiceService.1.VoiceProfile.1.Line.2.Enable</Name><Value 
xsi:type="xsd:string">Enabled</Value></ParameterValueStruct></ParameterList><ParameterKey/></cwmp:SetParameterValues></soap-env:Body></soap-env:Envelope>


# REQUEST Wed Apr 03 2019 13:45:44 GMT+0100 (WAT)
{"host":"tr69acs.ipnxnigeria.net:7547","user-agent":"gSOAP/2.7","content-type":"text/xml; 
charset=utf-8","content-length":"544","connection":"keep-alive","cookie":"session=12d1e05b0279b076","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">169e33bd3490223</cwmp:ID>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body>
     <cwmp:SetParameterValuesResponse>
       <Status>0</Status>
     </cwmp:SetParameterValuesResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


# RESPONSE Wed Apr 03 2019 13:45:44 GMT+0100 (WAT)
{"Server":"GenieACS/1.1.2","SOAPServer":"GenieACS/1.1.2","Connection":"close"}

  

Ebenezer Ejukorlem


More information about the Users mailing list