elastix HFC-S config

Discussion in 'General' started by algisv, Sep 14, 2010.

  1. algisv

    Joined:
    Mar 8, 2010
    Messages:
    10
    Likes Received:
    0
    I made configuration
    after instaliation of elastix 2 i putted ISDN card to Pc.
    I got problem. I dont have status in asterisk.
    I cannot make inside calls.
    [root@tp-test new]# dahdi_cfg -vvv
    DAHDI Tools Version - 2.3.0

    DAHDI Version: 2.3.0.1
    Echo Canceller(s): OSLEC
    Configuration
    ======================

    SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

    Channel map:

    Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
    Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
    Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 03)

    3 channels to configure.

    Setting echocan for channel 1 to oslec
    Setting echocan for channel 2 to oslec
    Setting echocan for channel 3 to none

    [root@tp-test new]# dahdi_hardware -v
    pci:0000:02:09.0 zaphfc+ 1397:2bd0 HFC-S ISDN BRI card

    [root@tp-test new]# cat /proc/dahdi/*
    Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] " (MASTER) AMI/CCS

    1 ZTHFC1/0/1 Clear (In use) (SWEC: OSLEC)
    2 ZTHFC1/0/2 Clear (In use) (SWEC: OSLEC)
    3 ZTHFC1/0/3 Hardware-assisted HDLC (In use)
    Errors: 0

    I make call outside. I take verbosity printout.

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [9100@from-internal:1] Macro("SIP/746-00000001", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/746-00000001", "AMPUSER=746") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/746-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/746-00000001", "1?Set(REALCALLERIDNUM=746)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/746-00000001", "AMPUSER=746") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/746-00000001", "AMPUSERCIDNAME=746") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/746-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/746-00000001", "AMPUSERCID=746") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/746-00000001", "CALLERID(all)="746" <746>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/746-00000001", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/746-00000001", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/746-00000001", "Using CallerID "746" <746>") in new stack
    -- Executing [9100@from-internal:2] Set("SIP/746-00000001", "_NODEST=") in new stack
    -- Executing [9100@from-internal:3] Macro("SIP/746-00000001", "record-enable,746,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/746-00000001", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/746-00000001", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/746-00000001", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/746-00000001", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/746-00000001", "1?MacroExit()") in new stack
    -- Executing [9100@from-internal:4] Macro("SIP/746-00000001", "dialout-trunk,1,100,,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/746-00000001", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/746-00000001", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/746-00000001", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/746-00000001", "DIAL_NUMBER=100") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/746-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/746-00000001", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/746-00000001", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/746-00000001", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/746-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/746-00000001", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/746-00000001", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/746-00000001", "0?Set(REALCALLERIDNUM=746)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/746-00000001", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/746-00000001", "USEROUTCID=746") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/746-00000001", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/746-00000001", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/746-00000001", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/746-00000001", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/746-00000001", "1?Set(CALLERID(all)=746)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/746-00000001", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/746-00000001", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/746-00000001", "0?AGI(fixlocalprefix)") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/746-00000001", "OUTNUM=100") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/746-00000001", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/746-00000001", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/746-00000001", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/746-00000001", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/746-00000001", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/746-00000001", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/746-00000001", "DAHDI/g0/100,300,") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g0/100
    -- DAHDI/1-1 is proceeding passing it to SIP/746-00000001
    -- DAHDI/1-1 is making progress passing it to SIP/746-00000001
    -- DAHDI/1-1 is ringing
    -- DAHDI/1-1 answered SIP/746-00000001
    tp-test*CLI> dahdi show ch
    channels channel
    tp-test*CLI> dahdi show channels
    Chan Extension Context Language MOH Interpret Blocked State
    pseudo default default In Service
    1 from-pstn default In Service
    2 from-pstn default In Service
    tp-test*CLI> core show ch
    channel channels channeltypes channeltype
    tp-test*CLI> core show channels
    Channel Location State Application(Data)
    DAHDI/1-1 (None) Up AppDial((Outgoing Line))
    SIP/746-00000001 s@macro-dialout-trun Up Dial(DAHDI/g0/100,300,)
    2 active channels
    1 active call
    2 calls processed
    tp-test*CLI>
     

Share This Page