Open ciberp opened 3 years ago
Hi!
I did some more testing and found out that audio is actually working in both direction but it stops after first call. Command dongle reset dongle0
solves the problem ...
Any hint how to troubleshoot that?
Thank you.
Regards, Peter
Tried with 7bit set, no difference, problem with one-way-audio on outgoing call exists. I noticed some timeouts if call is not picked up immediately.
rpi4-2*CLI>
== Using SIP RTP CoS mark 5
> 0xb410d090 -- Strict RTP learning after remote address set to: 172.22.0.97:29486
-- Executing [XXXXXXXX@users:1] Dial("SIP/1-00000003", "Dongle/dongle0/XXXXXXXX") in new stack
-- Called Dongle/dongle0/XXXXXXXX
-- Dongle/dongle0-0100000003 is making progress passing it to SIP/1-00000003
> 0xb410d090 -- Strict RTP switching to RTP target address 172.22.0.97:29486 as source
> 0xb410d090 -- Strict RTP learning complete - Locking on source address 172.22.0.97:29486
[Feb 24 22:18:25] ERROR[18660]: chan_dongle.c:445 do_monitor_phone: [dongle0] timedout while waiting 'OK' in response to 'AT'
-- [dongle0] Dongle has disconnected
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/1-00000003' status is 'CHANUNAVAIL'
-- [dongle0] Trying to connect on /dev/ttyUSB2...
-- [dongle0] Dongle has connected, initializing...
-- [dongle0] Dongle initialized and ready
Hi!
I did some more testing and found out the problem. I got one way audio only if inserted SIM is in GSM Registration Status : Registered, roaming
. Error message: [Feb 21 20:36:47] ERROR[1100] chan_dongle.c: [dongle0] timedout while waiting 'OK' in response to 'AT'
If SIM is in GSM Registration Status : Registered, home network
then all voice calls are working both ways with audio and no error msg.
Regards, Peter
Today I change SIM card with another one and got one way audio again. Than I realised that with working SIM huawei led light was blinking green
and with one-way-audio was blinking blue
. I checked huawei e303 manual which says:
Green, blinking once every 3s: The USB Stick is registering with a 2G network
Blue, blinking once every 3s: The USB Stick is registering with a 3G/3G+ network.
Modem AT commands
Any : AT^SYSCFG=2,0,3FFFFFFF,2,4
2G only : AT^SYSCFG=13,1,3FFFFFFF,2,4
3G only : AT^SYSCFG=14,2,3FFFFFFF,2,4
2G preferred : AT^SYSCFG=2,1,3FFFFFFF,2,4
3G preferred : AT^SYSCFG=2,2,3FFFFFFF,2,4
So I run AT commands through asterisk dongle cmd to force modem to 2G:
rpi4-2*CLI> dongle cmd dongle0 AT^SYSCFG=13,1,3FFFFFFF,2,4 [dongle0] 'AT^SYSCFG=13,1,3FFFFFFF,2,4' Command queued for execute [dongle0] Got Response for user's command:'OK'
And now one-way-audio si fixed and no error msg! So it looks like that e303s has some issues with 3G network or something...
Hi!
I am strugling with E303S to get it working. I can make calls in both directions. Problem is only when a call is made from any ip phone to asterisk through dongle, than audio is only one way (not getting audio from iphone, but I get audio from outside to ip phone). If I make a call from outside to dongle than audio is working in both directions. I searched around and found out that someone has added E303S 7bit support to fix that. I don't know if this will fix my problem but I would like to give it a try.
Error message:
[Feb 21 20:36:47] ERROR[1100] chan_dongle.c: [dongle0] timedout while waiting 'OK' in response to 'AT'
https://github.com/antirek/asterisk-chan-dongle/issues/117
Can you give some directions how to check or add/remove 7bit, since I cannot find modem list.
Thank you for your time in advance.
Best regards, Peter