[OpenSIPS-Users] Forking sip MESSAGE to multiple endpoints
Podrigal, Aron
aronp at guaranteedplus.com
Wed Nov 14 12:38:10 EST 2018
Hi.
I want to fork a MESSAGE request to multiple endpoints and handle the
delivery status for each on reply.
currently I append_branch() for each additional destination. But the
problem is, that if any branch received a 200 reply, any other branch which
did not relay the request yet (ie socket connection wasn't established) or
TM timer is triggered, then those branches are canceled without triggering
onreply route or failure route.
How could I implement it, so that I can handle the timeout or failure for
each endpoint?
Maybe t_replicate? Or is there an event raised for a canceled branch which
I can subscribe to?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181114/6ed840b9/attachment.html>
More information about the Users
mailing list