[asterisk-users] SIP provider registration attempts
Vieri
rentorbuy at yahoo.com
Tue Feb 23 13:11:49 CST 2010
--- On Tue, 2/23/10, Philipp von Klitzing <klitzing at pool.informatik.rwth-aachen.de> wrote:
> Look at qualify= for sip.conf, and consider to extend your
> diaplan for a
> better routing decision with a snippet like this:
>
> exten => _00.,n,Set(VOIPCHECK=0)
> exten => _00.,n,NoOp(-- ${PEERCHECK1} status:
> ${SIPPEER(${PEERCHECK1}:status)} --)
> exten =>
> _00.,n,ExecIf($["${SIPPEER(${PEERCHECK1}:status):0:2}" =
> "OK"]|Set|VOIPCHECK=1)
>
> where PEERCHECK1 corresponds to the provider section in
> sip.conf that you
> would like to monitor.
Thanks Philipp!
Do you suggest I use qualify=yes (default 1 or 2 seconds?) or should I specify a value in ms?
More information about the asterisk-users
mailing list