[asterisk-users] mysql sip realtime

Jonathan Thurman jthurman42 at gmail.com
Fri Aug 21 20:20:14 CDT 2009


>> When I reload chan_sip.so, it seems that connected terminals are no longer
>> detected by Asterisk because when I tape CLI command "sip show peers",
>> there is no results displayed. Any reflexions about that ?
>
> They won't be found in the CLI command until Asterisk receives another packet
> from that peer and a load from the database is forced.

Would it be useful to have a way to 'precache' entries in realtime?
So you could do a reload then a 'precache', or maybe just some way to
have realtime update the cache from the database base on a record
modification date.  This might make it appear more like a static sip
configuration, just using the database for storage.  It would also
seem to make it more 'realtime' if things were bidirectional.

I haven't looked that much into the realtime code, but this could be
an interesting project if others think it would be useful.

-Jonathan



More information about the asterisk-users mailing list