isdn et appels sortants B410P (isdn bri)

Discussion in 'Gateways' started by marc, Nov 9, 2009.

  1. marc

    Joined:
    Nov 8, 2009
    Messages:
    1
    Likes Received:
    0
    Bonjour,

    Voilà, j'ai un gros problème.
    Asterisk a crashé (panne disque dur) et comme je suis newbie j'ai préféré installer elastix.
    Détection de la carte (dahdi)isdn:digium B410P
    Les appels entrants fonctionnent mais pas les appels sortants.
    J'ai alors installé misdn, détection de la carte misdn ok, mais toujours pas d'appels sortants.

    J'ai cherché sur les forums et vu pas mal de pistes mais là, je coince.

    Apparemment, le problème se situe au niveau de ces lignes dans la CLI :
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:27] Goto("SIP/1089-126e2080", "s-CHANUNAVAIL|1") in new stack

    Voici ce que j'ai au lancement de misdn et sur le CLI au moment de passer un appel sortant.

    Merci

    Welcome to Elastix
    ----------------------------------------------------


    [root@elastix ~]# misdn-init start
    -----------------------------------------
    Loading module(s) for your misdn-cards:
    -----------------------------------------
    /sbin/modprobe --ignore-install hfcmulti type=0x4 protocol=0x2,0x2,0x2,0x2 layer mask=0xf,0xf,0xf,0xf poll=128 debug=0
    /sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100
    [root@elastix ~]# asterisk -r
    Asterisk 1.4.26.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>



    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_additional.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    == Manager 'admin' logged off from 127.0.0.1
    == Manager 'admin' logged off from 127.0.0.1
    -- Executing [0674893090@from-internal:1] Set("SIP/1089-126e2080", "EMERGENC YROUTE=YES") in new stack
    -- Executing [0674893090@from-internal:2] Macro("SIP/1089-126e2080", "user-c allerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1089-126e2080", "AMPUSER=108 9") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1089-126e2080", "0?report ") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1089-126e2080", "1|Set|RE ALCALLERIDNUM=1089") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1089-126e2080", "AMPUSER=108 9") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1089-126e2080", "AMPUSERCIDN AME=1089") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1089-126e2080", "0?report ") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1089-126e2080", "AMPUSERCID= 1089") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/1089-126e2080", "CALLERID(al l)="1089" <1089>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1089-126e2080", "0|Set|CH ANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1089-126e2080", "1?conti nue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1089-126e2080", "Using Cal lerID "1089" <1089>") in new stack
    -- Executing [0674893090@from-internal:3] Set("SIP/1089-126e2080", "_NODEST= ") in new stack
    -- Executing [0674893090@from-internal:4] Macro("SIP/1089-126e2080", "record -enable|1089|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/1089-126e2080", "1?check" ) in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/1089-126e2080", "recordingch eck|20091109-102805|1257758885.0") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20091109-102805|1257758885.0: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/1089-126e2080", "") in new stack
    -- Executing [0674893090@from-internal:5] Macro("SIP/1089-126e2080", "dialou t-trunk|2|0674893090||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1089-126e2080", "DIAL_TRUNK= 2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1089-126e2080", "0?sub-p incheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1089-126e2080", "0?disabl etrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1089-126e2080", "DIAL_NUMBER =0674893090") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1089-126e2080", "DIAL_TRUNK_ OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1089-126e2080", "OUTBOUND_GR OUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1089-126e2080", "1?nomax" ) in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1089-126e2080", "0?skipou tcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1089-126e2080", "DIAL_TRUNK _OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1089-126e2080", "outbound -callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1089-126e2080", "0|Se tCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1089-126e2080", "0|Se t|REALCALLERIDNUM=1089") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1089-126e2080", "1?no rmcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1089-126e2080", "USEROUT CID=0156801089") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1089-126e2080", "EMERGEN CYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1089-126e2080", "TRUNKOU TCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1089-126e2080", "1?tr unkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1089-126e2080", "0|S et|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1089-126e2080", "1|S et|CALLERID(all)=0156801089") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1089-126e2080", "0|S etCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1089-126e2080", "1|AGI|f ixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    == fixlocalprefix: Dialpattern 0033+0|ZXXXXXXXX matched. 0674893090 -> 003367 4893090
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1089-126e2080", "OUTNUM=003 3674893090") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1089-126e2080", "custom=AMP ") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1089-126e2080", "0|Set|D IAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/1089-126e2080", "dialout- trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1089-126e 2080", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1089-126e2080", "0?bypas s|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1089-126e2080", "1?custo mtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [s@macro-dialout-trunk:21] Set("SIP/1089-126e2080", "pre_num=AM P:mISDN/g:eek:ut/") in new stack
    -- Executing [s@macro-dialout-trunk:22] Set("SIP/1089-126e2080", "the_num=OU TNUM") in new stack
    -- Executing [s@macro-dialout-trunk:23] Set("SIP/1089-126e2080", "post_num=" ) in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/1089-126e2080", "1?outnu m:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s@macro-dialout-trunk:25] Set("SIP/1089-126e2080", "the_num=00 33674893090") in new stack
    -- Executing [s@macro-dialout-trunk:26] Dial("SIP/1089-126e2080", "mISDN/g:eek: ut/0033674893090|300|") in new stack
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:27] Goto("SIP/1089-126e2080", "s-CHANUNA VAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] GotoIf("SIP/1089-126e2080 ", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:3] NoOp("SIP/1089-126e2080", "TRUNK Dial failed due to CHANUNAVAIL (hangupcause: 66) - failing through to ot her trunks") in new stack
    -- Executing [0674893090@from-internal:6] Macro("SIP/1089-126e2080", "outisb usy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/1089-126e2080", "all-circui ts-busy-now|noanswer") in new stack
    -- <SIP/1089-126e2080> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/1089-126e2080", "pls-try-ca ll-later|noanswer") in new stack
    -- <SIP/1089-126e2080> Playing 'pls-try-call-later' (language 'en')
    == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/1089-126e20 80' in macro 'outisbusy'
    == Spawn extension (from-internal, 0674893090, 6) exited non-zero on 'SIP/1089 -126e2080'
    -- Executing [h@from-internal:1] Macro("SIP/1089-126e2080", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1089-126e2080", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1089-126e2080", "1?skipblkvm ") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1089-126e2080", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1089-126e2080", "") in new s tack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1089-126e2 080' in macro 'hangupcall'
    == Spawn extension (from-internal, s, 1) exited non-zero on 'SIP/1089-126e2080 '
    elastix*CLI>
    elastix*CLI>
     

Share This Page