Real-time text in Asterisk
The SIP channel has support for real-time text conversation calls in Asterisk (T.140). This is a way to perform text based conversations in combination with other media, most often video. The text is sent character by character as a media stream.
During a call sometimes there are losses of T.140 packets and a solution to that is to use redundancy in the media stream (RTP). See "http://en.wikipedia.org/wiki/Text_over_IP"http://en.wikipedia.org/wiki/Text_over_IP and RFC 5194 for more information.
The supported real-time text codec is t.140.
Real-time text redundancy support is now available in Asterisk.
You can find more information about T.140 at www.itu.int. RTP is used for the transport T.140, as specified in RFC 4103.
How to enable T.140
In order to enable real-time text with redundancy in Asterisk, modify sip.conf to add:
The codec settings may change, depending on your phones. The important settings here are to allow t140 and 140red and enable text support.
General information about real-time text support in Asterisk
With the configuration above, calls will be supported with any combination of real-time text, audio and video.
Text for both t140 and t140red is handled on channel and application level in Asterisk conveyed in Text frames, with the subtype "t140". Text is conveyed in such frames usually only containing one or a few characters from the real-time text flow. The packetization interval is 300 ms, handled on lower RTP level, and transmission redundancy level is 2, causing one original and two redundant transmissions of all text so that it is reliable even in high packet loss situations. Transmitting applications do not need to bother about the transmission interval. The t140red support handles any buffering needed during the packetization intervals.
Clients known to support text, audio/text or audio/video/text calls with Asterisk:
- Omnitor Allan eC - SIP audio/video/text softphone
- AuPix APS-50 - audio/video/text softphone.
- France Telecom eConf â€“audio/video/text softphone.
- SIPcon1 - open source SIP audio/text softphone available in Sourceforge.
- Asterisk real-time text support is developed by AuPix
- Asterisk real-time text redundancy support is developed by Omnitor
The work with Asterisk real-time text redundancy was supported with funding from the National Institute on Disability and Rehabilitation Research (NIDRR), U.S. Department of Education, under grant number H133E040013 as part of a co-operation between the Telecommunication Access Rehabilitation Engineering Research Center of the University of Wisconsin â€“ Trace Center joint with Gallaudet University, and Omnitor.
Olle E. Johansson, Edvina AB, has been a liason between the Asterisk project and this project.