Displaying 1 result from an estimated 1 matches for "regsever".
Did you mean:
regserver
2008 Feb 24
0
Load balancing SIP extensions.
...address
(you can use also a DNS name, but I want to be independent of name
resolution). This causes the server to set the field "regserver" to be
saved in the MySQL database to the IP address of the server.
/etc/asterisk/extensions: The logic to check whether the value of "regsever"
is different from "sysname" and if so - redirect the call. The code
fragments are (I am using AEL):
To get the regserver from the database:
MYSQL(Query resID ${connid} SELECT regserver from sip_users where
name='${EXTEN}');
MYSQL(Fetch FetchId...