Asterisk X100P(B2) FXO PCI Answer Problems

Discussion in 'Gateways' started by Megabyte, Aug 20, 2009.

  1. Megabyte

    Joined:
    Mar 28, 2009
    Messages:
    327
    Likes Received:
    0
    Hi i bought recently a couple of Asterisk X100P(B2) FXO PCI for lab testing and faxing but when i try to call to my line my elastix 1.5.2 cant answer the line,i used the detection hardware and was configured without incident, and everything looks fine but when the calls try to incoming to my elastix the elastix answer and hangup the calls, i have an tdm400p card and works great with the same inbounds route (thats means its not a route problems) look my asterisk console when a call comes in:

    -- Starting simple switch on 'DAHDI/1-1'
    -- Executing [s@from-internal:1] Macro("DAHDI/1-1", "hangupcall") in new sta ck
    -- Executing [s@macro-hangupcall:1] ResetCDR("DAHDI/1-1", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("DAHDI/1-1", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("DAHDI/1-1", "1?skiprg") in new s tack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("DAHDI/1-1", "1?skipblkvm") in ne w stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("DAHDI/1-1", "1?theend") in new s tack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("DAHDI/1-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
    == Spawn extension (from-internal, s, 1) exited non-zero on 'DAHDI/1-1'
    -- Executing [h@from-internal:1] Macro("DAHDI/1-1", "hangupcall") in new sta ck
    -- Executing [s@macro-hangupcall:1] ResetCDR("DAHDI/1-1", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("DAHDI/1-1", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("DAHDI/1-1", "1?skiprg") in new s tack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("DAHDI/1-1", "1?skipblkvm") in ne w stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("DAHDI/1-1", "1?theend") in new s tack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("DAHDI/1-1", "") in new stack
    == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'




    i tried to rename the context=from-pstn to context=from=zaptel in chan_dahdi.conf and dahdi_channels.conf and the same results. anybody has any experiences with those pci cards or know about an issue or something.
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    I seems that from-pstn is right.

    With my config (A100P), I receive some calls +/- well. ;)

    Warining, it's FR parameters!
    Change ring cadence.. language, zone...Etc

    dahdi-channels.conf

    Code:
    ; Autogenerated by /usr/sbin/dahdi_genconf on Fri May  1 16:38:09 2009 -- do not
     hand edit
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;
    
    ; Span 1: WCFXO/0 "Wildcard X100P Board 1" (MASTER) RED
    ;;; line="1 WCFXO/0/0"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 1
    dahdi-channels.conf

    Code:
    [trunkgroups]
    
    [global]
    loadzone=fr
    defaultzone=fr
    
    [channels]
    context=from-pstn
    signalling=fxs_ks
    rxwink=270              ; Atlas seems to use long (250ms) winks
    ;
    cadence=250,1600,1500,3500
    ; numero de l appelant
    callerid=asreceived
    hidecallerid=no
    usecallerid=yes
    cidsignalling=bell
    cidstart=ring
    ;callprogress=yes
    progzone=fr
    ;
    
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    faxdetect=incoming
    echotraining=800
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1
    
    ;Uncomment these lines if you have problems with the disconection of your analog lines
    busydetect=yes
    busycount=3
    
    
    immediate=no
    
    #include dahdi-channels.conf
    #include chan_dahdi_additional.conf
    
    
    I hope that can help you. ;)
     

Share This Page