IAX2 Link Going Down

Hello,

We’ve got an IAX2 link between 2 offices, works great for the most part…
except that after a certain time… (seems random) one of the servers will say that the other is unreachable, it’s always server B… server A has never had a problem reaching the other one…

The only thing that seems to be some sort of “remedy” so far is restarting asterisk… which of course is not the way…

Server B! why can’t you be more like your brother!

– the configuration of both servers seems to be identical

qualify=yes ?

yes.
I found a post on the asterisk forums…
http://bugs.digium.com/view.php?id=5912
but I’m not sure if it has been fixed or not, and don’t quite understand how to fix it myself.

has nobody had this issue? the asterisk forums states that it’s a pretty common bug, but I couldn’t find a resolution.

I had this problem, but the following trunk settings fixed it:

St. Louis server:

Outgoing Settings

Trunk name: stlchicago
PEER Details:

allow=gsm
disallow=all
host=ipaddressofchicagobox
qualify=yes
secret=strongpassword
trunk=yes
type=peer
user=tuser

Incomming Settings

USER Context: tuser
USER Details:

context=from-internal
host=ipaddressofchicagobox
secret=strongpassword
trunk=yes
type=user

Chicago server:

Outgoing Settings

Trunk name: stlchicago

PEER Details:

allow=gsm
disallow=all
host=ipaddressofstlouisbox
qualify=yes
secret=strongpassword
trunk=yes
type=peer
user=tuser

USER Context: tuser
USER Details:

context=from-internal
host=ipaddressofstlouisbox
secret=strongpassword
trunk=yes
type=user