Hello,
I have one G400E card with 3 active SIM cars in it.
It is working with asterisk 1.8.14 and it is configured in the following manner.
An incoming call on one SIM is sent out onto another free SIM to one mobile phone.
Everything is working well but the audio quality is bad (very low audio).
Also we noticed a delay in voice, something like on voip, when the latency is high. It takes 2-3 seconds from the moment I say something until the remote party hears me.
I suppose your GSM modem is M20(you can check it the model name in command 'gsm show span 1' on Asterisk console).
To impove the low audio, you can modifie file m20.conf in /etc/openvox/opvxg4xx/modules/m20.conf, line 67.
//////////////////////////////////////////////
AT_CALL_INIT => AT AT_CALL_PROCEEDING => AT+CLVL? // Replace it by "AT_CALL_PROCEEDING => AT+CLVL=80"
AT_MO_CONNECTED => MO CONNECTED
/////////////////////////////////////////////
Hello,
I made the changes you suggested, but now the call is not connected. It only rings and when I answer the call is hungup and the calling party hears a message from the operator that I am not available.
This is the output of a working call:
__________________________________________________________________________________________
-- Accepting overlap call from '074XXXXXXX' to 's' on channel 1, span 3
-- Starting simple switch on 'EXTRA/5-1'
-- Executing [s@sim3:1] MYSQL("EXTRA/5-1", "Connect connid localhost ********* *********** *******") in new stack
-- Executing [s@sim3:2] MYSQL("EXTRA/5-1", "Query resultid 1 SELECT is_fwd, fwd_number FROM voice WHERE `sim`='sim3'") in new stack
-- Executing [s@sim3:3] MYSQL("EXTRA/5-1", "Fetch fetchid 2 is_fwd fwd_number") in new stack
-- Executing [s@sim3:4] MYSQL("EXTRA/5-1", "Disconnect 1") in new stack
-- Executing [s@sim3:5] GotoIf("EXTRA/5-1", "0?hangup") in new stack
-- Executing [s@sim3:6] Dial("EXTRA/5-1", "extra/g11/072XXXXXXX") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called extra/g11/072XXXXXXX
-- EXTRA/1-1 is proceeding passing it to EXTRA/5-1
-- EXTRA/1-1 is making progress passing it to EXTRA/5-1
-- PROGRESS with cause code 0 received
-- EXTRA/1-1 is making progress passing it to EXTRA/5-1
-- EXTRA/1-1 is making progress passing it to EXTRA/5-1
-- EXTRA/1-1 answered EXTRA/5-1 <
This is the moment I am answering the call[/color]
-- Channel 1, span 3 got hangup, cause 16
-- Channel 1, span 3 received AOC-E charging 60145440 units
-- Hungup 'EXTRA/1-1'
== Spawn extension (sim3, s, 6) exited non-zero on 'EXTRA/5-1'
-- Hungup 'EXTRA/5-1'
-- Channel 1, span 1 received AOC-E charging -1402967648 units
And this is the output of a non working call, after I did the changes.
______________________________________________________________________________________________
-- Accepting overlap call from '074XXXXXXX' to 's' on channel 1, span 3
-- Starting simple switch on 'EXTRA/5-1'
-- Executing [s@sim3:1] MYSQL("EXTRA/5-1", "Connect connid localhost ******** *********** *******") in new stack
-- Executing [s@sim3:2] MYSQL("EXTRA/5-1", "Query resultid 1 SELECT is_fwd, fwd_number FROM voice WHERE `sim`='sim3'") in new stack
-- Executing [s@sim3:3] MYSQL("EXTRA/5-1", "Fetch fetchid 2 is_fwd fwd_number") in new stack
-- Executing [s@sim3:4] MYSQL("EXTRA/5-1", "Disconnect 1") in new stack
-- Executing [s@sim3:5] GotoIf("EXTRA/5-1", "0?hangup") in new stack
-- Executing [s@sim3:6] Dial("EXTRA/5-1", "extra/g11/072XXXXXXX") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called extra/g11/072XXXXXXX
-- EXTRA/1-1 is proceeding passing it to EXTRA/5-1
-- EXTRA/1-1 is making progress passing it to EXTRA/5-1
-- Channel 1, span 3 got hangup, cause 19 <
This is the moment I am answering the call[/color]
-- Channel 1, span 3 received AOC-E charging 0 units
-- Hungup 'EXTRA/1-1'
== Spawn extension (sim3, s, 6) exited non-zero on 'EXTRA/5-1'
-- Hungup 'EXTRA/5-1'
-- Channel 1, span 1 received AOC-E charging 263108592 units