diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-04-27 19:09:14 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-08-20 01:52:39 +0200 |
commit | 0250230c0b2ae4ed675510d7eb0bee40af90cb83 (patch) | |
tree | 71f1b00aaa180257ead6ce8dbff977014c746a99 /include | |
parent | 47cf84d8d7ab76cba5cc9da7305ef34ea5cbd1ea (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); |