cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
361
Views
0
Helpful
6
Replies

alarm clock

Davide Fiumi
Level 1
Level 1

I have to develope a service that is: ALARM CLOCK for hotel rooms

The user inputs hour and minutes using a xml-page.

When this hour will be a sound will be sent on phone .

I Know how write data in DB and how send sound but i don't know how execute service automaticaly when the time will be.

Thank you

6 Replies 6

stephan.steiner
Spotlight
Spotlight

well, write an application that periodically checks the ordered wakeup calls in the database and if the current time matches the desired wakeup time, send your sound.

vsantanac
Level 1
Level 1

I have the same problem, but I don´t know how to send the sound. Can you tell me please?

Thank you

It depends what kind of sound we're talking about. If you have a raw file on the TFTP, it's an executeItem with the Play URI, if it's an RTP stream, it's the RTPRx URI.

Here's an example:

This makes the phone receive an RTP multicast from 239.1.1.1 port 12345. Use RTPRx: for unicast addresses.

Similarly to play a raw file from the FTPT:

And for your reference, this is the guide you should have under your pillow... http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_usage_guide_book09186a0080634f5e.html

And as for how to stream.. there's the MOH service on your CCM and if you want something else, search in this forum.. I posted a sample java application that can stream arbitrary WAV files to either unicast or multicast addresses.

http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_usage_guide_book09186a0080634f5e.html

This link does not seem to work. Can you provide what it is in reference to. I am interested in see what the documnet is?

Thanks

Trae

moon_gal84
Level 1
Level 1

i'm trying to develope a alarm clock but how do you input hour and minutes using xml page?