Code Monkey home page Code Monkey logo

xswitch-free's People

Contributors

jingzhaoyang avatar johnchen198 avatar lenewing3 avatar mariahyang avatar seven1240 avatar yangduan-dev avatar zen2do avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xswitch-free's Issues

Couldn't open /usr/local/freeswitch/conf/freeswitch.xml (No such file or directory)

I enter the container and can't find /usr/local/freeswitch/conf/freeswitch.xml. The log is below:
xswitch-free | Cannot Initialize [Cannot Open log directory or XML Root!]
xswitch-free | 2022-07-26 11:28:41.888183 0.00% [INFO] switch_event.c:713 Activate Eventing Engine.
xswitch-free | 2022-07-26 11:28:41.904952 0.00% [WARNING] switch_event.c:683 Create additional event dispatch thread 0
xswitch-free | 2022-07-26 11:28:41.905239 0.00% [ERR] switch_xml.c:1423 Couldn't open /usr/local/freeswitch/conf/freeswitch.xml (No such file or directory)
xswitch-free | ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
xswitch-free | ERROR: Could not set nice level
xswitch-free | Cannot Initialize [Cannot Open log directory or XML Root!]
xswitch-free | 2022-07-26 11:28:41.945563 0.00% [INFO] switch_event.c:713 Activate Eventing Engine.
xswitch-free | 2022-07-26 11:28:41.962755 0.00% [WARNING] switch_event.c:683 Create additional event dispatch thread 0
xswitch-free | 2022-07-26 11:28:41.963036 0.00% [ERR] switch_xml.c:1423 Couldn't open /usr/local/freeswitch/conf/freeswitch.xml (No such file or directory)
xswitch-free | ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
xswitch-free | ERROR: Could not set nice level
xswitch-free | Cannot Initialize [Cannot Open log directory or XML Root!]
xswitch-free | 2022-07-26 11:28:42.004287 0.00% [INFO] switch_event.c:713 Activate Eventing Engine.
xswitch-free | 2022-07-26 11:28:42.021237 0.00% [WARNING] switch_event.c:683 Create additional event dispatch thread 0
xswitch-free | 2022-07-26 11:28:42.021526 0.00% [ERR] switch_xml.c:1423 Couldn't open /usr/local/freeswitch/conf/freeswitch.xml (No such file or directory)
xswitch-free | ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
xswitch-free | ERROR: Could not set nice level
xswitch-free | Cannot Initialize [Cannot Open log directory or XML Root!]
xswitch-free | 2022-07-26 11:28:42.060790 0.00% [INFO] switch_event.c:713 Activate Eventing Engine.
xswitch-free | 2022-07-26 11:28:42.078212 0.00% [WARNING] switch_event.c:683 Create additional event dispatch thread 0
xswitch-free | 2022-07-26 11:28:42.078491 0.00% [ERR] switch_xml.c:1423 Couldn't open /usr/local/freeswitch/conf/freeswitch.xml (No such file or directory)
xswitch-free | ERROR: Failed to set SCHED_FIFO scheduler (Operation not permitted)
xswitch-free | ERROR: Could not set nice level

两个终端互播不了

拨打报错:
2022-11-10 13:55:14.626277 95.87% [ERR] switch_core_media.c:5734 a=crypto in RTP/AVP, refer to rfc3711
2022-11-10 13:55:14.626277 95.87% [NOTICE] sofia.c:8125 Hangup sofia/default/[email protected] [CS_NEW]
[INCOMPATIBLE_DESTINATION]
以下是部分日志:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.254:5060;rport;branch=z9hG4bKPj3k8Y9ITNniomSpycxVThlnWNsbmKWSY0
Max-Forwards: 70
From: sip:[email protected];tag=qOmYIJ2-uKQfUDQm.QlqsYe8c-r5yxeA
To: sip:[email protected]
Contact: sip:[email protected]:5060;ob
Call-ID: w5sHMqM2VWC1hRZrxOrkORVaC7Rae3S7
CSeq: 4415 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, timer, norefersub
Session-Expires: 1800
Min-SE: 90
Content-Type: application/sdp
Content-Length: 1587

