+ Responder ao Tópico



  1. #1
    Avatar de awmoreira
    Ingresso
    Aug 2013
    Localização
    Angra dos Reis, Rio de Janeiro, Brazil, Brazil
    Posts
    3

    Padrão URGENTE Asterisk + FREEPBX - Não consigo receber e fazer as chamadas via troco PSTN

    Segue log: (só informa ocupado)

    Será que é problema físico, pois antes funcionava perfeitamente.

    -- Executing [[email protected]:1] Macro("SIP/6600-00000003", "user-callerid,LIMIT,") in new stack
    -- Executing [[email protected]:1] Set("SIP/6600-00000003", "AMPUSER=6600") in new stack
    -- Executing [[email protected]:2] GotoIf("SIP/6600-00000003", "0?report") in new stack
    -- Executing [[email protected]:3] ExecIf("SIP/6600-00000003", "1?Set(REALCALLERIDNUM=6600)") in new stack
    -- Executing [[email protected]:4] Set("SIP/6600-00000003", "AMPUSER=6600") in new stack
    -- Executing [[email protected]:5] Set("SIP/6600-00000003", "AMPUSERCIDNAME=Allan") in new stack
    -- Executing [[email protected]:6] GotoIf("SIP/6600-00000003", "0?report") in new stack
    -- Executing [[email protected]:7] Set("SIP/6600-00000003", "AMPUSERCID=6600") in new stack
    -- Executing [[email protected]:8] Set("SIP/6600-00000003", "CALLERID(all)="Allan" <6600>") in new stack
    -- Executing [[email protected]:9] GotoIf("SIP/6600-00000003", "0?limit") in new stack
    -- Executing [[email protected]:10] ExecIf("SIP/6600-00000003", "1?Set(GROUP(concurrency_limit)=6600)") in new stack
    -- Executing [[email protected]:11] GotoIf("SIP/6600-00000003", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,24)
    -- Executing [[email protected]:24] Set("SIP/6600-00000003", "CALLERID(number)=6600") in new stack
    -- Executing [[email protected]:25] Set("SIP/6600-00000003", "CALLERID(name)=Allan") in new stack
    -- Executing [[email protected]:26] Set("SIP/6600-00000003", "CHANNEL(language)=pt_BR") in new stack
    -- Executing [[email protected]:2] Set("SIP/6600-00000003", "MOHCLASS=default") in new stack
    -- Executing [[email protected]:3] Set("SIP/6600-00000003", "_NODEST=") in new stack
    -- Executing [[email protected]:4] Gosub("SIP/6600-00000003", "sub-record-check,s,1(out,00122499960215,)") in new stack
    -- Executing [[email protected]:1] GotoIf("SIP/6600-00000003", "1?check") in new stack
    -- Goto (sub-record-check,s,3)
    -- Executing [[email protected]:3] Set("SIP/6600-00000003", "MON_FMT=wav") in new stack
    -- Executing [[email protected]:4] GotoIf("SIP/6600-00000003", "1?next") in new stack
    -- Goto (sub-record-check,s,7)
    -- Executing [[email protected]:7] ExecIf("SIP/6600-00000003", "0?Return()") in new stack
    -- Executing [[email protected]:8] GotoIf("SIP/6600-00000003", "0?out,1") in new stack
    -- Executing [[email protected]:9] Set("SIP/6600-00000003", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [[email protected]:10] ExecIf("SIP/6600-00000003", "0?Set(__REC_POLICY_MODE=)") in new stack
    -- Executing [[email protected]:11] Set("SIP/6600-00000003", "NOW=1382472969") in new stack
    -- Executing [[email protected]:12] Set("SIP/6600-00000003", "__DAY=22") in new stack
    -- Executing [[email protected]:13] Set("SIP/6600-00000003", "__MONTH=10") in new stack
    -- Executing [[email protected]:14] Set("SIP/6600-00000003", "__YEAR=2013") in new stack
    -- Executing [[email protected]:15] Set("SIP/6600-00000003", "__TIMESTR=20131022-181609") in new stack
    -- Executing [[email protected]:16] Set("SIP/6600-00000003", "__FROMEXTEN=6600") in new stack
    -- Executing [[email protected]:17] Set("SIP/6600-00000003", "__CALLFILENAME=out-00122499960215-6600-20131022-181609-1382472969.3") in new stack
    -- Executing [[email protected]:18] Goto("SIP/6600-00000003", "out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [[email protected]:1] ExecIf("SIP/6600-00000003", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
    -- Executing [[email protected]:2] GosubIf("SIP/6600-00000003", "0?record,1(exten,00122499960215,6600)") in new stack
    -- Executing [[email protected]:3] Return("SIP/6600-00000003", "") in new stack
    -- Executing [[email protected]:5] Macro("SIP/6600-00000003", "dialout-trunk,1,0122499960215,") in new stack
    -- Executing [[email protected]:1] Set("SIP/6600-00000003", "DIAL_TRUNK=1") in new stack
    -- Executing [[email protected]:2] GosubIf("SIP/6600-00000003", "0?sub-pincheck,s,1()") in new stack
    -- Executing [[email protected]:3] GotoIf("SIP/6600-00000003", "0?disabletrunk,1") in new stack
    -- Executing [[email protected]:4] Set("SIP/6600-00000003", "DIAL_NUMBER=0122499960215") in new stack
    -- Executing [[email protected]:5] Set("SIP/6600-00000003", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [[email protected]:6] Set("SIP/6600-00000003", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [[email protected]:7] GotoIf("SIP/6600-00000003", "0?nomax") in new stack
    -- Executing [[email protected]:8] GotoIf("SIP/6600-00000003", "0?chanfull") in new stack
    -- Executing [[email protected]:9] GotoIf("SIP/6600-00000003", "0?skipoutcid") in new stack
    -- Executing [[email protected]:10] Set("SIP/6600-00000003", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [[email protected]:11] Macro("SIP/6600-00000003", "outbound-callerid,1") in new stack
    -- Executing [[email protected]:1] ExecIf("SIP/6600-00000003", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [[email protected]:2] ExecIf("SIP/6600-00000003", "0?Set(REALCALLERIDNUM=6600)") in new stack
    -- Executing [[email protected]:3] GotoIf("SIP/6600-00000003", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [[email protected]:6] Set("SIP/6600-00000003", "USEROUTCID=") in new stack
    -- Executing [[email protected]:7] Set("SIP/6600-00000003", "EMERGENCYCID=") in new stack
    -- Executing [[email protected]:8] Set("SIP/6600-00000003", "TRUNKOUTCID=") in new stack
    -- Executing [[email protected]:9] GotoIf("SIP/6600-00000003", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [[email protected]:12] ExecIf("SIP/6600-00000003", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:13] ExecIf("SIP/6600-00000003", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:14] ExecIf("SIP/6600-00000003", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:15] ExecIf("SIP/6600-00000003", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:12] GosubIf("SIP/6600-00000003", "0?sub-flp-1,s,1()") in new stack
    -- Executing [[email protected]:13] Set("SIP/6600-00000003", "OUTNUM=0122499960215") in new stack
    -- Executing [[email protected]:14] Set("SIP/6600-00000003", "custom=DAHDI/1") in new stack
    -- Executing [[email protected]:15] ExecIf("SIP/6600-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [[email protected]:16] ExecIf("SIP/6600-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
    -- Executing [[email protected]:17] Macro("SIP/6600-00000003", "dialout-trunk-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("SIP/6600-00000003", "") in new stack
    -- Executing [[email protected]:18] GotoIf("SIP/6600-00000003", "0?bypass,1") in new stack
    -- Executing [[email protected]:19] ExecIf("SIP/6600-00000003", "1?Set(CONNECTEDLINE(num,i)=0122499960215)") in new stack
    -- Executing [[email protected]:20] ExecIf("SIP/6600-00000003", "1?Set(CONNECTEDLINE(name,i)=CID:6600)") in new stack
    -- Executing [[email protected]:21] GotoIf("SIP/6600-00000003", "0?customtrunk") in new stack
    -- Executing [[email protected]:22] Dial("SIP/6600-00000003", "DAHDI/1/0122499960215,300,") in new stack
    == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [[email protected]:23] NoOp("SIP/6600-00000003", "Dial failed for some reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
    -- Executing [[email protected]:24] Goto("SIP/6600-00000003", "s-BUSY,1") in new stack
    -- Goto (macro-dialout-trunk,s-BUSY,1)
    -- Executing [[email protected]:1] NoOp("SIP/6600-00000003", "Dial failed due to trunk reporting BUSY - giving up") in new stack
    -- Executing [[email protected]:2] PlayTones("SIP/6600-00000003", "busy") in new stack
    -- Executing [[email protected]:3] Busy("SIP/6600-00000003", "20") in new stack
    == Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on 'SIP/6600-00000003' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 00122499960215, 5) exited non-zero on 'SIP/6600-00000003'
    -- Executing [[email protected]:1] Hangup("SIP/6600-00000003", "") in new stack
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6600-00000003'

    Aguardo.
    Última edição por awmoreira; 24-10-2013 às 08:17.