mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
Added note about how to enquire of Asterisk SIP registration status.
This commit is contained in:
parent
d20da9616e
commit
09fb22de64
10
gateway.c
10
gateway.c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user