Freepbx 14 and gsm dongle not making calls

Hi all.

I’m facing an issue using a Huawei e169 dongle on my Freepbx 14.0.5.2.
Asterisk is 13.23.0.

chan-dongle is installed and working.
My dongle is recognized by asterisk.

raspbx2*CLI> dongle show device state dongle0
-------------- Status -------------
  Device                  : dongle0
  State                   : Dialing
  Audio                   : /dev/ttyUSB1
  Data                    : /dev/ttyUSB2
  Voice                   : Yes
  SMS                     : Yes
  Manufacturer            : huawei
  Model                   : E169
  Firmware                : 11.314.13.03.18
  IMEI                    : 35810xxxxxxxxxx
  IMSI                    : 20815xxxxxxxxxx
  GSM Registration Status : Registered, roaming
  RSSI                    : 21, -71 dBm
  Mode                    : GSM/GPRS
  Submode                 : EDGE
  Provider Name           : Orange F
  Location area code      : 74
  Cell ID                 : AD61
  Subscriber Number       : +3376760xxxx
  SMS Service Center      : +3369500xxxx
  Use UCS-2 encoding      : Yes
  USSD use 7 bit encoding : No
  USSD use UCS-2 decoding : Yes
  Tasks in queue          : 0
  Commands in queue       : 0
  Call Waiting            : Disabled
  Current device state    : start
  Desired device state    : start
  When change state       : now
  Calls/Channels          : 1
    Active                : 0
    Held                  : 0
    Dialing               : 0
    Alerting              : 0
    Incoming              : 0
    Waiting               : 0
    Releasing             : 0
    Initializing          : 1

When I try to send a call, I got an error…

        -- Executing [s@macro-outbound-callerid:20] ExecIf("SIP/1009-00000016", "1?Set(CALLERID(all)=07676xxxxx)") in new stack
    -- Executing [s@macro-outbound-callerid:21] ExecIf("SIP/1009-00000016", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:22] ExecIf("SIP/1009-00000016", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:23] ExecIf("SIP/1009-00000016", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:24] ExecIf("SIP/1009-00000016", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:25] Set("SIP/1009-00000016", "CDR(outbound_cnum)=0767608361") in new stack
    -- Executing [s@macro-outbound-callerid:26] Set("SIP/1009-00000016", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:14] GosubIf("SIP/1009-00000016", "0?sub-flp-1,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:15] Set("SIP/1009-00000016", "OUTNUM=04783xxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:16] Set("SIP/1009-00000016", "custom=AMP") in new stack
    -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/1009-00000016", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:18] ExecIf("SIP/1009-00000016", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:19] Macro("SIP/1009-00000016", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1009-00000016", "") in new stack
    -- Executing [s@macro-dialout-trunk:20] GotoIf("SIP/1009-00000016", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/1009-00000016", "1?Set(CONNECTEDLINE(num,i)=0478314569)") in new stack
    -- Executing [s@macro-dialout-trunk:22] ExecIf("SIP/1009-00000016", "1?Set(CONNECTEDLINE(name,i)=CID:07676xxxxx)") in new stack
    -- Executing [s@macro-dialout-trunk:23] ExecIf("SIP/1009-00000016", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)07676xxxxx)") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1009-00000016", "1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,28)
    -- Executing [s@macro-dialout-trunk:28] Set("SIP/1009-00000016", "pre_num=AMP:dongle/dongle0/") in new stack
    -- Executing [s@macro-dialout-trunk:29] Set("SIP/1009-00000016", "the_num=OUTNUM") in new stack
    -- Executing [s@macro-dialout-trunk:30] Set("SIP/1009-00000016", "post_num=") in new stack
    -- Executing [s@macro-dialout-trunk:31] GotoIf("SIP/1009-00000016", "1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,32)
    -- Executing [s@macro-dialout-trunk:32] Set("SIP/1009-00000016", "the_num=04783xxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:33] Dial("SIP/1009-00000016", "dongle/dongle0/04783xxxxx,300,Tt") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:34] NoOp("SIP/1009-00000016", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 44") in new stack
    -- Executing [s@macro-dialout-trunk:35] GotoIf("SIP/1009-00000016", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/1009-00000016", "RC=44") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/1009-00000016", "44,1") in new stack
    -- Goto (macro-dialout-trunk,44,1)
    -- Executing [44@macro-dialout-trunk:1] Goto("SIP/1009-00000016", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/1009-00000016", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 44 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/1009-00000016", "1?Set(CALLERID(number)=1009)") in new stack
    -- Executing [204783xxxxx@from-internal:6] Macro("SIP/1009-00000016", "outisbusy,") in new stack
    -- Executing [204783xxxxx@from-internal:7] Congestion("SIP/1009-00000016", "20") in new stack
  == Spawn extension (from-internal, 20478314569, 7) exited non-zero on 'SIP/1009-00000016'
    -- Executing [h@from-internal:1] Macro("SIP/1009-00000016", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1009-00000016", "1?theend") in new stack

I don’t know waht to do.
I have read so many pages on the web…

Any help would be appreciated.

Regards,
Laurent.

It seems as if the GSM network is not completely initialized, but I might be wrong.

Where do you see this information ?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.