[asterisk-bugs] [JIRA] (ASTERISK-27126) "pjsip show aors" returns Memory Allocation Failure errors when using MariaDB ODBC connector
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Aug 15 05:02:07 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238091#comment-238091 ]
Joshua Colp commented on ASTERISK-27126:
----------------------------------------
[~y2fbo4IevYm5Ve9u] At least one other individual (I linked to their comment) is using this setup perfectly fine, so it's not happening for everyone. So far you appear to be the only individual experiencing the problem in fact. This could be down to the precise version of your stuff, or the entries in your database (you haven't stated how many in the database, or what they look like).
> "pjsip show aors" returns Memory Allocation Failure errors when using MariaDB ODBC connector
> --------------------------------------------------------------------------------------------
>
> Key: ASTERISK-27126
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27126
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: pjproject/pjsip
> Affects Versions: 14.5.0
> Reporter: HZMI8gkCvPpom0tM
> Assignee: Unassigned
> Severity: Trivial
>
> fresh installed asterisk odbc realitime and pjsip. Amount of memory more than enough.
> extconfig.conf
> {noformat}
> [settings]
> ps_endpoints => odbc,asterisk
> ps_auths => odbc,asterisk
> ps_aors => odbc,asterisk
> ps_domain_aliases => odbc,asterisk
> ps_endpoint_id_ips => odbc,asterisk
> ps_contacts => odbc,asterisk
> ps_registrations => odbc,asterisk
> ps_globals => odbc,asterisk
> ps_systems => odbc,asterisk
> {noformat}
> sourcery.conf
> {noformat}
> [res_pjsip] ; Realtime PJSIP configuration wizard
> endpoint=realtime,ps_endpoints
> auth=realtime,ps_auths
> aor=realtime,ps_aors
> domain_alias=realtime,ps_domain_aliases
> contact=realtime,ps_contacts
> global=realtime,ps_globals
> [res_pjsip_endpoint_identifier_ip]
> identify=realtime,ps_endpoint_id_ips
> {noformat}
> pjsip.conf
> {noformat}
> [transport-udp]
> type=transport
> protocol=udp
> bind=0.0.0.0
> [transport-tcp]
> type=transport
> protocol=tcp
> bind=0.0.0.0
> {noformat}
> {noformat}
> gsmpmnl*CLI> pjsip show aors
> Aor: <Aor..............................................> <MaxContact>
> Contact: <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
> ==========================================================================================
> Aor: 9991111 10
> Objects found: 1
> [Jul 11 15:33:04] ERROR[453]: /usr/src/my/asterisk-14.5.0/include/asterisk/utils.h:625 _ast_realloc: Memory Allocation Failure in function ast_str_make_space at line 823 of /usr/src/my/asterisk-14.5.0/include/asterisk/strings.h
> [Jul 11 15:33:04] ERROR[453]: /usr/src/my/asterisk-14.5.0/include/asterisk/utils.h:625 _ast_realloc: Memory Allocation Failure in function ast_str_make_space at line 823 of /usr/src/my/asterisk-14.5.0/include/asterisk/strings.h
> *error repeats numerous times*
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list