Answer the question
In order to leave comments, you need to log in
How to automatically re-raise the trunk?
I set everything up according to the instructions https://zadarma.com/en/support/instructions/freepb...
I have freepbx-distro
In theory, it costs qualify=400, which means, judging by the description of the option, to auto raise the trunk in case of unavailability, but it doesn't happen.
Not later than today, the trunk fell, we waited an hour and it did not recover (and hung in the UNREACHEABLE status)
Zadarma's ip pinged when I did fwconsole restart everything worked.
I would like to know how you can re-raise the trunk in the Unreacheable state and somehow monitor it automatically
Answer the question
In order to leave comments, you need to log in
disable sip alg
reset script on Mikrotik:
Засунуть в шедулер раз в 2 минуты
:foreach i in=[/ip firewall connection find dst-address~":5060" protocol~"udp"] do={ /ip firewall connection remove $i }
Если у вас локальный порт не 5060 а другой - поменять в скрипте на ваш
It seems to me that your problem is not that the trunk itself does not rise.
qualify=400 only means that Asterisk will check the availability of the peer after this interval and issue the corresponding status.
You should find out why Astersik is losing connection. Perhaps the provider changes the ip of the servers, and Asterisk does not update the DNS name mapping, or does not have access to the DNS. Check that the ip of the trunk in Asterisk and the ip of the server that you pinged match.
Is your Asterisk behind NAT?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question