#18672: asterisk11-chan-dongle : broken audio channel Asterisk => GSM
------------------------------------+-----------------------------------
Reporter: ljakob | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Barrier Breaker 14.07
Keywords: asterisk11-chan-dongle |
------------------------------------+-----------------------------------
Hi,
I've moved my asterisk installation (Debian x64) to my OpenWrt-Box:
{{{
system type : Qualcomm Atheros QCA9558 rev 0
machine : TP-LINK Archer C7
cpu model : MIPS 74Kc V5.0
}}}
All is working fine, but the chan_dongle has a broken audio channel for
audio from asterisk to the GSM network, the other direction is fine.
A simple test is:
Setup chan_dongle with a incoming context like this:
{{{
[mobile-incoming]
exten => _X.,1,Verbose(call from umts)
exten => _X.,n,Playback(demo-echotest)
exten => _X.,n,Echo
exten => _X.,n,Playback(demo-echodone)
exten => _X.,n,Hangup
exten => _+.,1,Verbose(call from umts)
exten => _+X.,n,Playback(demo-echotest)
exten => _+X.,n,Echo
exten => _+X.,n,Playback(demo-echodone)
exten => _+X.,n,Hangup
}}}
You need some more packages for playback of the standard asterisk gsm
audio files.
And call the dongle. Expected would be to hear the welcome message and
then enter the echotest. The welcome message is not understandable on the
mobile device also the echotest.
My first guess was, that there is a endianess problem (UMTS-stick has
little endian, host has big endian) but a quick look into the sourcecode
revealed that endianess switching is done on the outgoing channel. The
audio sounds like that there is a endianess mixup because calling with a
SIP device into the GSM network generates very loud noise on the GSM side
while sending silence.
The defect looks like
https://code.google.com/p/asterisk-chan-dongle/issues/detail?id=112
but it's not a codec conversion issue; even sending SLIN-codec from an
other box via IAX2 didn't resolve the issue.
Any idea?
Leif
--
Ticket URL: <https://dev.openwrt.org/ticket/18672>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets