Problems w/Execute object using CM simulator

I am running CM Simulator with 7940/60. All XML objects run without a problem except CiscoIPPhoneExecute (push object).

I am authenticating with an external server by changing the Authentication URL in CM-Sim. Using sniffer I am able to track that my application does send Execute object to phone, but the phone just does not respond. I do not even get any error message back from phone. If it was a CM instead of CM-Sim, at least I would get an error message if there was a problem with authentication.

Has any one tried pushing with CM-Sim? Is it even supported on CM-Sim?

Re: Problems w/Execute object using CM simulator

Is the Auth URL in your phone correctly pointing to the external server? Please make sure.

As my understanding from a sniffer packet trace, the authentication is actually done by sending a TCP request from the ipPhone to port 200 of a CM, and then i suppose the CM will in turns go to the authentication URL and look for the work "AUTHORIZED", and then return back to the phone.

So, if u don't see the port 200 of your CM_sim being answered, then u probably out of luck using the CM-Sim.

Re: Problems w/Execute object using CM simulator

Now, since there's no such authentication script, you either have to set it up that way, or set a different device default (for instance http://your-development-box/CiscoIPServices/auth.asp). Modify the original authentication.asp page from the CM in a way that it doesn't make any requests to the CM, and have it return an "AUTHORIZED" message. Also, make sure the authencation page is served via port 80 or it won't work (I've tried with port 8080 for hours, while the phone does get the authentication it then refuses to proceed).

If you'd like, I can post my auth.asp script I'm using with the simulator.

Re: Problems w/Execute object using CM simulator

Here you go. As you can see it's pretty simple. I'm even getting the parameters the script on the CM would usually get.. I could forward those to the actual call manager authentication script if for some reason I'd want to perform a real authentication. But if you load up that file and make it your authentication url, you shouldn't have any problems with push operations even using the CM simulator.

Re: Problems w/Execute object using CM simulator

Assuming you have the Simulator installed and an VOIP phone on your network, run the Simulator and it should detect the phone.

To test service apps, press the default device button and fill out the Services URL with that of the web server you will be hosting your services on. Note that it wants the IP address, no dominan name resolution.

You may then need to reboot the phone using the reset button.

I found that the easiest wat to test was to place a menu object at the Services URL, then make my tests items on it, rather than resetting the URL and rebooting every time I made a new test or name change.

Then when you press the services button on the phone it should display what is returned from the services URL.

I'm still pretty much of a newbie myself, so feel free to correct me if I've missed anything here.

SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
view more

Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
view more

CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...
view more