Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Registration server with PJSIP


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ldardini at gmail.com
Guest





PostPosted: Sat Jul 02, 2016 2:00 pm    Post subject: [asterisk-users] Registration server with PJSIP Reply with quote

Hello,I am moving from realtime chan_sip to pjsip and one of the problem I am facing is the lack of "sipregs". With chan_sip, when an extension registers, the server where it has registered to is stored in sipregs.


Is there something similar in pjsip? How can I find on which server the pjsip extension has registered to?


Leandro
Back to top
derek at empire-team.com
Guest





PostPosted: Sat Jul 02, 2016 3:17 pm    Post subject: [asterisk-users] Registration server with PJSIP Reply with quote

Hi Leandro,
I believe if you check /usr/local/src/astersisk-13.9.1/contrib/mysql you will find a .SQL file that would build the default tables for you.

Looking in the file, it appears there is a table created called `sippeers` which has a column `regserver VARCHAR(20),`

It will also create the other PJSIP-related tables such as ps_endpoints, ps_aors, etc.

I could be mistaken but perhaps `sippeers` is the table you’re looking for.

Thanks
Derek B.

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Leandro Dardini
Sent: July 2, 2016 2:59 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com>
Subject: [asterisk-users] Registration server with PJSIP

Hello,
I am moving from realtime chan_sip to pjsip and one of the problem I am facing is the lack of "sipregs". With chan_sip, when an extension registers, the server where it has registered to is stored in sipregs.



Is there something similar in pjsip? How can I find on which server the pjsip extension has registered to?



Leandro
Back to top
cursor at telecomabmex...
Guest





PostPosted: Sun Jul 03, 2016 12:45 am    Post subject: [asterisk-users] Registration server with PJSIP Reply with quote

On 2016-07-02 15:16, Derek Bolichowski wrote:
Quote:

Hi Leandro,
I believe if you check /usr/local/src/astersisk-13.9.1/contrib/mysql you will find a .SQL file that would build the default tables for you.

Looking in the file, it appears there is a table created called `sippeers` which has a column `regserver VARCHAR(20),`

It will also create the other PJSIP-related tables such as ps_endpoints, ps_aors, etc.

I could be mistaken but perhaps `sippeers` is the table you're looking for.

Thanks
Derek B.

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Leandro Dardini Sent: July 2, 2016 2:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: [asterisk-users] Registration server with PJSIP

Hello,
I am moving from realtime chan_sip to pjsip and one of the problem I am facing is the lack of "sipregs". With chan_sip, when an extension registers, the server where it has registered to is stored in sipregs.



Is there something similar in pjsip? How can I find on which server the pjsip extension has registered to?





Actually sippeers is the table for realtime sip and not related to pjsip at all. I do not know if there is an equivalent field for the pjsip tables. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez dCAP #1349 +52 (55)9116-91161
Back to top
gjoseph at digium.com
Guest





PostPosted: Mon Jul 04, 2016 9:40 am    Post subject: [asterisk-users] Registration server with PJSIP Reply with quote

On Sat, Jul 2, 2016 at 12:59 PM, Leandro Dardini <ldardini@gmail.com (ldardini@gmail.com)> wrote:
Quote:
Hello,I am moving from realtime chan_sip to pjsip and one of the problem I am facing is the lack of "sipregs". With chan_sip, when an extension registers, the server where it has registered to is stored in sipregs.


Is there something similar in pjsip? How can I find on which server the pjsip extension has registered to?



Incoming registrations for pjsip are stored in the ps_contacts table.  In Asterisk 13.10, a new column (reg_server) was added to store the registration server.  Since 13.10 hasn't been released yet, you'll need to download the latest release candidate which is RC1. [1]   RC2 should be released later in the week.




[1] http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.10.0-rc1.tar.gz




 
Quote:


Leandro


--
_____________________________________________________________________
-- 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




--
George JosephDigium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services