Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

On 15-09-23 10:25 PM, Ryan, Travis wrote:

Ok I did all that and it's still crashing. I did find some other
areas I think that shouldn't have had any of those files, so I
thought it would work, because I got rid of ALL of them per your
instructions and completely reconfigured and compiled both pjsip and
then asterisk.


Same problem. Asterisk was built against static instead of shared. 
What's the output of:


ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

On 15-09-24 08:45 AM, Ryan, Travis wrote:

I could bet it could be something in pkg-config. How do I get that to reset? I 
never changed anything in there.


It is an installed file from pjproject.

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis
I could bet it could be something in pkg-config. How do I get that to reset? I 
never changed anything in there.

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp
Sent: Thursday, September 24, 2015 6:23 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

On 15-09-23 10:25 PM, Ryan, Travis wrote:
> Ok I did all that and it's still crashing. I did find some other areas 
> I think that shouldn't have had any of those files, so I thought it 
> would work, because I got rid of ALL of them per your instructions and 
> completely reconfigured and compiled both pjsip and then asterisk.

Same problem. Asterisk was built against static instead of shared. 
What's the output of:

ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis


-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp
Sent: Thursday, September 24, 2015 6:23 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

On 15-09-23 10:25 PM, Ryan, Travis wrote:
> Ok I did all that and it's still crashing. I did find some other areas 
> I think that shouldn't have had any of those files, so I thought it 
> would work, because I got rid of ALL of them per your instructions and 
> completely reconfigured and compiled both pjsip and then asterisk.

Same problem. Asterisk was built against static instead of shared. 
What's the output of:

ls -al /usr/lib/libpj*
pkg-config --libs libpjproject

And from the pjproject source directory:
grep "aconfigure" config.status

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

travis@pcimphone1:~/downloads/asterisk-13.5.0$ ls -al /usr/lib/libpj*
lrwxrwxrwx 1 root root 18 Sep 23 19:13 /usr/lib/libpjlib-util.so -> 
libpjlib-util.so.2
-rwxr-xr-x 1 root root 172098 Sep 23 19:13 /usr/lib/libpjlib-util.so.2
-rw-r--r-- 1 root root 243816 Sep 23 19:13 
/usr/lib/libpjlib-util-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 24 Sep 23 19:13 /usr/lib/libpjmedia-audiodev.so -> 
libpjmedia-audiodev.so.2
-rwxr-xr-x 1 root root  23345 Sep 23 19:13 /usr/lib/libpjmedia-audiodev.so.2
-rw-r--r-- 1 root root  31690 Sep 23 19:13 
/usr/lib/libpjmedia-audiodev-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 21 Sep 23 19:14 /usr/lib/libpjmedia-codec.so -> 
libpjmedia-codec.so.2
-rwxr-xr-x 1 root root  58816 Sep 23 19:14 /usr/lib/libpjmedia-codec.so.2
-rw-r--r-- 1 root root  84334 Sep 23 19:14 
/usr/lib/libpjmedia-codec-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 15 Sep 23 19:14 /usr/lib/libpjmedia.so -> 
libpjmedia.so.2
-rwxr-xr-x 1 root root 333058 Sep 23 19:14 /usr/lib/libpjmedia.so.2
lrwxrwxrwx 1 root root 24 Sep 23 19:13 /usr/lib/libpjmedia-videodev.so -> 
libpjmedia-videodev.so.2
-rwxr-xr-x 1 root root   8005 Sep 23 19:13 /usr/lib/libpjmedia-videodev.so.2
-rw-r--r-- 1 root root   9002 Sep 23 19:13 
/usr/lib/libpjmedia-videodev-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 492756 Sep 23 19:14 
/usr/lib/libpjmedia-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 14 Sep 23 19:13 /usr/lib/libpjnath.so -> 
libpjnath.so.2
-rwxr-xr-x 1 root root 170365 Sep 23 19:13 /usr/lib/libpjnath.so.2
-rw-r--r-- 1 root root 230232 Sep 23 19:13 
/usr/lib/libpjnath-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 20 Sep 23 19:14 /usr/lib/libpjsip-simple.so -> 
libpjsip-simple.so.2
-rwxr-xr-x 1 root root  96124 Sep 23 19:14 /usr/lib/libpjsip-simple.so.2
-rw-r--r-- 1 root root 125244 Sep 23 19:14 
/usr/lib/libpjsip-simple-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 13 Sep 23 19:14 /usr/lib/libpjsip.so -> libpjsip.so.2
-rwxr-xr-x 1 root root 310921 Sep 23 19:14 /usr/lib/libpjsip.so.2
lrwxrwxrwx 1 root root 16 Sep 23 19:14 /usr/lib/libpjsip-ua.so -> 
libpjsip-ua.so.2
-rwxr-xr-x 1 root root 117344 Sep 23 19:14 /usr/lib/libpjsip-ua.so.2
-rw-r--r-- 1 root root 142916 Sep 23 19:14 
/usr/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 454220 Sep 23 19:14 
/usr/lib/libpjsip-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 10 Sep 23 19:12 /usr/lib/libpj.so -> libpj.so.2
-rwxr-xr-x 1 root root 202183 Sep 23 19:12 /usr/lib/libpj.so.2
lrwxrwxrwx 1 root root 14 Sep 23 19:15 /usr/lib/libpjsua2.so -> 
libpjsua2.so.2
-rwxr-xr-x 1 root root 534949 Sep 23 19:15 /usr/lib/libpjsua2.so.2
-rw-r--r-- 1 root root 892162 Sep 23 19:15 
/usr/lib/libpjsua2-x86_64-unknown-linux-gnu.a
lrwxrwxrwx 1 root root 13 Sep 23 19:14 /usr/lib/libpjsua.so -> libpjsua.so.2
-rwxr-xr-x 1 root root 281900 Sep 23 19:14 /usr/lib/libpjsua.so.2
-rw-r--r-- 1 root root 374498 Sep 23 19:14 
/usr/lib/libpjsua-x86_64-unknown-linux-gnu.a
-rw-r--r-- 1 root root 283852 Sep 23 19:12 
/usr/lib/libpj-x86_64-unknown-linux-gnu.a

travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs libpjproject
-L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu -lstdc++ 
-lpjsua-x86_64-unknown-linux-gnu -lpjsip-ua-x86_64-unknown-linux-gnu 
-lpjsip-simple-x86_64-unknown-linux-gnu -lpjsip-x86_64-unknown-linux-gnu 
-lpjmedia-codec-x86_64-unknown-linux-gnu 
-lpjmedia-videodev-x86_64-unknown-linux-gnu 
-lpjmedia-audiodev-x86_64-unknown-linux-gnu -lpjmedia-x86_64-unknown-linux-gnu 
-lpjnath-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu 
-lsrtp-x86_64-unknown-linux-gnu -lresample-x86_64-unknown-linux-gnu 
-lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu 
-lilbccodec-x86_64-unknown-linux-gnu -lg7221codec-x86_64-unknown-linux-gnu 
-lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu -lssl 
-lcrypto -luu

Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

