2010/10/5 Olle E. Johansson <oej(a)edvina.net>et>:
It must be an
error in the documentation. When entering in
failure_route this implies that the transaction does exist, so
sl_send_reply() is not valid.
Hmm. I am not sure you are right here. You enter the failure_route when a
transaction fails, but it still exists.
I mean the incoming transaction (that created upon receipt of the
INVITE). t_relay is executed (the transaction is created). When
entering in failure_route that transaction obviously exists (we
haven't sent a final reply to the caller yet) so using sl_send_reply
is invalid (it can be used just in case the transaction hasn't be
created).
You can retrigger it with new branches.
Yes, but it has nothing to do with the incoming transaction which is unique.
Or has it ceased to exist so you simply create a new
transaction?
The incoming transaction exists until a final response is sent by
kamailio to the client. Outgoing transactions (branches) exist until
kamailio receives a final reply for each one.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>