08-09-2015 07:31 PM
Hi,
I need some help with configuring AlternateExtensionAdvanced via the Rest API.
I have configured an Alternate Extension via the rest api but I cannot see any AlternateExtensionAdvancedURI in teh returned XML as per the WIKI suggests.
I need to set 'Skip PIN When Calling From Known Extension'.
I get the following back even when the advanced options are manually configured.
($uri = 'https://'.$cuc_server . '/vmrest/alternateextensionadvanceds/' . $result->body->AlternateExtension[1]->ObjectId;)
string(1316) "
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AlternateExtensions total="2">
<AlternateExtension>
<URI>/vmrest/users/97cd276f-eca5-4c2d-a252-adc6003e7517/alternateextensions/b869a083-5101-42f4-a0ab-e96cd4c76c0f</URI>
<IdIndex>0</IdIndex>
<DtmfAccessId>47628</DtmfAccessId>
<LocationObjectId>b75461fd-5c7f-4ca0-a6c8-605dc04d604a</LocationObjectId>
<LocationURI>/vmrest/locations/connectionlocations/b75461fd-5c7f-4ca0-a6c8-605dc04d604a</LocationURI>
<ObjectId>b869a083-5101-42f4-a0ab-e96cd4c76c0f</ObjectId>
<PartitionObjectId>77f3b0e5-2058-488b-92b5-99e0aaac3e03</PartitionObjectId>
<PartitionURI>/vmrest/partitions/77f3b0e5-2058-488b-92b5-99e0aaac3e03</PartitionURI>
</AlternateExtension>
<AlternateExtension>
<URI>/vmrest/users/97cd276f-eca5-4c2d-a252-adc6003e7517/alternateextensions/b10b5950-616a-4243-8f76-478222daca57</URI>
<IdIndex>5</IdIndex>
<DtmfAccessId>2947628</DtmfAccessId>
<LocationObjectId>b75461fd-5c7f-4ca0-a6c8-605dc04d604a</LocationObjectId>
<LocationURI>/vmrest/locations/connectionlocations/b75461fd-5c7f-4ca0-a6c8-605dc04d604a</LocationURI>
<ObjectId>b10b5950-616a-4243-8f76-478222daca57</ObjectId>
<PartitionObjectId>77f3b0e5-2058-488b-92b5-99e0aaac3e03</PartitionObjectId>
<PartitionURI>/vmrest/partitions/77f3b0e5-2058-488b-92b5-99e0aaac3e03</PartitionURI>
</AlternateExtension>
</AlternateExtensions>"
Any help would be appreciated,
Thanks
Bryan
08-24-2015 01:38 PM
Works in version 10.5.
02-12-2021 10:36 AM - edited 02-12-2021 11:52 AM
E:
After working on this more and with the help of @avholloway , it seems that this advanced URI only appears if the Alternate Extension should have it.
Index 0 appears to represent the primary extension/partition for the subscriber, and it isn't subject to those properties.
Administrator defined alternates at least do have that property, and that key is returned for those entries.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide