Discussion:
[asterisk-embedded] DTMF
Mathieu Roger
2008-06-10 15:54:02 UTC
Permalink
Hi all,
I have a problem with my arm Asterisk. It works fine, but he don't
recognize the inband DTMF and don't generate. With the same config file
(sip.conf and exntensions.conf) on a i386 computer the DTMF detection
works fine and the generation too.

A men had said to me the dtmf don't works because i havn't ztdummy. Is it
true?
I try compile ztdummy and zaptel but it's don't works.
Can you tell me if you have the same problem, and how correct it if
posssible.

My embeded board : Olimex sam9L9260
Processor : ARM9 SAM9260 200mhz
Ram : 64Mo
Flash : 512Mo

Thanks
--
Mathieu Roger
IUT de Valence
Stelios Koroneos
2008-06-10 21:11:06 UTC
Permalink
Dtmf detection requires floating point
Does your toolchain generate soft-floats or are you using kernel float
emulation ?

If you are using the second then dtmf detection probably won't work very
well (or at all) as kernel emulation is really slow (you get an exception
for every fp opcode)

Stelios S. Koroneos

Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
Mathieu Roger
2008-06-11 07:40:46 UTC
Permalink
I have search on the website of my compiler
(http://www.denx.de/wiki/DULG/ELDK)
I havn't find information about the floating.

Do you know a compiler that generate soft-floats for ARM?
Thanks
Post by Stelios Koroneos
Dtmf detection requires floating point
Does your toolchain generate soft-floats or are you using kernel float
emulation ?
If you are using the second then dtmf detection probably won't work very
well (or at all) as kernel emulation is really slow (you get an exception
for every fp opcode)
Stelios S. Koroneos
Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-embedded mailing list
http://lists.digium.com/mailman/listinfo/asterisk-embedded
--
Mathieu Roger
IUT de Valence
Stelios Koroneos
2008-06-11 09:04:17 UTC
Permalink
Denx has both fp and nonfp toolchains (at least for the powerpc I have
checked)
I am not sure about arm as I have never used a Denx arm toolchain
Better send them an email, they are very responsive.

Another way to find if your toolchain support soft-fp is to disable the fp
kernel emulation and try and run asterisk (or any other app that requires
fp)
If your toolchain does not have soft fp you will start seeing "illegal
instruction" messages and the programs will segfault


Stelios S. Koroneos

Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
-----Original Message-----
From: asterisk-embedded-bounces at lists.digium.com
[mailto:asterisk-embedded-bounces at lists.digium.com] On Behalf
Of Mathieu Roger
Sent: Wednesday, June 11, 2008 10:41 AM
To: Asterisk Embedded Development
Subject: Re: [asterisk-embedded] DTMF
I have search on the website of my compiler
(http://www.denx.de/wiki/DULG/ELDK)
I havn't find information about the floating.
Do you know a compiler that generate soft-floats for ARM?
Thanks
Dtmf detection requires floating point Does your toolchain generate
soft-floats or are you using kernel float emulation ?
If you are using the second then dtmf detection probably won't work
very well (or at all) as kernel emulation is really slow
(you get an
exception for every fp opcode)
Stelios S. Koroneos
Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-embedded mailing list
http://lists.digium.com/mailman/listinfo/asterisk-embedded
--
Mathieu Roger
IUT de Valence
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-embedded mailing list
http://lists.digium.com/mailman/listinfo/asterisk-embedded
Loading...