On 15-09-24 08:54 AM, Ryan, Travis wrote:


travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs
libpjproject -L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu
-lstdc++ -lpjsua-x86_64-unknown-linux-gnu
-lpjsip-ua-x86_64-unknown-linux-gnu
-lpjsip-simple-x86_64-unknown-linux-gnu
-lpjsip-x86_64-unknown-linux-gnu
-lpjmedia-codec-x86_64-unknown-linux-gnu
-lpjmedia-videodev-x86_64-unknown-linux-gnu
-lpjmedia-audiodev-x86_64-unknown-linux-gnu
-lpjmedia-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu
-lpjlib-util-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu
-lresample-x86_64-unknown-linux-gnu
-lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu
-lilbccodec-x86_64-unknown-linux-gnu
-lg7221codec-x86_64-unknown-linux-gnu
-lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu
-lssl -lcrypto -luuid -lm -lrt -lpthread


Your pkg-config file is specifying /usr/local/lib - are there any 
remaining libpj files in there?


ls -al /usr/local/lib/libpj*.so
ls -al /usr/local/lib/libpj*.a


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis
Ok, I reinstalled pkg-config from apt-get and now I think it¹s all good.
Man, PJSIP has been a chore to get working right on this server and on the
last. Though the last server wasn¹t near the issue this was. Lol

I think what happened was that after initial trouble, I ran the ³install
prereq² or something like that and it must have did it¹s own install of
pjsip that sent me down a duplicate path, etc.

Thanks Josh and all!

On 9/24/15, 2:10 PM, "asterisk-users-boun...@lists.digium.com on behalf of
Joshua Colp"  wrote:

>Ryan, Travis wrote:
>>>
>> I think i¹m down to the right set of pj and only have one of the files
>>for
>> pkg-config but now asterisk doesn¹t see that it¹s installed. Also
>>ldconfig
>> is showing right info.
>> 
>> 
>
>What does pkg-config --libs libpjproject show now? That is what Asterisk
>uses.
>
>-- 
>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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

Ryan, Travis wrote:



That folder doesn¹t have any libpj files in it. How do I make it find the
real ones?


You can delete libpjproject.pc from the places it currently exists and 
then reinstall pjproject. That should put a proper pkg-config file in. 
Then doing a make distclean and make of Asterisk may work.


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis


On 9/24/15, 1:30 PM, "asterisk-users-boun...@lists.digium.com on behalf of
Joshua Colp"  wrote:

>Ryan, Travis wrote:
>>>
>> That folder doesn¹t have any libpj files in it. How do I make it find
>>the
>> real ones?
>
>You can delete libpjproject.pc from the places it currently exists and
>then reinstall pjproject. That should put a proper pkg-config file in.
>Then doing a make distclean and make of Asterisk may work.
>
>-- 
>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
>
I think i’m down to the right set of pj and only have one of the files for
pkg-config but now asterisk doesn’t see that it’s installed. Also ldconfig
is showing right info.

>

-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis


On 9/24/15, 8:10 AM, "asterisk-users-boun...@lists.digium.com on behalf of
Joshua Colp"  wrote:

>On 15-09-24 08:54 AM, Ryan, Travis wrote:
>>
>> travis@pcimphone1:~/downloads/asterisk-13.5.0$ pkg-config --libs
>> libpjproject -L/usr/local/lib -lpjsua2-x86_64-unknown-linux-gnu
>> -lstdc++ -lpjsua-x86_64-unknown-linux-gnu
>> -lpjsip-ua-x86_64-unknown-linux-gnu
>> -lpjsip-simple-x86_64-unknown-linux-gnu
>> -lpjsip-x86_64-unknown-linux-gnu
>> -lpjmedia-codec-x86_64-unknown-linux-gnu
>> -lpjmedia-videodev-x86_64-unknown-linux-gnu
>> -lpjmedia-audiodev-x86_64-unknown-linux-gnu
>> -lpjmedia-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu
>> -lpjlib-util-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu
>> -lresample-x86_64-unknown-linux-gnu
>> -lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu
>> -lilbccodec-x86_64-unknown-linux-gnu
>> -lg7221codec-x86_64-unknown-linux-gnu
>> -lportaudio-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu
>> -lssl -lcrypto -luuid -lm -lrt -lpthread
>
>Your pkg-config file is specifying /usr/local/lib - are there any
>remaining libpj files in there?
>
>ls -al /usr/local/lib/libpj*.so
>ls -al /usr/local/lib/libpj*.a
>
>
>-- 
>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
>
That folder doesn¹t have any libpj files in it. How do I make it find the
real ones?
>


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp
Ryan, Travis wrote:
>>
> I think i’m down to the right set of pj and only have one of the files for
> pkg-config but now asterisk doesn’t see that it’s installed. Also ldconfig
> is showing right info.
> 
> 

What does pkg-config --libs libpjproject show now? That is what Asterisk
uses.

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

Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis
Did something change DB-wise with PJSIP and realtime between 13.3.2 and 13.5.0? 
I'm getting an unknown column error and unsure where I need that column and the 
type it needs to be. 

Thanks!

[Sep 24 15:32:41] -- Attempted to remove non-existent contact 
'sip:312@10.1.1.201:5060' from AOR '312' by request
[Sep 24 15:33:53] WARNING[27948]: res_odbc.c:649 ast_odbc_prepare_and_execute: 
SQL Execute returned an error -1: 42S22: [MySQL][ODBC 5.1 
Driver][mysqld-5.5.44-0ubuntu0.14.04.1]Unknown column 'qualify_timeout' in 
'field list' (104)
[Sep 24 15:33:53] WARNING[27948]: res_odbc.c:661 ast_odbc_prepare_and_execute: 
SQL Execute error -1! Verifying connection to pcim [pcim]...
[Sep 24 15:33:53] WARNING[27948]: res_odbc.c:765 ast_odbc_sanity_check: 
Connection is down attempting to reconnect...
[Sep 24 15:33:58] NOTICE[27948]: res_odbc.c:1528 odbc_obj_connect: Connecting 
pcim
[Sep 24 15:33:58] NOTICE[27948]: res_odbc.c:1567 odbc_obj_connect: res_odbc: 
Connected to pcim [pcim]
[Sep 24 15:33:58] WARNING[27948]: res_odbc.c:649 ast_odbc_prepare_and_execute: 
SQL Execute returned an error -1: 42S22: [MySQL][ODBC 5.1 
Driver][mysqld-5.5.44-0ubuntu0.14.04.1]Unknown column 'qualify_timeout' in 
'field list' (104)
[Sep 24 15:33:58] WARNING[27948]: res_odbc.c:661 ast_odbc_prepare_and_execute: 
SQL Execute error -1! Verifying connection to pcim [pcim]...
[Sep 24 15:33:58] WARNING[27948]: res_odbc.c:765 ast_odbc_sanity_check: 
Connection is down attempting to reconnect...
[Sep 24 15:34:03] NOTICE[27948]: res_odbc.c:1528 odbc_obj_connect: Connecting 
pcim
[Sep 24 15:34:03] NOTICE[27948]: res_odbc.c:1567 odbc_obj_connect: res_odbc: 
Connected to pcim [pcim]
[Sep 24 15:34:03] ERROR[27948]: res_pjsip_registrar.c:504 rx_task: Unable to 
bind contact 'sip:312@10.1.1.201:5060' to AOR '312'


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

