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
12 thoughts on - Pjsip Realtime Registrations Not Pulling From ODBC
This should be:
registration=realtime,px1_ps_registrations
This should be:
registration=realtime,px1_ps_registrations
Outbound registrations are done in res_pjsip_outbound_registration, as a result the registration= needs to be in a section for that module instead.
————————————–
I don’t think there’s a page that describes it unfortunately.
You need to put sip: in front to make it a valid SIP URI.
————————————–
—–Original Message—
[snip]
A registrations line in sorcery.conf for res_pjsip would do absolutely nothing. If you put it under res_pjsip_outbound_registration and have no outbound registrations it will execute some queries against your database but otherwise do nothing.
Ah ok, thanks.
—–Original Message—
————————————–
There’s a section on the wiki[1] for configuring PJSIP. You can take a look and see what is missing/could be improved. If you’d like you can add a comment to an initial page and if your suggestions look good then Rusty can provide you wiki edit access.
[1] https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip
From: “Joshua Colp”
Sent: Monday, October 5, 2015 9:20 AM
To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] pjsip realtime registrations not pulling from ODBC
There’s a section on the wiki[1] for configuring PJSIP. You can take a look and see what is missing/could be improved. If you’d like you can add a comment to an initial page and if your suggestions look good then Rusty can provide you wiki edit access.
[1] https://wiki.asterisk.org/wiki/display/AST/Configuring+res_pjsip