I have a litlle problem with my IAX setup.
We have 3 sites. 1 main site with a T1 and 2 satellite site that connected with IAX to the main one.
The site 3 connect to the site 1. The site 2 connect to the site 1. The site 1 connect to the site 3. But the site 1 don’t connect to the site 2.
SITE 1 (MAIN) :
leia*CLI> iax2 show peers
Name/Username Host Mask Port Status
5147878861/5147 (Unspecified) (D) 255.255.255.255 0 Unmonitored
fax4/fax4 127.0.0.1 (D) 255.255.255.255 32771 Unmonitored
fax3/fax3 127.0.0.1 (D) 255.255.255.255 32773 Unmonitored
fax2/fax2 127.0.0.1 (D) 255.255.255.255 4570 Unmonitored
fax/fax 127.0.0.1 (D) 255.255.255.255 32772 Unmonitored
LAVAL/OFFICE XXX.XXX.XXX.XXX (S) 255.255.255.255 4569 (T) OK (23 ms)
>>>DOWNTOWN/OFFICE XXX.XXX.XXX.XXX (S) 255.255.255.255 4569 (T) (E) UNREACHABLE<<<
SITE 2 :
SERVEUR1*CLI> iax2 show peers
Name/Username Host Mask Port Status
OFFICE/DOWNTOWN XXX.XXX.XXX.XXX (S) 255.255.255.255 4569 (E) OK (22 ms)
SITE 3 :
Betty*CLI> iax2 show peers
Name/Username Host Mask Port Status
OFFICE/LAVAL XXX.XXX.XXX.XXX (S) 255.255.255.255 4569 (E) OK (21 ms)
My iax.conf :
SITE 1 :
[DOWNTOWN]
type=friend
username=OFFICE
secret=XXXXXXXX
auth=md5
host=XXX.XXX.XXX.XXX
context=fromdowntown
peercontext=fromoffice
qualify=yes
trunk=yes
encryption=aes128
port=4569
[LAVAL]
type=friend
username=OFFICE
secret=XXXXXXX
auth=md5
host=XXX.XXX.XXX.XXX
context=fromlaval
peercontext=fromoffice
qualify=yes
trunk=yes
encryption=aes128
SITE 2 :
[OFFICE]
type=friend
username=DOWNTOWN
secret=XXXXXXX
auth=md5
host=XXX.XXX.XXX.XXX
context=fromoffice
peercontext=fromdowntown
qualify=yes
trunk=yes
encryption=aes128
port=4569
My biggest problem is there is no log or error messages or any message at all about the UNREACHABLE peer. Anyone have an idea about what im doing wrong ?
Thanks