diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-19 04:15:39 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-20 02:51:29 +0800 |
commit | 985f5694c76245c0f0455f2f3197bbfe663aacde (patch) | |
tree | cad17a6705edd4758c4ae7a30c45ecf35aa975e4 /openbsc/src | |
parent | 249d69a26c5bfdb3adedfa1d822861a200082033 (diff) |
nat: Keep the audio name and default payload around
For all forwarded messages this will not be used, but it is of
use for the transcoding.
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/nat/bsc_mgcp_utils.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index 2543ea242..765952768 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -645,11 +645,6 @@ int bsc_mgcp_nat_init(struct bsc_nat *nat) } /* some more MGCP config handling */ - if (cfg->audio_name) - talloc_free(cfg->audio_name); - cfg->audio_name = NULL; - - cfg->audio_payload = -1; cfg->data = nat; cfg->policy_cb = bsc_mgcp_policy_cb; cfg->force_realloc = 1; |