mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-12 18:17:59 +00:00
constify switch_caller_profile_new
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4321 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
bbf3c290d9
commit
ee101704d7
@ -171,17 +171,17 @@ SWITCH_DECLARE(char *) switch_caller_get_field_by_name(switch_caller_profile_t *
|
|||||||
\return a new profile object allocated from the session's memory pool
|
\return a new profile object allocated from the session's memory pool
|
||||||
*/
|
*/
|
||||||
SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memory_pool_t *pool,
|
SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memory_pool_t *pool,
|
||||||
char *username,
|
const char *username,
|
||||||
char *dialplan,
|
const char *dialplan,
|
||||||
char *caller_id_name,
|
const char *caller_id_name,
|
||||||
char *caller_id_number,
|
const char *caller_id_number,
|
||||||
char *network_addr,
|
const char *network_addr,
|
||||||
char *ani,
|
const char *ani,
|
||||||
char *aniii,
|
const char *aniii,
|
||||||
char *rdnis,
|
const char *rdnis,
|
||||||
char *source,
|
const char *source,
|
||||||
char *context,
|
const char *context,
|
||||||
char *destination_number);
|
const char *destination_number);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Clone an existing caller profile object
|
\brief Clone an existing caller profile object
|
||||||
|
@ -33,17 +33,17 @@
|
|||||||
#include <switch_caller.h>
|
#include <switch_caller.h>
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memory_pool_t *pool,
|
SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memory_pool_t *pool,
|
||||||
char *username,
|
const char *username,
|
||||||
char *dialplan,
|
const char *dialplan,
|
||||||
char *caller_id_name,
|
const char *caller_id_name,
|
||||||
char *caller_id_number,
|
const char *caller_id_number,
|
||||||
char *network_addr,
|
const char *network_addr,
|
||||||
char *ani,
|
const char *ani,
|
||||||
char *aniii,
|
const char *aniii,
|
||||||
char *rdnis,
|
const char *rdnis,
|
||||||
char *source,
|
const char *source,
|
||||||
char *context,
|
const char *context,
|
||||||
char *destination_number)
|
const char *destination_number)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user