[SR-Users] Resume suspended invite transation after x seconds

José Seabra joseseabra4 at gmail.com
Mon Sep 5 21:41:50 CEST 2016


I understood you now, I have to set the t_fr_time before suspend the INVITE
transaction.

Thank you for your support.
Cheers
José

2016-09-05 13:25 GMT+01:00 José Seabra <joseseabra4 at gmail.com>:

> Hello Daniel,
> I already have the failure_route enabled for the SUBSCRIBE msg and the
> function  t_set_fr(0,3000) is set before send it for network, but when
> Kamailio receives an 200 OK related  to SUBSCRIBE it never enters on the
> failure route if not receive the NOTIFY.
>
> Is there missing some configuration to this work?
>
> Thank you for you help
>
> Regards
> José
>
> 2016-09-05 8:21 GMT+01:00 Daniel-Constantin Mierla <miconda at gmail.com>:
>
>> 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
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
>
> --
> Cumprimentos
> José Seabra
>



-- 
Cumprimentos
José Seabra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160905/4000cdb9/attachment.html>


More information about the sr-users mailing list