mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-31 10:46:27 +00:00
set caller data in sangomaboost test
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1029 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
2858411559
commit
5db5b8e608
@ -231,6 +231,9 @@ static void place_call(const ftdm_span_t *span, const char *number)
|
|||||||
|
|
||||||
g_outgoing_channel = ftdmchan;
|
g_outgoing_channel = ftdmchan;
|
||||||
|
|
||||||
|
/* set the caller data for the outgoing channel */
|
||||||
|
memcpy(&ftdmchan->caller_data, &caller_data, sizeof(caller_data));
|
||||||
|
|
||||||
status = ftdm_channel_outgoing_call(ftdmchan);
|
status = ftdm_channel_outgoing_call(ftdmchan);
|
||||||
if (status != FTDM_SUCCESS) {
|
if (status != FTDM_SUCCESS) {
|
||||||
ftdm_log(FTDM_LOG_ERROR, "Failed to originate call\n");
|
ftdm_log(FTDM_LOG_ERROR, "Failed to originate call\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user