Bonjour,
On a commencé le teste pour forcer les min,max et defaut valeur de
l’expire:
Serveur astrad8.switzernet.com
Customers: 256
sip.conf
maxexpiry=600
minexpiry=60
defaultexpiry=180
|
teste avec mon telephone
Avant le reload d'asterisk
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
| username | domain | last_modified | expires | TIMESTAMPDIFF(SECOND,last_modified,expires) |
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
| 41215500327 | 91.121.143.56 | 2011-06-21 11:25:02 | 2011-06-21 12:25:01 | 3599 |
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
Après le reload d'asterisk
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
| username | domain | last_modified | expires | TIMESTAMPDIFF(SECOND,last_modified,expires) |
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
| 41215500327 | 91.121.143.56 | 2011-06-21 11:26:17 | 2011-06-21 11:36:17 | 600 |
+-------------+---------------+---------------------+---------------------+---------------------------------------------+
|
Statistique d'enregistrement
mysql> CALL StatExp('91.121.143.56',60,20);
+---------------------+---------------------+------+------+------+------------+------------------+-----------+------+
| START | STOP | MIN | AVG | MAX | EXP <= 180 | 180 < EXP <= 600 | EXP > 600 | TOT |
+---------------------+---------------------+------+------+------+------------+------------------+-----------+------+
| 2011-06-21 10:21:15 | 2011-06-21 10:41:15 | 3598 | 3599 | 3599 | 0 | 0 | 100 | 16 |
| 2011-06-21 10:41:15 | 2011-06-21 11:01:15 | 1798 | 2924 | 3600 | 0 | 0 | 100 | 24 |
| 2011-06-21 11:01:15 | 2011-06-21 11:21:15 | 58 | 867 | 3600 | 43 | 33 | 24 | 210 |
+---------------------+---------------------+------+------+------+------------+------------------+-----------+------+
3 rows in set (0.37 sec)
|
On 2011-06-14 01:10, Emin Gabrielyan wrote:
Examine a situation when the server (asterisk) forces a short registration period (such as 1m), but the telephone ignores and sends the registrations with longer intervals. Will server unregistered the UA if the UA sends it's next register after 3 min instead of requested 1m.
Envoyé de mon iPad
|