CyCoreSystems / audiosocket

Simple bidirectional audio protocol
Apache License 2.0
75 stars 36 forks source link

Missing audiosocket.conf #3

Closed eduardoHoefel closed 4 years ago

eduardoHoefel commented 4 years ago

Hi Séan, Could you add an example audiosocket.conf file?

I have no clue how to specify the server address for asterisk.

Ulexus commented 4 years ago

There is no audiosocket.conf. All runtime is configured by the execution.

For example, if your AudioSocket server is server.example.com running on TCP port 9092 and the UUID identifying your call is 854ede9a-27bb-4441-8328-b006de37414e, you would construct the AudioSocket channel:

AudioSocket/server.example.com:9092/854ede9a-27bb-4441-8328-b006de37414e

If using the dialplan application, you would execute:

AudioSocket(854ede9a-27bb-4441-8328-b006de37414e,server.example.com:9092)

Ulexus commented 4 years ago

While the Asterisk application and channel are documented internally, there is no documentation here. We need to add Asterisk usage documentation.