[OpenSIPS-Users] Forking Non-INVITE Requests

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jun 30 04:06:31 EDT 2017

Hi Chad,

I would say the t_replicate() is what you are looking for :


Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer

OpenSIPS Bootcamp 2017, Houston, US

On 06/29/2017 07:31 PM, Chad Attermann wrote:
> 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!
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170630/87b9a6db/attachment.html>

More information about the Users mailing list