[SR-Users] 477 Unfortunately error on sending to next hop occurred

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 23 14:56:45 CEST 2013


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 at gmail.com 
> <mailto:miconda at 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
>
>
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130823/b27ad593/attachment.html>


More information about the sr-users mailing list