summaryrefslogtreecommitdiffstats
path: root/library/MGCP_Templates.ttcn
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2017-11-30 16:37:40 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2017-11-30 16:43:36 +0100
commit961e5c9d3b39670f2cf274af88738c205664e316 (patch)
treef0121bde909c3d26b7d4695205ce203586bb578a /library/MGCP_Templates.ttcn
parentfbef7143945c01d3497c2fecf967f080749d0225 (diff)
MGCP_Templates: Accept 200 and 250 as ACK for DLCX
Both codes are valid as response to a DLCX, see RFC3661 Ch 2.2: """ The 250 response code can be used to acknowledge a successful completion of a DeleteConnection command. However, a 200 response code is also appropriate. """
Diffstat (limited to 'library/MGCP_Templates.ttcn')
-rw-r--r--library/MGCP_Templates.ttcn2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/MGCP_Templates.ttcn b/library/MGCP_Templates.ttcn
index 6d2a689..3fa7bd1 100644
--- a/library/MGCP_Templates.ttcn
+++ b/library/MGCP_Templates.ttcn
@@ -135,7 +135,7 @@ module MGCP_Templates {
template MgcpResponse tr_DLCX_ACK := {
line := {
- code := "200",
+ code := ("200", "250"),
trans_id := ?,
string := "OK"
},