[AsteriskBrasil] falha ao fazer ligações externas

chilique da silva sauro chilique666 em gmail.com
Segunda Maio 24 08:52:40 BRT 2010


Bom dia pessoal, estou com a seguinte situaçao, tenho uma central com
Trixbox instalado e uma placa E1 da khomp, esta tudo configurado certinho,
estou recebendo ligaçoes normalmente pelo link E1, porem quando configuro
uma rota de saida pelo trixbox e vou efeturar alguma ligaçao o asterisk me
retorna um erro dizendo que todas as linhas estao ocupadas, já se eu
configurar manualmente no extensios.conf consigo efetuar as ligaçoes
normalmente.

Alguem tem ideia do que possa estar acontecendo? já pesquisei por tudo e nao
achei solução, e precisaria que estas configurações fossem feitas através do
trixbox.

Segue abaixo o erro que o asterisk esta me retornando:

    -- Executing [84023545 em from-internal:1] Macro("SIP/8601-a180e268",
"user-callerid|SKIPTTL|") in new stack
    -- Executing [s em macro-user-callerid:1] Set("SIP/8601-a180e268",
"AMPUSER=8601") in new stack
    -- Executing [s em macro-user-callerid:2] GotoIf("SIP/8601-a180e268",
"0?report") in new stack
    -- Executing [s em macro-user-callerid:3] ExecIf("SIP/8601-a180e268",
"1|Set|REALCALLERIDNUM=8601") in new stack
    -- Executing [s em macro-user-callerid:4] Set("SIP/8601-a180e268",
"AMPUSER=8601") in new stack
    -- Executing [s em macro-user-callerid:5] Set("SIP/8601-a180e268",
"AMPUSERCIDNAME=8601") in new stack
    -- Executing [s em macro-user-callerid:6] GotoIf("SIP/8601-a180e268",
"0?report") in new stack
    -- Executing [s em macro-user-callerid:7] Set("SIP/8601-a180e268",
"AMPUSERCID=8601") in new stack
    -- Executing [s em macro-user-callerid:8] Set("SIP/8601-a180e268",
"CALLERID(all)="8601" <8601>") in new stack
    -- Executing [s em macro-user-callerid:9] ExecIf("SIP/8601-a180e268",
"0|Set|CHANNEL(language)=") in new stack
    -- Executing [s em macro-user-callerid:10] GotoIf("SIP/8601-a180e268",
"1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s em macro-user-callerid:19] NoOp("SIP/8601-a180e268", "Using
CallerID "8601" <8601>") in new stack
    -- Executing [84023545 em from-internal:2] Set("SIP/8601-a180e268",
"_NODEST=") in new stack
    -- Executing [84023545 em from-internal:3] Macro("SIP/8601-a180e268",
"record-enable|8601|OUT|") in new stack
    -- Executing [s em macro-record-enable:1] GotoIf("SIP/8601-a180e268",
"1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s em macro-record-enable:4] AGI("SIP/8601-a180e268",
"recordingcheck|20100524-084156|1274701316.92") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20100524-084156|1274701316.92: Outbound recording not
enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s em macro-record-enable:5] MacroExit("SIP/8601-a180e268",
"") in new stack
    -- Executing [84023545 em from-internal:4] Macro("SIP/8601-a180e268",
"dialout-trunk|2|84023545||") in new stack
    -- Executing [s em macro-dialout-trunk:1] Set("SIP/8601-a180e268",
"DIAL_TRUNK=2") in new stack
    -- Executing [s em macro-dialout-trunk:2] GosubIf("SIP/8601-a180e268",
"0?sub-pincheck|s|1") in new stack
    -- Executing [s em macro-dialout-trunk:3] GotoIf("SIP/8601-a180e268",
"0?disabletrunk|1") in new stack
    -- Executing [s em macro-dialout-trunk:4] Set("SIP/8601-a180e268",
"DIAL_NUMBER=84023545") in new stack
    -- Executing [s em macro-dialout-trunk:5] Set("SIP/8601-a180e268",
"DIAL_TRUNK_OPTIONS=TtWwr") in new stack
    -- Executing [s em macro-dialout-trunk:6] Set("SIP/8601-a180e268",
"OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s em macro-dialout-trunk:7] GotoIf("SIP/8601-a180e268",
"1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s em macro-dialout-trunk:9] GotoIf("SIP/8601-a180e268",
"0?skipoutcid") in new stack
    -- Executing [s em macro-dialout-trunk:10] Set("SIP/8601-a180e268",
"DIAL_TRUNK_OPTIONS=TtWw") in new stack
    -- Executing [s em macro-dialout-trunk:11] Macro("SIP/8601-a180e268",
"outbound-callerid|2") in new stack
    -- Executing [s em macro-outbound-callerid:1] ExecIf("SIP/8601-a180e268",
"0|SetCallerPres|") in new stack
    -- Executing [s em macro-outbound-callerid:2] ExecIf("SIP/8601-a180e268",
"0|Set|REALCALLERIDNUM=8601") in new stack
    -- Executing [s em macro-outbound-callerid:3] GotoIf("SIP/8601-a180e268",
"1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s em macro-outbound-callerid:6] Set("SIP/8601-a180e268",
"USEROUTCID=36648600") in new stack
    -- Executing [s em macro-outbound-callerid:7] Set("SIP/8601-a180e268",
"EMERGENCYCID=") in new stack
    -- Executing [s em macro-outbound-callerid:8] Set("SIP/8601-a180e268",
"TRUNKOUTCID=") in new stack
    -- Executing [s em macro-outbound-callerid:9] GotoIf("SIP/8601-a180e268",
"1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s em macro-outbound-callerid:12] ExecIf("SIP/8601-a180e268",
"0|Set|CALLERID(all)=") in new stack
    -- Executing [s em macro-outbound-callerid:13] ExecIf("SIP/8601-a180e268",
"1|Set|CALLERID(all)=36648600") in new stack
    -- Executing [s em macro-outbound-callerid:14] ExecIf("SIP/8601-a180e268",
"0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s em macro-dialout-trunk:12] ExecIf("SIP/8601-a180e268",
"0|AGI|fixlocalprefix") in new stack
    -- Executing [s em macro-dialout-trunk:13] Set("SIP/8601-a180e268",
"OUTNUM=84023545") in new stack
    -- Executing [s em macro-dialout-trunk:14] Set("SIP/8601-a180e268",
"custom=AMP") in new stack
    -- Executing [s em macro-dialout-trunk:15] ExecIf("SIP/8601-a180e268",
"0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)TtWw") in new stack
    -- Executing [s em macro-dialout-trunk:16] Macro("SIP/8601-a180e268",
"dialout-trunk-predial-hook|") in new stack
    -- Executing [s em macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/8601-a180e268", "") in new stack
    -- Executing [s em macro-dialout-trunk:17] GotoIf("SIP/8601-a180e268",
"0?bypass|1") in new stack
    -- Executing [s em macro-dialout-trunk:18] GotoIf("SIP/8601-a180e268",
"1?customtrunk") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [s em macro-dialout-trunk:21] Set("SIP/8601-a180e268",
"pre_num=AMP:khomp/B0L0/") in new stack
    -- Executing [s em macro-dialout-trunk:22] Set("SIP/8601-a180e268",
"the_num=OUTNUM") in new stack
    -- Executing [s em macro-dialout-trunk:23] Set("SIP/8601-a180e268",
"post_num=") in new stack
    -- Executing [s em macro-dialout-trunk:24] GotoIf("SIP/8601-a180e268",
"1?outnum:skipoutnum") in new stack
    -- Goto (macro-dialout-trunk,s,25)
    -- Executing [s em macro-dialout-trunk:25] Set("SIP/8601-a180e268",
"the_num=84023545") in new stack
    -- Executing [s em macro-dialout-trunk:26] Dial("SIP/8601-a180e268",
"khomp/B0L0/84023545|300|TtWw") in new stack
[2010-05-24 08:42:03] chan_khomp: WARNING: (dev=0,channel=05): Command
'CM_MAKE_CALL' has failed with error 'Time Out'.
[2010-05-24 08:42:03] chan_khomp: ERROR: something went bad while making
call
    -- Couldn't call B0L0/84023545
  == Everyone is busy/congested at this time (0:0/0/0)
    -- Executing [s em macro-dialout-trunk:27] Goto("SIP/8601-a180e268",
"s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL em macro-dialout-trunk:1]
GotoIf("SIP/8601-a180e268", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [s-CHANUNAVAIL em macro-dialout-trunk:3]
NoOp("SIP/8601-a180e268", "TRUNK Dial failed due to CHANUNAVAIL
(hangupcause: 0) - failing through to other trunks") in new stack
    -- Executing [84023545 em from-internal:5] Macro("SIP/8601-a180e268",
"outisbusy|") in new stack
    -- Executing [s em macro-outisbusy:1] Playback("SIP/8601-a180e268",
"all-circuits-busy-now|noanswer") in new stack
    -- <SIP/8601-a180e268> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s em macro-outisbusy:2] Playback("SIP/8601-a180e268",
"pls-try-call-later|noanswer") in new stack
    -- <SIP/8601-a180e268> Playing 'pls-try-call-later' (language 'en')
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on
'SIP/8601-a180e268' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 2) exited non-zero on
'SIP/8601-a180e268'
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100524/b868ebd9/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil