[asterisk-users] SIP provider registration attempts
Philipp von Klitzing
klitzing at pool.informatik.rwth-aachen.de
Tue Feb 23 12:18:32 CST 2010
Hi!
> My "outgoing" dialplan context tries to dial out in sequence, starting
> with the SIP provider then ISDN lines and finally analog lines.
> [...]
> When the DSL is down I get:
>
> "sip show registry":
>
> Host Username Refresh State
> Reg. Time sip.provider.com:5060 xxxxxxxxxx 105
> Request Sent Tue,
> 23 Feb 2010 18:06:42
Up front: Call routing has as such nothing to do with SIP registration.
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.
Philipp
More information about the asterisk-users
mailing list