On 15-09-24 04:42 PM, Ryan, Travis wrote:

Did something change DB-wise with PJSIP and realtime between 13.3.2
and 13.5.0? I'm getting an unknown column error and unsure where I
need that column and the type it needs to be.


Yes, the schema can change between versions. Following the instructions 
on 
https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime#SettingupPJSIPRealtime-InstallingandUsingAlembic 
will cause alembic to upgrade the tables.


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Ryan, Travis
Yes, the schema can change between versions. Following the instructions on 
https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime#SettingupPJSIPRealtime-InstallingandUsingAlembic
will cause alembic to upgrade the tables.

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


I'm not a fan of alembic at all, but I'll give it another try. 

One issue I have is I don't want it to make the extensions table, because I 
already use that name of table for some proprietary stuff I use. Right now it's 
complaining that I already have a table named that. Any way to exclude that 
other stuff, and only have it manage the core sip_devices and PJSIP stuff?


travis@pcimphone1:~/downloads/asterisk-13.5.0/contrib/ast-db-manage$ sudo 
alembic -c config.ini upgrade head
INFO  [alembic.migration] Context impl MySQLImpl.
INFO  [alembic.migration] Will assume non-transactional DDL.
INFO  [alembic.migration] Running upgrade 43956d550a44 -> 581a4264e537, adding 
extensions
Traceback (most recent call last):
  File "/usr/bin/alembic", line 9, in 
load_entry_point('alembic==0.6.2', 'console_scripts', 'alembic')()
  File "/usr/lib/python2.7/dist-packages/alembic/config.py", line 298, in main
CommandLine(prog=prog).main(argv=argv)
  File "/usr/lib/python2.7/dist-packages/alembic/config.py", line 293, in main
self.run_cmd(cfg, options)
  File "/usr/lib/python2.7/dist-packages/alembic/config.py", line 279, in 
run_cmd
**dict((k, getattr(options, k)) for k in kwarg)
  File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 124, in 
upgrade
script.run_env()
  File "/usr/lib/python2.7/dist-packages/alembic/script.py", line 199, in 
run_env
util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/dist-packages/alembic/util.py", line 199, in 
load_python_file
module = load_module(module_id, path)
  File "/usr/lib/python2.7/dist-packages/alembic/compat.py", line 55, in 
load_module
mod = imp.load_source(module_id, path, fp)
  File "config/env.py", line 73, in 
run_migrations_online()
  File "config/env.py", line 66, in run_migrations_online
context.run_migrations()
  File "", line 7, in run_migrations
  File "/usr/lib/python2.7/dist-packages/alembic/environment.py", line 652, in 
run_migrations
self.get_context().run_migrations(**kw)
  File "/usr/lib/python2.7/dist-packages/alembic/migration.py", line 225, in 
run_migrations
change(**kw)
  File "config/versions/581a4264e537_adding_extensions.py", line 45, in upgrade
sa.Column('appdata', sa.String(256), nullable=False),
  File "", line 7, in create_table
  File "/usr/lib/python2.7/dist-packages/alembic/operations.py", line 647, in 
create_table
self._table(name, *columns, **kw)
  File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 149, in 
create_table
self._exec(schema.CreateTable(table))
  File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 76, in _exec
conn.execute(construct, *multiparams, **params)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 662, 
in execute
params)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, 
in _execute_ddl
compiled
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 874, 
in _execute_context
context)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1024, 
in _handle_dbapi_exception
exc_info
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 196, 
in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 867, 
in _execute_context
context)
  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 
324, in do_execute
cursor.execute(statement, parameters)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in 
execute
self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in 
defaulterrorhandler
raise errorclass, errorvalue
sqlalchemy.exc.OperationalError: (OperationalError) (1050, "Table 'extensions' 
already exists") '\nCREATE TABLE extensions (\n\tid BIGINT NOT NULL 
AUTO_INCREMENT, \n\tcontext VARCHAR(40) NOT NULL, \n\texten VARCHAR(40) NOT 
NULL, \n\tpriority INTEGER NOT NULL, \n\tapp VARCHAR(40) NOT NULL, \n\tappdata 
VARCHAR(256) NOT NULL, \n\tPRIMARY KEY (id, context, exten, priority), 
\n\tUNIQUE (id)\n)\n\n' ()



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

Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-24 Thread Joshua Colp

On 15-09-24 06:30 PM, Ryan, Travis wrote:

Yes, the schema can change between versions. Following the
instructions on
https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime#SettingupPJSIPRealtime-InstallingandUsingAlembic



will cause alembic to upgrade the tables.


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


I'm not a fan of alembic at all, but I'll give it another try.

One issue I have is I don't want it to make the extensions table,
because I already use that name of table for some proprietary stuff I
use. Right now it's complaining that I already have a table named
that. Any way to exclude that other stuff, and only have it manage
the core sip_devices and PJSIP stuff?