v=0
o=- 3877077306 3877077306 IN IP4 192.168.1.254
s=Talk
b=AS:8719
t=0 0
a=X-nat:0
m=audio 4042 RTP/AVP 0 8 9 109 125 102 103 104 18 101
c=IN IP4 192.168.1.254
b=TIAS:96000
a=rtcp:4043 IN IP4 192.168.2.114
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:109 iLBC/8000
a=fmtp:109 mode=20
a=rtpmap:125 opus/48000/2
a=fmtp:125 useinbandfec=1
a=rtpmap:102 speex/8000
a=rtpmap:103 speex/16000
a=rtpmap:104 speex/32000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:474594517 cname:36399abd61c73320
a=crypto:1 AES_256_CM_HMAC_SHA1_80 inline:ec6pxlhMK12Vw+5XYCVQZ2nCwCJ25594QdTQZrPinjXp6J0c6ybB1wLcfLKZBg==
a=crypto:2 AES_256_CM_HMAC_SHA1_32 inline:T2ILs1hrLhlZypN/kIKjZwZnwcxCVCIvabnWbVBWHRwcgxOYdHLTiTdo0RoWTQ==
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:tNAwDj7hDoWpw2qAqPxspybBw8A18YmEewrUEutv
a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:TwVqhE9I6xerQ5/IrCs8ebRCrHHbRr1EhCADnNcR
m=video 4044 RTP/AVP 97
c=IN IP4 192.168.1.254
b=TIAS:8192000
a=rtcp:4045 IN IP4 192.168.2.114
a=sendrecv
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42e01e; packetization-mode=1
a=ssrc:153531698 cname:36399abd61c73320
a=crypto:1 AES_256_CM_HMAC_SHA1_80 inline:dHIZcbyLRa5tMIGxzM28hzszZ2TVkQGF4vZgyMk94Tk/YWTEcjxSuASJGY3WNQ==
a=crypto:2 AES_256_CM_HMAC_SHA1_32 inline:NeEy8NDO2JiQ39o5uaAo3KmXCLtG3dBNNGwIImMJyYMvrjmAB0he8Y/tNF0Opw==
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:2gZGmerHvejFXj0QT5jU5RohuLtjeGxB7A9RZ4X5
a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:9YYNmBO9QMvfQ1WjMKwv2Wt/uaQvWAW7xqmtW6VX
2022-11-10 13:55:14.626277 95.87% [NOTICE] switch_channel.c:1123 New Channel sofia/default/[email protected] [1f818817-7a49-47a7-87d3-2fd5a4da6f65]
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:586 (sofia/default/[email protected]) Running State Change CS_NEW (Cur 1 Tot 131)
2022-11-10 13:55:14.626277 95.87% [INFO] sofia.c:10736 sofia/default/[email protected] receiving invite from 192.168.1.254:5060 version: 1.10.8-dev git 947986d 2022-11-02 03:17:47Z 64bit call-id=w5sHMqM2VWC1hRZrxOrkORVaC7Rae3S7
2022-11-10 13:55:14.626277 95.87% [DEBUG] sofia.c:7631 Channel sofia/default/[email protected] entering state [received][100]
2022-11-10 13:55:14.626277 95.87% [DEBUG] sofia.c:7643 Remote SDP:
v=0
o=- 3877077306 3877077306 IN IP4 192.168.1.254
s=Talk
b=AS:8719
t=0 0
a=X-nat:0
m=audio 4042 RTP/AVP 0 8 9 109 125 102 103 104 18 101
c=IN IP4 192.168.1.254
b=TIAS:96000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=rtpmap:109 iLBC/8000
a=fmtp:109 mode=20
a=rtpmap:125 opus/48000/2
a=fmtp:125 useinbandfec=1
a=rtpmap:102 speex/8000
a=rtpmap:103 speex/16000
a=rtpmap:104 speex/32000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
a=rtcp:4043 IN IP4 192.168.2.114
a=ssrc:474594517 cname:36399abd61c73320
a=crypto:1 AES_256_CM_HMAC_SHA1_80 inline:ec6pxlhMK12Vw+5XYCVQZ2nCwCJ25594QdTQZrPinjXp6J0c6ybB1wLcfLKZBg==
a=crypto:2 AES_256_CM_HMAC_SHA1_32 inline:T2ILs1hrLhlZypN/kIKjZwZnwcxCVCIvabnWbVBWHRwcgxOYdHLTiTdo0RoWTQ==
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:tNAwDj7hDoWpw2qAqPxspybBw8A18YmEewrUEutv
a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:TwVqhE9I6xerQ5/IrCs8ebRCrHHbRr1EhCADnNcR
m=video 4044 RTP/AVP 97
c=IN IP4 192.168.1.254
b=TIAS:8192000
a=rtpmap:97 H264/90000
a=fmtp:97 profile-level-id=42e01e; packetization-mode=1
a=sendrecv
a=rtcp:4045 IN IP4 192.168.2.114
a=ssrc:153531698 cname:36399abd61c73320
a=crypto:1 AES_256_CM_HMAC_SHA1_80 inline:dHIZcbyLRa5tMIGxzM28hzszZ2TVkQGF4vZgyMk94Tk/YWTEcjxSuASJGY3WNQ==
a=crypto:2 AES_256_CM_HMAC_SHA1_32 inline:NeEy8NDO2JiQ39o5uaAo3KmXCLtG3dBNNGwIImMJyYMvrjmAB0he8Y/tNF0Opw==
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:2gZGmerHvejFXj0QT5jU5RohuLtjeGxB7A9RZ4X5
a=crypto:4 AES_CM_128_HMAC_SHA1_32 inline:9YYNmBO9QMvfQ1WjMKwv2Wt/uaQvWAW7xqmtW6VX

