On 5/10/13 11:04 PM, Attila Megyeri wrote:

I managed to find a solution in the meantime: using the xhttp module + uac gives a perfect solution.


Good to see people can ultimately find solutions for new needs with existing features.

Cheers,
Daniel

 

Regards,

Attila

 

From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Attila Megyeri
Sent: Friday, May 10, 2013 4:57 PM
To: sr-users@lists.sip-router.org
Subject: [SR-Users] SIP notify to UAC, triggered from DB or web

 

Hello,

 

I would like to send a SIP NOTIFY message to my SIP client(s), initiated by an event on the server side.

//OFF Asterisk has a similar functionality, for instance (“sip notify <phone vendor>-reboot”), to request a reboot of the  phone device from the server side. There is no need for an associated SUBSCRIBE request in such a case. ON//

 

Our requirement is, that if a specific event happens on the server side, I want to send an event to the client.

My first idea is to use SIP NOTIFY, but perhaps a SIP MESSAGE could do the job as well. The client is registered over TLS, if necessary it could even subscribe for the event.

 

What would you recommend, using the websockets? Or creating a module from the scratch?

 

Thank you in advance,

 

Attila

 

 



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * http://asipto.com/u/katu *