login | register
Fri 09 of May, 2008 [19:52 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.
 
Google Ads
Shoutbox
  • Nick Barnes, Fri 09 of May, 2008 [11:36 UTC]: Christopher - yesterday I tried an Asterisk install on a CentOS 5.1 box with stock GUI and it all worked fine. Sorry I can't help.
  • aero, Fri 09 of May, 2008 [08:20 UTC]: can someone help me out on this, i tried to play some sound files on my asterisk box and this is the error message i got. WARNING[4429]: format_wav.c:169 check_header: Unexpected freqency 22050 May 8 11:17:39 WARNING[4433]: codec_gsm.c:194 gsmtolin_fra
  • Christopher Faust, Thu 08 of May, 2008 [14:15 UTC]: I beleive that I may have to change something in the xserver configuration. Please advise
  • Christopher Faust, Thu 08 of May, 2008 [14:14 UTC]: Everything was perfect. In the bios I have increased the memory allocated Still receive input not supported on my display.
  • Christopher Faust, Thu 08 of May, 2008 [14:13 UTC]: This would not be my main box. I am doing some testing to see if I can install zaptel and asterisk 1.4 on a full centos 5.1 box with development software Its bizzare, because before I went through the asterisk and zaptel installation everything was perfe
  • Nick Barnes, Thu 08 of May, 2008 [13:44 UTC]: Christopher - I can't see any way in which an Asterisk installation would muck your GUI, but remember that it is advised not to use a GUI on an Asterisk box anyway.
  • Christopher Faust, Wed 07 of May, 2008 [15:28 UTC]: When I try to startx I ge input not supported. Though before installing asterisk I had no video issue to start the GUI
  • Christopher Faust, Wed 07 of May, 2008 [15:26 UTC]: Hi Nick, I got centos 5.1 and asterisk up But now I cannot start startx I have set the depth from 24 to 16 for the video i810 driver for the i845 on my netvista machine but I cannot start GNOME. Please advise
  • Nick Barnes, Wed 07 of May, 2008 [10:01 UTC]: Howard - You'll need to provide a lot more information if you really want help.
  • Nick Barnes, Wed 07 of May, 2008 [10:00 UTC]: Christopher - Search the Wiki and you'll find a page I wrote detailing exactly what you have to do for Asterisk 1.4 + CentOS 5.1.
Server Stats
  • Execution time: 0.39s
  • Memory usage: 2.19MB
  • Database queries: 29
  • GZIP: Disabled
  • Server load: 1.82

tdd mode

Usage: TDD MODE <on|off|mate>

Enable/Disable TDD transmission/reception on a channel.
This function is currently (01July2005) only supported on Zap channels.
As of 02July2005, this function never returns 0 (Not Capable). If it fails for any reason, -1 (Failure) will be returned, otherwise 1 (Success) will be returned. The capability for returning 0 if the channel is not capable of TDD MODE is a future plan.

Returns:
failure: 200 result=-1
not capable: 200 result=0
success: 200 result=1


It should be noted that there are a number of different TDD protocols used in different countries. Asterisk implements Baudot, 45.5 bits which is the USA standard.
The current implementation requires modifications to TDD.c in order to modify the baud rate.

Please list other country standards here:
Australia
Baudot 50 bps

USA
Baudot 45.5 bps



Currently the TDD mode code is very much Alpha quality as at Dec 2006. The problem appears to be with the underlying fskmodem.c which appears to have problems staying in sync. Testing shows that it will work for about 30 seconds after connecting and then it will nolonger transmitt characters.

The following is a sample agi script (written in bash) which provides a test bed for TDD mode. The script is designed to be called as an agi. When a TDD device connects it transmitts a welcome message and then echos any characters back to the remote TDD console.


#!/bin/bash

#echo verbose "\"Starting TDD script\"" 3
#read

read -s info
while [ -n "$info" ]
do
# echo verbose "\"Info $info\"" 3
read -s info
done

#echo verbose "\"Entering TDD Mode\"" 3
echo "tdd mode on"
read -s
#echo verbose "\"Entering read loop\"" 3
echo send text "\"How can we help you? GA\""
read -s
while [[ $message != "GOODBYE GA" ]]
do
echo receive text 120000
read -s text
export char=${text:14:1}
export message=$char
echo verbose "\"message = $message\"" 3
read -s
while [[ ${message:`expr length "$message"` - 4:3} != " GA" ]]
do
echo receive text 30000
read -s text
export char=${text:14:1}
# if [[ $char == "<" ]]
# do
# export message=${message:0:`expr length "$message"` - 2}
# else
export message=$message$char
# done
echo verbose "\"message = $message\"" 3
read -s
done
echo send text "\"$message\""
read -s
done
echo send text "\"Goodbye SKSK\""
read -s



Go back to Asterisk AGI
Created by pinhole, Last modification by Brett Sutton on Thu 14 of Dec, 2006 [23:55 UTC]

Comments Filter

TDD collaboration

by Brett Sutton on Friday 15 of December, 2006 [00:01:10 UTC]
Asterisk IT has been doing some work on testing TDD mode and identifying problems with the code.

We have a customer which is looking for a fix for the problems with fskmodem.c.

If anyone has some skill in this area our client may be prepared to pay to have it fixed.

Contact http://www.voip-info.org/users/view/bsutton for more details.

All work would be submitted back to the Asterisk project.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2008 VOIP-Info.org LLC

Powered by bitweaver