[asterisk-users] Dial failed due to trunk reporting BUSY - giving up

Muhammad mohammad.ghazavi at gmail.com
Sat Feb 16 23:27:59 CST 2013


*Here is more debug information in busy dial out from CLI:

xxxxxxx is my target number
147 is my internal extension
*******************************************************
 -- Executing [**xxxxxxx at from-internal:2] NoOp("SIP/147-00002fb7", "Calling
Out Rout                                                       e:
9_outside") in new stack
    -- Executing [**xxxxxxx**@from-internal:3] Set("SIP/147-00002fb7",
"MOHCLASS=default"                                                       )
in new stack
    -- Executing [**xxxxxxx**@from-internal:4] Set("SIP/147-00002fb7",
"_NODEST=") in new
stack
    -- Executing [**xxxxxxx**@from-internal:5] Macro("SIP/147-00002fb7",
"record-enable,,
OUT,") in new stack
    -- Executing [s at macro-record-enable:1] GotoIf("SIP/147-00002fb7",
"1?check") in new st
ack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s at macro-record-enable:4] ExecIf("SIP/147-00002fb7",
"1?MacroExit()") in
new stack
    -- Executing [**xxxxxxx**@from-internal:6] Macro("SIP/147-00002fb7",
"dialout-trunk,2                                                       ,**
xxxxxxx**,") in new stack
    -- Executing [s at macro-dialout-trunk:1] Set("SIP/147-00002fb7",
"DIAL_TRUNK=2") in
new                                                        stack
    -- Executing [s at macro-dialout-trunk:2] GosubIf("SIP/147-00002fb7",
"0?sub-pincheck,s,1
") in new stack
    -- Executing [s at macro-dialout-trunk:3] GotoIf("SIP/147-00002fb7",
"0?disabletrunk,1")
in new stack
    -- Executing [s at macro-dialout-trunk:4] Set("SIP/147-00002fb7",
"DIAL_NUMBER=**xxxxxxx**
4") in new stack
    -- Executing [s at macro-dialout-trunk:5] Set("SIP/147-00002fb7",
"DIAL_TRUNK_OPTIONS=tr"
) in new stack
    -- Executing [s at macro-dialout-trunk:6] Set("SIP/147-00002fb7",
"OUTBOUND_GROUP=OUT_2")
in new stack
    -- Executing [s at macro-dialout-trunk:7] GotoIf("SIP/147-00002fb7",
"0?nomax") in new st
ack
    -- Executing [s at macro-dialout-trunk:8] GotoIf("SIP/147-00002fb7",
"0?chanfull") in new
stack
    -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/147-00002fb7",
"0?skipoutcid") in n
ew stack
    -- Executing [s at macro-dialout-trunk:10] Set("SIP/147-00002fb7",
"DIAL_TRUNK_OPTIONS=")
in new stack
    -- Executing [s at macro-dialout-trunk:11] Macro("SIP/147-00002fb7",
"outbound-callerid,2
") in new stack
    -- Executing [s at macro-outbound-callerid:1] ExecIf("SIP/147-00002fb7",
"0?Set(CALLERPRE
S()=)") in new stack
    -- Executing [s at macro-outbound-callerid:2] ExecIf("SIP/147-00002fb7",
"1?Set(REALCALLE
RIDNUM=**xxxxxxx**)") in new stack
    -- Executing [s at macro-outbound-callerid:3] GotoIf("SIP/147-00002fb7",
"1?normcid") in                                                        new
stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s at macro-outbound-callerid:6] Set("SIP/147-00002fb7",
"USEROUTCID=") in n
ew stack
    -- Executing [s at macro-outbound-callerid:7] Set("SIP/147-00002fb7",
"EMERGENCYCID=") in
new stack
    -- Executing [s at macro-outbound-callerid:8] Set("SIP/147-00002fb7",
"TRUNKOUTCID=") in
new stack
    -- Executing [s at macro-outbound-callerid:9] GotoIf("SIP/147-00002fb7",
"1?trunkcid") in                                                        new
stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s at macro-outbound-callerid:12] ExecIf("SIP/147-00002fb7",
"0?Set(CALLERID
(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:13] ExecIf("SIP/147-00002fb7",
"0?Set(CALLERID
(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:14] ExecIf("SIP/147-00002fb7",
"0?Set(CALLERID
(all)=)") in new stack
    -- Executing [s at macro-outbound-callerid:15] ExecIf("SIP/147-00002fb7",
"0?Set(CALLERPR
ES()=prohib_passed_screen)") in new stack
    -- Executing [s at macro-dialout-trunk:12] GosubIf("SIP/147-00002fb7",
"0?sub-flp-2,s,1")
in new stack
    -- Executing [s at macro-dialout-trunk:13] Set("SIP/147-00002fb7", "OUTNUM=
**xxxxxxx**")                                                        in new
stack
    -- Executing [s at macro-dialout-trunk:14] Set("SIP/147-00002fb7",
"custom=SIP/GSM-DWG")
in new stack
    -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/147-00002fb7",
"0?Set(DIAL_TRUNK_O
PTIONS=M(setmusic^default))") in new stack
    -- Executing [s at macro-dialout-trunk:16] Macro("SIP/147-00002fb7",
"dialout-trunk-predi
al-hook,") in new stack
    -- Executing [s at macro-dialout-trunk-predial-hook:1]
MacroExit("SIP/147-00002fb7",
"")                                                        in new stack
    -- Executing [s at macro-dialout-trunk:17] GotoIf("SIP/147-00002fb7",
"0?bypass,1") in ne                                                       w
stack
    -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/147-00002fb7",
"0?customtrunk") in
new stack
    -- Executing [s at macro-dialout-trunk:19] Dial("SIP/147-00002fb7",
"SIP/GSM-DWG/**xxxxxxx**,300,") in new stack
 == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/GSM-DWG/*
*xxxxxxx**    -- Got SIP response 486 "Busy Here" back from 172.20.2.4:5060
    -- SIP/GSM-DWG-00002fb8 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [s at macro-dialout-trunk:20] NoOp("SIP/147-00002fb7", "Dial
failed for some
reason with DIALSTATUS = BUSY and HANGUPCAUSE = 17") in new stack
    -- Executing [s at macro-dialout-trunk:21] Goto("SIP/147-00002fb7",
"s-BUSY,1") in new st
ack
    -- Goto (macro-dialout-trunk,s-BUSY,1)
    -- Executing [s-BUSY at macro-dialout-trunk:1] NoOp("SIP/147-00002fb7",
"Dial failed due                                                        to
trunk reporting BUSY - giving up") in new stack
    -- Executing [s-BUSY at macro-dialout-trunk:2]
PlayTones("SIP/147-00002fb7", "busy") in
n                                                       ew stack
    -- Executing [s-BUSY at macro-dialout-trunk:3] Busy("SIP/147-00002fb7",
"20") in new stac                                                       k
  == Spawn extension (macro-dialout-trunk, s-BUSY, 3) exited non-zero on
'SIP/147-00002fb7                                                       '
in macro 'dialout-trunk'
  == Spawn extension (from-internal, **xxxxxxx**, 6) exited non-zero on
'SIP/147-00002fb7                                                       '
    -- Executing [h at from-internal:1] Macro("SIP/147-00002fb7",
"hangupcall") in new stack
    -- Executing [s at macro-hangupcall:1] GotoIf("SIP/147-00002fb7",
"1?endmixmoncheck")
in                                                        new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s at macro-hangupcall:9] NoOp("SIP/147-00002fb7", "End of
MIXMON check") in
new stack
    -- Executing [s at macro-hangupcall:10] GotoIf("SIP/147-00002fb7",
"1?nomeetmemon") in
ne                                                       w stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s at macro-hangupcall:15] NoOp("SIP/147-00002fb7",
"MEETME_RECORDINGFILE=")
in new stack
    -- Executing [s at macro-hangupcall:16] GotoIf("SIP/147-00002fb7",
"1?noautomon") in
new                                                        stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s at macro-hangupcall:18] NoOp("SIP/147-00002fb7",
"TOUCH_MONITOR_OUTPUT=")
in new stack
    -- Executing [s at macro-hangupcall:19] GotoIf("SIP/147-00002fb7",
"1?noautomon2") in
new                                                        stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s at macro-hangupcall:25] NoOp("SIP/147-00002fb7",
"MONITOR_FILENAME=")
in                                                        new stack
    -- Executing [s at macro-hangupcall:26] GotoIf("SIP/147-00002fb7",
"1?skiprg") in new
sta                                                       ck
    -- Goto (macro-hangupcall,s,29)
    -- Executing [s at macro-hangupcall:29] GotoIf("SIP/147-00002fb7",
"1?skipblkvm") in
new                                                        stack
    -- Goto (macro-hangupcall,s,32)
    -- Executing [s at macro-hangupcall:32] GotoIf("SIP/147-00002fb7",
"1?theend") in new
sta                                                       ck
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s at macro-hangupcall:34] Hangup("SIP/147-00002fb7", "") in
new stack
  == Spawn extension (macro-hangupcall, s, 34) exited non-zero on
'SIP/147-00002fb7' in
ma                                                       cro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on
'SIP/147-00002fb7'

*******************************************************
*
On Sun, Feb 17, 2013 at 12:35 AM, Christopher Harrington <chris at acsdi.com>wrote:

>
>
> On Saturday, February 16, 2013, Muhammad wrote:
>
>> Hi
>> this message give me when I calling a number than actually not busy:
>> "Dial failed due to trunk reporting BUSY - giving up"
>>
>> max channel is unlimited and sometimes it dial number ok but most of the
>> time it gives me this error.
>>
>> Please inform me how can solve this problem.
>>
>>
>> thanks
>>
>
> Version, hardware, configuration... we can't read your mind.
>
>
> --
> -Chris Harrington
> ACSDi Office: 763.559.5800
> Mobile Phone: 612.326.4248
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130217/207080c3/attachment.htm>


More information about the asterisk-users mailing list