[OpenSIPS-Users] Actions that apply to all branches

Răzvan Crainea razvan at opensips.org
Mon Nov 28 10:35:23 CET 2016


Hi, Adrian!

I don't think you will find such a list.
Usually the idea is to do the changes that affect all branches in the 
main route, and if you want to do per-branch changes, do them in the 
branch_route.
Are you sure that force_send_socket() only applies to the main branch? 
If you call force_send_socket() in the main route, and then add a second 
branch, the messages leave on different interfaces?

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 11/26/2016 12:19 PM, Adrian Fretwell wrote:
>
> Hello,
>
> I understand from the documentation that after calling append_branch() 
> any further URI manipulations only apply to the main branch, but I am 
> trying to understand what actions will still apply over all the 
> branches.  For example I discovered that rtpproxy_offer() appears to 
> affect all branches, but force_send_socket() only apples to the main 
> branch.
>
> Is there a list or rule that will help me work out what I need to 
> apply before branching and what I can leave until later, perhaps until 
> just before t_relay() is called?
>
> I hope my question makes sense.
>
> Kind regards,
>
> Adrian Fretwell
> The Old School house
> Top Green
> Sibthorpe
> Nottinghamshire
> NG23 5PN.
>
> T: 01636 525360
> M: 07850 756603
>
> This electronic message contains information from A-Squared 
> Engineering Services which may be privileged or confidential. The 
> information is intended to be for the use of the individual(s) or 
> entity(s) named above. If you are not the intended recipient be aware 
> that any disclosure, copying, distribution or use of the contents of 
> this information is prohibited. If you have received this electronic 
> message in error, please notify us by telephone or email to 
> adrian.fretwell at topgreen.co.uk immediately.
>
>
> _______________________________________________
> 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/20161128/a665395b/attachment.htm>


More information about the Users mailing list