[SR-Users] t_suspend usage in branch_route

Aymeric Moizard amoizard at gmail.com
Thu Feb 8 16:09:22 CET 2018


I'm trying to use t_suspend in my kamailio.cfg from a branch_route.

I'm using kamailio 5.1.1 on debian jessie from

>From the documentation:
i can see that "This function can be used from ANY_ROUTE ."

However, the INVITE is still forwarded for this branch. So obviously the
"outgoing transaction" is not suspended.
May be "t_suspend" is only suspending "incoming transactions"?

I tried to call "drop()". This prevent the INVITE from being sent. But in
such case, i have an answer
is sent immediatly to the caller (SIP/2.0 500 I'm terribly sorry, server
error occurred (6/SL))

I want the script to wait as expected after my "t_suspend". And in the
block indicated by t_continue,
i want to append a new branch.

Any way to do this?

Otherwise, do you advise me to control the list of branch before t_relay? I
guess I can access
the list. Not sure how.. so if you have any tips...


Antisip - http://www.antisip.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180208/4281bb9f/attachment.html>

More information about the sr-users mailing list