diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-09-03 00:07:39 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-16 13:18:08 +0100 |
commit | 5ea1bc77a3947f541d576f95e7ecc7249fc65b9b (patch) | |
tree | b8a507d08730963050c8af3a884dffdce04d97a8 /openbsc/include | |
parent | 7e7ee5f8c6904a607e7505021c16de4c26dadbe0 (diff) |
mgcp: Allow to freely control the a=fmtp line for experiments
In case of AMR one can specify the available codecs out-of-band. Allow
to configure this line statically in the configuration file.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 1 | ||||
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index 858a29dd9..7a416ddd1 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -111,6 +111,7 @@ struct mgcp_trunk_config { int trunk_nr; int trunk_type; + char *audio_fmtp_extra; char *audio_name; int audio_payload; int audio_loop; diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index bcef8724e..455bb53df 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -67,7 +67,9 @@ struct mgcp_rtp_end { /* in network byte order */ int rtp_port, rtcp_port; + /* per endpoint data */ int payload_type; + char *fmtp_extra; /* * Each end has a socket... |