Asterisk Audio Sockets / Web Sockets

Hello All,

Just want to know difference between Web Socket Server & Asterisk Audio Socket, are these both same ?
Thanks in advance.

Regards
CJ

No. AudioSocket is its own TCP based thing.

WebSockets are part of the Web protocol suite. Asterisk uses them for event notifications in ARI.

Asterisk can play back audio files, and with some trickery these “files” can actually be Unix-family sockets.

I have examples of both here.

@ldo , Thanks which one the examples uses audio sockets ? that I can refer to ?

Regards
CJ

@jcolp,

thanks for the quick response.

Regards
CJ

The one doing audio playback is called ami+agi_audio_player_async. Note the caveats in the comments.

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