2022-11-10 13:55:14.626277 95.87% [ERR] switch_core_media.c:5734 a=crypto in RTP/AVP, refer to rfc3711
2022-11-10 13:55:14.626277 95.87% [NOTICE] sofia.c:8125 Hangup sofia/default/[email protected] [CS_NEW] [INCOMPATIBLE_DESTINATION]
2022-11-10 13:55:14.626277 95.87% [DEBUG] sofia.c:1556 Channel is already hungup.
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:605 (sofia/default/[email protected]) State NEW
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:586 (sofia/default/[email protected]) Running State Change CS_HANGUP (Cur 1 Tot 131)
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:849 (sofia/default/[email protected]) Callstate Change DOWN -> HANGUP
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:851 (sofia/default/[email protected]) State HANGUP
2022-11-10 13:55:14.626277 95.87% [DEBUG] mod_sofia.c:473 Channel sofia/default/[email protected] hanging up, cause: INCOMPATIBLE_DESTINATION
2022-11-10 13:55:14.626277 95.87% [DEBUG] mod_sofia.c:618 Responding to INVITE with: 488
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:59 sofia/default/[email protected] Standard HANGUP, cause: INCOMPATIBLE_DESTINATION
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:851 (sofia/default/[email protected]) State HANGUP going to sleep
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:621 (sofia/default/[email protected]) State Change CS_HANGUP -> CS_REPORTING
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:586 (sofia/default/[email protected]) Running State Change CS_REPORTING (Cur 1 Tot 131)
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:937 (sofia/default/[email protected]) State REPORTING
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:168 sofia/default/[email protected] Standard REPORTING, cause: INCOMPATIBLE_DESTINATION
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:937 (sofia/default/[email protected]) State REPORTING going to sleep
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_state_machine.c:612 (sofia/default/[email protected]) State Change CS_REPORTING -> CS_DESTROY
2022-11-10 13:55:14.626277 95.87% [DEBUG] switch_core_session.c:1764 Session 131 (sofia/default/[email protected]) Locked, Waiting on external entities
2022-11-10 13:55:14.626277 95.87% [NOTICE] switch_core_session.c:1782 Session 131 (sofia/default/[email protected]) Ended
2022-11-10 13:55:14.626277 95.87% [NOTICE] switch_core_session.c:1786 Close Channel sofia/default/[email protected] [CS_DESTROY]
send 777 bytes from udp/[172.17.0.2]:5060 to udp/[192.168.1.254]:5060 at 2022-11-10 13:55:14.639914:

