[asterisk-bugs] [JIRA] (ASTERISK-26829) Asterisk crash on PJSIP push configuration
Leif Madsen (JIRA)
noreply at issues.asterisk.org
Tue Feb 28 18:24:10 CST 2017
Leif Madsen created ASTERISK-26829:
--------------------------------------
Summary: Asterisk crash on PJSIP push configuration
Key: ASTERISK-26829
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26829
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_pjsip
Affects Versions: 14.3.0
Environment: CentOS 7.3, virtualized, x86_64
Reporter: Leif Madsen
Working on building out a dynamic configuration controller via ARI and sorcery. Configuration for PJSIP is being pushed from a script living on localhost.
When running the script, I get this message from the console:
{{
*CLI> asterisk: ../src/pj/os_core_unix.c:674: pj_thread_this: Assertion `!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."' failed.
Aborted (core dumped)
}}
Script attached to issue to reproduce. Core dump attached to issue.
My script returns the following Python traceback (last line possibly useful):
{{
# ./push.py
Traceback (most recent call last):
File "./push.py", line 46, in <module>
transport_resp = resp_push(transport_url, transport_config)
File "./push.py", line 24, in resp_push
resp = requests.put(url, auth=('asterisk', 'asterisk'), json=config)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 121, in put
return request('put', url, data=data, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
}}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list