[Asterisk-Users] auto load SIP peers on startup

Reto Kortas retokortas at gmx.de
Tue Jan 17 08:22:29 MST 2006


Hi all,

we use OpenSER together with Asterisk.
All SIP users registers with OpenSER and asterisk is doing the voicemail
thing.

We use the Asterisk RealtimeArchitecture for voicemail users and SIP peers.
The database table for the sip peers is a view from the OpenSER subscriber
table.

The MWI for a user will only work, if the user object (sip peer) is loaded
into memory and visible with the CLI command "sip show peers". This happens,
for example, if the user call his own mailbox for checking voicemail.

Is their a possibility to load all peers from database on asterisk startup
so that the users will get their NOTIFY without calling their own mailbox
first?

Another question for me is, how long a SIP peer object will stay in memory
without being used? Is their a kind of "garbage collector" for old, unused
peer objects?

Thx Reto






More information about the asterisk-users mailing list