aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-19 04:14:38 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-20 02:48:59 +0800
commit0e940e65c7d81ce76f3f7d2d21f2ad34ba019836 (patch)
treebd0204e5495d008c14d5a10dd6e1db8499e76482
parent3c7921472767d9818417f7a8b70730684c82bc00 (diff)
mgcp: Switch the default audio codec to AMR
-rw-r--r--openbsc/src/mgcp/mgcp_protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c
index 1ec9201b2..a53753b05 100644
--- a/openbsc/src/mgcp/mgcp_protocol.c
+++ b/openbsc/src/mgcp/mgcp_protocol.c
@@ -759,8 +759,8 @@ struct mgcp_config *mgcp_config_alloc(void)
cfg->source_port = 2427;
cfg->source_addr = talloc_strdup(cfg, "0.0.0.0");
- cfg->audio_name = talloc_strdup(cfg, "GSM-EFR/8000");
- cfg->audio_payload = 97;
+ cfg->audio_name = talloc_strdup(cfg, "AMR/8000");
+ cfg->audio_payload = 126;
cfg->bts_ports.base_port = RTP_PORT_DEFAULT;
cfg->net_ports.base_port = RTP_PORT_NET_DEFAULT;