[code][Dec 22 19:24:14] DEBUG[25222] pjsip: udpv60x998200 SIP UDP IPv6 transport started, published address is [2a02:8070:86c0:2ca0:ba27:ebff:feda:bbb6]:5060
…
[Dec 22 19:24:20] VERBOSE[25222] res_pjsip_multihomed.c: Local IPv4 address determined to be: 192.168.178.99
[Dec 22 19:24:20] VERBOSE[25222] res_pjsip_multihomed.c: Local IPv6 address determined to be: [2a02:8070:86c0:2ca0:ba27:ebff:feda:bbb6][/code]
The IP address of the partner is recognized:
[Dec 22 19:24:20] VERBOSE[25222] config.c: Parsing '/etc/asterisk/pjsip.conf': Found
[Dec 22 19:24:20] DEBUG[25222] netsock2.c: Splitting 'sip1.easybell.de' into...
[Dec 22 19:24:20] DEBUG[25222] netsock2.c: ...host 'sip1.easybell.de' and port ''.
[Dec 22 19:24:20] DEBUG[25222] netsock2.c: Splitting '2001:4090:4008::124' into...
[Dec 22 19:24:20] DEBUG[25222] netsock2.c: ...host '2001:4090:4008::124' and port ''.
[Dec 22 19:24:20] DEBUG[25222] acl.c: [2001:4090:4008::124]:0/[ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]:0 sense 0 appended to ACL
The problem is when Asterisk tries to register with the other host.
Sorry, no, I have not followed it any further, I tried to post the question to the asterisk mailing list, but obviously I was to dumb to do that correctly and/or understandable, so I never received any reply there. Might be you have more luck…
Asterisk 13 uses the PJSIP DNS resolution. It is very limited and does not do AAAA lookups. We wrote our own support in master (which will become 14) that is more feature complete. It does AAAA and A lookups, depending on available transports, and supports NAPTR and SRV. We also have testsuite tests which verify it is behaving as expected.
@rbasche, since the recently released PJProject 2.5.5, your issue should be resolved even if you stay with Asterisk 13. Please, give it a try and report.