[asterisk-bugs] [JIRA] (ASTERISK-27357) PJSip endpoints lose AoRs when enabling ODBC

Guilherme Bizzani (JIRA) noreply at issues.asterisk.org
Mon Oct 23 08:35:21 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239528#comment-239528 ] 

Guilherme Bizzani commented on ASTERISK-27357:
----------------------------------------------

64 bits Debian 8 - Jessie

root at debian8:~# dpkg -l | grep gcc
ii  gcc                                4:4.9.2-2                          amd64        GNU C compiler
ii  gcc-4.8                            4.8.4-1                            amd64        GNU C compiler
ii  gcc-4.8-base:amd64                 4.8.4-1                            amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.9                            4.9.2-10                           amd64        GNU C compiler
ii  gcc-4.9-base:amd64                 4.9.2-10                           amd64        GCC, the GNU Compiler Collection (base package)
ii  libgcc-4.8-dev:amd64               4.8.4-1                            amd64        GCC support library (development files)
ii  libgcc-4.9-dev:amd64               4.9.2-10                           amd64        GCC support library (development files)
ii  libgcc1:amd64                      1:4.9.2-10                         amd64        GCC support library
ii  linux-compiler-gcc-4.8-x86         3.16.43-2+deb8u2                   amd64        Compiler for Linux on x86 (meta-package)

Asterisk version: 13.11.2, but same error detected in 13.17 and 15.0.0

Alembic was installed via Python pip:
ii  python-pip                         1.5.6-5                            all          alternative Python package installer

root at debian8:~# pip list
[...]
alembic (0.9.6)
psycopg2 (2.7.3.1)
SQLAlchemy (1.1.14)

> PJSip endpoints lose AoRs when enabling ODBC
> --------------------------------------------
>
>                 Key: ASTERISK-27357
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27357
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip, Resources/res_odbc
>    Affects Versions: 15.0.0
>         Environment: Debian GNU/Linux 8.9 (jessie). Firstly got the error on a Asterisk version 13.11.2.
>            Reporter: Guilherme Bizzani
>
> This issue was basically found by following the tutorial on https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime using PostgreSQL for the database. My first approach to the error was on version 13.11.2 of Asterisk, then I tried with version 15 and get the same error.
> After all the installation, configuration and population, when starting asterisk the "pjsip show endpoints" objects don't contain AoR, and "pjsip show aors" return "No objects found."
> The only error i'm receiving back after these two commands is:
> ERROR 3875: config_options.c:883 aco_set_defaults: Unable to set default for 101, qualify_timeout=3.0
> Note: When I disable "res_odbc.conf" and configure any endpoint statically on "pjsip.conf" it does get the informations, register and make calls.
> More info and config files used can be seen in my thread on Asterisk's forum: https://community.asterisk.org/t/possible-incompatibility-between-odbc-and-pjsip/72340



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list