[sr-dev] extension of DMQ module to support several notifcation servers

Henning Westerholt hw at skalatan.de
Mon Oct 5 17:25:36 CEST 2020


Hello,

one question about a planned extension in the DMQ module. Right now the module supports only one server in the notification_address parameter. It is possible to set multi_notify to 1, and then the module will resolve the one sip URI over DNS to multiple servers, thought.

There is interest in extending the module to support multiple notification_address servers natively without using DNS. I see two options right now:


  1.  Separate the multiple servers, with ";", e.g. modparam("dmq", "notification_address", "sip:server1;sip:server2"). If only one server in the param, use the existing logic.
  2.  Use multiple notification_servers parameter calls, e.g. modparam("dmq", "notification_address") - modparam("dmq", "notification_address", "sip:server2<sip:server1;sip:server2>"). If only one param statement, use the existing logic.

As the module already has support to use a notification server list internally, the change should be small in both cases.

I think option 1) is the better way, as its already done in other modules like this to support multiple server scenarios.

Any comments or objections about this extension?

Cheers,

Henning

--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201005/87f2e8df/attachment.htm>


More information about the sr-dev mailing list