mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -237,10 +237,10 @@ static int teletone_handler(teletone_generation_session_t * ts, teletone_tone_ma
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *session,
|
||||
switch_core_session_t **bleg,
|
||||
switch_call_cause_t *cause,
|
||||
char *bridgeto,
|
||||
const char *bridgeto,
|
||||
uint32_t timelimit_sec,
|
||||
const switch_state_handler_table_t *table,
|
||||
char *cid_name_override, char *cid_num_override, switch_caller_profile_t *caller_profile_override)
|
||||
const char *cid_name_override, const char *cid_num_override, switch_caller_profile_t *caller_profile_override)
|
||||
{
|
||||
char *pipe_names[MAX_PEERS] = { 0 };
|
||||
char *data = NULL;
|
||||
@@ -263,7 +263,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||
char key[80] = SWITCH_BLANK_STRING, file[512] = SWITCH_BLANK_STRING, *odata, *var;
|
||||
switch_call_cause_t reason = SWITCH_CAUSE_UNALLOCATED;
|
||||
uint8_t to = 0;
|
||||
char *var_val, *vars = NULL, *ringback_data = NULL;
|
||||
char *var_val, *vars = NULL;
|
||||
const char *ringback_data = NULL;
|
||||
switch_codec_t *read_codec = NULL;
|
||||
uint8_t sent_ring = 0, early_ok = 1;
|
||||
switch_core_session_message_t *message = NULL;
|
||||
|
Reference in New Issue
Block a user