Added note about how to enquire of Asterisk SIP registration status.

This commit is contained in:
gardners 2011-05-21 22:09:21 +09:30
parent d20da9616e
commit 09fb22de64

View File

@ -125,7 +125,15 @@ int asteriskReloadExtensions()
int asteriskGatewayUpP()
{
/* XXX STUB */
/* XXX STUB.
1. Run "serval dna gateway" command to enquire of gateway status?
2. Check that outbound SIP gateway is up:
asterisk -r "sip show registry"
and grep output for active links.
XXX - Annoyingly we need to know the server hostname to use the output of this list in
a fool-proof manner. However, if we work on the assumption of only one SIP registration existing,
being ours, then we can ignore the hostname.
*/
return 0;
}