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:
Holger Hans Peter Freyther 2016-03-26 18:52:22 +01:00
parent 989bef0875
commit b927a0bbde
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -113,4 +113,4 @@ struct call_leg *call_leg_other(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);

View File

@ -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 */
call = sip_call_mncc_create();
call = call_mncc_create();
if (!call) {
LOGP(DMNCC, LOGL_ERROR,
"MNCC leg(%u) failed to allocate call\n", data->callref);