res_aeap: Add basic config skeleton and CLI commands.

Added support for a basic AEAP configuration read from aeap.conf.
Also added 2 CLI commands for showing individual configurations as
well as all of them: aeap show server <id> and aeap show servers.

Only one configuration option is required at the moment, and that one is
server_url. It must be a websocket URL. The other option, codecs, is
optional and will be used over the codecs specified on the endpoint if
provided.

https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=45482453

Change-Id: I567ac5148c92b98d29d2ad83421b416b75ffdaa3
This commit is contained in:
Ben Ford
2021-03-29 12:28:24 -05:00
committed by Friendly Automation
parent 44aef0449a
commit 45a1977de4
2 changed files with 313 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
;
; This file is used by the res_aeap module to configure parameters
; used for AEAP applications.
;
;[myserver]
;
; type must be "server".
;type=server
;
; server_url must be a websocket URL (ws or wss).
;server_url
;
; codecs is an optional list of codecs that will be used over the codecs
; specified on an endpoint if this option is present.
;codecs=ulaw,alaw,g722,opus