[asterisk-dev] Storing SIP Registrations in a Database

Donny Kavanagh donnyk at gmail.com
Wed Sep 3 08:17:49 CDT 2008


Correct me if i'm wrong, but doesn't asterisk realtime (for chan_sip)
update the sip peers table with the ip:port of the registered phone?

None the less this may be a conversation for asterisk-users.

Donny

On Wed, Sep 3, 2008 at 9:05 AM, Paulo Vicentini
<vicentini.paulo at gmail.com> wrote:
>
> Asterisk could use database for permanent storage and besides that, Asterisk
> could use memory mapped file in order to keep track of the register / user
> information (hash table) and, thru some protocol, to keep this memory mapped
> file in sync between the servers.
> With this approach, Asterisk would access the memory locations (register /
> user info)  using standard memory-access instructions , rather than
> executing database API.
> A kind of manager would have to handle CRUD operations in the DB to hash
> table (mmap).
>
> Paulo
>
> On Wed, Sep 3, 2008 at 9:49 AM, Philipp Kempgen <philipp.kempgen at amooma.de>
> wrote:
>>
>> Daniel Watkins schrieb:
>>
>> > Unfortunately Asterisk does not, as far as we can see from examining
>> > documentation and source code, support storing SIP registrations in a
>> > database.
>>
>> At least it seems like 1.6 can do that although I haven't done any
>> testing.
>>
>> If it's not about source code this question probably belongs
>> more to the -users list than to -dev.
>>
>>   Philipp Kempgen
>>
>> --
>> http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
>> Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
>> Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
>> --
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list