forked from Mirrors/freeswitch
freetdm: Set the call id into the caller data provided as argument to the call place function
This commit is contained in:
parent
5ef3c94271
commit
8cade84528
@ -2548,7 +2548,9 @@ FT_DECLARE(ftdm_status_t) _ftdm_call_place(const char *file, const char *func, i
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* let the user know which channel was picked and which call id was generated */
|
||||||
caller_data->fchan = fchan;
|
caller_data->fchan = fchan;
|
||||||
|
caller_data->call_id = fchan->caller_data.call_id;
|
||||||
done:
|
done:
|
||||||
ftdm_channel_unlock(fchan);
|
ftdm_channel_unlock(fchan);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user