I'll check the logs and most probably have to do some test myself, but
it's going to take a bit.
Daniel
On 8/23/13 2:50 PM, Steve Davies wrote:
On 23 August 2013 14:24, Daniel-Constantin Mierla <miconda(a)gmail.com
<mailto:miconda@gmail.com>> wrote:
Oh, I forgot that the group of t_set_* functions have one
parameter, to allow set/unset the flag. Use:
t_set_disable_internal_reply(1);
Hi Daniel,
Doesn't seem to work...
Kamailio sends back 500, 477, 477, 477
Return code from t_relay was still -1:
t_set_disable_internal_reply(1);
$avp(senttoast) = 0;
$var(rr) = t_relay();
xlog("L_NOTICE","SLD: in RELAY, t_relay returned $var(rr)
err.rcode is $err.rcode t_r_c is $T_reply_code sent = $avp(senttoast)\n");
if ($var(rr) < 0) {
sl_reply_error();
}
> Aug 23 14:34:11 ubuntu
/usr/local/sbin/kamailio[22785]: NOTICE:
<script>: SLD: in RELAY, t_relay
returned -1 err.rcode is <null> t_r_c
is 100 sent = 0
Thanks,
Steve