Re: [asterisk-users] Registration server with PJSIP

2016-07-04 Thread George Joseph
On Sat, Jul 2, 2016 at 12:59 PM, Leandro Dardini  wrote:

> 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




>
> 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 Joseph
Digium, Inc. | 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

Re: [asterisk-users] Registration server with PJSIP

2016-07-02 Thread Carlos Chavez
On 2016-07-02 15:16, Derek Bolichowski wrote:

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

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

Re: [asterisk-users] Registration server with PJSIP

2016-07-02 Thread Derek Bolichowski
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

[asterisk-users] Registration server with PJSIP

2016-07-02 Thread Leandro Dardini
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