library/MGCP_Templates: add send template ts_MgcpResp_Err

Change-Id: Ib0462228cece29952c91b4d18ebe2d89fed70c03
Related: OS#5572
This commit is contained in:
Vadim Yanitskiy 2022-06-28 03:58:33 +07:00
parent d5496adfdb
commit 87ebd0bd16
1 changed files with 14 additions and 1 deletions

View File

@ -64,7 +64,20 @@ module MGCP_Templates {
/* osmo-bsc_mgcp implements L/C/M/X only, osmo-mgw adds 'I' */
/* SDP: osmo-bsc_mgcp implements Tx of v,o,s,c,t,m,a */
template MgcpResponse tr_MgcpResp_Err(template MgcpResponseCode code) := {
template (value) MgcpResponse
ts_MgcpResp_Err(template (value) MgcpTransId trans_id,
template (value) MgcpResponseCode code,
template (value) charstring string := "FAIL") := {
line := {
code := code,
trans_id := trans_id,
string := string
},
params := {},
sdp := omit
}
template MgcpResponse
tr_MgcpResp_Err(template (present) MgcpResponseCode code) := {
line := {
code := code,
trans_id := ?,