Telephony TTY

1、TTY mode Introduction 

TTY: Teletypewriter, Text Telephone.满足聋哑人通过电话交流的需要,使得设备集成语音-文字的转换功能,通过电话线路(无线通信网络)来传递语音,通过设备呈现文字。

Full Mode:This mode is used to send and receive word by TTY device.

HCO Mode:(Hearing Carry Over) This mode is used to send word by TTY device and hear the voice from remote.

VCO Mode:(Voice Carry Over)  This mode is used to receive word by TTY device and speak to remote.

2、TTY功能简介


[Android Version]

Android V2.3 (GB,GB2,GB3)

Android V4.0, 4.1(ICS,ICS2,JB)

Android V4.2(JB2,JB3,JB5)


[DESCRIPTION]

介绍目前Android系统中TTY功能。

[SOLUTION]

TTY这个功能是专为有听说障碍的残障人士使用的电传打字机(TTY) 功能,这项功能可以让听障人士使用现有的电话基础设施(包括行动电话)进行沟通。

这个功能是Google在Android 2.3中引入的功能,MTK目前对于这一功能保持Google的设计,基本没有做修改。

这个功能的测试需要有特殊的TTY外接设备以及当地运营商网络的支持,目前世界上北美地区的运营商网络(例如美国、墨西哥等)支持这个功能。若是手机项目市场没有在上述国家和地区,也可以考虑将这个功能关闭。开关的方式是在对用工程下面的ProjectConfig.mk文件中设置MTK_TTY_SUPPORT。

3、RTT

        RTT 这项功能面向失聪用户或听障用户提供,可替代电传打字机 (TTY) 技术。借助此功能,设备可以使用同一电话号码进行语音通话和 RTT 通话,即时传输信息(信息是逐个字符输入的),支持拨打 911,并且向后兼容 TTY。

实现实时信息  |  Android Open Source Project

3.1、MTK关闭RTT

[FAQ27308] How to disable RTT mode. (2024-07-01)
[Description] The device must set the default RTT mode to off (disabled).

[Solution] It can be disabled by making changes in “custom_imc_config.c” as explained below.

Corresponding parameters:

rtt_enable

RTT feature flag

0: Disable IMS RTT capability

1: Enable IMS RTT capability with automatic RTT operation mode

2: Enable IMS RTT capability with upon request RTT operation mode

How to check the value of parameter?

Go to custom_imc_config.c for corresponding operator

nvram_ims_profile_ptr->ua_config. rtt_enable                        = xx;

Note: generally, the default value of this parameter is 0.

ua->rtt_enable = 0;

How to change the value of parameter?

There are Two ways to do this as mentioned below:

Use Engineering Mode
*#*#3646633#*#*->Connectivity->CSD information->Radio information->Phone 1 or 2 

 send AT+ECFGSET = " rtt_enable ","0" 

 After changes, need flight mode off/on to work.

Change the parameter in custom_imc_config.c for the corresponding Operator Case (PLMM)
nvram_ims_profile_ptr-> ua_config. rtt_enable                       = 0;

        Then save and compile.

Note: change in IMC file is the permanent change

IMC configurations: MSG_ID_DHL_IMC_EM_DUMP_NVRAM_IND

3.2、MTK 解析RTT 参考 FAQ23053

 Real-time text – or RTT – is a technology that allows text to be sent immediately as it is created through wireless handsets that use IP-based technology on networks that support RTT. With RTT, there is no need to press a “send” key as there generally is for SMS, chat, or other types of texting. A recipient can read a message while the sender types it. Instant text transmissions are similar to the instantaneous exchange of information in voice conversations over the phone and can be critical for emergency calls to 911.

Decode Invite:If SDP contains text message and  media port value is not equal 0 that meas this call is RTT call.
Media Description, name and address (m): text 49162 RTP/AVP 112 111
Media Type: text
Media Port: 49162
Media Protocol: RTP/AVP
Media Format: DynamicRTP-Type-112
Media Format: DynamicRTP-Type-111
Bandwidth Information (b): AS:4
Decode 183 message:NW side port is 51722.
Media Description, name and address (m): text 51722 RTP/AVP 112 111
Media Type: text
Media Port: 51722
Media Protocol: RTP/AVP
Media Format: DynamicRTP-Type-112
Media Format: DynamicRTP-Type-111
 
For IMS/Volte call analysis flow please refer FAQ17841/FAQ17883.

     RTT和TTY的区别,RTT是使用语音通话通道来传输文本,无需TTY硬件设备,基于SDP协议。但是TTY是需要使用硬件设备电传打字机,以及网络支持的。

Telephony中相关代码

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值