Bryant Zimmerman
2015-Oct-04 16:42 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
---------------------------------------- From: "Joshua Colp" <jcolp at digium.com> Sent: Sunday, October 4, 2015 12:12 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] pjsip realtime registrations not pulling from ODBC On 15-10-04 01:09 PM, Bryant Zimmerman wrote:> -- > 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?Outbound registrations are done in res_pjsip_outbound_registration, as a result the registration= needs to be in a section for that module instead. -- Joshua That seems to have been the issue. Is there a documentation page out there that highlights which options goes under which modules. I have not run across this yet and am wondering if I am going to bump into any more that need to be pushed under their own config context. Also is there a trick to what should be used in the client_uri field to make the connection? I am trying to connect to a sip vendor and I am trying to use sipaccount at venderhostname.vendordomain.net? Now that the registration table is coming up it is stating I have an invalid client URI.. I put the same thing in for a text based registration and it worked. Thank you for your assistance. Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151004/8aa2bd5e/attachment.html>
Joshua Colp
2015-Oct-04 16:44 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
On 15-10-04 01:42 PM, Bryant Zimmerman wrote:> ------------------------------------------------------------------------ > *From*: "Joshua Colp" <jcolp at digium.com> > *Sent*: Sunday, October 4, 2015 12:12 PM > *To*: asterisk-users at lists.digium.com > *Subject*: Re: [asterisk-users] pjsip realtime registrations not pulling > from ODBC > On 15-10-04 01:09 PM, Bryant Zimmerman wrote: >> -- >> 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? > > Outbound registrations are done in res_pjsip_outbound_registration, as a > result the registration= needs to be in a section for that module instead. > > -- > Joshua > That seems to have been the issue. Is there a documentation page out > there that highlights which options goes under which modules. > I have not run across this yet and am wondering if I am going to bump > into any more that need to be pushed under their own config context.I don't think there's a page that describes it unfortunately.> Also is there a trick to what should be used in the client_uri field to > make the connection? > I am trying to connect to a sip vendor and I am trying to use > sipaccount at venderhostname.vendordomain.net? > Now that the registration table is coming up it is stating I have an > invalid client URI.. I put the same thing in for a text based > registration and it worked.You need to put sip: in front to make it a valid SIP URI. -- 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:54 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
---------------------------------------- From: "Joshua Colp" <jcolp at digium.com> Sent: Sunday, October 4, 2015 12:44 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] pjsip realtime registrations not pulling from ODBC On 15-10-04 01:42 PM, Bryant Zimmerman wrote:> ------------------------------------------------------------------------ > *From*: "Joshua Colp" <jcolp at digium.com> > *Sent*: Sunday, October 4, 2015 12:12 PM > *To*: asterisk-users at lists.digium.com > *Subject*: Re: [asterisk-users] pjsip realtime registrations not pulling > from ODBC > On 15-10-04 01:09 PM, Bryant Zimmerman wrote: >> -- >> 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? > > Outbound registrations are done in res_pjsip_outbound_registration, as a > result the registration= needs to be in a section for that moduleinstead.> > -- > Joshua > That seems to have been the issue. Is there a documentation page out > there that highlights which options goes under which modules. > I have not run across this yet and am wondering if I am going to bump > into any more that need to be pushed under their own config context.I don't think there's a page that describes it unfortunately.> Also is there a trick to what should be used in the client_uri field to > make the connection? > I am trying to connect to a sip vendor and I am trying to use > sipaccount at venderhostname.vendordomain.net? > Now that the registration table is coming up it is stating I have an > invalid client URI.. I put the same thing in for a text based > registration and it worked.You need to put sip: in front to make it a valid SIP URI. -- Joshua Much thanks for all your direction today. I am sending good karma your way. Thank You Thank You Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151004/e58a840c/attachment.html>
Ryan, Travis
2015-Oct-05 12:16 UTC
[asterisk-users] pjsip realtime registrations not pulling from ODBC
-----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua Colp Sent: Sunday, October 04, 2015 12:44 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] pjsip realtime registrations not pulling from ODBC On 15-10-04 01:42 PM, Bryant Zimmerman wrote:> ---------------------------------------------------------------------- > -- > *From*: "Joshua Colp" <jcolp at digium.com> > *Sent*: Sunday, October 4, 2015 12:12 PM > *To*: asterisk-users at lists.digium.com > *Subject*: Re: [asterisk-users] pjsip realtime registrations not > pulling from ODBC On 15-10-04 01:09 PM, Bryant Zimmerman wrote: >> -- >> 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? > > Outbound registrations are done in res_pjsip_outbound_registration, as > a result the registration= needs to be in a section for that module instead. > > -- > Joshua > That seems to have been the issue. Is there a documentation page out > there that highlights which options goes under which modules. > I have not run across this yet and am wondering if I am going to bump > into any more that need to be pushed under their own config context.I don't think there's a page that describes it unfortunately. -- 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 So should anyone using realtime PJSIP be using the registrations line? Even if it's not used for any trunking?