View previous topic :: View next topic |
Author |
Message |
cursor at telecomabmex... Guest
|
Posted: Wed Jun 01, 2016 12:31 pm Post subject: [asterisk-users] Realtime for PJSIP registrations |
|
|
I use realtime for my Asterisk configuration and are now making the transition to Asterisk 13 and PJSIP. I used alchemy to set up my databases and I can now configure my endpoints. While trying to configure a trunk I can see that there is a database table called ps_registrations that should be used to make the registration to the provider but there is no corresponding entry in the sorcery.conf file so the information is never read into Asterisk.
Why is this so? Why put the table there is you cannot use it (along with the transport table I guess). Is there a way to activate it via sorcery.conf? What would that line look like because just putting something like "registration=realtime,ps_registrations" in the res_pjsip section prevents pjsip from loading.
I tried putting the registration section in the pjsip.conf file but I am getting an error back from the provider (Fatal response 403). I think I am doing everything correctly but I do not know if it is failing because some of the configuration is in realtime and only the registration is in the text file.
Any advice? Is realtime ready for production use for PJSIP?
Quote: | --
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161 |
|
|
Back to top |
|
|
jcolp at digium.com Guest
|
Posted: Wed Jun 01, 2016 12:41 pm Post subject: [asterisk-users] Realtime for PJSIP registrations |
|
|
Carlos Chavez wrote:
Quote: | I use realtime for my Asterisk configuration and are now making the
transition to Asterisk 13 and PJSIP. I used alchemy to set up my
databases and I can now configure my endpoints. While trying to
configure a trunk I can see that there is a database table called
ps_registrations that should be used to make the registration to the
provider but there is no corresponding entry in the sorcery.conf file so
the information is never read into Asterisk.
Why is this so? Why put the table there is you cannot use it
(along with the transport table I guess). Is there a way to activate it
via sorcery.conf? What would that line look like because just putting
something like "registration=realtime,ps_registrations" in the res_pjsip
section prevents pjsip from loading.
|
What does it say? The code currently allows this, but you still need to
issue reloads to update things (if you add/change/delete outbound
registrations).
Quote: |
I tried putting the registration section in the pjsip.conf file but
I am getting an error back from the provider (Fatal response 403). I
think I am doing everything correctly but I do not know if it is failing
because some of the configuration is in realtime and only the
registration is in the text file.
|
This sounds like a configuration issue with the outbound registration or
authentication.
Quote: |
Any advice? Is realtime ready for production use for PJSIP?
|
People seem to be using it. Due to some recent changes in how ODBC
support works (we gave more responsibility to UnixODBC for things)
though there have been some crashes and problems which are being
investigated.
--
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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
harley at thepeterscla... Guest
|
Posted: Thu Jun 02, 2016 8:54 am Post subject: [asterisk-users] Realtime for PJSIP registrations |
|
|
On 06/01/2016 12:40 PM, Joshua Colp wrote:
Quote: | Carlos Chavez wrote:
Quote: | I use realtime for my Asterisk configuration and are now making the
transition to Asterisk 13 and PJSIP. I used alchemy to set up my
databases and I can now configure my endpoints. While trying to
configure a trunk I can see that there is a database table called
ps_registrations that should be used to make the registration to the
provider but there is no corresponding entry in the sorcery.conf file so
the information is never read into Asterisk.
Why is this so? Why put the table there is you cannot use it
(along with the transport table I guess). Is there a way to activate it
via sorcery.conf? What would that line look like because just putting
something like "registration=realtime,ps_registrations" in the res_pjsip
section prevents pjsip from loading.
|
What does it say? The code currently allows this, but you still need to
issue reloads to update things (if you add/change/delete outbound
registrations).
Quote: |
I tried putting the registration section in the pjsip.conf file but
I am getting an error back from the provider (Fatal response 403). I
think I am doing everything correctly but I do not know if it is failing
because some of the configuration is in realtime and only the
registration is in the text file.
|
This sounds like a configuration issue with the outbound registration or
authentication.
Quote: |
Any advice? Is realtime ready for production use for PJSIP?
|
People seem to be using it. Due to some recent changes in how ODBC
support works (we gave more responsibility to UnixODBC for things)
though there have been some crashes and problems which are being
investigated.
| [res_pjsip_outbound_registration]
registration=realtime,ps_registrations
This works for me.
Harley
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|