No idea, alembic is not something we wrote and I'm not that familiar 
with it.


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Ok that did it after I did the steps to completely remove everything and do a 
new install. Thanks!

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 10:12 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> Ryan, Travis wrote:
> > Ok so now I'm getting this when doing a make in asterisk...
> >
> > travis@pcimphone1:~/downloads/asterisk-13.5.0$ make
> > [LD] chan_pjsip.o pjsip/dialplan_functions.o ->  chan_pjsip.so
> > /usr/bin/ld:
> > /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a(sip_inv.o):
> > relocation R_X86_64_32S against `.rodata' can not be used when making
> > a shared object; recompile with -fPIC
> > /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a: error adding
> > symbols: Bad value
> > collect2: error: ld returned 1 exit status
> > make[1]: *** [chan_pjsip.so] Error 1
> > make: *** [channels] Error 2
> 
> It has picked up an install of pjproject which was not built with "--
> enable-shared". You need to remove all instances on your system to
> return it to a known state and then rebuild pjproject and install it.
> 
> ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with-
> external-speex --with-external-gsm --with-external-srtp --disable-sound
> --disable-resample --prefix=/usr
> 
> Those are the options I use normally on Ubuntu 14.04.
> 
> --
> 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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis


> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Ryan, Travis
> Sent: Wednesday, September 23, 2015 9:55 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> 
> 
> 
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Joshua Colp
> > Sent: Wednesday, September 23, 2015 9:39 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> > Ryan, Travis wrote:
> > > I've built PJSIP a few months ago on a server that was 12.04 and
> > can't
> > > remember how I got past this same issue. I've looked at the links
> > I'll
> > > put below and the comments section where others had the issue, but
> > > those tips aren't helping either.
> > >
> > > Basically everything seems to compile and install correctly, but
> > > then the "ldconfig -p | grep pj" doesn't show anything. So ldconfig
> > > when ran by itself isn't picking up on the install of pjsip. Also
> > > when going into the process of menuselect it shows that it's not
> > > available
> > as a resource.
> >
> > Do you have the pkg-config package installed? That is what the build
> > system uses for finding the right stuff.
> >
> > Also what does the following show:
> >
> > ls /usr/lib/libpj*.so
> > ls /usr/local/lib/libpj*.so
> >
> > And what did you pass to the configure script for pjproject?
> >
> [Ryan, Travis]
> travis@pcimphone1:~$ ls /usr/lib/libpj*.so
> ls: cannot access /usr/lib/libpj*.so: No such file or directory
> travis@pcimphone1:~$ ls /usr/local/lib/libpj*.so
> ls: cannot access /usr/local/lib/libpj*.so: No such file or directory
> travis@pcimphone1:~$ ls /usr/lib/libpj*.so
> lib/   lib64/
> travis@pcimphone1:~$ ls /usr/lib64/libpj*.so
> /usr/lib64/libpjlib-util.so/usr/lib64/libpjmedia-codec.so
> /usr/lib64/libpjmedia-videodev.so  /usr/lib64/libpjsip-simple.so
> /usr/lib64/libpjsip-ua.so  /usr/lib64/libpjsua2.so
> /usr/lib64/libpjmedia-audiodev.so  /usr/lib64/libpjmedia.so
> /usr/lib64/libpjnath.so/usr/lib64/libpjsip.so
> /usr/lib64/libpj.so/usr/lib64/libpjsua.so
> 
> 
> As you can see it put them in the lib64 folder. I've done the command
> and recompiled so many times with the following attempts
> 
> ./configure --prefix=/usr --enable-shared --disable-sound --disable-
> resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
> ./configure
> ./configure --prefix=/usr
> ./configure --libdir=/usr/lib64 --prefix=/usr --enable-shared --
> disable-sound --disable-resample --disable-video --disable-opencore-amr
> 
> 
Now for some reason they are showing after running the usual .configure from 
the wiki. I swear to God it wasn't working last night. SMH
[Ryan, Travis] 


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
I've built PJSIP a few months ago on a server that was 12.04 and can't remember 
how I got past this same issue. I've looked at the links I'll put below and the 
comments section where others had the issue, but those tips aren't helping 
either.

Basically everything seems to compile and install correctly, but then the 
"ldconfig -p  | grep pj" doesn't show anything. So ldconfig when ran by itself 
isn't picking up on the install of pjsip. Also when going into the process of 
menuselect it shows that it's not available as a resource.

https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject

https://www.ringroost.com/blog/installing-asterisk-13-from-source-on-ubuntu-14/


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

Ryan, Travis wrote:

Ok so now I'm getting this when doing a make in asterisk...

travis@pcimphone1:~/downloads/asterisk-13.5.0$ make
[LD] chan_pjsip.o pjsip/dialplan_functions.o ->  chan_pjsip.so
/usr/bin/ld: /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a(sip_inv.o): 
relocation R_X86_64_32S against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a: error adding symbols: 
Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [chan_pjsip.so] Error 1
make: *** [channels] Error 2


It has picked up an install of pjproject which was not built with 
"--enable-shared". You need to remove all instances on your system to 
return it to a known state and then rebuild pjproject and install it.


./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared 
--with-external-speex --with-external-gsm --with-external-srtp 
--disable-sound --disable-resample --prefix=/usr


Those are the options I use normally on Ubuntu 14.04.

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Spoke too soon. Same thing.

Josh, any other ideas?

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Ryan, Travis
> Sent: Wednesday, September 23, 2015 10:50 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> Ok that did it after I did the steps to completely remove everything
> and do a new install. Thanks!
> 
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Joshua Colp
> > Sent: Wednesday, September 23, 2015 10:12 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> > Ryan, Travis wrote:
> > > Ok so now I'm getting this when doing a make in asterisk...
> > >
> > > travis@pcimphone1:~/downloads/asterisk-13.5.0$ make
> > > [LD] chan_pjsip.o pjsip/dialplan_functions.o ->  chan_pjsip.so
> > > /usr/bin/ld:
> > > /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a(sip_inv.o):
> > > relocation R_X86_64_32S against `.rodata' can not be used when
> > > making a shared object; recompile with -fPIC
> > > /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a: error adding
> > > symbols: Bad value
> > > collect2: error: ld returned 1 exit status
> > > make[1]: *** [chan_pjsip.so] Error 1
> > > make: *** [channels] Error 2
> >
> > It has picked up an install of pjproject which was not built with "--
> > enable-shared". You need to remove all instances on your system to
> > return it to a known state and then rebuild pjproject and install it.
> >
> > ./configure CFLAGS="-DNDEBUG -DPJ_HAS_IPV6=1" --enable-shared --with-
> > external-speex --with-external-gsm --with-external-srtp
> > --disable-sound --disable-resample --prefix=/usr
> >
> > Those are the options I use normally on Ubuntu 14.04.
> >
> > --
> > 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
> 
> 
> --
> _
> -- 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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

Ryan, Travis wrote:

I’ve built PJSIP a few months ago on a server that was 12.04 and can’t
remember how I got past this same issue. I’ve looked at the links I’ll
put below and the comments section where others had the issue, but those
tips aren’t helping either.

Basically everything seems to compile and install correctly, but then
the “ldconfig –p | grep pj” doesn’t show anything. So ldconfig when ran
by itself isn’t picking up on the install of pjsip. Also when going into
the process of menuselect it shows that it’s not available as a resource.


Do you have the pkg-config package installed? That is what the build 
system uses for finding the right stuff.


