[asterisk-bugs] [JIRA] (ASTERISK-29186) chan_sip: Endpoint not registered: log level 6: assert!

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Nov 30 04:23:16 CST 2020


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

Asterisk Team commented on ASTERISK-29186:
------------------------------------------

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. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

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

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

> chan_sip: Endpoint not registered: log level 6: assert!
> -------------------------------------------------------
>
>                 Key: ASTERISK-29186
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29186
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 18.1.0
>         Environment: Ubuntu 20.10
>            Reporter: Alexander Traud
>            Severity: Minor
>
> I know, one should not report issues with debug messages. However, this one looks like something is broken.
> *Steps to Reproduce*
> # ./configure --enable-dev-mode
> # make all install
> # create two endpoints 2133 and 2134 in pjsip.conf
> # in extensions.conf: {code}[default]
> exten => 2133,1,Dial(PJSIP/2133){code}
> # command-line interface (CLI): {{pjproject set log level 6}}
> # register entpoint 2134 through a SIP user agent
> # from there, dial 2133
> *Expected Results*
> ERROR: res_pjsip.c:3938 ast_sip_create_dialog_uac: Endpoint '2133': Could not create dialog to invalid URI '2133'.  Is endpoint registered and reachable?
> ERROR: chan_pjsip.c:2738 request: Failed to create outgoing session to endpoint '2133'
> WARNING: app_dial.c:2596 dial_exec_full: Unable to create channel of type 'PJSIP' (cause 3 - No route to destination)
> *Actual Result*
> asterisk: ../src/pj/os_core_unix.c:690: 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.
> *Backtrace*
> #4  in pj_thread_this () at ../src/pj/os_core_unix.c:690
> #5  in pj_mutex_lock (mutex=0x7fff8404a290) at ../src/pj/os_core_unix.c:1277
> #6  in pj_atomic_inc_and_get (atomic_var=0x7fff8404a280) at ../src/pj/os_core_unix.c:948
> #7  in pj_atomic_inc (atomic_var=0x7fff8404a280) at ../src/pj/os_core_unix.c:963
> #8  in pjsip_inv_add_ref (inv=0x7fff8404a0a8) at ../src/pjsip-ua/sip_inv.c:205
> #9  in chan_pjsip_indicate (ast=0x7fff840a7270, condition=8, data=0x0, datalen=0) at chan_pjsip.c:1888
> #10 in indicate_data_internal (chan=0x7fff840a7270, _condition=8, data=0x0, datalen=0) at channel.c:4540
> #11 in ast_indicate_data (chan=0x7fff840a7270, _condition=8, data=0x0, datalen=0) at channel.c:4709
> #12 in ast_indicate (chan=0x7fff840a7270, condition=8) at channel.c:4293
> #13 in indicate_congestion (chan=0x7fff840a7270, data=0x555555834832 "10") at pbx_builtins.c:728
> #14 in __ast_pbx_run (c=0x7fff840a7270, args=0x0) at pbx.c:4532
> #15 in pbx_thread (data=0x7fff840a7270) at pbx.c:4704
> #16 in dummy_start (data=0x7fff8404e490) at utils.c:1299
> #17 in start_thread (arg=0x7fff728db640) at pthread_create.c:463
> *Note*
> This does not happen at level 5, just level 6.
> This does not happen when endpoint 2133 is registered.



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



More information about the asterisk-bugs mailing list