<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I would like to know better the opensips script routes, but i cannot find any resources that answer my questions completely.<br><br>
</div>Here are my questions:<br><br></div>1.)When a request arrives the commands from the route main block are always executed?<br><br></div>2.) What is the purpose of the t_on_branch? Why can't I simply call for instance route(1) (which is like a function)? Aren't they similar?<br>
<br></div>3.) I understood that a transaction contains a SIP request and all the replies to that request and a transaction is uniquely idenbtified by the branch ID tag? Am i right?<br><br></div>4.) When a reply arrives the commands from the onreply_route main block are always executed, and only after these commands are executed the onreply_route[1] is called (if it was set previously with t_on_branch)?<br>
<br></div>5.) A SIP transaction can contain multiple requests? Can you give me an example?<br><br></div>6.) Where can I find a more detailed documentation on the opensips script (with examples which are explained)?<br><br>
</div>Any help would be very appreciated.<br><br></div>Thank you,<br><br></div>Chifor Bogdan<br></div>