all circuits are busy when reach voice mail

Discussion in 'General' started by fredsi, Sep 17, 2010.

  1. fredsi

    Joined:
    Jul 12, 2010
    Messages:
    20
    Likes Received:
    0
    Hi there,

    We have an Elastix (for users) and an Astersik (gateway), an IAX TG was setup to connect each other -- only ulaw allowed. When user dialed out, the called phone rang, it was ok to talk when picked up. The problem is when called party didn't pickup the phone, the caller heard "all circuits are busy, please try again later" message when it supposed to reach voicemail. It happened the same when the called party reject the call.

    Anyone have idea which part I should check to solve this problem? Thanks a lot.

    Fred
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Paste the CLI output to see what is going on...
     
  3. andyshawn

    Joined:
    Apr 3, 2009
    Messages:
    113
    Likes Received:
    0
    Are you sure that the user that you are trying to call has voicemail enabled on his/her extension?
    Check to ensure that you don't have follow-me setup to route un-answered calls over a trunk which is inuse or not available.
     
  4. fredsi

    Joined:
    Jul 12, 2010
    Messages:
    20
    Likes Received:
    0
    thank you for the replys.

    first of all, i have made sure my cell has voicemail, and if i dialed from a regular phone, it can reach the voicemail no problem -- no answer or reject the call, both work.

    here is output from the gateway server:

    -- Accepting AUTHENTICATED call from 10.15.1.22:
    > requested format = ulaw,
    > requested prefs = (ulaw),
    > actual format = ulaw,
    > host prefs = (ulaw),
    > priority = mine
    -- Executing [1626xxxxxxx@ecn:1] Dial("IAX2/owbib-2877", "Zap/r0/1626xxxxxxx|300|") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called r0/1626xxxxxxx
    -- Zap/43-1 is proceeding passing it to IAX2/owbib-2877
    -- Zap/43-1 is ringing
    -- Channel 0/12, span 2 got hangup request, cause 111
    -- Hungup 'Zap/43-1'
    == Everyone is busy/congested at this time (1:0/0/1)
    == Auto fallthrough, channel 'IAX2/owbib-2877' status is 'CHANUNAVAIL'
    -- Hungup 'IAX2/owbib-2877'

    what is the cause 111 means? i believe the problem is on this gateway server.
    here is the output from the elastix:

    -- Executing [xxxxxxx@testing-calls:1] Macro("SIP/4202-ac11a4c0", "user-callerid|SKIPTTL|") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/4202-ac11a4c0", "AMPUSER=4202") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/4202-ac11a4c0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/4202-ac11a4c0", "1|Set|REALCALLERIDNUM=4202") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/4202-ac11a4c0", "AMPUSER=4202") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/4202-ac11a4c0", "AMPUSERCIDNAME=4202") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/4202-ac11a4c0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/4202-ac11a4c0", "AMPUSERCID=3361") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/4202-ac11a4c0", "CALLERID(all)="4202" <3361>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/4202-ac11a4c0", "0|Set|CHANNEL(language)=") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/4202-ac11a4c0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/4202-ac11a4c0", "Using CallerID "4202" <3361>") in new stack
    -- Executing [xxxxxxx@testing-calls:2] NoOp("SIP/4202-ac11a4c0", "Calling Out Route: Domestic") in new stack
    -- Executing [xxxxxxx@testing-calls:3] Set("SIP/4202-ac11a4c0", "MOHCLASS=default") in new stack
    -- Executing [xxxxxxx@testing-calls:4] Set("SIP/4202-ac11a4c0", "_NODEST=") in new stack
    -- Executing [xxxxxxx@testing-calls:5] Macro("SIP/4202-ac11a4c0", "record-enable|4202|OUT|") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/4202-ac11a4c0", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/4202-ac11a4c0", "0|MacroExit|") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/4202-ac11a4c0", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/4202-ac11a4c0", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/4202-ac11a4c0", "1|MacroExit|") in new stack
    -- Executing [xxxxxxx@testing-calls:6] Macro("SIP/4202-ac11a4c0", "dialout-trunk|8|xxxxxxx|") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/4202-ac11a4c0", "DIAL_TRUNK=8") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/4202-ac11a4c0", "0?sub-pincheck|s|1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/4202-ac11a4c0", "0?disabletrunk|1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/4202-ac11a4c0", "DIAL_NUMBER=xxxxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/4202-ac11a4c0", "DIAL_TRUNK_OPTIONS=Wwtr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/4202-ac11a4c0", "OUTBOUND_GROUP=OUT_8") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/4202-ac11a4c0", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/4202-ac11a4c0", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/4202-ac11a4c0", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/4202-ac11a4c0", "outbound-callerid|8") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/4202-ac11a4c0", "0|SetCallerPres|") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/4202-ac11a4c0", "0|Set|REALCALLERIDNUM=3361") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/4202-ac11a4c0", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/4202-ac11a4c0", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/4202-ac11a4c0", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/4202-ac11a4c0", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/4202-ac11a4c0", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/4202-ac11a4c0", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/4202-ac11a4c0", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/4202-ac11a4c0", "0|Set|CALLERID(all)=") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/4202-ac11a4c0", "0|SetCallerPres|prohib_passed_screen") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/4202-ac11a4c0", "1?sub-flp-8|s|1") in new stack
    -- Executing [s@sub-flp-8:1] ExecIf("SIP/4202-ac11a4c0", "0|Set|TARGET_FLP48=1xxxxxxx") in new stack
    -- Executing [s@sub-flp-8:2] GotoIf("SIP/4202-ac11a4c0", "0?match") in new stack
    -- Executing [s@sub-flp-8:3] ExecIf("SIP/4202-ac11a4c0", "1|Set|TARGET_FLP48=1626xxxxxxx") in new stack
    -- Executing [s@sub-flp-8:4] GotoIf("SIP/4202-ac11a4c0", "1?match") in new stack
    -- Goto (sub-flp-8,s,6)
    -- Executing [s@sub-flp-8:6] Set("SIP/4202-ac11a4c0", "DIAL_NUMBER=1626xxxxxxx") in new stack
    -- Executing [s@sub-flp-8:7] Return("SIP/4202-ac11a4c0", "") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/4202-ac11a4c0", "OUTNUM=1626xxxxxxx") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/4202-ac11a4c0", "custom=IAX2/owbib") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/4202-ac11a4c0", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^default)") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/4202-ac11a4c0", "dialout-trunk-predial-hook|") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/4202-ac11a4c0", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/4202-ac11a4c0", "0?bypass|1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/4202-ac11a4c0", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/4202-ac11a4c0", "IAX2/owbib/1626xxxxxxx|300|") in new stack
    -- Called owbib/1626xxxxxxx
    -- Call accepted by 192.168.11.22 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/owbib-16384 is proceeding passing it to SIP/4202-ac11a4c0
    -- IAX2/owbib-16384 is ringing
    -- IAX2/owbib-16384 stopped sounds
    -- IAX2/owbib-16384 is circuit-busy
    -- Hungup 'IAX2/owbib-16384'
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/4202-ac11a4c0", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/4202-ac11a4c0", "s-CONGESTION|1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/4202-ac11a4c0", "RC=34") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/4202-ac11a4c0", "34|1") in new stack
    -- Goto (macro-dialout-trunk,34,1)
    -- Executing [34@macro-dialout-trunk:1] Goto("SIP/4202-ac11a4c0", "continue|1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/4202-ac11a4c0", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/4202-ac11a4c0", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/4202-ac11a4c0", "CALLERID(number)=4202") in new stack
    -- Executing [xxxxxxx@testing-calls:7] Macro("SIP/4202-ac11a4c0", "outisbusy|") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/4202-ac11a4c0", "") in new stack
    -- Executing [s@macro-outisbusy:2] Playback("SIP/4202-ac11a4c0", "all-circuits-busy-now|noanswer") in new stack
    -- <SIP/4202-ac11a4c0> Playing 'all-circuits-busy-now' (language 'en')
    -- Executing [s@macro-outisbusy:3] Playback("SIP/4202-ac11a4c0", "pls-try-call-later|noanswer") in new stack
    -- <SIP/4202-ac11a4c0> Playing 'pls-try-call-later' (language 'en')
    -- Executing [s@macro-outisbusy:4] Macro("SIP/4202-ac11a4c0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/4202-ac11a4c0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/4202-ac11a4c0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/4202-ac11a4c0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/4202-ac11a4c0", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/4202-ac11a4c0' in macro 'hangupcall'
    == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/4202-ac11a4c0' in macro 'outisbusy'
    == Spawn extension (testing-calls, xxxxxxx, 7) exited non-zero on 'SIP/4202-ac11a4c0'
    -- Executing [h@testing-calls:1] Macro("SIP/4202-ac11a4c0", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/4202-ac11a4c0", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/4202-ac11a4c0", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/4202-ac11a4c0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/4202-ac11a4c0", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/4202-ac11a4c0' in macro 'hangupcall'
    == Spawn extension (testing-calls, s, 1) exited non-zero on 'SIP/4202-ac11a4c0'

    again, thanks for any help.

    Fred
     
  5. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    hmmm... that is odd, try setting the context to from-internal for SIP/4202
    If you have the same issue, paste the CLI output
     
  6. fredsi

    Joined:
    Jul 12, 2010
    Messages:
    20
    Likes Received:
    0
    thank you jgutierrez, you got the point.

    i'm using custom contexts, when i change 4202 to ALLOW ALL(default), it works. here is the CLI after the call been forwarded:

    -- Called owbib/1626xxxxxxx
    -- Call accepted by 192.168.11.22 (format ulaw)
    -- Format for call is ulaw
    -- IAX2/owbib-16384 is proceeding passing it to SIP/4202-c802bb20
    -- IAX2/owbib-16384 is ringing
    -- IAX2/owbib-16384 stopped sounds
    -- IAX2/owbib-16384 answered SIP/4202-c802bb20
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/4202-c802bb20", "hangupcall|") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/4202-c802bb20", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/4202-c802bb20", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/4202-c802bb20", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("SIP/4202-c802bb20", "") in new stack
    == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/4202-c802bb20' in macro 'hangupcall'
    == Spawn h extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/4202-c802bb20'
    -- Hungup 'IAX2/owbib-16384'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/4202-c802bb20' in macro 'dialout-trunk'

    i guess i need to check the custom contexts. any suggestion which part i should check first? thanks again.

    fred
     
  7. fredsi

    Joined:
    Jul 12, 2010
    Messages:
    20
    Likes Received:
    0
    sorry my mistake.

    it might not be the context issue. i just find out that it works sometimes regardless what context the extension is. so weird.
     
  8. fredsi

    Joined:
    Jul 12, 2010
    Messages:
    20
    Likes Received:
    0
    anyone have more suggestions?
     

Share This Page