Hi,

Is there something wrong with REALTIME (ARA) when used with
rtcachefriends parameter?

In my sip.conf (Asterisk 1.2.0):

rtcachefriends=yes
rtupdate=yes
rtautoclear=yes

Desired configuration is realtime configuration (via odbc) for SIP
phones + MWI. Realtime means the following: when I make changes to db
they should apply with no extra commands executed in CLI.

In order to use MWI with REALTIME it is necessary to use
rtcachefriends parameter (as written at voip-info.org). But in this
case REALTIME does not work for registered phones. So if I change the
password in db for SIP entity it won't be used until prune command
executed in CLI.

Please, correct me if I need to make changes in my configs.

I made the following tests:

Manual registration
1. Register phone with Asterisk - OK.
2. Change password in SIP db.
3. Unregister phone - OK.
4. Register phone with new password - FAILED.
5. Register phone with old password - OK.

Automatic re-registration after expiry time
1. Phone registers with Asterisk - OK.
2. Change password in SIP db.
3. Wait for registration expiration.
4. Phone re-registers with old password - OK.

This is not REALTIME behavior! From my opinion caching should not be
used for all kind of events - it should be used for events like MWI
notification, finding IP address to route incoming calls to, and so
on, but NOT for making outgoing calls and for register requests.

--
Grigoriy Puzankin

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to