[asterisk-users] Realtime SIP, multiple AX servers question

Olle E. Johansson oej at edvina.net
Tue Jan 4 02:18:08 CST 2011


3 jan 2011 kl. 00.26 skrev Bryan Field-Elliot:

> 
> Normally, no matter which Asterisk server an ATA connects to, we get our database fields filled out correctly, such as "regseconds", "lastms", "ipadr", etc. However, with some ATA's we are experiencing a problem as follows:
> 
> 1. ATA reaches its "re-registration" timeout, which we typically configure to be 60 minutes.
> 2. ATA re-queries DNS SRV record, and ends up re-registering with a different AX server than it was on previously.
> 3. The new AX server updates the Realtime DB fields (regseconds, lastms, etc).
> 4. The old AX server, after a few more minutes, notices that the ATA has vanished, and therefore clears out these same fields.

Oh, that's an interesting observation. Depending on how you see it, it's a bug or a feature request.

Code-wise what you could do is that Asterisk could retrieve the information from realtime. If the sysname is not the same as the systems, it let the information be. If it's the same sysname, then erase the information.

/O


More information about the asterisk-users mailing list