这是漏洞吗?

在公网用docker部署的, 用的国内的服务器, 日志一直打印如下信息:

2022-12-02 16:29:42.759838 100.00% [NOTICE] switch_core_state_machine.c:387 sofia/public/[email protected] has executed the last dialplan instruction, hanging up.
2022-12-02 16:29:42.759838 100.00% [NOTICE] switch_core_state_machine.c:389 Hangup sofia/public/[email protected] [CS_EXECUTE] [NORMAL_CLEARING]
2022-12-02 16:29:42.759838 100.00% [NOTICE] switch_core_session.c:1772 Session 470 (sofia/public/[email protected]) Ended
2022-12-02 16:29:42.759838 100.00% [NOTICE] switch_core_session.c:1776 Close Channel sofia/public/[email protected] [CS_DESTROY]
2022-12-02 16:29:58.099838 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/public/[email protected] [b03a835d-5254-44f3-8058-c50c374a613f]
2022-12-02 16:29:58.119837 100.00% [INFO] sofia.c:10726 sofia/public/[email protected] receiving invite from 45.93.16.168:52565 version: 1.10.9-dev git 356d3f9 2022-11-23 07:22:41Z 64bit call-id=1837907722-907793008-479755714
2022-12-02 16:29:58.119837 100.00% [INFO] mod_dialplan_xml.c:639 Processing 100 <100>->802985750117 in context public
EXECUTE [depth=0] sofia/public/[email protected] info()
2022-12-02 16:29:58.119837 100.00% [INFO] mod_dptools.c:1886 CHANNEL_DATA:
Channel-State: [CS_EXECUTE]
Channel-Call-State: [RINGING]
Channel-State-Number: [4]
Channel-Name: [sofia/public/[email protected]]
Unique-ID: [b03a835d-5254-44f3-8058-c50c374a613f]
Call-Direction: [inbound]
Presence-Call-Direction: [inbound]
Channel-HIT-Dialplan: [true]
Channel-Call-UUID: [b03a835d-5254-44f3-8058-c50c374a613f]
Answer-State: [ringing]
Channel-Read-Codec-Name: [PCMU]
Channel-Read-Codec-Rate: [8000]
Channel-Read-Codec-Bit-Rate: [64000]
Channel-Write-Codec-Name: [PCMU]
Channel-Write-Codec-Rate: [8000]
Channel-Write-Codec-Bit-Rate: [64000]
Caller-Direction: [inbound]
Caller-Logical-Direction: [inbound]
Caller-Username: [100]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [100]
Caller-Caller-ID-Number: [100]
Caller-Orig-Caller-ID-Name: [100]
Caller-Orig-Caller-ID-Number: [100]
Caller-Network-Addr: [45.93.16.168]
Caller-ANI: [100]
Caller-Destination-Number: [802985750117]
Caller-Unique-ID: [b03a835d-5254-44f3-8058-c50c374a613f]
Cller-Source: [mod_sofia]
Caller-Context: [public]
Caller-Channel-Name: [sofia/public/[email protected]]
Caller-Profile-Index: [1]
Caller-Profile-Created-Time: [1669969798119837]
Caller-Channel-Created-Time: [1669969798119837]
Caller-Channel-Answered-Time: [0]
Caller-Channel-Progress-Time: [0]
Caller-Channel-Progress-Media-Time: [0]
Caller-Channel-Hangup-Time: [0]
Caller-Channel-Transfer-Time: [0]
Caller-Channel-Resurrect-Time: [0]
Caller-Channel-Bridged-Time: [0]
Caller-Channel-Last-Hold: [0]
Caller-Channel-Hold-Accum: [0]
Caller-Screen-Bit: [true]
Caller-Privacy-Hide-Name: [false]
Caller-Privacy-Hide-Number: [false]
variable_direction: [inbound]
variable_uuid: [b03a835d-5254-44f3-8058-c50c374a613f]
variable_session_id: [471]
variable_sip_from_user: [100]
variable_sip_from_uri: [[email protected]]
variable_sip_from_host: [126.60.31.215]
variable_video_media_flow: [disabled]
variable_text_media_flow: [disabled]
variable_channel_name: [sofia/public/[email protected]]
variable_sip_call_id: [1837907722-907793008-479755714]
variable_sip_local_network_addr: [126.60.31.215]
variable_sip_network_ip: [45.93.16.168]
variable_sip_network_port: [52565]
variable_sip_invite_stamp: [1669969798119837]
variable_sip_received_ip: [45.93.16.168]
variable_sip_received_port: [52565]
variable_sip_via_protocol: [udp]
variable_sip_from_user_stripped: [100]
variable_sip_from_tag: [502304453]
variable_sofia_profile_name: [public]
variable_sofia_profile_url: [sip:[email protected]:5080]
variable_recovery_profile_name: [public]
variable_sip_full_via: [SIP/2.0/UDP 45.93.16.168:52565;branch=z9hG4bK598503429]
variable_sip_full_from: [sip:[email protected];tag=502304453]
variable_sip_full_to: [sip:[email protected]]
variable_sip_allow: [ACK, BYE, CANCEL, INFO, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, REGISTER, SUBSCRIBE, UPDATE, PUBLISH]
variable_sip_req_user: [802985750117]
variable_sip_req_uri: [[email protected]]
variable_sip_req_host: [126.60.31.215]
variable_sip_to_user: [802985750117]
variable_sip_to_uri: [[email protected]]
variable_sip_to_host: [126.60.31.215]
variable_sip_contact_user: [100]
variable_sip_contact_port: [52565]
variable_sip_contact_uri: [[email protected]:52565]
variable_sip_contact_host: [45.93.16.168]
variable_sip_user_agent: [Linksys-SPA942]
variable_sip_via_host: [45.93.16.168]
variable_sip_via_port: [52565]
variable_max_forwards: [70]
variable_switch_r_sdp: [v=0
o=100 16264 18299 IN IP4 192.168.1.83
s=call
c=IN IP4 192.168.1.83
t=0 0
m=audio 25282 RTP/AVP 0 101
a=rtpmap:0 pcmu/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=sendrecv
]
variable_ep_codec_string: [CORE_PCM_MODULE.pcmu@8000h@20i@64000b]
variable_rtp_use_codec_string: [PCMA,PCMU,G722,OPUS]
variable_remote_video_media_flow: [inactive]
variable_remote_text_media_flow: [inactive]
variable_remote_audio_media_flow: [sendrecv]
variable_audio_media_flow: [sendrecv]
variable_remote_media_ip: [192.168.1.83]
variable_remote_media_port: [25282]
variable_rtp_audio_recv_pt: [0]
variable_rtp_use_codec_name: [PCMU]
variable_rtp_use_codec_rate: [8000]
variable_rtp_use_codec_ptime: [20]
variable_rtp_use_codec_channels: [1]
variable_rtp_last_audio_codec_string: [PCMU@8000h@20i@1c]
variable_read_codec: [PCMU]
variable_original_read_codec: [PCMU]
variable_read_rate: [8000]
variable_original_read_rate: [8000]
variable_write_codec: [PCMU]
variable_write_rate: [8000]
variable_dtmf_type: [rfc2833]
variable_endpoint_disposition: [RECEIVED]
variable_first_dialplan_context: [public]
variable_first_dest_number: [802985750117]
variable_call_uuid: [b03a835d-5254-44f3-8058-c50c374a613f]
variable_current_application: [info]

