[OpenSIPS-Users] Getting Address family not supported by protocol(97) on ipv6 call

Ravindrakumar Bhatt ravindra.bhatt at ecosmob.com
Thu Dec 13 05:33:13 EST 2018


Hi,
I am not using force_send_socket() for transferring call to voicemail
server. I am using dispatcher to send call to voicemail server.if request
is from ipv4 than call will be send to ipv4 peer of vm server else if
request is from ipv6 than its sent to ipv6 peer of server.

Thanks and Regards,
Ravindrakumar Bhatt

On Thu, Dec 13, 2018 at 3:38 PM Răzvan Crainea <razvan at opensips.org> wrote:

> Hello!
>
> Are you using force_send_socket() in your config? If you are, make sure
> you force an IPv4 address when going to voicemail.
>
> Best regards,
> Razvan
>
> On 12/13/18 11:36 AM, Ravindrakumar Bhatt wrote:
> > Hello,
> > I am using opensips 2.2 and have enabled ipv4 and ipv6 in config. I am
> > getting 500 internal error whenever I am trying to forward call to ipv6
> > using dispatcher.
> >
> > Scenario(VMBUSY) : user1(ipv6)->> user2(ipv4)(486 user busy)
> > ->>voicemail server(ipv6)
> >
> >
> > Error:
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:core:_shm_resize: resize(0) called
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]: DBG:core:mk_proxy:
> > doing DNS lookup...
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:core:parse_headers: flags=2000
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:core:parse_headers: flags=ffffffffffffffff
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:core:clen_builder: content-length: 392 (392)
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > ERROR:core:proto_udp_send:
> > sendto(sock,0x7fa40a849538,1357,0,0x7fa40a843ec8,28): Address family not
> > supported by protocol(97)
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]: ERROR:tm:msg_send:
> > send() for proto 1 failed
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > ERROR:tm:t_forward_nonack: sending request failed
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]: ERROR:tm:w_t_relay:
> > t_forward_nonack failed
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:core:parse_headers: flags=ffffffffffffffff
> > Dec 13 10:17:08 195 /usr/local/sbin/opensips[78090]:
> > DBG:tm:run_trans_callbacks: trans=0x7fa40a843ad0, callback type 64, id 2
> > entered
> > Please provide suggestions  for this.
> > --
> > *Thanks and Regards,
> > *
> > *Ravindrakumar Bhatt
> > *
> > Jr. Software Developer
> > Ecosmob Technologies Ltd
> > Ahmedabad
> > Mo:*+918460692402*
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> --
> Răzvan Crainea
> OpenSIPS Core Developer
>    http://www.opensips-solutions.com
> Meet the OpenSIPS team at the next OpenSIPS Summit:
>    https://www.opensips.org/events
>
> _______________________________________________
> 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/20181213/6fb4dff8/attachment-0001.html>


More information about the Users mailing list