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

Dan Morphis dan at milkcarton.com
Wed Jul 22 12:23:11 EDT 2015


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>
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
>> 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
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150722/eb48c817/attachment.html>


More information about the Users mailing list