XSwitch转发功能概率没执行问题

简述:出现异常的包位置在410510和410539。可以直接看到SIP客户端发了MESSAGE后,Xswitch没有进行转发。概率出现

关于代码实现
采用XSwitch找不到匹配规则时候,默认使用转发。
92和91是这次的群发的lua脚本。
image
想问下这个默认转发可不可以写到这个default里面。因为有执行的92和91是正常使用的

详细描述:
正常的流程:(正常和异常都在一个抓包里面)
业务场景:
Sip客户端发送“92+组号”的MESSAGE给XSwitch,把MESSAGE逐个发送给组里面的SIP客户端。SIP客户端收到MESSAGE后,会弹出一个按钮。按了按钮后,会发送MESSAGE回复给一开始发送的SIP客户端。
image

例如这里101010799发送92110的MESSAGE,然后XSwitch分别发送给了组里面对应的sip客户端。包的位置在92436

然后组里面有一台设备进行了响应。
image

XSwitch转发MESSAGE
image

正常的整个流程结束,经过不到1秒时间。


异常的部分:(前半部分都是正常,问题在XSwitch转发没有执行)
101010316发送92602后XSwitch分别进行发送。包的位置在410468

image

然后组里面有设备进行了响应。

image

但是按照正常流程,这时候XSwitch应该转发MESSAGE。抓包上却没有发现XSwitch做出了转发。
这个现象是概率出现,如果现场设备交互比较多时候,出现概率会比较高。

