Sangoma A102 does not work with Panasonic KXTDA100

Discussion in 'General' started by algisv, May 19, 2010.

  1. algisv

    Joined:
    Mar 8, 2010
    Messages:
    10
    Likes Received:
    0
    1. I need help with Sangoma A102.

    2. Problem description:
    I cannot make calls.

    3. Someone can look at things I do.

    3.1 I take look at configurtion:
    [root@localhost ~]# cat /etc/dahdi/system.conf
    #autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
    #autogenrated on 2010-05-18
    #Dahdi Channels Configurations
    #For detailed Dahdi options, view /etc/dahdi/system.conf.bak
    loadzone=us
    defaultzone=us

    #Sangoma A102 port 1 [slot:9 bus:2 span:1] <wanpipe1>
    span=1,0,0,ccs,hdb3,crc4
    bchan=1-15,17-31
    echocanceller=mg2,1-15,17-31
    hardhdlc=16

    #Sangoma A102 port 2 [slot:9 bus:2 span:2] <wanpipe2>
    span=2,0,0,ccs,hdb3,crc4
    bchan=32-46,48-62
    echocanceller=mg2,32-46,48-62
    hardhdlc=47

    3.2 wanrouter status
    [root@localhost ~]# wanrouter status
    Devices currently active:
    wanpipe1 wanpipe2

    Wanpipe Config:
    Device name | Protocol Map | Adapter | IRQ | Slot/IO | If's | CLK | Baud rate |
    wanpipe1 | N/A | A101/1D/A102/2D/4/4D/8| 201 | 9 | 1 | N/A | 0 |
    wanpipe2 | N/A | A101/1D/A102/2D/4/4D/8| 201 | 9 | 1 | N/A | 0 |
    Wanrouter Status:
    Device name | Protocol | Station | Status |
    wanpipe1 | AFT TE1 | N/A | Disconnected |
    wanpipe2 | AFT TE1 | N/A | Disconnected |


    3.3 rasterisk status
    localhost*CLI> dahdi show status
    Description Alarms IRQ bpviol CRC4
    wanpipe1 card 0 RED 0 0 0
    wanpipe2 card 1 OK 0 0 0

    3.4 Verbosity information
    -- Executing [9200@from-internal:1] Macro("SIP/222-00000001", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/222-00000001", "AMPUSER=222") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/222-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/222-00000001", "1|Set|REALCALLERIDNUM=222") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/222-00000001", "AMPUSER=222") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/222-00000001", "AMPUSERCIDNAME=222") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/222-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/222-00000001", "AMPUSERCID=222") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/222-00000001", "CALLERID(all)="222" <222>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/222-00000001", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/222-00000001", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/222-00000001", "Using CallerID "222" <222>") in new stack
    -- Executing [9200@from-internal:2] Set("SIP/222-00000001", "_NODEST=") in new stack
    -- Executing [9200@from-internal:3] Macro("SIP/222-00000001", "record-enable|222|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/222-00000001", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/222-00000001", "recordingcheck|20100519-111329|1274256809.1") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20100519-111329|1274256809.1: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/222-00000001", "") in new stack
    -- Executing [9200@from-internal:4] Macro("SIP/222-00000001", "dialout-trunk|1|200||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/222-00000001", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/222-00000001", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/222-00000001", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/222-00000001", "DIAL_NUMBER=200") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/222-00000001", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/222-00000001", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/222-00000001", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/222-00000001", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/222-00000001", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/222-00000001", "outbound-callerid|1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/222-00000001", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/222-00000001", "0|Set|REALCALLERIDNUM=222") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/222-00000001", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/222-00000001", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/222-00000001", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/222-00000001", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/222-00000001", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/222-00000001", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/222-00000001", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/222-00000001", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/222-00000001", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/222-00000001", "OUTNUM=200") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/222-00000001", "custom=DAHDI/g0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/222-00000001", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/222-00000001", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/222-00000001", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/222-00000001", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/222-00000001", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/222-00000001", "DAHDI/g0/200|300|") in new stack
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] Goto("SIP/222-00000001", "s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/222-00000001", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/222-00000001", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
    -- Executing [9200@from-internal:5] Macro("SIP/222-00000001", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/222-00000001", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/222-00000001> Playing 'all-circuits-busy-now' (language 'en')
    == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 'SIP/222-00000001' in macro 'outisbusy'
    == Spawn extension (from-internal, 9200, 5) exited non-zero on 'SIP/222-00000001'
    -- Executing [h@from-internal:1] Macro("SIP/222-00000001", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/222-00000001", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/222-00000001", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/222-00000001", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/222-00000001", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/222-00000001' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/222-00000001'
    3.5 [root@localhost ~]# lspci
    00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
    00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
    00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
    00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
    00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
    00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
    00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 12)
    01:00.0 VGA compatible controller: nVidia Corporation NV6 [Vanta/Vanta LT] (rev 15)
    02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
    02:09.0 Network controller: Sangoma Technologies Corp. A200/Remora FXO/FXS Analog AFT card
    3.6 After linux restart, wanrouter status ok, but call cannot be placed.
    If i restart wanrouter, then wanrouter never goes ok.

    4. How to make things work. Please, help with Ideas.
     
  2. bazzilio22

    Joined:
    Jan 19, 2010
    Messages:
    7
    Likes Received:
    0
    Hi

    What settings you have on TDA100 on E1: QSIG or CO?

    BR, Vasily
     
  3. algisv

    Joined:
    Mar 8, 2010
    Messages:
    10
    Likes Received:
    0
  4. algisv

    Joined:
    Mar 8, 2010
    Messages:
    10
    Likes Received:
    0
    Panasonic is configured now to QSIG.
    Qsig-master.
    For detailed Dahdi options, view /etc/dahdi/system.conf.bak
    loadzone=us
    defaultzone=us

    #Sangoma A102 port 1 [slot:7 bus:1 span:1] <wanpipe1>
    span=1,1,0,ccs,hdb3,crc4
    bchan=1-15,17-31
    echocanceller=mg2,1-15,17-31
    hardhdlc=16

    #Sangoma A102 port 2 [slot:7 bus:1 span:2] <wanpipe2>
    span=2,2,0,ccs,hdb3,crc4
    bchan=32-46,48-62
    echocanceller=mg2,32-46,48-62
    hardhdlc=47

    ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

    [trunkgroups]

    [channels]
    context=default
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    relaxdtmf=yes
    rxgain=0.0
    txgain=0.0
    group=1
    callgroup=1
    pickupgroup=1
    immediate=no

    ;Sangoma A102 port 1 [slot:9 bus:2 span:1] <wanpipe1>
    switchtype=qsig
    context=from-internal
    group=0
    echocancel=yes
    signalling=pri_cpe
    channel =>1-15,17-31

    ;Sangoma A102 port 2 [slot:9 bus:2 span:2] <wanpipe2>
    switchtype=qsig
    context=from-internal
    group=0
    echocancel=yes
    signalling=pri_cpe
    channel =>32-46,48-62
     

Share This Page