Hi, check which protocol which r u using on hardphones... If its UDP - it
wouldn't be work - because in ur route block u r just returning from this
route...
This code block working fine for TCP, but won't be work for UDP..
if (is_request()) {
if(has_totag()) {
if (check_route_param("nat=yes")) {
setbflag(FLB_NATB);
}
if (check_route_param("rtp=bridge")) {
setbflag(FLB_BRIDGE);
}
if (check_route_param("rtp=ws")) {
setbflag(FLB_RTPWS);
}
}
}
in your case u r just returning from this route:
if (!isbflagset(FLB_BRIDGE)) {
return;
}
because there are no any flags configured yet, I mean, kamailio doesn't now
anything about connection - because there is no any connection in case when
u r using UDP, because UDP is connection stateless....
--
Sent from:
http://sip-router.1086192.n5.nabble.com/Users-f3.html