[asterisk-bugs] [JIRA] (ASTERISK-26829) Asterisk crash on PJSIP push configuration
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue Feb 28 18:24:10 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235491#comment-235491 ]
Asterisk Team commented on ASTERISK-26829:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> 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