AudioSocket(uuid,service)
Full arguments reference
uuidrequired - UUID is the universally-unique identifier of the call for the audio socket service. This ID must conform to the string form of a standard UUID.servicerequired - Service is the name or IP address and port number of the audio socket service to which this call should be connected. This should be in the form host:port, such as myserver:9019. IPv6 addresses can be specified in square brackets, like [::1]:9019
Connects to the given TCP server, then transmits channel audio as 16-bit, 8KHz mono PCM over that socket (other codecs available via the channel driver interface). In turn, PCM audio is received from the socket and sent to the channel. Only audio frames and DTMF frames will be transmitted.
Protocol is specified at https://docs.asterisk.org/Configuration/Channel-Drivers/AudioSocket/
This application does not automatically answer and should generally be preceded by an application such as Answer() or Progress().
uuidrequired - UUID is the universally-unique identifier of the call for the audio socket service. This ID must conform to the string form of a standard UUID.servicerequired - Service is the name or IP address and port number of the audio socket service to which this call should be connected. This should be in the form host:port, such as myserver:9019. IPv6 addresses can be specified in square brackets, like [::1]:9019
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.