MGCP_CodecPort: Receive MGCP command or response
If we act as MGW we need to accept MGCP commands sent to us as well
Change-Id: I895cfb688a2923b278828f5ae918c73fda18636d
diff --git a/library/MGCP_CodecPort.ttcn b/library/MGCP_CodecPort.ttcn
index 416ac36..c206986 100644
--- a/library/MGCP_CodecPort.ttcn
+++ b/library/MGCP_CodecPort.ttcn
@@ -53,7 +53,7 @@
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)) };
+ pout.msg := dec_MgcpMessage(oct2char(pin.msg));
} with { extension "prototype(fast)" };
private function MGCP_to_IPL4_Send(in MGCP_Send pin, out ASP_Send pout) {