Description
websocket_client.conf
[websocket_client]
Websocket Client Configuration
type- Must be "websocket_client".uri- Full URI to remote server.protocols- Comma separated list of protocols acceptable to the server.username- Server authentication username if required.password- Server authentication password if required.connection_type- Single persistent connection or per-call configuration.connection_timeout- Connection timeout (ms).reconnect_attempts- On failure, how many times should reconnection be attempted?reconnect_interval- How often should reconnection be attempted (ms)?tls_enabled- Enable TLSca_list_file- File containing the server's CA certificate. (optional)ca_list_path- Path to a directory containing one or more hashed CA certificates. (optional)cert_file- File containing a client certificate. (optional)priv_key_file- File containing the client's private key. (optional)verify_server_cert- If set to true, verify the server's certificate. (optional)verify_server_hostname- If set to true, verify that the server's hostname matches the common name in it's certificate. (optional)
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
Module Configuration
app_agent_pool
app_confbridge
app_skel
cdr
cel
chan_motif
chan_websocket
codec_opus
core
features
named_acl
res_aeap
res_ari
res_geolocation
res_hep
res_http_media_cache
res_mwi_external
res_parking
res_pjproject
res_pjsip
res_pjsip_acl
res_pjsip_config_wizard
res_pjsip_endpoint_identifier_ip
res_pjsip_notify
res_pjsip_outbound_publish
res_pjsip_outbound_registration
res_pjsip_phoneprov_provider
res_pjsip_publish_asterisk
res_pjsip_pubsub
res_prometheus
res_resolver_unbound
res_statsd
res_stir_shaken
res_websocket_client
res_xmpp
stasis
udptl