[asterisk-users] Asterisk Realtime and device contexts

Sawan Vithlani svithlani.info at gmail.com
Tue Nov 18 03:05:44 CST 2008


Hello all,

I need some help/infomation/correction regarding storing the SIP peers in a
database table via ARA.
I've alreday created the SQLite3 database table and the related ODBC
plumbing and have Asterisk (1.4) validating the SIP devices from a table and
updating it correctly with dynamic infomation, for example the device's IP
address.

Problem is:

I have a scenario whereby I change the default context of the devices from
time to time.
But when the devices place a call, Asterisk does not place them in the new
context that I've set in the database table. This is also the case when I
force the devices to SIP re-register.

"sip show peer DEVICE" shows that it is still in the old context.

"sip prune realtime DEVICE" does not help

Does anybody have any idea why this is happening? Does Asterisk ignore
subsequent updates to the context field? Caching? Can caching be truned
off/patched to be off by default ?

Thank you.

Sawan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081118/1f1d53a6/attachment.htm 


More information about the asterisk-users mailing list