[SR-Users] Kamailio no recieved 480/486 messages
Yuriy Gorlichenko
ovoshlook at gmail.com
Wed Jul 1 00:31:43 CEST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150701/0cef6417/attachment.html>
More information about the sr-users
mailing list