Bryant Zimmerman
2015-Oct-04 12:54 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
I have a pjsip install that is not pulling it's realtime registrations from
an ODBC database.
When I have them directly pull from a MySQL database everything seems to
work.
I am having trouble finding a requirements document for the pjsip realtime
registrations.
Is there some kind of special config that has to be used to trigger the
connection for realtime registrations over ODBC?
My realtime connections to aors, auths,contacts, and endpoints via ODBC
are working as expected.
Any ideas are appreciated.
Asterisk v 13.5.0
Registrations line from sorcery.conf
registrations=realtime,px1_ps_registrations
Line for database from extconfig.conf
px1_ps_registrations => odbc,pjsipRealtime
pjsip show registration
show no return records - even though there are records in the database
table.
Thanks
Bryant
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20151004/85e2c436/attachment.html>
Joshua Colp
2015-Oct-04 12:59 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
On 15-10-04 09:54 AM, Bryant Zimmerman wrote:> I have a pjsip install that is not pulling it's realtime registrations > from an ODBC database. > When I have them directly pull from a MySQL database everything seems to > work. > I am having trouble finding a requirements document for the pjsip > realtime registrations. > Is there some kind of special config that has to be used to trigger the > connection for realtime registrations over ODBC? > My realtime connections to aors, auths,contacts, and endpoints via ODBC > are working as expected. > Any ideas are appreciated. > Asterisk v 13.5.0 > Registrations line from sorcery.conf > /registrations=realtime,px1_ps_registrations/This should be: registration=realtime,px1_ps_registrations> Line for database from extconfig.conf > /px1_ps_registrations => odbc,pjsipRealtime/ > pjsip show registration > show no return records - even though there are records in the database > table. > Thanks > > Bryant > >-- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Bryant Zimmerman
2015-Oct-04 16:09 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
On 15-10-04 09:54 AM, Bryant Zimmerman wrote:> I have a pjsip install that is not pulling it's realtime registrations > from an ODBC database. > When I have them directly pull from a MySQL database everything seems to > work. > I am having trouble finding a requirements document for the pjsip > realtime registrations. > Is there some kind of special config that has to be used to trigger the > connection for realtime registrations over ODBC? > My realtime connections to aors, auths,contacts, and endpoints via ODBC > are working as expected. > Any ideas are appreciated. > Asterisk v 13.5.0 > Registrations line from sorcery.conf > /registrations=realtime,px1_ps_registrations/This should be: registration=realtime,px1_ps_registrations> Line for database from extconfig.conf > /px1_ps_registrations => odbc,pjsipRealtime/ > pjsip show registration > show no return records - even though there are records in the database > table. > Thanks > > Bryant > >-- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- Joshua Thanks for your reply. It thought the same thing, but when I change the line in the corcery.conf to: registration=realtime,px1_ps_registrations Asterisk crashes and won't start. Here is what the log loop. [Oct 4 16:04:18] WARNING[64823] config_options.c: Cannot update type 'registration' in module 'res_pjsip' because it has no existing documentation! If I switch to "registrations=realtime,px1_ps_registrations" the error stops, but I get now calls from the px1_ps_registrations table from the database. What could be missing? Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151004/044fccf1/attachment.html>