Also what does the following show:

ls /usr/lib/libpj*.so
ls /usr/local/lib/libpj*.so

And what did you pass to the configure script for pjproject?

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis



> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 9:39 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> Ryan, Travis wrote:
> > I've built PJSIP a few months ago on a server that was 12.04 and
> can't
> > remember how I got past this same issue. I've looked at the links
> I'll
> > put below and the comments section where others had the issue, but
> > those tips aren't helping either.
> >
> > Basically everything seems to compile and install correctly, but then
> > the "ldconfig -p | grep pj" doesn't show anything. So ldconfig when
> > ran by itself isn't picking up on the install of pjsip. Also when
> > going into the process of menuselect it shows that it's not available
> as a resource.
> 
> Do you have the pkg-config package installed? That is what the build
> system uses for finding the right stuff.
> 
> Also what does the following show:
> 
> ls /usr/lib/libpj*.so
> ls /usr/local/lib/libpj*.so
> 
> And what did you pass to the configure script for pjproject?
> 
[Ryan, Travis] 
travis@pcimphone1:~$ ls /usr/lib/libpj*.so
ls: cannot access /usr/lib/libpj*.so: No such file or directory
travis@pcimphone1:~$ ls /usr/local/lib/libpj*.so
ls: cannot access /usr/local/lib/libpj*.so: No such file or directory
travis@pcimphone1:~$ ls /usr/lib/libpj*.so
lib/   lib64/
travis@pcimphone1:~$ ls /usr/lib64/libpj*.so
/usr/lib64/libpjlib-util.so/usr/lib64/libpjmedia-codec.so  
/usr/lib64/libpjmedia-videodev.so  /usr/lib64/libpjsip-simple.so  
/usr/lib64/libpjsip-ua.so  /usr/lib64/libpjsua2.so
/usr/lib64/libpjmedia-audiodev.so  /usr/lib64/libpjmedia.so
/usr/lib64/libpjnath.so/usr/lib64/libpjsip.so 
/usr/lib64/libpj.so/usr/lib64/libpjsua.so


As you can see it put them in the lib64 folder. I've done the command and 
recompiled so many times with the following attempts

./configure --prefix=/usr --enable-shared --disable-sound --disable-resample 
--disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
./configure
./configure --prefix=/usr
./configure --libdir=/usr/lib64 --prefix=/usr --enable-shared --disable-sound 
--disable-resample --disable-video --disable-opencore-amr


[Ryan, Travis] 


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Ok so now I'm getting this when doing a make in asterisk...

travis@pcimphone1:~/downloads/asterisk-13.5.0$ make
   [LD] chan_pjsip.o pjsip/dialplan_functions.o -> chan_pjsip.so
