Hello, as it says on the title I cannot use a trunk with the same domain / ip, I have Asterisk 18.11.2 and it’s a fresh install.
Whenever I try to use those two trunks it breaks my whole system, I cannot connect to my user account it says connecting and won’t do anything, when I look up in the asterisk console and type pjsip show registrations or endpoints it will say there are no objects found. I tried to use the line=yes but it doesn’t change anything.
Here is the configuration of both of my trunks
==================================
[wintoz]
type = registration
transport = transport-udp
outbound_auth = telnyx
client_uri = sip:xxxxx@sip.wintoz.fr:5060
server_uri = sip:sip.wintoz.fr:5060
[wintoz]
type = auth
auth_type = userpass
username = xxxxx
password = xxxxx
[wintoz]
type = aor
contact = sip:xxxxx@sip.wintoz.fr
[wintoz]
type = endpoint
transport = transport-udp
context = Tout
disallow=all
allow=opus
allow=g722
allow=ulaw
allow=alaw
from_user = xx
auth = telnyx
outbound_auth = telnyx
aors = telnyx
; NAT parameters:
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
[wintoz]
type = identify
endpoint = wintoz
match = sip.wintoz.fr
==================================
[telnyx]
type = registration
transport = transport-udp
outbound_auth = telnyx
client_uri = sip:xxxxxxxx@sip.telnyx.com:5060
server_uri = sip:sip.telnyx.com:5060
[telnyx]
type = auth
auth_type = userpass
username = xxxxxxxx
password = xxxxxxxx
[telnyx]
type = aor
contact = sip:xxxxxxxx@sip.telnyx.com
[telnyx]
type = endpoint
transport = transport-udp
context = Tout
disallow=all
allow=opus
allow=g722
allow=ulaw
allow=alaw
from_user = xxxxxxxx
auth = telnyx
outbound_auth = telnyx
aors = telnyx
; NAT parameters:
rtp_symmetric = yes
rewrite_contact = yes
send_rpid = yes
[telnyx]
type = identify
endpoint = telnyx
match = sip.telnyx.com
=====================================
Both domains redirects on the same IP address in case you’re wondering
Thanks a lot