mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
add network_addr to profile (had to add a func to get it for iax)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@175 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -38,57 +38,59 @@ extern "C" {
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
struct switch_caller_step {
|
||||
char *step_name;
|
||||
struct switch_caller_step *next_step;
|
||||
};
|
||||
struct switch_caller_step {
|
||||
char *step_name;
|
||||
struct switch_caller_step *next_step;
|
||||
};
|
||||
|
||||
struct switch_caller_profile {
|
||||
char *dialplan;
|
||||
char *caller_id_name;
|
||||
char *caller_id_number;
|
||||
char *ani;
|
||||
char *ani2;
|
||||
char *destination_number;
|
||||
struct switch_caller_step *steps;
|
||||
};
|
||||
struct switch_caller_profile {
|
||||
char *dialplan;
|
||||
char *caller_id_name;
|
||||
char *caller_id_number;
|
||||
char *network_addr;
|
||||
char *ani;
|
||||
char *ani2;
|
||||
char *destination_number;
|
||||
struct switch_caller_step *steps;
|
||||
};
|
||||
|
||||
struct switch_caller_application {
|
||||
char *application_name;
|
||||
char *application_data;
|
||||
switch_application_function application_function;
|
||||
struct switch_caller_application *next;
|
||||
};
|
||||
struct switch_caller_application {
|
||||
char *application_name;
|
||||
char *application_data;
|
||||
switch_application_function application_function;
|
||||
struct switch_caller_application *next;
|
||||
};
|
||||
|
||||
struct switch_caller_extension {
|
||||
char *extension_name;
|
||||
char *extension_number;
|
||||
struct switch_caller_application *current_application;
|
||||
struct switch_caller_application *last_application;
|
||||
struct switch_caller_application *applications;
|
||||
};
|
||||
struct switch_caller_extension {
|
||||
char *extension_name;
|
||||
char *extension_number;
|
||||
struct switch_caller_application *current_application;
|
||||
struct switch_caller_application *last_application;
|
||||
struct switch_caller_application *applications;
|
||||
};
|
||||
|
||||
SWITCH_DECLARE(switch_caller_extension *) switch_caller_extension_new(switch_core_session *session,
|
||||
char *extension_name,
|
||||
char *extension_number
|
||||
);
|
||||
SWITCH_DECLARE(switch_caller_extension *) switch_caller_extension_new(switch_core_session *session,
|
||||
char *extension_name,
|
||||
char *extension_number
|
||||
);
|
||||
|
||||
SWITCH_DECLARE(void) switch_caller_extension_add_application(switch_core_session *session,
|
||||
switch_caller_extension *caller_extension,
|
||||
char *application_name,
|
||||
char *extra_data);
|
||||
SWITCH_DECLARE(void) switch_caller_extension_add_application(switch_core_session *session,
|
||||
switch_caller_extension *caller_extension,
|
||||
char *application_name,
|
||||
char *extra_data);
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_caller_profile *) switch_caller_profile_new(switch_core_session *session,
|
||||
char *dialplan,
|
||||
char *caller_id_name,
|
||||
char *caller_id_number,
|
||||
char *ani,
|
||||
char *ani2,
|
||||
char *destination_number);
|
||||
SWITCH_DECLARE(switch_caller_profile *) switch_caller_profile_new(switch_core_session *session,
|
||||
char *dialplan,
|
||||
char *caller_id_name,
|
||||
char *caller_id_number,
|
||||
char *network_addr,
|
||||
char *ani,
|
||||
char *ani2,
|
||||
char *destination_number);
|
||||
|
||||
SWITCH_DECLARE(switch_caller_profile *) switch_caller_profile_clone(switch_core_session *session,
|
||||
switch_caller_profile *tocopy);
|
||||
SWITCH_DECLARE(switch_caller_profile *) switch_caller_profile_clone(switch_core_session *session,
|
||||
switch_caller_profile *tocopy);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user