Hi Daniel.
This is a retransmission of 200ok.
In VoLTE case, if the call remains in ringing phase for enough long time,
radio resources are released; when the call is then answered (200ok), it
can last >1sec before the message is delivered to originating side. This
delay is due to paging and radio resources re-establishment.
Br. Stefano
On Tue, May 16, 2017 at 2:59 PM, Daniel-Constantin Mierla <miconda(a)gmail.com
Hello,
it may be that the 200ok can be dropped only from core reply_route {}, not
from tm specific onreply_rouute[x].
Is it a retransmission of 200ok or a response from another branch?
Cheers,
Daniel
On 16.05.17 10:56, Stefano Bertuola wrote:
Hi.
I am trying to drop duplicated 200 OK on onreply_route(), but Kamailio
still delivering them:
if (is_method("INVITE") && t_check_status("200") &&
sdp_content()) {
xlog("L_INFO", "200 OK Received\n");
if (!isflagset(20)) {
xlog("L_INFO", "200 OK Relayed\n");
setflag(20);
} else {
xlog("L_INFO", "200 OK Dropped\n");
drop;
}
}
From logs, I can see the script is executed, but still 200 OK is relayed:
INFO: <script>: 200 OK Received
INFO: <script>: 200 OK Dropped
DEBUG: tm [t_reply.c:1234]: t_should_relay_response():
->>>>>>>>>
T_code=200, new_code=200
DEBUG: tm [t_reply.c:1239]: t_should_relay_response(): DBG:
t_should_relay_response: 200 INV after final sent
DEBUG: tm [t_reply.c:1752]: relay_reply(): DEBUG: relay_reply: branch=0,
save=0, relay=0 icode=0 [...]
How can I proceed to get the desired behavior?
Br. Stefano
_______________________________________________
Kamailio (SER) - Users Mailing
Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin
Mierlawww.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) -
www.asipto.com
Kamailio World Conference - May 8-10, 2017 -
www.kamailioworld.com
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users