Busy circuits- no outbound

 

Hi, im new around, i have a big problem. ive working on this for a week now, and could not hit the answer.

This is my situation. I ve a VSP which need my public ip to let me make the calls. So far everything its ok. My freepbx is in my side of the router. I ve managed to config the pbx fine with a voip provider called STUNT (but its WAY TO SLOW) so ive contracted this new vsp im talkin about.

 

The problem is that i cant make outbound calls, and cant find WHY, dont know exactly which part of the code is the one i ve to read in order to reach the problem (i dont know if the pbx is reaching my provider and they re rejecting my call)

 

Any one can give me a hand, i d really appreciate it.

 

Here is the call log.

 

<code>

Verbosity is at least 3

  == Using SIP RTP TOS bits 184

  == Using SIP RTP CoS mark 5

    -- Executing [541147945645@from-internal:1] Macro("SIP/100-00000002", "user-

callerid,SKIPTTL,") in new stack

    -- Executing [s@macro-user-callerid:1] Set("SIP/100-00000002", "AMPUSER=100"

) in new stack

    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/100-00000002", "0?report"

) in new stack

    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/100-00000002", "1?Set(REA

LCALLERIDNUM=100)") in new stack

    -- Executing [s@macro-user-callerid:4] Set("SIP/100-00000002", "AMPUSER=100"

) in new stack

    -- Executing [s@macro-user-callerid:5] Set("SIP/100-00000002", "AMPUSERCIDNA

ME=A1") in new stack

    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/100-00000002", "0?report"

) in new stack

    -- Executing [s@macro-user-callerid:7] Set("SIP/100-00000002", "AMPUSERCID=1

00") in new stack

    -- Executing [s@macro-user-callerid:8] Set("SIP/100-00000002", "CALLERID(all

)="A1" <100>") in new stack

    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/100-00000002", "0?Set(CHA

NNEL(language)=)") in new stack

    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/100-00000002", "1?contin

ue") in new stack

    -- Goto (macro-user-callerid,s,19)

    -- Executing [s@macro-user-callerid:19] Set("SIP/100-00000002", "CALLERID(nu

mber)=100") in new stack

    -- Executing [s@macro-user-callerid:20] Set("SIP/100-00000002", "CALLERID(na

me)=A1") in new stack

    -- Executing [s@macro-user-callerid:21] NoOp("SIP/100-00000002", "Using Call

erID "A1" <100>") in new stack

    -- Executing [541147945645@from-internal:2] NoOp("SIP/100-00000002", "Callin

g Out Route: todos") in new stack

    -- Executing [541147945645@from-internal:3] Set("SIP/100-00000002", "MOHCLAS

S=default") in new stack

    -- Executing [541147945645@from-internal:4] Set("SIP/100-00000002", "_NODEST

=") in new stack

    -- Executing [541147945645@from-internal:5] Macro("SIP/100-00000002", "recor

d-enable,100,OUT,") in new stack

    -- Executing [s@macro-record-enable:1] GotoIf("SIP/100-00000002", "1?check")

 in new stack

    -- Goto (macro-record-enable,s,4)

    -- Executing [s@macro-record-enable:4] ExecIf("SIP/100-00000002", "0?MacroEx

it()") in new stack

    -- Executing [s@macro-record-enable:5] GotoIf("SIP/100-00000002", "0?Group:O

UT") in new stack

    -- Goto (macro-record-enable,s,15)

    -- Executing [s@macro-record-enable:15] GotoIf("SIP/100-00000002", "0?IN") i

n new stack

    -- Executing [s@macro-record-enable:16] ExecIf("SIP/100-00000002", "1?MacroE

xit()") in new stack

    -- Executing [541147945645@from-internal:6] Macro("SIP/100-00000002", "dialo

ut-trunk,3,541147945645,") in new stack

    -- Executing [s@macro-dialout-trunk:1] Set("SIP/100-00000002", "DIAL_TRUNK=3

") in new stack

    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/100-00000002", "0?sub-pi

ncheck,s,1") in new stack

    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/100-00000002", "0?disable

trunk,1") in new stack

    -- Executing [s@macro-dialout-trunk:4] Set("SIP/100-00000002", "DIAL_NUMBER=

541147945645") in new stack

    -- Executing [s@macro-dialout-trunk:5] Set("SIP/100-00000002", "DIAL_TRUNK_O

PTIONS=tr") in new stack

    -- Executing [s@macro-dialout-trunk:6] Set("SIP/100-00000002", "OUTBOUND_GRO

UP=OUT_3") in new stack

    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/100-00000002", "1?nomax")

 in new stack

    -- Goto (macro-dialout-trunk,s,9)

    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/100-00000002", "0?skipout

cid") in new stack

    -- Executing [s@macro-dialout-trunk:10] Set("SIP/100-00000002", "DIAL_TRUNK_

OPTIONS=") in new stack

    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/100-00000002", "outbound-

callerid,3") in new stack

    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/100-00000002", "0?Set

(CALLERPRES()=)") in new stack

    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/100-00000002", "0?Set

(REALCALLERIDNUM=100)") in new stack

    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/100-00000002", "1?nor

mcid") in new stack

    -- Goto (macro-outbound-callerid,s,6)

    -- Executing [s@macro-outbound-callerid:6] Set("SIP/100-00000002", "USEROUTC

ID=") in new stack

    -- Executing [s@macro-outbound-callerid:7] Set("SIP/100-00000002", "EMERGENC

YCID=") in new stack

    -- Executing [s@macro-outbound-callerid:8] Set("SIP/100-00000002", "TRUNKOUT

CID="1160091666" <1160091666>") in new stack

    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/100-00000002", "1?tru

nkcid") in new stack

    -- Goto (macro-outbound-callerid,s,12)

    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/100-00000002", "1?Se

t(CALLERID(all)="1160091666" <1160091666>)") in new stack

    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/100-00000002", "0?Se

t(CALLERID(all)=)") in new stack

    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/100-00000002", "0?Se

t(CALLERID(all)=)") in new stack

    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/100-00000002", "0?Se

t(CALLERPRES()=prohib_passed_screen)") in new stack

    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/100-00000002", "1?sub-f

lp-3,s,1") in new stack

    -- Executing [s@sub-flp-3:1] ExecIf("SIP/100-00000002", "1?Return()") in new

 stack

    -- Executing [s@macro-dialout-trunk:13] Set("SIP/100-00000002", "OUTNUM=5411

47945645") in new stack

    -- Executing [s@macro-dialout-trunk:14] Set("SIP/100-00000002", "custom=SIP/

iptell") in new stack

    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/100-00000002", "0?Set(DI

AL_TRUNK_OPTIONS=M(setmusic^default))") in new stack

    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/100-00000002", "dialout-t

runk-predial-hook,") in new stack

    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/100-00000

002", "") in new stack

    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/100-00000002", "0?bypass

,1") in new stack

    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100-00000002", "0?custom

trunk") in new stack

    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/100-00000002", "SIP/iptell

/541147945645,300,") in new stack

  == Using SIP RTP TOS bits 184

  == Using SIP RTP CoS mark 5

    -- Called SIP/iptell/541147945645

  == Everyone is busy/congested at this time (1:0/0/1)

    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/100-00000002", "Dial faile

d for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 58") in new st

ack

    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/100-00000002", "s-CHANUNAV

AIL,1") in new stack

    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)

    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/100-00000002", "

RC=58") in new stack

    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/100-00000002",

"58,1") in new stack

    -- Goto (macro-dialout-trunk,58,1)

    -- Executing [58@macro-dialout-trunk:1] Goto("SIP/100-00000002", "continue,1

") in new stack

    -- Goto (macro-dialout-trunk,continue,1)

    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/100-00000002", "1?

noreport") in new stack

    -- Goto (macro-dialout-trunk,continue,3)

    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/100-00000002", "TRUN

K Dial failed due to CHANUNAVAIL HANGUPCAUSE: 58 - failing through to other trun

ks") in new stack

    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/100-00000002", "CALLE

RID(number)=100") in new stack

    -- Executing [541147945645@from-internal:7] Macro("SIP/100-00000002", "outis

busy,") in new stack

    -- Executing [s@macro-outisbusy:1] Progress("SIP/100-00000002", "") in new s

tack

    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/100-00000002", "0?emergency,1

") in new stack

    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/100-00000002", "0?intracompan

y,1") in new stack

    -- Executing [s@macro-outisbusy:4] Playback("SIP/100-00000002", "all-circuit

s-busy-now&pls-try-call-later, noanswer") in new stack

    -- <SIP/100-00000002> Playing 'all-circuits-busy-now.gsm' (language 'en')

    -- <SIP/100-00000002> Playing 'pls-try-call-later.gsm' (language 'en')

    -- Executing [s@macro-outisbusy:5] Congestion("SIP/100-00000002", "20") in n

ew stack

  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/100-0000000

2' in macro 'outisbusy'

  == Spawn extension (from-internal, 541147945645, 7) exited non-zero on 'SIP/10

0-00000002'

    -- Executing [h@from-internal:1] Macro("SIP/100-00000002", "hangupcall") in

new stack

    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/100-00000002", "1?endmixmonc

heck") in new stack

    -- Goto (macro-hangupcall,s,9)

    -- Executing [s@macro-hangupcall:9] NoOp("SIP/100-00000002", "End of MIXMON

check") in new stack

    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/100-00000002", "1?nomeetmem

on") in new stack

    -- Goto (macro-hangupcall,s,28)

    -- Executing [s@macro-hangupcall:28] NoOp("SIP/100-00000002", "End of MEETME

 check") in new stack

    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/100-00000002", "1?noautomon

") in new stack

    -- Goto (macro-hangupcall,s,34)

    -- Executing [s@macro-hangupcall:34] NoOp("SIP/100-00000002", "TOUCH_MONITOR

_OUTPUT=") in new stack

    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/100-00000002", "1?noautomon

2") in new stack

    -- Goto (macro-hangupcall,s,41)

    -- Executing [s@macro-hangupcall:41] NoOp("SIP/100-00000002", "MONITOR_FILEN

AME=") in new stack

    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/100-00000002", "1?skiprg")

in new stack

    -- Goto (macro-hangupcall,s,45)

    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/100-00000002", "1?skipblkvm

") in new stack

    -- Goto (macro-hangupcall,s,48)

    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/100-00000002", "1?theend")

in new stack

    -- Goto (macro-hangupcall,s,50)

    -- Executing [s@macro-hangupcall:50] AGI("SIP/100-00000002", "hangup.agi") i

n new stack

    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi

    -- <SIP/100-00000002>AGI Script hangup.agi completed, returning 0

    -- Executing [s@macro-hangupcall:51] Hangup("SIP/100-00000002", "") in new s

tack

  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/100-00000

002' in macro 'hangupcall'

  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-00000002'

</code>

 

 

 

 

Did you read the log before you posted it?

Called SIP/iptell/541147945645

== Everyone is busy/congested at this time (1:0/0/1)

Says it all, you can’t complete a call to your provider

something really strange is happening, im having lots of issues with nat setting on freepbx, and i think its a distro problem. Because when configuring nat= no and public ip, though im behind a nat, it seems to work. THIS IS REALLY STRANGE. sometimes it works, sometimes it doesnt. I dont know how to set my extensions and trunk, if put nat yes or nat no.

It also works with nat= yes and static ip, and putting no in trunks and extensions.