Hello, I’ve made two tests using a GoIP (from DBLTech) box, that uses M26 modules.
I don’t have the details of my original tests, but they confirmed the same behavior on a M66 module on a GSMEVB-KIT board (if you need I’ll try again, but I need a while).
Test#1: call from M26 (M26FBR03A02_RSIM) to M26 (M26FBR03A02_RSIM)
Calling Module:
08:54:20.785 gsm_atd(): atcmd.c: 399: channel1 dialing cmd: ATD+39351187xxxx;
08:54:20.842 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:54:21.492 gsm_write(): atcmd.c: 291: channel1 ATD+39351187xxxx;
08:54:21.622 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:54:21.682 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,2,0,0,"+39351187xxxx",145,""
08:54:28.012 gsm_write(): atcmd.c: 291: channel1 AT+CSQ
08:54:28.162 parse_tty_info(): console.c: 2050: ttyS1:len=10 +CSQ: 16,0
08:54:28.222 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:54:32.872 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,3,0,0,"+39351187xxxx",145,""
08:54:34.882 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,6,0,0,"+39351187xxxx",145,""
08:54:34.883 gsm_write(): atcmd.c: 291: channel1 ATH
08:54:35.032 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:54:35.122 parse_tty_info(): console.c: 2050: ttyS1:len=4 BUSY
08:54:35.892 gsm_write(): atcmd.c: 291: channel1 AT+CEER
08:54:36.082 parse_tty_info(): console.c: 2050: ttyS1:len=11 +CEER: 1,21
08:54:36.142 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
(21 = Call rejected)
08:43:59.492 gsm_write(): atcmd.c: 291: channel1 ATI
08:43:59.632 parse_tty_info(): console.c: 2050: ttyS1:len=11 Quectel_Ltd
08:43:59.662 parse_tty_info(): console.c: 2050: ttyS1:len=11 Quectel_M26
08:43:59.692 parse_tty_info(): console.c: 2050: ttyS1:len=26 Revision: M26FBR03A02_RSIM
08:43:59.752 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
Note:
On the number +39351187xxxx the “busy” diversion is configured (to +390xxxxxxxxx), but the call is not forwarded.
Receiving module:
08:54:32.308 parse_tty_info(): console.c: 2050: ttyS2:len=39 +CLCC: 1,1,4,0,0,"+447xxxxxxxxx",145,""
08:54:32.348 parse_tty_info(): console.c: 2050: ttyS2:len=4 RING
08:54:32.408 parse_tty_info(): console.c: 2050: ttyS2:len=35 +CLIP: "+447xxxxxxxxx",145,"",,"",0
08:54:34.344 gsm_write(): atcmd.c: 291: channel2 ATH
08:54:34.478 parse_tty_info(): console.c: 2050: ttyS2:len=39 +CLCC: 1,1,6,0,0,"+447xxxxxxxxx",145,""
08:54:34.658 parse_tty_info(): console.c: 2050: ttyS2:len=2 OK
08:58:43.149 gsm_write(): atcmd.c: 291: channel2 ATI
08:58:43.268 parse_tty_info(): console.c: 2050: ttyS2:len=11 Quectel_Ltd
08:58:43.298 parse_tty_info(): console.c: 2050: ttyS2:len=11 Quectel_M26
08:58:43.328 parse_tty_info(): console.c: 2050: ttyS2:len=26 Revision: M26FBR03A02_RSIM
08:58:43.388 parse_tty_info(): console.c: 2050: ttyS2:len=2 OK
Test #2: call from M26 (M26FBR03A02_RSIM) to Nokia E51 (pressing “decline” button when ringing)
08:42:00.822 gsm_write(): atcmd.c: 291: channel1 ATD+39351187xxxx;
08:42:00.952 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:42:01.012 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,2,0,0,"+39351187xxxx",145,""
08:42:07.332 gsm_write(): atcmd.c: 291: channel1 AT+CREG?
08:42:07.462 parse_tty_info(): console.c: 2050: ttyS1:len=24 +CREG: 2,5,"4E73","D283"
08:42:07.522 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:42:09.112 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,3,0,0,"+39351187xxxx",145,""
08:42:12.562 parse_tty_info(): console.c: 2050: ttyS1:len=39 +CLCC: 1,0,6,0,0,"+39351187xxxx",145,""
08:42:12.562 gsm_write(): atcmd.c: 291: channel1 ATH
08:42:12.742 parse_tty_info(): console.c: 2050: ttyS1:len=4 BUSY
08:42:12.802 parse_tty_info(): console.c: 2050: ttyS1:len=2 OK
08:42:13.562 gsm_write(): atcmd.c: 291: channel1 AT+CEER
08:42:13.672 parse_tty_info(): console.c: 2050: ttyS1:len=11 +CEER: 1,17
(17 = User busy)
Note:
On the number +39351187xxxx the “busy” diversion is configured (to +390xxxxxxxxx), the call IS FARWARDED to the “busy diversion” number that gives “Busy”
Evidence of forwarded call received on Asterisk:
-- Executing [+390xxxxxxxxx@unauth-sip:1] NoOp("SIP/ispname.it-00007472", ""+447xxxxxxxxx" <+447xxxxxxxxx> - 08-03-2021 08:42:11") in new stack
-- Executing [+390xxxxxxxxx@unauth-sip:2] Set("SIP/ispname.it-00007472", "Contact=<sip:+447xxxxxxxxx.iIiIiI.0a0d0eae.@6x.xx.xx.xxx:5060>") in new stack
-- Executing [+390xxxxxxxxx@unauth-sip:3] Set("SIP/ispname.it-00007472", "HistoryInfo=<tel:351187xxxx?Privacy=none>;index=1, <tel:0xxxxxxxxx;cause=486>;index=1.1") in new stack
-- Executing [+390xxxxxxxxx@unauth-sip:4] AGI("SIP/ispname.it-00007472", "testNumber.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/testNumber.php
-- AGI Script Executing Application: (Busy) Options: ()
Let me know if you need more evidences.
Best Regards
Paolo