Silicon Technix Forums

Please login or register.

Author Topic: message event  (Read 628 times)

Offline crosemffet

  • Junior Member
  • **
  • Posts: 8
  • Karma: +0/-0
    • View Profile
message event
« on: February 08, 2008, 06:52:30 AM »
hi babar,
there\'s a way to send text message to the iax client directly from server using asterisk CLI?.
I mean something like SendText(\"hello world\") to extension NNN.
I\'m working now trying to add chat functionallity to the webcontrol, and I need something like that for that purpose.
I need also de posibility to send text message when the control is outside a call.
I can make it simply checking each N seconds if any news, without any notification, but the problem is it will waste a lot of resources from the server and bandwith consumption, so the idea is the webpage does nothing until the control receives one event telling that a new chat line arrives.
I\'ve notice that the control has a messages (message, event type).
the question is can I use it to send propietary messages to the control telling that a new chat event has arrived to check via ajax the chat server news?
best regards,
claudio
« Last Edit: January 01, 1970, 05:00:00 AM by crosemffet »

 

Page created in 0.15 seconds with 15 queries.