docker pull 403 error

docker pull ccr.ccs.tencentyun.com/xswitch/xswitch-free

docker pull ccr.ccs.tencentyun.com/xswitch/xswitch-free
Using default tag: latest
latest: Pulling from xswitch/xswitch-free
ac2522cc7269: Pulling fs layer
634ebcda7a13: Pulling fs layer
error pulling image configuration: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "\n\n\tSignatureDoesNotMatch\n\tThe Signature you specified is invalid.\n\tsha1\n1621926438;1621927638\n4dfbc1433e924cf3c991090de0a6cad179accb50\n\n\tget\n/docker/registry/v2/blobs/sha256/5c/5c0334d282bcaaf1df03de0280d13588d0f4d969dfd4781b581853791263e6dc/data\n\nhost=ccr-1253687700.cn-south.myqcloud.com%3A80\n\n\tccr-1253687700.cn-south.myqcloud.com:80/docker/registry/v2/blobs/sha256/5c/5c0334d282bcaaf1df03de0280d13588d0f4d969dfd4781b581853791263e6dc/data\n\tNjBhY2EyMjZfYTMwMmMwYl8yYjAzNF8xOTllMGVi\n\tOGVmYzZiMmQzYjA2OWNhODk0NTRkMTBiOWVmMDAxODc0OWRkZjk0ZDM1NmI1M2E2MTRlY2MzZDhmNmI5MWI1OTQyYWVlY2QwZTk2MDVmZDQ3MmI2Y2I4ZmI5ZmM4ODFjNzgzOTgwNzViNjMzYmIzOWU0OGIzNDBiMjIxNTkwZTk=\n\n\n"

WebRTC采用VP8视频编码时启动录制视频会影响通话

采用最新的xswitch-free ,终端采用jssip的WebRTC,视频编码采用VP8

          <action application="sleep" data="200"/>
          <action application="answer"/>
           <action application="record_session" data="/data/${caller_id_number}_${strftime(%Y-%m-%d-%H-%M-%S)}.mp4"/>
          <action application="echo"/>

路由如上,呼叫9196进入,应答后启动录制视频,发现echo回来的图像已经卡顿了。

如果采用SIP话机,使用H264编码则没有这个问题。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.