Hello,
On 03/09/16 02:47, José Seabra wrote:
Hello,
I have the following scenario:
Kamailio is suspending an INVITE then generates a SUBSCRIBE msg to an
external server with UAC module, and only resume the suspended INVITE
when receives an NOTIFY(this NOTIFY "belongs" to the SUBSCRIBE dialog)
from the external server.
The issue is that sometimes kamailio doesn't receive a NOTIFY and the
transaction is not resumed, any one have an idea how can i implement a
solution to resume the suspended invite after x seconds without
receiving NOTIFY msg?
you can enable a failure_route for the transaction and it
will be
execute after the transaction timeout (you can set it with t_set_fr() to
a custom value than the default for the other transactions).
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com -
http://www.kamailio.org
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda