GL-MiFi [EC25-AF] Asterisk Voice channel?

This will help?

I tryed to make call by asterisk:

– Executing [2066606@default:1] Dial(“SIP/101-00000006”, “Dongle/dongle0/holdother:+2066606”) in new stack
[Jun 21 15:07:11] WARNING[9891][C-00000008]: channel.c:215 channel_request: [dongle0] Request to call on device which can not make call at this moment
[Jun 21 15:07:11] WARNING[9891][C-00000008]: app_dial.c:2525 dial_exec_full: Unable to create channel of type ‘Dongle’ (cause 44 - Requested channel not available)
== Everyone is busy/congested at this time (1:0/0/1)
– Auto fallthrough, channel ‘SIP/101-00000006’ status is ‘CHANUNAVAIL’
– Executing [h@default:1] Hangup(“SIP/101-00000006”, “”) in new stack
== Spawn extension (default, h, 1) exited non-zero on ‘SIP/101-00000006’

Then i calling to my number then i see this in asterisk console:

GL-MIFI*CLI> 
 [dongle0] Error parsing CREG: '+CREG: 1'

Bump. Anypne can help?

Ok I appreciate the enthusiasm but you need to take about 10 steps back here. We are not even close to getting chan_dongle on Asterisk to work yet, we are strictly testing to see if the EC-25 even supports the physical capabilities needed.

So:
a) Stop Asterisk
b) Open a terminal program to monitor /dev/ttyUSB1 (this is where the audio should be sent)
c) Try calling something by sending ATDYYYYYYYYYYYYY; to /dev/ttyUSB2. It can be anything, your friend, your family, basically any phone number that you will get audio back from. (might want to let your friend/family/whoever know you are trying to test something!)
d) The terminal on /dev/ttyUSB2 SHOULD read OK, and if successful within a few seconds (once the call actually dials and goes through) you should start seeing strange binary data flash up on /dev/ttyUSB1 terminal.

If you get “No Carrier” then maybe your SIM does not have voice support/plan from your provider? Otherwise it’s possible the modem itself does not have a voice module, as I have read there are variations of the EC cards and that some are data only, and some are full units, but cannot find details on how to tell one from the other using model #s

Yes, my modem have voice, its even in documentation on modem (same as EC25A i do believe). I have voice im my plan from my provider. Even asterisk driver confirmed it.
I think now its must be good idea to contact the driver maitainer and donate him for help directly.

I think now its must be good idea to contact the driver maitainer and donate him for help directly.

Sure, since you’re not following along here that’s a better route for you to go. If you get it working please post back so that everyone knows.

Are the quectel changes to the chan-dongle sources archived somewhere?
Found these: GitHub - ca4ti/asterisk-chan-quectel: Channel driver for Quectel and Simcom modules, works with Asterisk-13+
Those changes are not complete.

thanks

1 Like

i think ca4ti’s git is extremely outdated, all his add there is only he pointed how need to change commands in at_command.c file. so i will try again, maybe with fresh dongle_chan code this time (what is actual code for now, anyone can tell? so many forks already…), i found Quectel “AT commands” manual for EC25 already i reading it right now.
ps: zip file above was just my attempt to assemble code and check if its works with openwrt firmware. i’m not programmer and i’m nub, so don’t blame me please, i just trying what i can.

before i will try do anything with driver i want try voice functionality by AT commands, so far i failed at first try. maybe i missing some “initialization” voice part of modem?
cause when i trying to dial (ATD) i getting: “NO CARRIER” answer.
any idea?

After googling a lot i end up with tough my modem has old firmware and don’t really have voice support. Will try to contact with devs first then i will let you know.

I have little update on this. I found finally my module was Data Only [what’s a shame, when i bough it on ebay its said Voice supported], so i found my old EC25-A module, did put it back to mifi and now i’m back online. Not very happy about speed (~8Mbit, on AF was 10+) but at least its working. So next few days i will recompile driver and will try again. stay tune.

1 Like

i working on it here:

1 Like

Ok, i finally got it compiled, please test it! :telephone_receiver: :phone: :white_check_mark:
asterisk13-chan-quectel_1.1-20210411-1_mips_24kc.zip (81.9 KB)
openwrt-18.06.9

2 Likes
GL*CLI> quectel show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number        
quectel0     0     Free       19   0    0       T-Mobile       EC25       EC25AFAR05XXXXXX  86XXXXXXXXXXXXX  31XXXXXXXXXXXXX  14XXXXXXXXX   
GL*CLI> 

==========================================================

GL*CLI> quectel show device state quectel0

-------------- Status -------------
Device : quectel0
State : Free
Audio : /dev/ttyUSB1
Data : /dev/ttyUSB2
Voice : Yes
SMS : Yes
Manufacturer : Quectel
Model : EC25
Firmware : EC25AFAR05XXXXXX
IMEI : 86XXXXXXXXXXXXX
IMSI : 31XXXXXXXXXXXXX
GSM Registration Status : Registered, home network
RSSI : 21, -71 dBm
Mode : No Service
Submode : No service
Provider Name : T-Mobile
Location area code : “5XXX”
Cell ID : "4BXXXX
Subscriber Number : 14XXXXXXXXX
SMS Service Center : +12XXXXXXXXX
Use UCS-2 encoding : No
Tasks in queue : 0
Commands in queue : 0
Call Waiting : Enabled
Current device state : start
Desired device state : start
When change state : now
Calls/Channels : 0
Active : 0
Held : 0
Dialing : 0
Alerting : 0
Incoming : 0
Waiting : 0
Releasing : 0
Initializing : 0

GL*CLI>

1 Like

Hi, this seems very promising. I have an openwrt router and EC25 card being shipped to me. Was looking for an asterisk-volte solution.

Are you able to make and receive volte calls, Spacedream? Thanks for your work on this.

Hi, I’m trying to cross compile this for OpenWRT aarch64 architecture but with no luck. Could someone here help me with this.

Link to OpenWRT forum post about it:

does this voice goes with PS or CS?
can it use volte to make and receive call?

have you test it?
does this support volte?
i also looking for volte for asterisk

This one doesn’t work, but I have been modifying the code and will be publishing the code soon. Works with volte.

Working code for Quectel here GitHub - IchthysMaranatha/asterisk-chan-quectel: Asterisk channel driver for Quectel and Simcom modules, works with Asterisk-13+

2 Likes