SIP_Templates: Add ts_SIP_Response_Trying
Similar to ts_SIP_Response_Ringing. We also have the counterpart tr_* for both Trying and Ringing. This is needed in a follow-up patch. Change-Id: I05d8be9ce8860c610c509670392e14f1096fdddb
This commit is contained in:
parent
cb3a15b6d0
commit
1b5f7ba3ac
|
@ -792,7 +792,22 @@ ts_SIP_Response(template (value) CallidString call_id,
|
|||
messageBody := body,
|
||||
payload := omit
|
||||
}
|
||||
|
||||
/* 100 Trying */
|
||||
template (value) PDU_SIP_Response
|
||||
ts_SIP_Response_Trying(
|
||||
template (value) CallidString call_id,
|
||||
template (value) SipAddr from_addr,
|
||||
template (value) SipAddr to_addr,
|
||||
Via via,
|
||||
integer seq_nr,
|
||||
charstring method := "INVITE",
|
||||
template (omit) charstring body := omit) := {
|
||||
statusLine := ts_SIP_StatusLine(100, "Trying"),
|
||||
msgHeader := ts_SIP_msgh_std(call_id, from_addr, to_addr, omit, method, seq_nr,
|
||||
via, f_ContentTypeOrOmit(ts_CT_SDP, body)),
|
||||
messageBody := body,
|
||||
payload := omit
|
||||
}
|
||||
/* 180 Ringing */
|
||||
template (value) PDU_SIP_Response
|
||||
ts_SIP_Response_Ringing(
|
||||
|
|
Loading…
Reference in New Issue