At my confiig I have route like this
onreply_route[REPLY_FROM_WS] {
if(status=~"[12][0-9][0-9]") {
xlog("L_INFO", "Manage_Reply from webrtc client {$si:$sp} for method
{$rm}:
$rs");
rtpengine_manage("force trust-address replace-origin
replace-session-connection DTLS=passive ICE=remove RTP/AVP");
route(NATMANAGE);
}
}
This route successfully handling replies 180 183 and 200 and then (after
natmanage route) resend to mediaserver.
When callee client reject call it send 480 ot 486 message that not
resended by kamailio nowhere.
First of all I thought that 480 and 486 replies are failure replies but at
log I see its at onreply route.
So Ok . I added this to onreply_route
if (status=~"48[06]"){
xlog("L_INFO", "Manage_Reply from webrtc client {$si:$sp} for method
{$rm}:
$rs");
rtpengine_manage("force trust-address replace-origin
replace-session-connection DTLS=passive ICE=remove RTP/AVP");
route(NATMANAGE);
}
But message just going through natmanage route and goes nowhere
My NATMANAGE route is
xlog("L_INFO","NATMANAGE reply {$rm}");
if (is_reply()) {
if(isbflagset(FLB_NATB)) {
add_contact_alias();
}
xlog("L_INFO","reply {$rm}");
}
I see at my log only first NATMANAGE xlog... no more...
thnks for answer