/usr/bin/ld: /usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a(sip_inv.o): 
relocation R_X86_64_32S against `.rodata' can not be used when making a shared 
object; recompile with -fPIC
/usr/local/lib/libpjsip-ua-x86_64-unknown-linux-gnu.a: error adding symbols: 
Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [chan_pjsip.so] Error 1
make: *** [channels] Error 2

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Ryan, Travis
> Sent: Wednesday, September 23, 2015 10:01 AM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> 
> 
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Ryan, Travis
> > Sent: Wednesday, September 23, 2015 9:55 AM
> > To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> >
> >
> >
> > > -Original Message-
> > > From: asterisk-users-boun...@lists.digium.com
> > > [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of
> > > Joshua Colp
> > > Sent: Wednesday, September 23, 2015 9:39 AM
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > > 14.04
> > >
> > > Ryan, Travis wrote:
> > > > I've built PJSIP a few months ago on a server that was 12.04 and
> > > can't
> > > > remember how I got past this same issue. I've looked at the links
> > > I'll
> > > > put below and the comments section where others had the issue,
> but
> > > > those tips aren't helping either.
> > > >
> > > > Basically everything seems to compile and install correctly, but
> > > > then the "ldconfig -p | grep pj" doesn't show anything. So
> > > > ldconfig when ran by itself isn't picking up on the install of
> > > > pjsip. Also when going into the process of menuselect it shows
> > > > that it's not available
> > > as a resource.
> > >
> > > Do you have the pkg-config package installed? That is what the
> build
> > > system uses for finding the right stuff.
> > >
> > > Also what does the following show:
> > >
> > > ls /usr/lib/libpj*.so
> > > ls /usr/local/lib/libpj*.so
> > >
> > > And what did you pass to the configure script for pjproject?
> > >
> > [Ryan, Travis]
> > travis@pcimphone1:~$ ls /usr/lib/libpj*.so
> > ls: cannot access /usr/lib/libpj*.so: No such file or directory
> > travis@pcimphone1:~$ ls /usr/local/lib/libpj*.so
> > ls: cannot access /usr/local/lib/libpj*.so: No such file or directory
> > travis@pcimphone1:~$ ls /usr/lib/libpj*.so
> > lib/   lib64/
> > travis@pcimphone1:~$ ls /usr/lib64/libpj*.so
> > /usr/lib64/libpjlib-util.so/usr/lib64/libpjmedia-codec.so
> > /usr/lib64/libpjmedia-videodev.so  /usr/lib64/libpjsip-simple.so
> > /usr/lib64/libpjsip-ua.so  /usr/lib64/libpjsua2.so
> > /usr/lib64/libpjmedia-audiodev.so  /usr/lib64/libpjmedia.so
> > /usr/lib64/libpjnath.so/usr/lib64/libpjsip.so
> > /usr/lib64/libpj.so/usr/lib64/libpjsua.so
> >
> >
> > As you can see it put them in the lib64 folder. I've done the command
> > and recompiled so many times with the following attempts
> >
> > ./configure --prefix=/usr --enable-shared --disable-sound --disable-
> > resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'
> > ./configure
> > ./configure --prefix=/usr
> > ./configure --libdir=/usr/lib64 --prefix=/usr --enable-shared --
> > disable-sound --disable-resample --disable-video
> > --disable-opencore-amr
> >
> >
> Now for some reason they are showing after running the usual .configure
> from the wiki. I swear to God it wasn't working last night. SMH [Ryan,
> Travis]
> 
> 
> --
> _
> -- 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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

On 15-09-23 12:14 PM, Ryan, Travis wrote:

Spoke too soon. Same thing.

Josh, any other ideas?


Not really, that's the exact configure line I use. You may have to do a 
"make distclean" on both pjproject and asterisk.


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis


> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 11:25 AM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> On 15-09-23 12:14 PM, Ryan, Travis wrote:
> > Spoke too soon. Same thing.
> >
> > Josh, any other ideas?
> 
> Not really, that's the exact configure line I use. You may have to do a
> "make distclean" on both pjproject and asterisk.
> 
> --
I think that did it.
[Ryan, Travis] 



-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

On 15-09-23 07:17 PM, Ryan, Travis wrote:

Getting constant segfaults now...

[  157.894809] asterisk[1424]: segfault at c ip 7f8b2fbcfd04 sp 
7f8b91722010 error 4 in res_hep_pjsip.so[7f8b2fba2000+45000]
[  481.101031] asterisk[1581]: segfault at c ip 7ff4805f0d04 sp 
7ff4ba438010 error 4 in res_hep_pjsip.so[7ff4805c3000+45000]
[ 1151.182223] asterisk[1787]: segfault at c ip 7f3a29ef7d04 sp 
7f3a7fdec010 error 4 in res_hep_pjsip.so[7f3a29eca000+45000]
[ 1289.185181] asterisk[1974]: segfault at c ip 7f039bb8ed04 sp 
7f03fda21010 error 4 in res_hep_pjsip.so[7f039bb61000+45000]
[ 2434.066780] asterisk[2082]: segfault at c ip 7ff49a69ad04 sp 
7ff4c7ffe010 error 4 in res_hep_pjsip.so[7ff49a66d000+45000]
[ 2618.073360] asterisk[2390]: segfault at c ip 7fb93f391d04 sp 
7fb9a11fd010 error 4 in res_hep_pjsip.so[7fb93f364000+45000]


Instructions are on the wiki[1] for getting a backtrace. As well - what 
version of Asterisk?


[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Getting constant segfaults now...

[  157.894809] asterisk[1424]: segfault at c ip 7f8b2fbcfd04 sp 
7f8b91722010 error 4 in res_hep_pjsip.so[7f8b2fba2000+45000]
[  481.101031] asterisk[1581]: segfault at c ip 7ff4805f0d04 sp 
7ff4ba438010 error 4 in res_hep_pjsip.so[7ff4805c3000+45000]
[ 1151.182223] asterisk[1787]: segfault at c ip 7f3a29ef7d04 sp 
7f3a7fdec010 error 4 in res_hep_pjsip.so[7f3a29eca000+45000]
[ 1289.185181] asterisk[1974]: segfault at c ip 7f039bb8ed04 sp 
7f03fda21010 error 4 in res_hep_pjsip.so[7f039bb61000+45000]
[ 2434.066780] asterisk[2082]: segfault at c ip 7ff49a69ad04 sp 
7ff4c7ffe010 error 4 in res_hep_pjsip.so[7ff49a66d000+45000]
[ 2618.073360] asterisk[2390]: segfault at c ip 7fb93f391d04 sp 
7fb9a11fd010 error 4 in res_hep_pjsip.so[7fb93f364000+45000]



> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Ryan, Travis
> Sent: Wednesday, September 23, 2015 11:46 AM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> 
> 
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Joshua Colp
> > Sent: Wednesday, September 23, 2015 11:25 AM
> > To: asterisk-users@lists.digium.com
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> > On 15-09-23 12:14 PM, Ryan, Travis wrote:
> > > Spoke too soon. Same thing.
> > >
> > > Josh, any other ideas?
> >
> > Not really, that's the exact configure line I use. You may have to do
> > a "make distclean" on both pjproject and asterisk.
> >
> > --
> I think that did it.
> [Ryan, Travis]
> 
> 
> 
> --
> _
> -- 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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Should be the current which is 13.5.0

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 6:22 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> On 15-09-23 07:17 PM, Ryan, Travis wrote:
> > Getting constant segfaults now...
> >
> > [  157.894809] asterisk[1424]: segfault at c ip 7f8b2fbcfd04 sp
> > 7f8b91722010 error 4 in res_hep_pjsip.so[7f8b2fba2000+45000]
> > [  481.101031] asterisk[1581]: segfault at c ip 7ff4805f0d04 sp
> > 7ff4ba438010 error 4 in res_hep_pjsip.so[7ff4805c3000+45000]
> > [ 1151.182223] asterisk[1787]: segfault at c ip 7f3a29ef7d04 sp
> > 7f3a7fdec010 error 4 in res_hep_pjsip.so[7f3a29eca000+45000]
> > [ 1289.185181] asterisk[1974]: segfault at c ip 7f039bb8ed04 sp
> > 7f03fda21010 error 4 in res_hep_pjsip.so[7f039bb61000+45000]
> > [ 2434.066780] asterisk[2082]: segfault at c ip 7ff49a69ad04 sp
> > 7ff4c7ffe010 error 4 in res_hep_pjsip.so[7ff49a66d000+45000]
> > [ 2618.073360] asterisk[2390]: segfault at c ip 7fb93f391d04 sp
> > 7fb9a11fd010 error 4 in res_hep_pjsip.so[7fb93f364000+45000]
> 
> Instructions are on the wiki[1] for getting a backtrace. As well - what
> version of Asterisk?
> 
> [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
> 
> --
> 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


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 6:58 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> On 15-09-23 07:53 PM, Ryan, Travis wrote:
> >
> > I'm not sure what that means.  I just built it how the wiki says too,
> > and earlier messages in this thread. J
> 
> It means not all instances of PJSIP were removed from your system
> before rebuilding and installing it. It could also mean that you had
> old Asterisk modules installed and did not remove them before
> installing the new Asterisk. Essentially res_hep_pjsip is using a self
> contained copy of PJSIP which is in an undefined state.
> 
> --
> 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
> 
[Ryan, Travis] 
I ran all the uninstall commands and the rm commands. Made sure that ldconfig 
-p had no pj stuff in it. 

That's not enough? What did I miss?

Thanks


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis

> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 6:38 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> On 15-09-23 07:36 PM, Ryan, Travis wrote:
> > I've got the backtrace, but how much of the info do you want?
> 
> Ideally everything.
> 
> --
> 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
> 
The core files are large, so here's the backtrace.txt
[Ryan, Travis] 

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from asterisk...done.
[New LWP 2799]
[New LWP 2802]
[New LWP 2804]
[New LWP 2807]
[New LWP 2805]
[New LWP 2809]
[New LWP 2806]
[New LWP 2812]
[New LWP 2808]
[New LWP 2813]
[New LWP 2811]
[New LWP 2814]
[New LWP 2816]
[New LWP 2815]
[New LWP 2817]
[New LWP 2819]
[New LWP 2818]
[New LWP 2820]
[New LWP 2821]
[New LWP 2824]
[New LWP 2822]
[New LWP 2828]
[New LWP 2823]
[New LWP 2826]
[New LWP 2827]
[New LWP 2830]
[New LWP 2832]
[New LWP 2834]
[New LWP 2831]
[New LWP 2835]
[New LWP 2833]
[New LWP 2837]
[New LWP 2836]
[New LWP 2838]
[New LWP 2840]
[New LWP 2839]
[New LWP 2841]
[New LWP 2843]
[New LWP 2842]
[New LWP 2767]
[New LWP 2844]
[New LWP 2771]
[New LWP 2845]
[New LWP 2775]
[New LWP 2846]
[New LWP 2777]
[New LWP 2766]
[New LWP 2778]
[New LWP 2768]
[New LWP 2779]
[New LWP 2776]
[New LWP 2780]
[New LWP 2782]
[New LWP 2788]
[New LWP 2783]
[New LWP 2825]
[New LWP 2784]
[New LWP 2785]
[New LWP 2786]
[New LWP 2787]
[New LWP 2789]
[New LWP 2790]
[New LWP 2791]
[New LWP 2792]
[New LWP 2793]
[New LWP 2829]
[New LWP 2810]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7fa2a7879d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
(gdb) bt
#0  0x7fa2a7879d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
#1  0x7fa2a787a189 in pj_hash_get_lower () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
#2  0x7fa2a785b06f in pjsip_ua_find_dialog () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
#3  0x7fa2a7851330 in assign_uuid (call_id=0x14138a8, local_tag=, remote_tag=) at res_hep_pjsip.c:55
#4  0x7fa2a78514bd in logging_on_rx_msg (rdata=0x1412018) at 
res_hep_pjsip.c:131
#5  0x7fa2e97135a7 in pjsip_endpt_process_rx_data () from 
/usr/lib/asterisk/modules/res_pjsip.so
#6  0x7fa2e971376e in endpt_on_rx_msg () from 
/usr/lib/asterisk/modules/res_pjsip.so
#7  0x7fa2e971922f in pjsip_tpmgr_receive_packet () from 
/usr/lib/asterisk/modules/res_pjsip.so
#8  0x7fa2e971ac49 in udp_on_read_complete () from 
/usr/lib/asterisk/modules/res_pjsip.so
#9  0x7fa2e97337ed in ioqueue_dispatch_read_event () from 
/usr/lib/asterisk/modules/res_pjsip.so
#10 0x7fa2e9734a8d in pj_ioqueue_poll () from 
/usr/lib/asterisk/modules/res_pjsip.so
#11 0x7fa2e9713338 in pjsip_endpt_handle_events2 () from 
/usr/lib/asterisk/modules/res_pjsip.so
#12 0x7fa2e96ee25f in monitor_thread_exec (endpt=0x0) at res_pjsip.c:3531
#13 0x7fa2e97356e6 in thread_main () from 
/usr/lib/asterisk/modules/res_pjsip.so
#14 0x7fa30c83e182 in start_thread (arg=0x7fa309715700) at 
pthread_create.c:312
#15 0x7fa30be1a47d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) bt full
#0  0x7fa2a7879d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#1  0x7fa2a787a189 in pj_hash_get_lower () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#2  0x7fa2a785b06f in pjsip_ua_find_dialog () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#3  0x7fa2a7851330 in assign_uuid (call_id=0x14138a8, local_tag=, remote_tag=) at res_hep_pjsip.c:55
session = 0x0
dlg = 

Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Richard Mudgett
On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis <ry...@oscarwinski.com> wrote:

>
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Joshua Colp
> > Sent: Wednesday, September 23, 2015 6:38 PM
> > To: asterisk-users@lists.digium.com
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> > On 15-09-23 07:36 PM, Ryan, Travis wrote:
> > > I've got the backtrace, but how much of the info do you want?
> >
> > Ideally everything.
> >
> > --
> > 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
> >
> The core files are large, so here's the backtrace.txt
>

You are linking to a *static* version of the PJPROJECT library.
That is guaranteed to cause crashes.  You must remove the static
build of PJPROJECT from your system.

Richard
-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Richard Mudgett
On Wed, Sep 23, 2015 at 5:53 PM, Ryan, Travis <ry...@oscarwinski.com> wrote:

>
>
> *From:* asterisk-users-boun...@lists.digium.com [mailto:
> asterisk-users-boun...@lists.digium.com] *On Behalf Of *Richard Mudgett
> *Sent:* Wednesday, September 23, 2015 6:52 PM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
>
>
>
>
>
>
>
> On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis <ry...@oscarwinski.com>
> wrote:
>
>
> > -Original Message-
> > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> > boun...@lists.digium.com] On Behalf Of Joshua Colp
> > Sent: Wednesday, September 23, 2015 6:38 PM
> > To: asterisk-users@lists.digium.com
> > Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> > 14.04
> >
> > On 15-09-23 07:36 PM, Ryan, Travis wrote:
> > > I've got the backtrace, but how much of the info do you want?
> >
> > Ideally everything.
> >
> > --
> > 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
> >
> The core files are large, so here's the backtrace.txt
>
>
>
> You are linking to a *static* version of the PJPROJECT library.
> That is guaranteed to cause crashes.  You must remove the static
>
> build of PJPROJECT from your system.
>
>
>
> Richard
>
>
>
> *[Ryan, Travis] *
>
> I’m not sure what that means.  I just built it how the wiki says too, and
> earlier messages in this thread. J
>

The instructions also say you must remove any other built installations of
the PJPROJECT
because they are likely static libraries (*.a libraries).  The linker is
finding the static library first.

Richard
-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

On 15-09-23 07:53 PM, Ryan, Travis wrote:


I’m not sure what that means.  I just built it how the wiki says too,
and earlier messages in this thread. J


It means not all instances of PJSIP were removed from your system before 
rebuilding and installing it. It could also mean that you had old 
Asterisk modules installed and did not remove them before installing the 
new Asterisk. Essentially res_hep_pjsip is using a self contained copy 
of PJSIP which is in an undefined state.


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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis


> -Original Message-
> From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
> boun...@lists.digium.com] On Behalf Of Joshua Colp
> Sent: Wednesday, September 23, 2015 6:22 PM
> To: asterisk-users@lists.digium.com
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
> 
> On 15-09-23 07:17 PM, Ryan, Travis wrote:
> > Getting constant segfaults now...
> >
> > [  157.894809] asterisk[1424]: segfault at c ip 7f8b2fbcfd04 sp
> > 7f8b91722010 error 4 in res_hep_pjsip.so[7f8b2fba2000+45000]
> > [  481.101031] asterisk[1581]: segfault at c ip 7ff4805f0d04 sp
> > 7ff4ba438010 error 4 in res_hep_pjsip.so[7ff4805c3000+45000]
> > [ 1151.182223] asterisk[1787]: segfault at c ip 7f3a29ef7d04 sp
> > 7f3a7fdec010 error 4 in res_hep_pjsip.so[7f3a29eca000+45000]
> > [ 1289.185181] asterisk[1974]: segfault at c ip 7f039bb8ed04 sp
> > 7f03fda21010 error 4 in res_hep_pjsip.so[7f039bb61000+45000]
> > [ 2434.066780] asterisk[2082]: segfault at c ip 7ff49a69ad04 sp
> > 7ff4c7ffe010 error 4 in res_hep_pjsip.so[7ff49a66d000+45000]
> > [ 2618.073360] asterisk[2390]: segfault at c ip 7fb93f391d04 sp
> > 7fb9a11fd010 error 4 in res_hep_pjsip.so[7fb93f364000+45000]
> 
> Instructions are on the wiki[1] for getting a backtrace. As well - what
> version of Asterisk?
> 
> [1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace
> 
> --
> 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
[Ryan, Travis] 
I've got the backtrace, but how much of the info do you want?


-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp

On 15-09-23 07:36 PM, Ryan, Travis wrote:

I've got the backtrace, but how much of the info do you want?


Ideally everything.

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis

From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Richard Mudgett
Sent: Wednesday, September 23, 2015 6:52 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04



On Wed, Sep 23, 2015 at 5:43 PM, Ryan, Travis 
<ry...@oscarwinski.com<mailto:ry...@oscarwinski.com>> wrote:

> -Original Message-
> From: 
> asterisk-users-boun...@lists.digium.com<mailto:asterisk-users-boun...@lists.digium.com>
>  [mailto:asterisk-users-<mailto:asterisk-users->
> boun...@lists.digium.com<mailto:boun...@lists.digium.com>] On Behalf Of 
> Joshua Colp
> Sent: Wednesday, September 23, 2015 6:38 PM
> To: asterisk-users@lists.digium.com<mailto:asterisk-users@lists.digium.com>
> Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU
> 14.04
>
> On 15-09-23 07:36 PM, Ryan, Travis wrote:
> > I've got the backtrace, but how much of the info do you want?
>
> Ideally everything.
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at:
> www.digium.com<http://www.digium.com> & 
> www.asterisk.org<http://www.asterisk.org>
>
The core files are large, so here's the backtrace.txt

You are linking to a *static* version of the PJPROJECT library.
That is guaranteed to cause crashes.  You must remove the static
build of PJPROJECT from your system.

Richard

[Ryan, Travis]
I’m not sure what that means.  I just built it how the wiki says too, and 
earlier messages in this thread. ☺

-- 
_
-- 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] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Joshua Colp


On 15-09-23 08:00 PM, Ryan, Travis wrote:

I ran all the uninstall commands and the rm commands. Made sure that ldconfig 
-p had no pj stuff in it.

That's not enough? What did I miss?


"make uninstall" uses the configure parameters. You can do:

updatedb
locate libpj

To find all remaining libraries.

You should also ensure old Asterisk modules don't exist by doing rm -rf 
/usr/lib/asterisk/modules


And re-running make install in Asterisk afterwards

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


Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04

2015-09-23 Thread Ryan, Travis
Ok I did all that and it's still crashing. I did find some other areas I think 
that shouldn't have had any of those files, so I thought it would work, because 
I got rid of ALL of them per your instructions and completely reconfigured and 
compiled both pjsip and then asterisk. 

Attached is the new backtrace...

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 7:05 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04


On 15-09-23 08:00 PM, Ryan, Travis wrote:
> I ran all the uninstall commands and the rm commands. Made sure that ldconfig 
> -p had no pj stuff in it.
>
> That's not enough? What did I miss?

"make uninstall" uses the configure parameters. You can do:

updatedb
locate libpj

To find all remaining libraries.

You should also ensure old Asterisk modules don't exist by doing rm -rf 
/usr/lib/asterisk/modules

And re-running make install in Asterisk afterwards

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

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from asterisk...done.
[New LWP 3197]
[New LWP 3199]
[New LWP 3202]
[New LWP 3204]
[New LWP 3203]
[New LWP 3205]
[New LWP 3207]
[New LWP 3206]
[New LWP 3209]
[New LWP 3211]
[New LWP 3210]
[New LWP 3216]
[New LWP 3212]
[New LWP 3217]
[New LWP 3213]
[New LWP 3218]
[New LWP 3214]
[New LWP 3219]
[New LWP 3215]
[New LWP 3220]
[New LWP 3221]
[New LWP 3225]
[New LWP 3222]
[New LWP 3235]
[New LWP 3224]
[New LWP 3237]
[New LWP 3226]
[New LWP 3241]
[New LWP 3170]
[New LWP 3173]
[New LWP 3176]
[New LWP 3177]
[New LWP 3178]
[New LWP 3228]
[New LWP 3184]
[New LWP 3229]
[New LWP 3223]
[New LWP 3230]
[New LWP 3231]
[New LWP 3232]
[New LWP 3233]
[New LWP 3234]
[New LWP 3236]
[New LWP 3238]
[New LWP 3239]
[New LWP 3240]
[New LWP 3242]
[New LWP 3243]
[New LWP 3244]
[New LWP 3162]
[New LWP 3163]
[New LWP 3166]
[New LWP 3174]
[New LWP 3175]
[New LWP 3180]
[New LWP 3181]
[New LWP 3182]
[New LWP 3183]
[New LWP 3185]
[New LWP 3186]
[New LWP 3187]
[New LWP 3188]
[New LWP 3189]
[New LWP 3190]
[New LWP 3191]
[New LWP 3227]
[New LWP 3208]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x7fa4e64e5d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
(gdb) btfull
(gdb) bt full
#0  0x7fa4e64e5d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#1  0x7fa4e64e6189 in pj_hash_get_lower () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#2  0x7fa4e64c706f in pjsip_ua_find_dialog () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#3  0x7fa4e64bd330 in assign_uuid (call_id=0x25a11d8, local_tag=, remote_tag=)
at res_hep_pjsip.c:55
session = 0x0
dlg = 
uuid = 0x0
__PRETTY_FUNCTION__ = "assign_uuid"
#4  0x7fa4e64bd4bd in logging_on_rx_msg (rdata=0x259f948) at 
res_hep_pjsip.c:131
local_buf = 
"0.0.0.0:5060\000\177\000\000\000\000\000\000\005\000\000\000\002\001\000\000\001\000\000\000U\343\377'\245\177\000\000\250\342\377'\245\177\000\000\200\342\377'\245\177\000\000\020<Q\002\000\000\000\000\001\000\000\000\000\000\000\000x:Q\002\000\000\000\000
 
7Q\002\000\000\000\000\221\t\000M\245\177\000\000\000\000\000\000\000\000\000\000\020<Q\002\000\000\000\000\005",
 '\000' , "\001\000