diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-27 19:09:14 +0200 |
---|---|---|
committer | neels <nhofmeyr@sysmocom.de> | 2019-08-28 21:22:45 +0000 |
commit | 5e19b9a0bf5846af427df76ce737e2949333a594 (patch) | |
tree | 6c5c17066ec75364b88e59d271941f428494a90d /include | |
parent | 4aeb4ec18269089ef3915e0f25f5aade81fe4038 (diff) |
mncc: send payload type matching chosen codec
Change-Id: Id32f32d77d24b753adb96b5393c0363439e312c2
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/msc/mncc_call.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/msc/mncc_call.h b/include/osmocom/msc/mncc_call.h index ad0f0f841..e887cbe7a 100644 --- a/include/osmocom/msc/mncc_call.h +++ b/include/osmocom/msc/mncc_call.h @@ -22,6 +22,7 @@ */ #pragma once +#include <osmocom/mgcp_client/mgcp_client.h> #include <osmocom/msc/mncc.h> #include <osmocom/msc/mncc_call.h> @@ -138,3 +139,5 @@ int mncc_call_tx_msgt(struct mncc_call *mncc_call, uint32_t msg_type); struct mncc_call *mncc_call_find_by_callref(uint32_t callref); void mncc_call_release(struct mncc_call *mncc_call); + +uint32_t mgcp_codec_to_mncc_payload_msg_type(enum mgcp_codecs codec); |