[asterisk-bugs] [JIRA] (ASTERISK-29186) chan_pjsip: Endpoint not registered: log level 6: assert!
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Wed Dec 9 06:41:16 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-29186:
---------------------------------------
Summary: chan_pjsip: Endpoint not registered: log level 6: assert! (was: chan_sip: Endpoint not registered: log level 6: assert!)
> chan_pjsip: 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: Channels/chan_pjsip
> 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