ALL CIRCUITS ARE BUSY NOW, PLEASE TRY TO CALL ...

Discussion in 'General' started by TAS, Jun 4, 2010.

  1. TAS

    TAS

    Joined:
    Jun 4, 2010
    Messages:
    3
    Likes Received:
    0
    Buenas tardes, amigos.
    Estoy configurando una cuenta de cliente SIP en Elastix usando lo siguiente:

    El nombre de la trunk SIP es defecto

    Peer Details:
    type=peer
    username=2XXXXXXXX1
    secret=2XXXXXXXX1
    dtmfmode=rfc2833
    canreinvite=no&no
    insecure=very
    host=sip.MICANAL.com
    disallow=all
    allow=ulaw&alaw&g723&g729&gsm
    canredirect=no


    User details:
    type=user
    context=from-trunk
    username=2XXXXXXXX1
    secret=2XXXXXXXX0
    fromuser=2XXXXXXXX1
    disallow=all
    allow=ulaw&alaw&g723&g729&gsm
    canreinvite=no
    qualify=no

    Outbound route:
    9|.

    Trunk Sequence: SIP



    Inbound route:
    Set destination extension 1001


    Y el error que me da, tanto de llamadas entrantes como salientes es "ALL CIRCUITS ARE BUSY NOW, PLEASE TRY TO CALL AGAIN LATER".
    Ya tengo un buen rato intentando ver que sucede y sinceramente, me estoy desesperando. Podrian por favor ayudarme?

    Aqui esta el debug de asterisk:
    [root@elastix ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.4.26.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': Found
    == Parsing '/etc/asterisk/extconfig.conf': Found
    Connected to Asterisk 1.4.26.1 currently running on elastix (pid = 4006)
    Verbosity was 41 and is now 46
    -- Executing [912312312@from-internal:1] Macro("SIP/1004-b7c12640", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/1004-b7c12640", "AMPUSER=1004") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/1004-b7c12640", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/1004-b7c12640", "1|Set|REALCALLERIDNUM=1004") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/1004-b7c12640", "AMPUSER=1004") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/1004-b7c12640", "AMPUSERCIDNAME=Prueba CANTV 4") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1004-b7c12640", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/1004-b7c12640", "AMPUSERCID=1004") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/1004-b7c12640", "CALLERID(all)="Prueba CANTV 4" <1004>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/1004-b7c12640", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/1004-b7c12640", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/1004-b7c12640", "Using CallerID "Prueba CANTV 4" <1004>") in new stack
    -- Executing [912312312@from-internal:2] Set("SIP/1004-b7c12640", "_NODEST=") in new stack
    -- Executing [912312312@from-internal:3] Macro("SIP/1004-b7c12640", "record-enable|1004|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/1004-b7c12640", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/1004-b7c12640", "recordingcheck|20100604-140115|1275678075.51") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20100604-140115|1275678075.51: Outbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] MacroExit("SIP/1004-b7c12640", "") in new stack
    -- Executing [912312312@from-internal:4] Macro("SIP/1004-b7c12640", "dialout-trunk|2|12312312||") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/1004-b7c12640", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/1004-b7c12640", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1004-b7c12640", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/1004-b7c12640", "DIAL_NUMBER=12312312") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/1004-b7c12640", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/1004-b7c12640", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1004-b7c12640", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1004-b7c12640", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/1004-b7c12640", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/1004-b7c12640", "outbound-callerid|2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1004-b7c12640", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/1004-b7c12640", "0|Set|REALCALLERIDNUM=1004") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/1004-b7c12640", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/1004-b7c12640", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/1004-b7c12640", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/1004-b7c12640", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/1004-b7c12640", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/1004-b7c12640", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/1004-b7c12640", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/1004-b7c12640", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/1004-b7c12640", "1|AGI|fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1004-b7c12640", "OUTNUM=12312312") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1004-b7c12640", "custom=SIP/defecto") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1004-b7c12640", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/1004-b7c12640", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1004-b7c12640", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1004-b7c12640", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1004-b7c12640", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/1004-b7c12640", "SIP/defecto/12312312|300|") in new stack
    -- Called defecto/12312312
    -- SIP/defecto-0894af68 is circuit-busy
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] Goto("SIP/1004-b7c12640", "s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf("SIP/1004-b7c12640", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,3)
    -- Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp("SIP/1004-b7c12640", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack
    -- Executing [912312312@from-internal:5] Macro("SIP/1004-b7c12640", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Playback("SIP/1004-b7c12640", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/1004-b7c12640> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:2] Playback("SIP/1004-b7c12640", "pls-try-call-later|noanswer") in new stack
    -- <SIP/1004-b7c12640> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:3] Macro("SIP/1004-b7c12640", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1004-b7c12640", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1004-b7c12640", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1004-b7c12640", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1004-b7c12640", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1004-b7c12640' in macro 'hangupcall'
    == Spawn extension (macro-outisbusy, s, 3) exited non-zero on 'SIP/1004-b7c12640' in macro 'outisbusy'
    == Spawn extension (from-internal, 912312312, 5) exited non-zero on 'SIP/1004-b7c12640'
    -- Executing [h@from-internal:1] Macro("SIP/1004-b7c12640", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1004-b7c12640", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/1004-b7c12640", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/1004-b7c12640", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/1004-b7c12640", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/1004-b7c12640' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1004-b7c12640'
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    dialing:-

    12312312

    on your trunk:-

    defecto

    is not working, check your trunk provisioning, the "dial patterns" in your "outbound routes" and "dial rules" in the trunk settings.

    dicko
     
  3. TAS

    TAS

    Joined:
    Jun 4, 2010
    Messages:
    3
    Likes Received:
    0
    Could you please indicate me what outbound route and dial pattern in the trunk could i use to take all the calls through the SIP/defecto? I read Elastix without tears and i configured 9|. as an outbound route and ZXXXXXXXXXXX in the trunk dial pattern.

    All i would like to try es to call an 11 digits phone number to go out through that trunk dialing the prefix 9.

    I would apretiate any help.
     
  4. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    I suggest you start with

    9|ZXXXXXXXXXXX

    in your outbound route and send it to the sip/defecto trunk, nothing in the trunk dial rule, and make sure your phone hardware is not over-riding these rules in any internal dial-plan. If that doesn't work make sure you have your trunk provisioning correct as to authorization. Use sip debug at the asterisk CLI.

    dicko
     

Share This Page