Help: Elastix 1.6 and Astribank FXO problem

Discussion in 'General' started by azablan, Jun 25, 2010.

  1. azablan

    Joined:
    Jun 18, 2010
    Messages:
    1
    Likes Received:
    0
    I just made an upgrade on my Elastix 1.5 to Elastix 1.6, since my USB attached XORCOM Astribank was being detected by my current Elastix 1.5 box, for some unknown reason the Astribank's firmware has been upgraded to verion 2.0 that's why elastix 1.5 does' nt recognize it anymore, So i tried installing Elastix 1.6 and run the Wed admin's hardware detection, it did'nt detect the USB attached Astribank.

    I tried to run the command;

    /usr/sbin/dahdi_genconf

    after reboot, I run the hardware detection on the web admin, and it did detect the attached Astribank. As what i experienced with Elastix 1.5 when the Astribank has been detected, it will automatically create the ZAP extensions for FXS ports and FXO ports, On Elastix 1.6 this did'nt happen, so tried manaully creating ZAP extensions for each FXS ports. All the FXS ports are now working, My problem now is on the FXO ports, I need to attach a telephone line to it and must be able to recieved and make calls to other telephone lines. I tried creating a ZAP trunk on one of the FXO ports and tried making an outside call to local lines this is what the CLI shows;

    Connected to Asterisk 1.4.26.1 currently running on voip (pid = 3324)
    Verbosity is at least 3
    -- Starting simple switch on 'DAHDI/21-1'
    -- Executing [95995855@from-internal:1] Macro("DAHDI/21-1", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("DAHDI/21-1", "AMPUSER=421") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/21-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/21-1", "1|Set|REALCALLERIDNUM=421") in new stack
    -- Executing [s@macro-user-callerid:4] Set("DAHDI/21-1", "AMPUSER=421") in new stack
    -- Executing [s@macro-user-callerid:5] Set("DAHDI/21-1", "AMPUSERCIDNAME=Sydadmin") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/21-1", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("DAHDI/21-1", "AMPUSERCID=421") in new stack
    -- Executing [s@macro-user-callerid:8] Set("DAHDI/21-1", "CALLERID(all)="Sydadmin" <421>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("DAHDI/21-1", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/21-1", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("DAHDI/21-1", "Using CallerID "Sydadmin" <421>") in new stack
    -- Executing [95995855@from-internal:2] Set("DAHDI/21-1", "_NODEST=") in new stack
    -- Executing [95995855@from-internal:3] Macro("DAHDI/21-1", "record-enable|421|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/21-1", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("DAHDI/21-1", "recordingcheck|20100625-110024|1277434816.279") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20100625-110024|1277434816.279: Outbound recording enabled.
    recordingcheck|20100625-110024|1277434816.279: CALLFILENAME=OUT421-20100625-110024-1277434816.279
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:999] MixMonitor("DAHDI/21-1", "OUT421-20100625-110024-1277434816.279.wav||") in new stack
    -- Executing [95995855@from-internal:4] Macro("DAHDI/21-1", "dialout-trunk|1|5995855||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("DAHDI/21-1", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("DAHDI/21-1", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("DAHDI/21-1", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("DAHDI/21-1", "DIAL_NUMBER=5995855") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("DAHDI/21-1", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("DAHDI/21-1", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("DAHDI/21-1", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("DAHDI/21-1", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("DAHDI/21-1", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("DAHDI/21-1", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("DAHDI/21-1", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("DAHDI/21-1", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("DAHDI/21-1", "0|Set|REALCALLERIDNUM=421") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("DAHDI/21-1", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("DAHDI/21-1", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("DAHDI/21-1", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("DAHDI/21-1", "TRUNKOUTCID=4990797") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("DAHDI/21-1", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("DAHDI/21-1", "1|Set|CALLERID(all)=4990797") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("DAHDI/21-1", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("DAHDI/21-1", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("DAHDI/21-1", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("DAHDI/21-1", "OUTNUM=5995855") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("DAHDI/21-1", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("DAHDI/21-1", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("DAHDI/21-1", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("DAHDI/21-1", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("DAHDI/21-1", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("DAHDI/21-1", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("DAHDI/21-1", "DAHDI/g0/5995855|300|") in new stack
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] Goto("DAHDI/21-1", "s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("DAHDI/21-1", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("DAHDI/21-1", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
    -- Executing [95995855@from-internal:5] Macro("DAHDI/21-1", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("DAHDI/21-1", "all-circuits-busy-now|noanswer") in new stack
    -- <DAHDI/21-1> Playing 'all-circuits-busy-now' (language 'en')
    == Begin MixMonitor Recording DAHDI/21-1
    -- Executing [s@macro-outisbusy:2] Playback("DAHDI/21-1", "pls-try-call-later|noanswer") in new stack
    -- <DAHDI/21-1> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("DAHDI/21-1", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/21-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/21-1", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/21-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("DAHDI/21-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/21-1' in macro 'hangupcall'
    == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'DAHDI/21-1' in macro 'outisbusy'
    == Spawn extension (from-internal, 95995855, 5) exited non-zero on 'DAHDI/21-1'
    -- Executing [h@from-internal:1] Macro("DAHDI/21-1", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/21-1", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/21-1", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/21-1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("DAHDI/21-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/21-1' in macro 'hangupcall'
    == Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/21-1'
    -- Hungup 'DAHDI/21-1'
    == MixMonitor close filestream
    == End MixMonitor Recording DAHDI/21-1

    Can anyone help me with this? I'm pretty stuck with this one.
     

Share This Page