Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
05ab7e8d
提交
05ab7e8d
authored
9月 01, 2010
作者:
Moises Silva
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
freetdm: added proper bearer capability and user layer 1 protocol types
上级
f7669283
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
16 行增加
和
2 行删除
+16
-2
freetdm.h
libs/freetdm/src/include/freetdm.h
+16
-2
没有找到文件。
libs/freetdm/src/include/freetdm.h
浏览文件 @
05ab7e8d
...
@@ -239,6 +239,20 @@ typedef struct {
...
@@ -239,6 +239,20 @@ typedef struct {
uint8_t
plan
;
uint8_t
plan
;
}
ftdm_number_t
;
}
ftdm_number_t
;
/*! \brief bearer capability */
typedef
enum
{
FTDM_BEARER_CAP_SPEECH
=
0x00
,
FTDM_BEARER_CAP_64K_UNRESTRICTED
=
0x02
,
FTDM_BEARER_CAP_3_1KHZ_AUDIO
=
0x03
}
ftdm_bearer_cap_t
;
/*! \brief user information layer 1 protocol */
typedef
enum
{
FTDM_USER_LAYER1_PROT_V110
=
0x01
,
FTDM_USER_LAYER1_PROT_ULAW
=
0x02
,
FTDM_USER_LAYER1_PROT_ALAW
=
0x03
,
}
ftdm_user_layer1_prot_t
;
/*! \brief Caller information */
/*! \brief Caller information */
typedef
struct
ftdm_caller_data
{
typedef
struct
ftdm_caller_data
{
char
cid_date
[
8
];
/*!< Caller ID date */
char
cid_date
[
8
];
/*!< Caller ID date */
...
@@ -256,9 +270,9 @@ typedef struct ftdm_caller_data {
...
@@ -256,9 +270,9 @@ typedef struct ftdm_caller_data {
uint32_t
raw_data_len
;
/* !< Raw data length */
uint32_t
raw_data_len
;
/* !< Raw data length */
/* these 2 are undocumented right now, only used by boost: */
/* these 2 are undocumented right now, only used by boost: */
/* bearer capability */
/* bearer capability */
uint8
_t
bearer_capability
;
ftdm_bearer_cap
_t
bearer_capability
;
/* user information layer 1 protocol */
/* user information layer 1 protocol */
uint8
_t
bearer_layer1
;
ftdm_user_layer1_prot
_t
bearer_layer1
;
}
ftdm_caller_data_t
;
}
ftdm_caller_data_t
;
/*! \brief Tone type */
/*! \brief Tone type */
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论