HACK: Workaround buggy mgw newline parser

Change-Id: Ic16dfe6c2452b2dc3e9560b0fa6bdd67fb59b2fe
This commit is contained in:
Daniel Willmann 2018-01-17 18:01:00 +01:00
parent d829b55309
commit 2073c41997
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ module MGCP_Types {
variant "BEGIN('')" variant "BEGIN('')"
variant "SEPARATOR(': ', ':[\t ]+')" variant "SEPARATOR(': ', ':[\t ]+')"
//variant "END('\r\n', '(\n)|(\r\n)')" //variant "END('\r\n', '(\n)|(\r\n)')"
variant "END('\r\n', '([\r\n])|(\r\n)')" variant "END('\n', '([\r\n])|(\r\n)')"
} }
type set of MgcpParameter MgcpParameterList with { type set of MgcpParameter MgcpParameterList with {
@ -101,7 +101,7 @@ module MGCP_Types {
SDP_Message sdp optional SDP_Message sdp optional
} with { } with {
variant "BEGIN('')" variant "BEGIN('')"
variant (sdp) "BEGIN('\r\n','([\r\n])|(\r\n)')" variant (sdp) "BEGIN('\n','([\r\n])|(\r\n)')"
} }
external function enc_MgcpResponse(in MgcpResponse id) return charstring external function enc_MgcpResponse(in MgcpResponse id) return charstring