X100P & Elastix 1.6 - Cannot make calls !

Discussion in 'Gateways' started by g.ibrahimi, Mar 29, 2011.

  1. g.ibrahimi

    Joined:
    Jun 11, 2010
    Messages:
    2
    Likes Received:
    0
    Hi guys !

    I'm struggling with my self from 3 days and still I cannot make calls using the FXO port of my X100P card. When I try to make outgoing calls from my sip phone(x-lite) I can't hear the ring and the B-party does not ring at all. The log file shows that Dahdi is dialing the number,but no call at all.
    When I try to make an incoming call the sip phone ring and after pressing "anser" button I cannot hear anything while the A-party(caller) still hear ringing.
    Dahdi tool doesn't give any alarm and the fixed line looks ok. I see RX and TX levels changing when I try to make calls.It looks that sip channel doesn't bridge correctly with the Dahdi trunk channel.
    Here below are the config file as well logs and dahdi commands printouts.

    Please ,please help !

    Thanks !

    Elastix version:1.6
    Asterisk:1.4
    Dahdi:2.2


    [dahdi_channels.conf]
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 1
    callerid=
    group=
    context=default

    [chan_dahdi.conf]
    [trunkgroups]

    [channels]
    context=from-pstn
    signalling=fxs_ks
    rxwink=300 ; Atlas seems to use long (250ms) winks
    ;usecallerid=yes
    ;hidecallerid=no
    ;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=2.0
    txgain=3.0
    callgroup=1
    pickupgroup=1
    callprogress=yes

    ;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

    [/etc/dahdi/system.conf]

    fxsks=1
    echocanceller=oslec,1

    # Global data

    loadzone = it
    defaultzone = it

    #dahdi_scan
    [1]
    active=yes
    alarms=OK
    description=Wildcard X101P Board 1
    name=WCFXO/0
    manufacturer=Digium
    devicetype=Wildcard X101P
    location=PCI Bus 03 Slot 02
    basechan=1
    totchans=1
    irq=177
    type=analog
    port=1,FXO


    elastix*CLI> dahdi show channel 1
    Channel: 1I>
    File Descriptor: 14
    Span: 1*CLI>
    Extension: >
    Dialing: no>
    Context: from-pstn
    Caller ID: >
    Calling TON: 0
    Caller ID name:
    Destroy: 0I>
    InAlarm: 0I>
    Signalling Type: FXS Kewlstart
    Radio: 0CLI>
    Owner: <None>
    Real: <None>
    Callwait: <None>
    Threeway: <None>
    Confno: -1I>
    Propagated Conference: -1
    Real in conference: 0
    DSP: no*CLI>
    Relax DTMF: no
    Dialing/CallwaitCAS: 0/0
    Default law: ulaw
    Fax Handled: no
    Pulse phone: no
    Echo Cancellation: 1 taps unless TDM bridged, currently OFF
    Actual Confinfo: Num/0, Mode/0x0000
    Actual Confmute: No
    Hookstate (FXS only): Onhook


    dahdi_cfg -vv
    DAHDI Tools Version - 2.2.0

    DAHDI Version: 2.2.0.2
    Echo Canceller(s):
    Configuration
    ======================


    Channel map:

    Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)

    1 channels to configure.

    Setting echocan for channel 1 to none


    Call log:

    -- Executing [045622222@from-internal:1] Macro("SIP/6000-096a9b28", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/6000-096a9b28", "AMPUSER=6000") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/6000-096a9b28", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/6000-096a9b28", "1|Set|REALCALLERIDNUM=6000") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/6000-096a9b28", "AMPUSER=6000") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/6000-096a9b28", "AMPUSERCIDNAME=testname") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/6000-096a9b28", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/6000-096a9b28", "AMPUSERCID=6000") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/6000-096a9b28", "CALLERID(all)="testname" <6000>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/6000-096a9b28", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/6000-096a9b28", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/6000-096a9b28", "Using CallerID "testname" <6000>") in new stack
    -- Executing [045622222@from-internal:2] Set("SIP/6000-096a9b28", "_NODEST=") in new stack
    -- Executing [045622222@from-internal:3] Macro("SIP/6000-096a9b28", "record-enable|6000|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/6000-096a9b28", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/6000-096a9b28", "recordingcheck|20110328-235928|1301360367.34") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20110328-235928|1301360367.34: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/6000-096a9b28", "") in new stack
    -- Executing [045622222@from-internal:4] Macro("SIP/6000-096a9b28", "dialout-trunk|2|045622222||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/6000-096a9b28", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6000-096a9b28", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6000-096a9b28", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/6000-096a9b28", "DIAL_NUMBER=045622222") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/6000-096a9b28", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/6000-096a9b28", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6000-096a9b28", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/6000-096a9b28", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6000-096a9b28", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/6000-096a9b28", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/6000-096a9b28", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6000-096a9b28", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6000-096a9b28", "0|Set|REALCALLERIDNUM=6000") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6000-096a9b28", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/6000-096a9b28", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/6000-096a9b28", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/6000-096a9b28", "TRUNKOUTCID=4444444") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6000-096a9b28", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6000-096a9b28", "1|Set|CALLERID(all)=4444444") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6000-096a9b28", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6000-096a9b28", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/6000-096a9b28", "0|AGI|fixlocalprefix") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/6000-096a9b28", "OUTNUM=045622222") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/6000-096a9b28", "custom=DAHDI/1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6000-096a9b28", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/6000-096a9b28", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6000-096a9b28", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6000-096a9b28", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6000-096a9b28", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/6000-096a9b28", "DAHDI/1/045622222|300|") in new stack
    -- Called 1/045622222
    -- DAHDI/1-1 answered SIP/6000-09697630
    elastix*CLI>
     

Share This Page