Missing HTML5 formats converter

Hi guys,
I have setup on cloud freepbx debian and almost all basic to advance configuration for incoming and outgoing calls are OK. Now I want to use WebRTC feature on Freepbx server. I tried many times by using this company https://www.doubango.org/sipml5 sip html5 web client. It connected with my sip custom extension by following guidelines on https://www.algissalys.com/how-to/webrtc-asterisk-support-guide , unfortunately there is no audio and codec / nat etc issues . Can anybody guide me in this regards. I’ll be thankful to you .
[Here is logs /information on server. ( i created 6001 webrtc extension and rtpkeepalive=30 , tls enabled sslv2 and path to certificates are OK.) , i was unable to install systemadmin modeul . No other method i knows to use webrtc feature. ]

[2019-08-07 14:35:56] VERBOSE[22260][C-00000001] pbx.c: Executing [s@macro-user-callerid:42] Set(“SIP/6001-00000000”, “CDR(cnum)=6001”) in new stack
[2019-08-07 14:35:56] VERBOSE[22260][C-00000001] pbx.c: Executing [s@macro-user-callerid:43] Set(“SIP/6001-00000000”, “CHANNEL(language)=en”) in new stack
[2019-08-07 14:35:56] VERBOSE[22260][C-00000001] pbx.c: Executing [*43@from-internal:6] Wait(“SIP/6001-00000000”, “1”) in new stack
[2019-08-07 14:35:57] VERBOSE[22260][C-00000001] pbx.c: Executing [*43@from-internal:7] BackGround(“SIP/6001-00000000”, “demo-echotest,app-echo-test-echo”) in new stack
[2019-08-07 14:35:57] VERBOSE[22260][C-00000001] file.c: <SIP/6001-00000000> Playing ‘demo-echotest.ulaw’ (language ‘en’)
[2019-08-07 14:36:19] VERBOSE[22260][C-00000001] pbx.c: Executing [*43@from-internal:8] Goto(“SIP/6001-00000000”, “app-echo-test-echo,1,1”) in new stack
[2019-08-07 14:36:19] VERBOSE[22260][C-00000001] pbx_builtins.c: Goto (app-echo-test-echo,1,1)
[2019-08-07 14:36:19] VERBOSE[22260][C-00000001] pbx.c: Executing [1@app-echo-test-echo:1] Echo(“SIP/6001-00000000”, “”) in new stack
[2019-08-07 14:36:27] NOTICE[22042] chan_sip.c: Disconnecting call ‘SIP/6001-00000000’ for lack of RTP activity in 31 seconds
[2019-08-07 14:36:27] VERBOSE[22260][C-00000001] pbx.c: Spawn extension (app-echo-test-echo, 1, 1) exited non-zero on ‘SIP/6001-00000000’
[2019-08-07 14:36:29] ERROR[22343] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:36:29] ERROR[22343] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:36:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:37:33] ERROR[22510] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:37:33] ERROR[22510] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:37:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Success
[2019-08-07 14:38:38] ERROR[22655] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:38:38] ERROR[22655] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:38:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:39:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:39:55] ERROR[22808] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:39:55] ERROR[22808] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:40:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:41:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Success
[2019-08-07 14:42:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:43:14] ERROR[23286] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:43:14] ERROR[23286] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:43:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call
[2019-08-07 14:44:18] ERROR[23488] iostream.c: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:44:18] ERROR[23488] iostream.c: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
[2019-08-07 14:44:44] WARNING[22042] chan_sip.c: sip_send_keepalive to 178.128.x.x:5061 returned 0: Interrupted system call

For any sort of WebRTC, you will need a valid TLS/SSL certificate, associated to your real FQDN and will have better luck with chan_pjsip.

1 Like

here are some log messages. extension 6001 is reachable. it tells ssl is OK . may be wrong but not clear. I made call on sip trunk to cell number it was working but missed the audio .

[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action QueueMemberRingInUse
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action QueueRule
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action QueueReload
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action QueueReset
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action QueueChangePriorityCaller
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_VARIABLES’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_EXISTS’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_MEMBER’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_MEMBER_COUNT’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_MEMBER_LIST’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_GET_CHANNEL’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_WAITING_COUNT’
[2019-08-07 15:07:51] VERBOSE[25607] pbx_functions.c: Registered custom function ‘QUEUE_MEMBER_PENALTY’
[2019-08-07 15:07:51] VERBOSE[25607] loader.c: app_queue.so => (True Call Queueing)
[2019-08-07 15:07:51] VERBOSE[25607] loader.c: Loading res_manager_devicestate.so.
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action DeviceStateList
[2019-08-07 15:07:51] VERBOSE[25607] loader.c: res_manager_devicestate.so => (Manager Device State Topic Forwarder)
[2019-08-07 15:07:51] VERBOSE[25607] loader.c: Loading res_manager_presencestate.so.
[2019-08-07 15:07:51] VERBOSE[25607] manager.c: Manager registered action PresenceStateList
[2019-08-07 15:07:51] VERBOSE[25607] loader.c: res_manager_presencestate.so => (Manager Presence State Topic Forwarder)
[2019-08-07 15:07:51] VERBOSE[25607] asterisk.c: Asterisk Ready.
[2019-08-07 15:07:51] ERROR[25678] tcptls.c: Unable to connect SIP socket to 221.120.219.162:19910: Connection refused
[2019-08-07 15:07:51] ERROR[25713] tcptls.c: Unable to connect SIP socket to 221.120.219.162:19910: Connection refused
[2019-08-07 15:07:55] NOTICE[25680] chan_sip.c: Peer ‘6001’ is now UNREACHABLE! Last qualify: 0
[2019-08-07 15:07:55] NOTICE[25680] chan_sip.c: Peer ‘4004’ is now UNREACHABLE! Last qualify: 0
[2019-08-07 15:07:55] ERROR[25772] iostream.c: close() failed: Bad file descriptor
[2019-08-07 15:07:59] VERBOSE[25833] chan_sip.c: Registered SIP ‘4004’ at x.x.x.x:20208
[2019-08-07 15:07:59] NOTICE[25833] chan_sip.c: Peer ‘4004’ is now Reachable. (285ms / 2000ms)
[2019-08-07 15:08:00] VERBOSE[25834] res_http_websocket.c: WebSocket connection from ‘221.120.x.x:20209’ for protocol ‘sip’ accepted using version ‘13’
[2019-08-07 15:08:01] VERBOSE[25834] chan_sip.c: Registered SIP ‘6001’ at 221.120.x.x:20209
[2019-08-07 15:08:01] NOTICE[25834] chan_sip.c: Peer ‘6001’ is now Reachable. (268ms / 2000ms)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.