call: It is call_create and not sip_create
It is not creating anything related to sip at all. Remove the prefix in preparation to creating a call from a sip_call_leg.
This commit is contained in:
parent
989bef0875
commit
b927a0bbde
|
@ -55,7 +55,7 @@ void call_leg_release(struct call_leg *leg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct call *sip_call_mncc_create(void)
|
struct call *call_mncc_create(void)
|
||||||
{
|
{
|
||||||
struct call *call;
|
struct call *call;
|
||||||
|
|
||||||
|
|
|
@ -113,4 +113,4 @@ struct call_leg *call_leg_other(struct call_leg *leg);
|
||||||
void call_leg_release(struct call_leg *leg);
|
void call_leg_release(struct call_leg *leg);
|
||||||
|
|
||||||
|
|
||||||
struct call *sip_call_mncc_create(void);
|
struct call *call_mncc_create(void);
|
||||||
|
|
|
@ -349,7 +349,7 @@ static void check_setup(struct mncc_connection *conn, char *buf, int rc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create an RTP port and then allocate a call */
|
/* Create an RTP port and then allocate a call */
|
||||||
call = sip_call_mncc_create();
|
call = call_mncc_create();
|
||||||
if (!call) {
|
if (!call) {
|
||||||
LOGP(DMNCC, LOGL_ERROR,
|
LOGP(DMNCC, LOGL_ERROR,
|
||||||
"MNCC leg(%u) failed to allocate call\n", data->callref);
|
"MNCC leg(%u) failed to allocate call\n", data->callref);
|
||||||
|
|
Loading…
Reference in New Issue