Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Invoking Service Programmatically

Hello,

I have developed an IP Phone Service and subscribed it with my IP Phone, and it's available when SERVICES key is pressed,

I am trying to invoke it on IP Phone screen programmatically, I am lost in different concepts, should I use AXL getPhone and obtain an object to operate IP Phone? or what else? Please help.

Thank you very much in advance.

Best Regards,

M. Mudassir Saeed

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Invoking Service Programmatically

Download the IP Phone Services SDK and have a look at the two push2phone samples.. they should give you an idea on how pushing works (basically you do a http post to the phone's ip address and send it an xml element you'd normally show in the application).

Or, you push a CiscoIPPhoneExecute with the url of your service which makes the phone request that service (just like you pressed the service button and then selected the appropriate service).

7 REPLIES

Re: Invoking Service Programmatically

Download the IP Phone Services SDK and have a look at the two push2phone samples.. they should give you an idea on how pushing works (basically you do a http post to the phone's ip address and send it an xml element you'd normally show in the application).

Or, you push a CiscoIPPhoneExecute with the url of your service which makes the phone request that service (just like you pressed the service button and then selected the appropriate service).

New Member

Re: Invoking Service Programmatically

Thank you very much Stephan, your ideas helped me a lot to resolve my issue, thank you once again.

New Member

Re: Invoking Service Programmatically

Dear M. Mudassir Saeed:

I would like to ask you the following and hope to receive your kind answer:

I use UC 520 and IP Phone 7975 during development. I presss the "Services" button and it shows the following first:

CME Services URLs

1. CME Service URL

2. Extension Mobility

Then, when I press 1. CME Service URL, I come to my application.

My question is how can I come to my application directly after pressing the Services button.

Thanks for your help.

New Member

Re: Invoking Service Programmatically

One more question:

After making any change to my application code how can I display the updated result on my IP Phone? Pressing which button of the phone this can be done?

Any comment will be highlty appreciated.

Best regards,

Re: Invoking Service Programmatically

UC520? Not sure what its capabilities are.. if it's configuration is anything like a CME, you can have a single url which normally is supposed to give you a list of services. But it should be possible to change that url so that it points to your application (I've seen it on a CCM7 if you define a default service.. then the phones will directly go to that service as long as there is only one).. so look for a way to manipulate the service url for your phones.

And I don't understand your second question. Phones request the service so just request the service again and it will show the most up-to-date version of your software.

New Member

Re: Invoking Service Programmatically

Thanks a lot for your reply.

Actually my second question was really not understandable. I am sorry for that. What I want is:

For example I am visiting a page "Test". I want to update this page without exiting (as you mentioned with pressing the Services button again) from this page, like in Internet explorer we do just press "Refresh".

Thanks

Re: Invoking Service Programmatically

Hi,

You can add a refresh header, then the phone will refresh autmatically!

or add an update softkey to the same page

hth

Sascha

145
Views
4
Helpful
7
Replies
CreatePlease to create content