[OpenSIPS-Users] Need help :: getting TM477 Error

Răzvan Crainea razvan at opensips.org
Mon Sep 25 07:10:20 EDT 2017


Can you log the $du and $ru, and check they are proper sip uris, and 
whether they are IPv4 and IPv6? Also log the $si.

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 09/25/2017 01:39 PM, Ravindrakumar Bhatt wrote:
> Hi Răzvan,
> Thank  you for your response. i am using opensips 2.2.3 at the moment 
> and i am not using mhomed or force_send_socket() for forwarding request.
>
> i am using following logic to forward my request.
>
>   $ru = $avp(cfwdbusy);
>   $du = $avp(cfwdbusy);
>   #accounting details
>   $avp(leg_src)=$tU;
>   $avp(leg_dst)=$(avp(cfwdbusy){uri.user});
>   $avp(leg_call_type)="cfwdbusy";
>
>   append_hf("CFWD: YES\r\n");
>   if (!t_relay()) {
>          send_reply("500","Internal Error");
>   }
> if anything else is needed from my side please let me know.
>
> Regards,
> Ravindrakumar Bhatt
>
>
> On Mon, Sep 25, 2017 at 1:21 PM, Răzvan Crainea <razvan at opensips.org 
> <mailto:razvan at opensips.org>> wrote:
>
>     Hi, Ravindrakumar!
>
>     What version of OpenSIPS are you using?
>     Are you using mhomed or force_send_socket() in your script? My
>     assumption is that you are using a wrong interface to forward the
>     request.
>
>     Best regards,
>
>     Răzvan Crainea
>     OpenSIPS Developer
>     www.opensips-solutions.com <http://www.opensips-solutions.com>
>
>     On 09/24/2017 08:18 PM, Ravindrakumar Bhatt wrote:
>>     Hello guys,
>>     I need help to understand why am I getting below mentioned error
>>     and it's possible solutions ?
>>
>>     Here opensips is listening to both IPv4 and IPv6 socket and one
>>     to one call between IPv4 <--> IPv6,both IPv4 and Both IPv6 users
>>     is working fine,but when I am trying to use call forwarding I am
>>     getting this error.
>>
>>     Sep 13 13:18:45 host60-190-60-195
>>     /usr/local/sbin/opensips[134236]: ERROR:core:proto_udp_send:
>>     sendto(sock,0x7f1da1c8a940,2300,0,0x7f1da1ca9698,16): Network is
>>     unreachable(101)
>>     Sep 13 13:18:45 host60-190-60-195
>>     /usr/local/sbin/opensips[134236]: ERROR:tm:msg_send: send() for
>>     proto 1 failed
>>     Sep 13 13:18:45 host60-190-60-195
>>     /usr/local/sbin/opensips[134236]: ERROR:tm:t_forward_nonack:
>>     sending request failed
>>     Sep 13 13:18:45 host60-190-60-195
>>     /usr/local/sbin/opensips[134234]: This is handle_nat reply route: 477
>>
>>     Thanks and waiting for suggestions.
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>     <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170925/0e770bd1/attachment.html>


More information about the Users mailing list