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:
parent
a2f4c80718
commit
dfc4f1bce0
|
@ -62,10 +62,6 @@ type component SIP_Emulation_CT {
|
||||||
port SIPEM_PROC_PT CLIENT_PROC;
|
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) := {
|
template RequestLine tr_ReqLine(template Method method) := {
|
||||||
method := method,
|
method := method,
|
||||||
requestUri := ?,
|
requestUri := ?,
|
||||||
|
@ -245,7 +241,6 @@ function f_init_sip(inout SIP_Emulation_CT ct, charstring id) {
|
||||||
function main(SipOps ops, charstring id)
|
function main(SipOps ops, charstring id)
|
||||||
runs on SIP_Emulation_CT {
|
runs on SIP_Emulation_CT {
|
||||||
|
|
||||||
f_sip_init();
|
|
||||||
f_expect_table_init();
|
f_expect_table_init();
|
||||||
f_call_table_init();
|
f_call_table_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue