Cant dial out, but can dial in

Hi.
I have Elastix installed (1.6)
I have tried to register on their site, but it’;s fooked…

I have a sip truck installed, and one extension at the moment…
The siptrunk is with SIPGATE, and I can dial into it, without issue. I’ll post the config for it shortly…
Now when I dial out, (I have an outbound rule of “9|.” and it trys to dial out, and fails… (No record of a missed call on the sipgate site…)

The Logs is as follows… (Trunk config below that!!)
Any help would be most appreciated…

– Executing [[email protected]:1] Macro(“SIP/501-00000000”, “user-callerid|SKIPTTL|”) in new stack
– Executing [[email protected]:1] Set(“SIP/501-00000000”, “AMPUSER=501”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/501-00000000”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/501-00000000”, “1|Set|REALCALLERIDNUM=501”) in new stack
– Executing [[email protected]:4] Set(“SIP/501-00000000”, “AMPUSER=501”) in new stack
– Executing [[email protected]:5] Set(“SIP/501-00000000”, “AMPUSERCIDNAME=501”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/501-00000000”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/501-00000000”, “AMPUSERCID=501”) in new stack
– Executing [[email protected]:8] Set(“SIP/501-00000000”, “CALLERID(all)=“501” <501>”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/501-00000000”, “0|Set|CHANNEL(language)=”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/501-00000000”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] NoOp(“SIP/501-00000000”, “Using CallerID “501” <501>”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/501-00000000”, “1|Set|TRUNKCIDOVERRIDE=01179117346”) in new stack
– Executing [[email protected]:3] Set(“SIP/501-00000000”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Macro(“SIP/501-00000000”, “record-enable|501|OUT|”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/501-00000000”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] ExecIf(“SIP/501-00000000”, “0|MacroExit|”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/501-00000000”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [[email protected]:15] GotoIf(“SIP/501-00000000”, “0?IN”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/501-00000000”, “0|MacroExit|”) in new stack
– Executing [[email protected]:17] NoOp(“SIP/501-00000000”, “Recording enable for 501”) in new stack
– Executing [[email protected]:18] Set(“SIP/501-00000000”, “CALLFILENAME=OUT501-20100609-102758-1276075678.0”) in new stack
– Executing [[email protected]:19] Goto(“SIP/501-00000000”, “record”) in new stack
– Goto (macro-record-enable,s,23)
– Executing [[email protected]:23] MixMonitor(“SIP/501-00000000”, “OUT501-20100609-102758-1276075678.0.wav||”) in new stack
– Executing [[email protected]:24] MacroExit(“SIP/501-00000000”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/501-00000000”, “dialout-trunk|2|10800||”) in new stack
– Executing [[email protected]:1] Set(“SIP/501-00000000”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/501-00000000”, “0?sub-pincheck|s|1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/501-00000000”, “0?disabletrunk|1”) in new stack
– Executing [[email protected]:4] Set(“SIP/501-00000000”, “DIAL_NUMBER=10800”) in new stack
– Executing [[email protected]:5] Set(“SIP/501-00000000”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/501-00000000”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/501-00000000”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/501-00000000”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/501-00000000”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/501-00000000”, “outbound-callerid|2”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/501-00000000”, “0|SetCallerPres|”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/501-00000000”, “0|Set|REALCALLERIDNUM=501”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/501-00000000”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/501-00000000”, “USEROUTCID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/501-00000000”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/501-00000000”, “TRUNKOUTCID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/501-00000000”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“SIP/501-00000000”, “0|Set|CALLERID(all)=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/501-00000000”, “0|Set|CALLERID(all)=”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/501-00000000”, “1|Set|CALLERID(all)=01179117346”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/501-00000000”, “0|SetCallerPres|prohib_passed_screen”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/501-00000000”, “0|AGI|fixlocalprefix”) in new stack
– Executing [[email protected]:13] Set(“SIP/501-00000000”, “OUTNUM=10800”) in new stack
– Executing [[email protected]:14] Set(“SIP/501-00000000”, “custom=SIP/9117346”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/501-00000000”, “0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)”) in new stack
– Executing [[email protected]:16] Macro(“SIP/501-00000000”, “dialout-trunk-predial-hook|”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/501-00000000”, “”) in new stack
– Executing [[email protected]:17] GotoIf(“SIP/501-00000000”, “0?bypass|1”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/501-00000000”, “0?customtrunk”) in new stack
– Executing [[email protected]:19] Dial(“SIP/501-00000000”, “SIP/9117346/10800|300|”) in new stack
– Called 9117346/10800
== Begin MixMonitor Recording SIP/501-00000000
– SIP/9117346-00000001 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [[email protected]:20] NoOp(“SIP/501-00000000”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 1”) in new stack
– Executing [[email protected]:21] Goto(“SIP/501-00000000”, “s-CONGESTION|1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [[email protected]:1] Set(“SIP/501-00000000”, “RC=1”) in new stack
– Executing [[email protected]:2] Goto(“SIP/501-00000000”, “1|1”) in new stack
– Goto (macro-dialout-trunk,1,1)
– Executing [[email protected]:1] Goto(“SIP/501-00000000”, “continue|1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] GotoIf(“SIP/501-00000000”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [[email protected]:3] NoOp(“SIP/501-00000000”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 1 - failing through to other trunks”) in new stack
– Executing [[email protected]:4] Set(“SIP/501-00000000”, “CALLERID(number)=501”) in new stack
– Executing [[email protected]:6] Macro(“SIP/501-00000000”, “outisbusy|”) in new stack
– Executing [[email protected]:1] Progress(“SIP/501-00000000”, “”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/501-00000000”, “0?emergency|1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/501-00000000”, “0?intracompany|1”) in new stack
– Executing [[email protected]:4] Playback(“SIP/501-00000000”, “all-circuits-busy-now&pls-try-call-later| noanswer”) in new stack
– <SIP/501-00000000> Playing ‘all-circuits-busy-now’ (language ‘en’)
– <SIP/501-00000000> Playing ‘pls-try-call-later’ (language ‘en’)
– Executing [[email protected]:5] Congestion(“SIP/501-00000000”, “20”) in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on ‘SIP/501-00000000’ in macro ‘outisbusy’
== Spawn extension (from-internal, 10800, 6) exited non-zero on ‘SIP/501-00000000’
– Executing [[email protected]:1] Macro(“SIP/501-00000000”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/501-00000000”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“SIP/501-00000000”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“SIP/501-00000000”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“SIP/501-00000000”, “”) in new stack

SIP TRUNK CONFIGURATION… (username and password X’ed out)
authuser=xxxxxxx
context=from-trunk
dtmfmode=info
fromuser=xxxxxxx
host=sipgate.co.uk
insecure=invite
qualify=yes
secret=xxxxxxxx
type=peer
username=9117346
disallow=all
allow=ulaw&alaw

xxxxxx:[email protected]/xxxxxx