Address family not supported by protocol - IPv6

Hi,

I added an IPv6 trunk, but it is not working.
Does anyone know where the error could be??

[2022-05-16 14:34:50] WARNING[5138]: chan_sip.c:3782 __sip_xmit: sip_xmit of 0x7fb384003c50 (len 661) to [XXXX:XXXX:db:db01::4]:5060 returned -1: Address family not supported by protocol
[2022-05-16 14:34:51] WARNING[5138]: chan_sip.c:3782 __sip_xmit: sip_xmit of 0x7fb384003c50 (len 661) to [XXXX:XXXX:db:db01::4]:5060 returned -1: Address family not supported by protocol
[2022-05-16 14:34:52] WARNING[5138]: chan_sip.c:3782 __sip_xmit: sip_xmit of 0x7fb384003c50 (len 661) to [XXXX:XXXX:db:db01::4]:5060 returned -1: Address family not supported by protocol
[2022-05-16 14:34:53] WARNING[5138]: chan_sip.c:3782 __sip_xmit: sip_xmit of 0x7fb384003c50 (len 661) to [XXXX:XXXX:db:db01::4]:5060 returned -1: Address family not supported by protocol

asterisk -rx ‘pjsip show transports’
Transport: ipv6-tcp tcp 3 96 [::]:5060
Transport: ipv6-udp udp 3 96 [::]:5060

cat pjsip_transport_custom.conf
[ipv6-udp]
type=transport
protocol=udp
bind=[::]:5060
allow_reload=no
tos=cs3
cos=3

[ipv6-tcp]
type=transport
protocol=tcp
bind=[::]:5060
allow_reload=no
tos=cs3
cos=3

cat pjsip_custom_post.conf
Trunk_64
transport=ipv6-udp

cat pjsip.conf
[Trunk_64]
type=aor
qualify_frequency=60
contact=sip:[XXXX:XXXX:db:db01::4]:5060

[Trunk_64]
type=endpoint
transport=ipv6-udp
disallow=all
allow=ulaw,alaw,gsm,g726,g722,h264,mpeg4
aors=Trunk_64
send_connected_line=false
language=en
from_domain=[XXXX:XXXX:db:db01::4]
user_eq_phone=no
t38_udptl=no
t38_udptl_ec=none
fax_detect=no
trust_id_inbound=no
t38_udptl_nat=no
direct_media=no
rtp_symmetric=yes
dtmf_mode=auto

[Trunk_64]
type=identify
endpoint=Trunk_64
match=[XXXX:XXXX:db:db01::4]

Your log messages are for chan_sip, but you’ve provided configuration for chan_pjsip.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.