AW: [Asterisk-Users] auto load SIP peers on startup
Reto Kortas
retokortas at gmx.de
Tue Jan 17 09:57:02 MST 2006
In extconfig.conf I have:
voicemail => odbc,asterisk,voicemail_users
sipusers => odbc,asterisk,sip_users
sippeers => odbc,asterisk,sip_users
Asterisk version is 1.2.1
When asterisks starts, I don't saw any SQL queries in my mysql log.
First, when a user calls his own mailbox, I saw a sql querie and the sip
peer is created from db.
-----Ursprüngliche Nachricht-----
Von: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Moises Silva
Gesendet: Dienstag, 17. Januar 2006 17:39
An: Asterisk Users Mailing List - Non-Commercial Discussion
Betreff: Re: [Asterisk-Users] auto load SIP peers on startup
hum. I tought that as long as you have a "real time engine" in
extconfig.conf the peers should be loaded at start up. What do you have in
your extconfig.conf?
Regards
On 1/17/06, Reto Kortas <retokortas at gmx.de> wrote:
> 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
>
>
>
> _______________________________________________
> --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
>
--
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
_______________________________________________
--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
More information about the asterisk-users
mailing list