I have development board from Cirrus - 9302a.
I installed there kernel 2.6.17.14 (with pachs for board).
I have working alsa, but - I have to start alsa players next way:
aplay -D channels2 xxx.wav
Or record
arecord -D channels2 xxxyyy.wav
I can start simultaneously arecord and aplay - from different telnet sessions, and results are OK - normally recorded file during normally played file.
When I start asterisk - compiled with cross compiler, I can make incomming call and listen a file played with PlayBack.
When I make call to console - then I have no RTP (rtp debug is on).
In alsa.conf:
input_device=channels2
output_device=channels2
Only this way alsa is loaded
extensions.conf
exten => 500,1,answer
exten => 500,2,PlayBack(/var/lib/asterisk/sounds/visit-asterisk-website)
exten => 500,3,hangup
exten => _X., 1,answer
exten => _X., 2,system(/data/Asterisk/a.out ${EXTEN})
exten => _X., 3,Dial(Console/dsp)
from sip.conf
[718573]
type=friend
username=718573
secret=718573
context=default
callerid=718573
host=dynamic
nat=no
canreinvite=yes
dtmfmode=RFC2833
call-limit=1
mailbox=718573@default
disallow=all
allow=all
I am using Grandstream to make calls to this device.
Unfortunatelly OSS cant be used - or I dont know how I could use
/ # cat /dev/urandom > /dev/dsp
cat: Write Error: Operation not permitted
I tried with asterisks modified for embeded usage:
Asterisk 1.2.2
And
Asterisk 1.0.0
In both cases no problem dialing 500, and no sound dialing any other extension (a.out - is not guilty)