AddObject: Object-type must exist to create a new instance

Markus Mehlan markus.mehlan at argus.info
Mon Jul 27 06:50:27 EDT 2015


Am 22.07.2015 um 18:23 schrieb Dan Morphis:
> You need to figure out what the "key" value is for
> Device.Services.VoiceService.1.NetworkProfile. The key value is the
> parameter name/value that Genie will use to know it has the right
> instance to configure. Find one of the parameters that never changes,
> and make that your key.
>
> On Tue, Jul 21, 2015 at 10:38 PM, Markus Mehlan
> <markus.mehlan at argus.info <mailto:markus.mehlan at argus.info>> wrote:
>
>     Am 21.07.2015 um 19:05 schrieb Dan Morphis:
>
>         Go to the objects tab, and add a new object. Give it a name of "SIP
>         Line" For the parameter field, enter Enable and the value true,
>         SIPRef
>         and 1. Then figure out which entry is going to be your "key."
>         This is
>         the value that GenieACS will use to determine if the object
>         exists. See
>         the screenshot for an example.
>
>         Next, create a preset. One of the configuration options will be "Add
>         Object", for the object name enter "SIP Line" and for the "to"
>         portion
>         enter "Device.Services.VoiceService.1.NetworkProfile" For the
>         precondition portion, I use tags. For example, our CPE's can be
>         configured in either routed mode or bridged mode. If the CPE has
>         the tag
>         "Routed" it gets one preset, if it has the tag "Bridged" it gets
>         another
>         preset. You can even remove objects as well.
>
>
>
>         Inline image 1
>
>         Inline image 2
>
>
>         Inline image 3
>
>
>
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.genieacs.com <mailto:Users at lists.genieacs.com>
>         http://lists.genieacs.com/mailman/listinfo/users
>
>     Hi Dan,
>
>     if i follow your instructions, the acs wants to create a new instance of
>     NetworkProfile:
>
>     ACS sends ...
>
>     <SOAP-ENV:Body>
>        <cwmp:AddObject>
>          <ObjectName>
>            Device.Services.VoiceService.1.NetworkProfile.
>          </ObjectName>
>          <ParameterKey/>
>        </cwmp:AddObject>
>     </SOAP-ENV:Body>
>
>
>     Best regards,
>     Markus
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.genieacs.com <mailto:Users at lists.genieacs.com>
>     http://lists.genieacs.com/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
Hi Dan,

my problem was that my cpe didn't provide the object
"Device.Services.VoiceService.1.NetworkProfile.1.Line."
with the GetParameterNamesResponse during the first connect.
I fixed it and now it works.

Thank you,
Markus



More information about the Users mailing list