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

Ravindrakumar Bhatt ravindra.bhatt at ecosmob.com
Mon Sep 25 06:39:27 EDT 2017


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> 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 Developerwww.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 listUsers at lists.opensips.orghttp://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/0fe3b958/attachment-0001.html>


More information about the Users mailing list