[OpenSIPS-Users] Forking Non-INVITE Requests

Chad Attermann attermann at gmail.com
Thu Jun 29 12:31:26 EDT 2017


Hi All,

I would like to be able to “broadcast” some non-INVITE requests (like NOTIFY and MESSAGE) to multiple registered endpoints.  The problem with using parallel forking is that the request is not reliably delivered to all registered endpoints since retransmission of the request stops after the first success response is received.  What I need is some hybrid of parallel and serial forking, where requests to all registered are sent at once, but each is treated as a separate transaction so that the message is sent (or at least attempted) reliably to each endpoint.

This sort of situation is mentioned in the docs for the TM module…

"UAC--it is a very simplistic code which allows you to generate your own transactions. Particularly useful for things like NOTIFYs or IM gateways.”

… but there is no mention of *how* to use it.  I’m sure there is probably a simple script for this, but I haven’t had any success searching the mailing list or the Internet at large for details.  I would appreciate if anybody could provide details or a sample script demonstrating how to create a separate transaction for each branch.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170629/d94379d8/attachment.html>


More information about the Users mailing list