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