Freeswitch结构之switch_caller_profile_t

本文介绍了一个用于电话交换系统的呼叫配置结构。该结构包含了呼叫者的用户名、拨号计划名称、呼叫者ID、被叫ID等详细信息,并定义了多个指针以追踪呼叫过程中的不同阶段。此外还介绍了通道类型、唯一标识符以及其他关键属性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

struct switch_caller_profile {
 /*! The Call's User Name */
 const char *username;
 /*! The name of the dialplan */
 const char *dialplan;
 /*! Caller ID Name */
 const char *caller_id_name;
 /*! Caller ID Number */
 const char *caller_id_number;
 /*! Original Caller ID Name */
 const char *orig_caller_id_name;
 /*! Original Caller ID Number */
 const char *orig_caller_id_number;
 /*! Callee ID Name */
 const char *callee_id_name;
 /*! Callee ID Number */
 const char *callee_id_number;
 uint8_t caller_ton;
 uint8_t caller_numplan;
 /*! Caller Network Address (when applicable) */
 const char *network_addr;
 /*! ANI (when applicable) */
 const char *ani;
 uint8_t ani_ton;
 uint8_t ani_numplan;
 /*! ANI II (when applicable) */
 const char *aniii;
 /*! RDNIS */
 const char *rdnis;
 uint8_t rdnis_ton;
 uint8_t rdnis_numplan;
 /*! Destination Number */
 char *destination_number;
 uint8_t destination_number_ton;
 uint8_t destination_number_numplan;
 /*! channel type */
 const char *source;
 /*! channel name */
 char *chan_name;
 /*! unique id */
 char *uuid;
 /*! context */
 const char *context;
 /*! profile index */
 const char *profile_index;
 /*! flags */
 switch_caller_profile_flag_t flags;
 struct switch_caller_profile *originator_caller_profile;
 struct switch_caller_profile *originatee_caller_profile;
 struct switch_caller_profile *origination_caller_profile;
 struct switch_caller_profile *hunt_caller_profile;
 struct switch_channel_timetable *times;
 struct switch_channel_timetable *old_times;
 struct switch_caller_extension *caller_extension;
 switch_memory_pool_t *pool;
 struct switch_caller_profile *next;
 switch_call_direction_t direction;
 switch_call_direction_t logical_direction;
 profile_node_t *soft;
 char *uuid_str;
 char *clone_of;
 char *transfer_source;
};
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值