git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1508 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-05-26 16:00:08 +00:00
parent 75c0ab62b2
commit ab3f42c9c4
12 changed files with 126 additions and 67 deletions

View File

@@ -60,6 +60,8 @@ BEGIN_EXTERN_C
/*! \brief Call Specific Data
*/
struct switch_caller_profile {
/*! The Call's User Name */
char *username;
/*! The name of the dialplan */
char *dialplan;
/*! Caller ID Name */
@@ -161,16 +163,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
*/
SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memory_pool_t *pool,
char *dialplan,
char *caller_id_name,
char *caller_id_number,
char *network_addr,
char *ani,
char *ani2,
char *rdnis,
char *source,
char *context,
char *destination_number);
char *username,
char *dialplan,
char *caller_id_name,
char *caller_id_number,
char *network_addr,
char *ani,
char *ani2,
char *rdnis,
char *source,
char *context,
char *destination_number);
/*!
\brief Clone an existing caller profile object