<div dir="ltr">Hi,<div><br></div><div>I'm trying to use t_suspend in my kamailio.cfg from a branch_route.</div><div><br></div><div>I'm using kamailio 5.1.1 on debian jessie from <a href="http://deb.kamailio.org/kamailio51">http://deb.kamailio.org/kamailio51</a></div><div><br></div><div>From the documentation: <a href="http://www.kamailio.org/docs/modules/5.1.x/modules/tmx.html#tmx.f.t_suspend">http://www.kamailio.org/docs/modules/5.1.x/modules/tmx.html#tmx.f.t_suspend</a></div><div>i can see that "<span style="font-family:Helvetica,Arial,sans-serif;text-align:justify">This function can be used from ANY_ROUTE ."</span><div><br></div><div>However, the INVITE is still forwarded for this branch. So obviously the "outgoing transaction" is not suspended.</div><div>May be "t_suspend" is only suspending "incoming transactions"?</div><div><br></div><div>I tried to call "drop()". This prevent the INVITE from being sent. But in such case, i have an answer</div><div>is sent immediatly to the caller (<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">SIP/2.0 500 I'm terribly sorry, server error occurred (6/SL))</span></div><div><br></div><div>I want the script to wait as expected after my "t_suspend". And in the block indicated by t_continue,<br></div><div>i want to append a new branch.</div><div><br></div><div>Any way to do this?</div><div><br></div><div>Otherwise, do you advise me to control the list of branch before t_relay? I guess I can access</div><div>the list. Not sure how.. so if you have any tips...</div><div><br></div><div>Tks</div><div>Aymeric</div><div><br></div>-- <br><div class="gmail_signature"><img src="http://sip.antisip.com/am48.png">Antisip - <a href="http://www.antisip.com" target="_blank">http://www.antisip.com</a><br></div>
</div></div>