MGCP: don't use dec_MGCP_Message to avoid (possible) TITAN bug

See https://www.eclipse.org/forums/index.php/t/1088893/ for details
This commit is contained in:
Harald Welte 2017-09-17 16:22:34 +08:00
parent 3c6ebb9c93
commit 9ccb480a87
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,11 @@ module MGCP_CodecPort {
pout.remPort := pin.remPort;
pout.locName := pin.locName;
pout.locPort := pin.locPort;
pout.msg := dec_MgcpMessage(oct2char(pin.msg));
/* FIXME: This should actually be the below:
pout.msg := dec_MgcpMessage(oct2char(pin.msg)); - see
https://www.eclipse.org/forums/index.php/t/1088893/
*/
pout.msg := { response := dec_MgcpResponse(oct2char(pin.msg)) };
} with { extension "prototype(fast)" };
private function MGCP_to_IPL4_Send(in MGCP_Send pin, out ASP_Send pout) {