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-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@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



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

Reply via email to