SIP_Emulation: Remove duplicated map()

The map() is already done before the component is started, f_init_sip().
It's better doing it there because then it's up to the creator of the
SIP_Emulation component to establish the name of the system port, hence
allowing multiple instances which can be configured differently (eg.
different bind ip+port).

Change-Id: I5632c94d03a9dce0d04d94766ce72e6700b6116b
This commit is contained in:
Pau Espin 2024-04-19 18:03:14 +02:00
parent a2f4c80718
commit dfc4f1bce0
1 changed files with 0 additions and 5 deletions

View File

@ -62,10 +62,6 @@ type component SIP_Emulation_CT {
port SIPEM_PROC_PT CLIENT_PROC;
};
private function f_sip_init() runs on SIP_Emulation_CT {
map(self:SIP, system:SIP);
}
template RequestLine tr_ReqLine(template Method method) := {
method := method,
requestUri := ?,
@ -245,7 +241,6 @@ function f_init_sip(inout SIP_Emulation_CT ct, charstring id) {
function main(SipOps ops, charstring id)
runs on SIP_Emulation_CT {
f_sip_init();
f_expect_table_init();
f_call_table_init();