diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-19 14:43:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-08-19 15:44:44 +0200 |
commit | ceef936ea894781a14584efc9256856cca6d1c0f (patch) | |
tree | 0be10a903b15d6723e98a4488c2dde1ee55ae8a6 /openbsc/include | |
parent | 57e95a22f02b5b2ec781d9bc977c785a6e6f1166 (diff) |
mgcp: Add transcoding from PCMU as well
Use the existing ulaw encode/decode to support PCMU as well.
The MERA VoIP switch has some severe issues with the GSM codec
and it appears easier to enable transcoding for it.
The mera switch doesn't appear to cope with codec change
between a SIP 180 trying and the 200 ok connection result.
Inserting the codec is touching too many places. Ideally we
should have the transcoding function as pointer in the struct
as well but the arguments differ.. so it is not a direct way
forward.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mgcp_transcode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/mgcp_transcode.h b/openbsc/include/openbsc/mgcp_transcode.h index cb11cb217..147e48bba 100644 --- a/openbsc/include/openbsc/mgcp_transcode.h +++ b/openbsc/include/openbsc/mgcp_transcode.h @@ -33,7 +33,8 @@ enum audio_format { AF_L16, AF_GSM, AF_G729, - AF_PCMA + AF_PCMA, + AF_PCMU }; |