Hello,
not sure is exactly what you are looking for, but check a bit the rls module. If not matching your needs, you have to develop your own one.
Cheers,
Daniel
On 10/23/13 9:15 AM, Jan Gaida wrote:
Hello,
I'd like to explain my scenario and the module I'd like to develop. I am hoping for comments whether there are already modules like that or which modules' API I could use to make the development easier.
Scenario:I have two domains (A and B) with a Kamailio server in each of them configured as presence servers. The agents from both domains want to subscribe to few resources from domain A.
Idea:In order to reduce traffic between the domains, the presence server from domain B shall handle the subscriptions internally and use an internal virtual presence-user-agent to subscribe to the resources in domain A.
SIP Messages:
Subscription:1) Subscribe resource.domain.a, from each user agent ua_n.domain.b
2) 202 OK from kamailio.domain.b3) If not already subscribed, Subscribe resource.domain.a from kamailio.domain.b with virtual user-agent4) 202 OK from kamailio.domain.a
(Repeat for each subscriber)(Subscription has to be refreshed by an internal timer)Events:1) Publish resource.domain.a to kamailio.domain.a2) 200 OK from kamailio.domain.a3) Notify resource.domain.a to kamailio.domain.b4) 200 OK from kamailio.domain.b5) Notify resource.domain.a to each user agent ua_n.domain.b6) 200 OK from each ua_n.domain.b
(Internally, Kamailio of domain B has to forward the incoming Notify to all locally subscribed user-agents)
I tried using the PUA module but it does not fit all my needs. Now I think I will have to develop my own module in order to achieve everything. Any ideas?
Kind regardsJan Gaida
PS: Sorry for mailing to both mail-lists. But I was not sure which list was the correct for this topic.
--
Jan Gaida
Ingeniero Desarrollo SoftwareC/ Marconi 3 (PTM)
28760 Tres Cantos
Spain
jan.gaida@grupoamper.com | www.grupoamper.com
This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately by e-mail or telephone.The storage, recording, use or disclosure of this e-mail and its attachments by anyone other than the intended recipient is strictly prohibited. This message has been verified using antivirus software; however, the sender is not responsible for any damage to hardware or software resulting from the presence of any virus.
Este mensaje y cualquier anexo son exclusivamente para la persona a quien van dirigidos y pueden contener información privilegiada o confidencial. Si usted ha recibido esta comunicación por error, le agradecemos notificarlo de inmediato por esta misma vía o por teléfono. Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito. Este mensaje ha sido verificado con software antivirus; sin embargo, el remitente no se hace responsable en caso de que en éste o en los archivos adjuntos haya presencia de algún virus que pueda generar daños en los equipos o programas del destinatario.
_______________________________________________ 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 Trainings - Berlin, Nov 25-28 - more details about Kamailio trainings at http://www.asipto.com -
_______________________________________________
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
Jan Gaida Ingeniero Desarrollo Software |
|
C/ Marconi 3 (PTM) 28760 Tres Cantos Spain jan.gaida@grupoamper.com | www.grupoamper.com |
This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately by e-mail or telephone.The storage, recording, use or disclosure of this e-mail and its attachments by anyone other than the intended recipient is strictly prohibited. This message has been verified using antivirus software; however, the sender is not responsible for any damage to hardware or software resulting from the presence of any virus.
Este mensaje y cualquier anexo son exclusivamente para la persona a quien van dirigidos y pueden contener información privilegiada o confidencial. Si usted ha recibido esta comunicación por error, le agradecemos notificarlo de inmediato por esta misma vía o por teléfono. Está prohibida su retención, grabación, utilización o divulgación con cualquier propósito. Este mensaje ha sido verificado con software antivirus; sin embargo, el remitente no se hace responsable en caso de que en éste o en los archivos adjuntos haya presencia de algún virus que pueda generar daños en los equipos o programas del destinatario.