[Asterisk-code-review] git review -t ASTERISK-26124 (asterisk[master])

John Fawcett asteriskteam at digium.com
Sat Jul 23 05:04:40 CDT 2016


John Fawcett has uploaded a new change for review.

  https://gerrit.asterisk.org/3322

Change subject: git review -t ASTERISK-26124
......................................................................

git review -t ASTERISK-26124

res_agi: Set audio format of EAGI audio via new EAGI_AUDIO_FORMAT variable

Introduces a new variable EAGI_AUDIO_FORMAT to allow the audio format of EAGI
on file descriptor 3 to be set to a specified format, for example
Set(EAGI_AUDIO_FORMAT=slin48). If the variable is not set then the default
format is slin, as in the existing code. This is an updated version due
to compile failure in master branch.

ASTERISK-26124

Change-Id: I8c2d1385ee4de75658b47d7c9da4078d5c8bc0a6
---
M res/res_agi.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/22/3322/1

diff --git a/res/res_agi.c b/res/res_agi.c
index 5c3df5e..6e1100c 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -4245,7 +4245,7 @@
 	// set format according to EAGI_AUDIO_FORMAT variable else use sln
 	pbx_retrieve_variable(chan, "EAGI_AUDIO_FORMAT", &ret, tempstr, sizeof(tempstr), NULL);
 	ast_verb(3, "EAGI_AUDIO_FORMAT = %s\n", tempstr);
-	requested_format = __ast_format_cache_get(tempstr);
+	requested_format = ast_format_cache_get(tempstr);
 	if (requested_format == NULL) {
 		requested_format = ast_format_slin;
 		ast_verb(3, "Setting EAGI audio format to default slin\n");

-- 
To view, visit https://gerrit.asterisk.org/3322
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8c2d1385ee4de75658b47d7c9da4078d5c8bc0a6
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: John Fawcett <john at voipsupport.it>



More information about the asterisk-code-review mailing list