cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1177
Views
0
Helpful
2
Replies

AlternateExtension Advanced CUC 9.1.2ES59.12901-59

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.

(https://www.google.co.nz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CCgQFjACahUKEwjGy8Owup3HAhUkxqYKHZG6ANo&url=http%…)

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

2 Replies 2

Works in version 10.5.

Adam Pawlowski
VIP Alumni
VIP Alumni

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.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: