Asterisk server join

Hi Guys,

I usually join two asterisk server through below syntax like
on ServerA(ServerIP 10.0.8.19)

[serverWP]
type=peer
context=phones
host=10.0.48.31
defaultuser=serverJ
allow=all
rtcp_mux=yes

on ServerB(ServerIP 10.0.48.31)
[serverJ]
type=peer
context=phones
host=10.0.8.19
defaultuser=serverWP
allow=all
rtcp_mux=yes

we have a large number of server approx 30-35.

will it make any issue if I join anyone of this server with any third server and I put the same name just change the ip

type=peer only matches on the IP not the username so yes it will work if you define your peers each with their own IP as the host line.

Asterisk will also .checks the From: addres and matches the list of devices with a type=peer, as docummentantion says When setting up trunks, make sure there’s no risk that any From: username
(caller ID) will match any of your device names, because then Asterisk
might match the wrong device.

From is only matched for peers on register. INVITE is only ever matched on IP address. friend is the one that can cause false matches on From headers.