<div dir="ltr">3rd attempt to post it to the list, please ignore if it is duplicate<br><div><div class="gmail_quote"><br><br><div dir="ltr"><div><div><div>I have the following problem<br><br>When trying to setup asterisk 13.1 with PJSIP to connect to my IPV6 capable SIP provider the registration fails.<br><br>[code][Dec 22 19:24:24] DEBUG[25247] pjsip:       tsx0x110736c .Transaction created for Request msg REGISTER/cseq=36181 (tdta0x721d90)<br>[Dec 22 19:24:24] DEBUG[25247] pjsip:       tsx0x110736c Sending Request msg REGISTER/cseq=36181 (tdta0x721d90) in state Null<br>[Dec 22 19:24:24] DEBUG[25247] pjsip:      sip_resolve.c .Starting async DNS A query: target=<a href="http://sip1.easybell.de" target="_blank">sip1.easybell.de</a>, transport=Unspecified, port=5060<br>[Dec 22 19:24:24] DEBUG[25247] pjsip:         resolver.c .Transmitting 34 bytes to NS 0 (<a href="http://192.168.178.1:53" target="_blank">192.168.178.1:53</a>): DNS A query for <a href="http://sip1.easybell.de" target="_blank">sip1.easybell.de</a>: Success<br>[Dec 22 19:24:24] DEBUG[25247] pjsip:       tsx0x110736c .State changed from Null to Calling, event=TX_MSG<br>[Dec 22 19:24:24] DEBUG[25252] pjsip:         resolver.c Received 50 bytes DNS response from <a href="http://192.168.178.1:53" target="_blank">192.168.178.1:53</a><br>[Dec 22 19:24:24] DEBUG[25252] pjsip:         resolver.c Nameserver <a href="http://192.168.178.1:53" target="_blank">192.168.178.1:53</a> state changed Active --> Active<br>[Dec 22 19:24:24] WARNING[25252] pjsip:       tsx0x110736c Failed to send Request msg REGISTER/cseq=36181 (tdta0x721d90)! err=171064 (Unsuitable transport selected (PJSIP_ETPNOTSUITABLE))<br>[Dec 22 19:24:24] DEBUG[25252] pjsip:       tsx0x110736c State changed from Calling to Terminated, event=TRANSPORT_ERROR<br>[Dec 22 19:24:24] DEBUG[25252] pjsip:       tsx0x110736c Timeout timer event<br>[Dec 22 19:24:24] WARNING[25247] res_pjsip_outbound_registration.c: No response received from 'sip:<a href="http://sip1.easybell.de:5060" target="_blank">sip1.easybell.de:5060</a>' on registration attempt to '<a href="http://sip:004970718604945@sip1.easybell.de:5060" target="_blank">sip:004970718604945@sip1.easybell.de:5060</a>', retrying in '60'<br>[Dec 22 19:24:24] DEBUG[25252] pjsip:       tsx0x110736c .State changed from Terminated to Destroyed, event=TIMER<br>[/code]<br><br>For my naive eyes it looks as if there is no ipv6 name resolution (a DNS AAAA query) performed.<br><br>Here are the (relevant) entries in the configuration files:<br><br>pjsip.conf<br>[code][udp-ipv6]<br>type=transport<br>protocol=udp<br>bind=[2a02:8070:86c0:2ca0:ba27:ebff:feda:bbb6]:5060<br><br>...<br><br>[endpoint-ipv6](!)<br>type=endpoint<br>context=ExternalSets<br>transport=udp-ipv6<br>rtp_ipv6=yes<br>disallow=all<br>;allow=g722<br>allow=alaw<br>allow=gsm<br>allow=g726<br>allow=ulaw<br><br>[registration-ipv6](!)<br>type=registration<br>transport=udp-ipv6<br>;auth_rejection_permanent=no<br>retry_interval=60<br><br>[easybell](registration-ipv6)<br>outbound_auth=easybell<br>server_uri=sip:<a href="http://sip1.easybell.de:5060" target="_blank">sip1.easybell.de:5060</a><br>client_uri=sip:<userid>@<a href="http://sip1.easybell.de:5060" target="_blank">sip1.easybell.de:5060</a><br><br>[easybell](endpoint-ipv6)<br>;context=ExternalSets<br>outbound_auth=easybell<br>aors=easybell[/code]<br><br>The own IPV6 address is recognized:<br><br>[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<br><br>...<br><br>[Dec 22 19:24:20] VERBOSE[25222] res_pjsip_multihomed.c: Local IPv4 address determined to be: 192.168.178.99<br>[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]<br><br>The IP address of the partner is recognized:<br>[code][Dec 22 19:24:20] VERBOSE[25222] config.c: Parsing '/etc/asterisk/pjsip.conf': Found<br>[Dec 22 19:24:20] DEBUG[25222] netsock2.c: Splitting '<a href="http://sip1.easybell.de" target="_blank">sip1.easybell.de</a>' into...<br>[Dec 22 19:24:20] DEBUG[25222] netsock2.c: ...host '<a href="http://sip1.easybell.de" target="_blank">sip1.easybell.de</a>' and port ''.<br>[Dec 22 19:24:20] DEBUG[25222] netsock2.c: Splitting '2001:4090:4008::124' into...<br>[Dec 22 19:24:20] DEBUG[25222] netsock2.c: ...host '2001:4090:4008::124' and port ''.<br>[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[/code]<br><br>The problem is when Asterisk tries to [b]register[/b] with the other host.<br><br></div>Anyone have an idea what is wrong or missing, I am appreciating any hint.<br><br></div>Thank you in advance!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Rüdiger<br clear="all"><div><div><div><div><br>-- <br><div>Rüdiger Basche - <a href="mailto:ruediger@basche.org" target="_blank">ruediger@basche.org</a></div>
</div></div></div></div></font></span></div>
</div><br><br clear="all"><br>-- <br><div class="gmail_signature">Rüdiger Basche - <a href="mailto:ruediger@basche.org">ruediger@basche.org</a></div>
</div></div>