0 Replies Latest reply: Oct 6, 2017 1:40 PM by matthias.dohm RSS

Subscribe to Phone Service with Parameters

matthias.dohm

Hi everyone,

 

I am trying to use AXL to subscribe a phone to an IP Phone Service and assign the Service to an SURL Button.

The service requires one parameter - a destination phone number "to".

 

My Soap-Request looks like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">

    <soapenv:Header/>

    <soapenv:Body>

        <ns:updatePhone>

            <uuid>{A2A20940-9137-A5D8-0D51-498815611288}</uuid>

 

            <services>

 

                <service>

                <telecasterServiceName uuid="{08C4B597-3E33-9B06-C954-0F5EC37B0DFD}"></telecasterServiceName>

                <name>test</name>

                <url>http://10.1.1.25:8080/andphone/PhoneDisplay?rt=dcall&dev=#DEVICENAME#&to=+49123123123</url>

                <urlButtonIndex>1</urlButtonIndex>

                <urlLabel>test</urlLabel>

                </service>

 

            </services>

        </ns:updatePhone>

    </soapenv:Body>

</soapenv:Envelope>

 

The request is successful, the service is subscribed and everything looks perfectly fine in the ccmadmin interface. I can see, that the parameter-value is assigned correctly. However, the service does not work on the phone, because the parameter is only added to the insecure service url and is not transferred to the secure URL. I can see that in the telecastersubscribedservice table in the database.

The CUCM is version 10.5.

 

I have tried to use the secure URL in the Soap-Request instead of the insecure one, but the CUCM rejects that right away.

 

I can fix the entry by opening the Subscribe/Unsubscribe Dialog in ccmadmin, clicking on the service and saving it again. Without any other changes it is fine afterwards.

 

Has anyone had this issue before? I am grateful for any idea how to get around this.

 

Thanks

Matthias