[2021-04-29 11:26:24.757] DEBUG[25776] http.c: HTTP opening session. Top level [2021-04-29 11:26:24.757] DEBUG[25776] http.c: HTTP Request URI is /ari/events?app=test&api_key=admin:admin [2021-04-29 11:26:24.757] DEBUG[25776] http.c: match request [ari/events] with handler [httpstatus] len 10 [2021-04-29 11:26:24.757] DEBUG[25776] http.c: match request [ari/events] with handler [phoneprov] len 9 [2021-04-29 11:26:24.757] DEBUG[25776] http.c: match request [ari/events] with handler [ari] len 3 [2021-04-29 11:26:24.757] DEBUG[25776] http.c: Match made with [ari] [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Finding handler for events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Finding handler for events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Checking ari sounds: Didn't match events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Checking ari asterisk: Didn't match events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Checking ari recordings: Didn't match events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Checking ari applications: Didn't match events [2021-04-29 11:26:24.758] DEBUG[25776] res_ari.c: Checking ari events: Explicit match with events [2021-04-29 11:26:24.758] DEBUG[25776] ari/resource_events.c: /events WebSocket attempted [2021-04-29 11:26:24.758] VERBOSE[25776] stasis/app.c: Creating Stasis app 'test' [2021-04-29 11:26:24.758] DEBUG[25776] stasis.c: Creating topic. name: ari:application/test, detail: [2021-04-29 11:26:24.758] DEBUG[25776] stasis.c: Topic 'ari:application/test': 0x7f57240050d0 created [2021-04-29 11:26:24.758] DEBUG[25776] pbx.c: Registered extension context 'stasis-test'; registrar: res_stasis [2021-04-29 11:26:24.758] DEBUG[25776] pbx.c: Added extension '_.' priority 1 to stasis-test (0x7f5724019df0) [2021-04-29 11:26:24.758] DEBUG[25776] pbx.c: Added extension 'h' priority 1 to stasis-test (0x7f5724019df0) [2021-04-29 11:26:24.758] VERBOSE[25776] res_http_websocket.c: WebSocket connection from '127.0.0.1:47272' for protocol '' accepted using version '13' [2021-04-29 11:26:24.758] DEBUG[25776] ari/resource_events.c: /events WebSocket established [2021-04-29 11:26:24.764] DEBUG[25779] http.c: HTTP opening session. Top level [2021-04-29 11:26:24.764] DEBUG[25779] http.c: HTTP Request URI is /ari/applications/test/subscription?eventSource=endpoint%3ASIP [2021-04-29 11:26:24.764] DEBUG[25780] http.c: HTTP opening session. Top level [2021-04-29 11:26:24.764] DEBUG[25779] http.c: match request [ari/applications/test/subscription] with handler [httpstatus] len 10 [2021-04-29 11:26:24.764] DEBUG[25779] http.c: match request [ari/applications/test/subscription] with handler [phoneprov] len 9 [2021-04-29 11:26:24.764] DEBUG[25779] http.c: match request [ari/applications/test/subscription] with handler [ari] len 3 [2021-04-29 11:26:24.764] DEBUG[25779] http.c: Match made with [ari] [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Finding handler for applications/test/subscription [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Finding handler for applications [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking ari sounds: Didn't match applications [2021-04-29 11:26:24.764] DEBUG[25780] http.c: HTTP Request URI is /ari/applications/test/subscription?eventSource=endpoint%3ASIP%2Flinphone [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking ari asterisk: Didn't match applications [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking ari recordings: Didn't match applications [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking ari applications: Explicit match with applications [2021-04-29 11:26:24.764] DEBUG[25780] http.c: match request [ari/applications/test/subscription] with handler [httpstatus] len 10 [2021-04-29 11:26:24.764] DEBUG[25780] http.c: match request [ari/applications/test/subscription] with handler [phoneprov] len 9 [2021-04-29 11:26:24.764] DEBUG[25780] http.c: match request [ari/applications/test/subscription] with handler [ari] len 3 [2021-04-29 11:26:24.764] DEBUG[25780] http.c: Match made with [ari] [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Finding handler for test [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking applications applicationName: Matched wildcard. [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: No explicit handler found for test. Using wildcard applicationName. [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Finding handler for subscription [2021-04-29 11:26:24.764] DEBUG[25779] res_ari.c: Checking applicationName subscription: Explicit match with subscription [2021-04-29 11:26:24.765] DEBUG[25779] res_stasis.c: test: Checking endpoint:SIP [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Finding handler for applications/test/subscription [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Finding handler for applications [2021-04-29 11:26:24.765] DEBUG[25779] res_stasis.c: test: Subscribing to endpoint:SIP [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking ari sounds: Didn't match applications [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking ari asterisk: Didn't match applications [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking ari recordings: Didn't match applications [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking ari applications: Explicit match with applications [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Finding handler for test [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking applications applicationName: Matched wildcard. [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: No explicit handler found for test. Using wildcard applicationName. [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Finding handler for subscription [2021-04-29 11:26:24.765] DEBUG[25780] res_ari.c: Checking applicationName subscription: Explicit match with subscription [2021-04-29 11:26:24.765] DEBUG[25780] res_stasis.c: test: Checking endpoint:SIP/linphone [2021-04-29 11:26:24.765] DEBUG[25780] res_stasis.c: test: Subscribing to endpoint:SIP/linphone [2021-04-29 11:26:24.765] DEBUG[25779] stasis/messaging.c: App 'test' subscribed to messages from endpoint 'SIP' [2021-04-29 11:26:24.765] DEBUG[25779] stasis/app.c: Endpoint 'SIP' is 1 interested in test [2021-04-29 11:26:24.765] DEBUG[25779] res_stasis.c: test: Successful; setting results [2021-04-29 11:26:24.765] DEBUG[25780] stasis/messaging.c: App 'test' subscribed to messages from endpoint 'SIP/linphone' [2021-04-29 11:26:24.765] DEBUG[25780] stasis/app.c: Endpoint 'SIP/linphone' is 1 interested in test [2021-04-29 11:26:24.765] DEBUG[25780] res_stasis.c: test: Successful; setting results [2021-04-29 11:26:24.765] DEBUG[25779] http.c: HTTP closing session. status_code:200 [2021-04-29 11:26:24.765] DEBUG[25780] http.c: HTTP closing session. status_code:200 [2021-04-29 11:26:24.765] DEBUG[25779] http.c: HTTP closing session. Top level [2021-04-29 11:26:24.765] DEBUG[25779] tcptls.c: ast_tcptls_close_session_file invoked on session instance without file or file descriptor [2021-04-29 11:26:24.765] DEBUG[25780] http.c: HTTP closing session. Top level [2021-04-29 11:26:24.765] DEBUG[25780] tcptls.c: ast_tcptls_close_session_file invoked on session instance without file or file descriptor [2021-04-29 11:26:38.787] DEBUG[25610] threadpool.c: Worker thread idle timeout reached. Dying. [2021-04-29 11:26:38.787] DEBUG[25609] threadpool.c: Worker thread idle timeout reached. Dying. [2021-04-29 11:26:38.787] DEBUG[25608] threadpool.c: Worker thread idle timeout reached. Dying. [2021-04-29 11:26:38.787] DEBUG[25605] threadpool.c: Destroying worker thread 4 [2021-04-29 11:26:38.787] DEBUG[25605] threadpool.c: Destroying worker thread 3 [2021-04-29 11:26:38.788] DEBUG[25605] threadpool.c: Destroying worker thread 2 [2021-04-29 11:26:39.591] DEBUG[25607] threadpool.c: Worker thread idle timeout reached. Dying. [2021-04-29 11:26:39.591] DEBUG[25606] threadpool.c: Worker thread idle timeout reached. Dying. [2021-04-29 11:26:39.592] DEBUG[25605] threadpool.c: Destroying worker thread 1 [2021-04-29 11:26:39.592] DEBUG[25605] threadpool.c: Destroying worker thread 0 [2021-04-29 11:26:45.500] VERBOSE[25650] chan_sip.c: Reloading SIP [2021-04-29 11:26:45.500] DEBUG[25650] config.c: Parsing /etc/asterisk/sip.conf [2021-04-29 11:26:45.500] DEBUG[25650] config.c: Parsing /etc/asterisk/users.conf [2021-04-29 11:26:45.500] DEBUG[25650] chan_sip.c: --------------- SIP reload started [2021-04-29 11:26:45.500] DEBUG[25650] chan_sip.c: --------------- Done destroying registry list [2021-04-29 11:26:45.500] DEBUG[25650] netsock2.c: Splitting '0.0.0.0:0' into... [2021-04-29 11:26:45.500] DEBUG[25650] netsock2.c: ...host '0.0.0.0' and port '0'. [2021-04-29 11:26:45.500] DEBUG[25603] db.c: Unable to find key '(bogus_peer)' in family 'SIP/Registry' [2021-04-29 11:26:45.501] DEBUG[25603] chan_sip.c: Destroying SIP peer (bogus_peer) [2021-04-29 11:26:45.501] DEBUG[25650] chan_sip.c: Setting SIP channel User-Agent Name to asterisk [2021-04-29 11:26:45.501] DEBUG[25650] netsock2.c: Splitting '0.0.0.0:5060' into... [2021-04-29 11:26:45.501] DEBUG[25650] netsock2.c: ...host '0.0.0.0' and port '5060'. [2021-04-29 11:26:45.501] DEBUG[25650] config.c: extract addr from 0.0.0.0:5060 gives 0.0.0.0:5060(0) [2021-04-29 11:26:45.501] DEBUG[25650] netsock2.c: Splitting 'pc-jean' into... [2021-04-29 11:26:45.501] DEBUG[25650] netsock2.c: ...host 'pc-jean' and port ''. [2021-04-29 11:26:45.501] VERBOSE[25650] netsock2.c: Using SIP TOS bits 160 [2021-04-29 11:26:45.501] VERBOSE[25650] netsock2.c: Using SIP CoS mark 4 [2021-04-29 11:26:45.501] DEBUG[25650] tcptls.c: Nothing changed in SIP TCP server [2021-04-29 11:26:45.501] DEBUG[25650] chan_sip.c: SIP TCP server started [2021-04-29 11:26:45.502] DEBUG[25650] config.c: Parsing /etc/asterisk/sip_notify.conf [2021-04-29 11:26:45.502] DEBUG[25650] chan_sip.c: SIP reload_config done...Runtime= 0 sec [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: Asterisk Schedule Dump (2 in Q, 5 Total, 2 Cache, 3 high-water) [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: ============================================================= [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: |ID Callback Data Time (sec:ms) | [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: +-----+-----------------+-----------------+-----------------+ [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: |0004 | 0x7f578444ab5d | 0x7f57540026b0 | 000007 : 043525 | [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: |0001 | 0x7f578448a7aa | 0x55f2b774fdb0 | 003583 : 652096 | [2021-04-29 11:26:45.502] DEBUG[25650] sched.c: ============================================================= [2021-04-29 11:26:45.502] DEBUG[25650] chan_sip.c: Destroying SIP peer linphone [2021-04-29 11:26:45.502] DEBUG[25605] threadpool.c: Increasing threadpool stasis/pool's size by 1 [2021-04-29 11:26:45.502] DEBUG[25778] stasis/app.c: endpoint 'SIP/linphone': is 0 interested in test [2021-04-29 11:26:45.502] DEBUG[25778] stasis/app.c: endpoint 'SIP/linphone' unsubscribed from test [2021-04-29 11:26:45.503] DEBUG[25778] stasis/messaging.c: App 'test' unsubscribed to messages from endpoint '-- ALL --' [2021-04-29 11:26:45.503] DEBUG[25650] chan_sip.c: --------------- Done destroying pruned peers [2021-04-29 11:26:45.503] ERROR[25778] stasis/messaging.c: FRACK!, Failed assertion bad magic number 0x0 for object 0x7f57380029f8 (0) [2021-04-29 11:26:45.503] DEBUG[25650] chan_sip.c: do_reload finished. peer poke/prune reg contact time = 0 sec. [2021-04-29 11:26:45.503] DEBUG[25650] chan_sip.c: --------------- SIP reload done [2021-04-29 11:26:45.503] DEBUG[25781] stasis.c: Destroying topic. name: cache:6/endpoint:SIP/linphone, detail: [2021-04-29 11:26:45.503] DEBUG[25781] stasis.c: Topic 'cache:6/endpoint:SIP/linphone': 0x55f2b7753650 destroyed [2021-04-29 11:26:45.504] DEBUG[25781] stasis.c: Destroying topic. name: endpoint:SIP/linphone, detail: [2021-04-29 11:26:45.504] DEBUG[25781] stasis.c: Topic 'endpoint:SIP/linphone': 0x55f2b7752a80 destroyed [2021-04-29 11:26:45.504] ERROR[25778] : Got 8 backtrace records # 0: asterisk(__ao2_ref+0xab) [0x55f2b5151f9b] # 1: /usr/lib/asterisk/modules/res_stasis.so(+0xef7c) [0x7f57657f8f7c] # 2: asterisk(+0x1ca376) [0x55f2b52ad376] # 3: asterisk(+0x1b6481) [0x55f2b5299481] # 4: asterisk(+0x1ddab6) [0x55f2b52c0ab6] # 5: asterisk(+0x1f003f) [0x55f2b52d303f] # 6: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f57d804e6db] # 7: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f57d758871f]