Amazon EC2 - Asterisk 1.8.12 - FreePBX 2.9 - Inbound YES - Outbound NO - PLS HELP

Hello to anyone that can shed some light and thanks in advanced!

So I wanted to try out the free EC2 tier and see if I could get a pbx running in the cloud. Been working great at home for years after all so should be the same in cloud but not so as it were.

installed asterisk 1.8.12 and FreePBX 2.9 and all appeared to be running great until not being able to make outbound calls no matter what I do.

Here is the asterisk output… any guidance would be appreciated.

==========================================================================

Connected to Asterisk 1.8.12.0 currently running on awspbx01 (pid = 2661)
Verbosity is at least 7
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/8000-00000006”, “user-callerid,LIMIT,”) in new stack
– Executing [[email protected]:1] Set(“SIP/8000-00000006”, “AMPUSER=8000”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/8000-00000006”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/8000-00000006”, “1?Set(REALCALLERIDNUM=8000)”) in new stack
– Executing [[email protected]:4] Set(“SIP/8000-00000006”, “AMPUSER=8000”) in new stack
– Executing [[email protected]:5] Set(“SIP/8000-00000006”, “AMPUSERCIDNAME=Chris”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/8000-00000006”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/8000-00000006”, “AMPUSERCID=8000”) in new stack
– Executing [[email protected]:8] Set(“SIP/8000-00000006”, “CALLERID(all)=“Chris” <8000>”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/8000-00000006”, “0?limit”) in new stack
– Executing [[email protected]:10] ExecIf(“SIP/8000-00000006”, “1?Set(GROUP(concurrency_limit)=8000)”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/8000-00000006”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,24)
– Executing [[email protected]:24] Set(“SIP/8000-00000006”, “CALLERID(number)=8000”) in new stack
– Executing [[email protected]:25] Set(“SIP/8000-00000006”, “CALLERID(name)=Chris”) in new stack
– Executing [[email protected]:26] Set(“SIP/8000-00000006”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/8000-00000006”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] Set(“SIP/8000-00000006”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Macro(“SIP/8000-00000006”, “record-enable,8000,OUT,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/8000-00000006”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] ExecIf(“SIP/8000-00000006”, “0?MacroExit()”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/8000-00000006”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,14)
– Executing [[email protected]:14] GotoIf(“SIP/8000-00000006”, “0?IN”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/8000-00000006”, “1?MacroExit()”) in new stack
– Executing [[email protected]:5] Macro(“SIP/8000-00000006”, “dialout-trunk,2,9058178270,”) in new stack
– Executing [[email protected]:1] Set(“SIP/8000-00000006”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/8000-00000006”, “0?sub-pincheck,s,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/8000-00000006”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/8000-00000006”, “DIAL_NUMBER=9058178270”) in new stack
– Executing [[email protected]:5] Set(“SIP/8000-00000006”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/8000-00000006”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/8000-00000006”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/8000-00000006”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/8000-00000006”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/8000-00000006”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/8000-00000006”, “outbound-callerid,2”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/8000-00000006”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/8000-00000006”, “0?Set(REALCALLERIDNUM=8000)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/8000-00000006”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/8000-00000006”, “USEROUTCID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/8000-00000006”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]und-callerid:8] Set(“SIP/8000-00000006”, “TRUNKOUTCID=“Profile 7 INC”<8662530039>”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/8000-00000006”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“SIP/8000-00000006”, “1?Set(CALLERID(all)=“Profile 7 INC”<8662530039>)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/8000-00000006”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/8000-00000006”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/8000-00000006”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/8000-00000006”, “0?sub-flp-2,s,1”) in new stack
– Executing [[email protected]:13] Set(“SIP/8000-00000006”, “OUTNUM=9058178270”) in new stack
– Executing [[email protected]:14] Set(“SIP/8000-00000006”, “custom=SIP/8662530039-out”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/8000-00000006”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/8000-00000006”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/8000-00000006”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/8000-00000006”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/8000-00000006”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] GotoIf(“SIP/8000-00000006”, “0?customtrunk”) in new stack
– Executing [[email protected]:20] Dial(“SIP/8000-00000006”, “SIP/8662530039-out/9058178270,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/8662530039-out/9058178270
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [[email protected]:21] NoOp(“SIP/8000-00000006”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack
– Executing [[email protected]:22] Goto(“SIP/8000-00000006”, “s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [[email protected]:1] Set(“SIP/8000-00000006”, “RC=34”) in new stack
– Executing [[email protected]:2] Goto(“SIP/8000-00000006”, “34,1”) in new stack
– Goto (macro-dialout-trunk,34,1)
– Executing [[email protected]:1] Goto(“SIP/8000-00000006”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [[email protected]:1] GotoIf(“SIP/8000-00000006”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,continue,3)
– Executing [[email protected]:3] NoOp(“SIP/8000-00000006”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks”) in new stack
– Executing [[email protected]:4] Set(“SIP/8000-00000006”, “CALLERID(number)=8000”) in new stack
– Executing [[email protected]:6] Macro(“SIP/8000-00000006”, “outisbusy,”) in new stack
– Executing [[email protected]:1] Progress(“SIP/8000-00000006”, “”) in new stack
– Executing [[email protected]:2] Playback(“SIP/8000-00000006”, “all-circuits-busy-now,noanswer”) in new stack
[May 25 09:37:36] WARNING[4588]: file.c:663 ast_openstream_full: File all-circuits-busy-now does not exist in any format
[May 25 09:37:36] WARNING[4588]: file.c:958 ast_streamfile: Unable to open all-circuits-busy-now (format 0x4 (ulaw)): No such file or directory
[May 25 09:37:36] WARNING[4588]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/8000-00000006 for all-circuits-busy-now,noanswer
– Executing [[email protected]:3] Playback(“SIP/8000-00000006”, “pls-try-call-later,noanswer”) in new stack
[May 25 09:37:36] WARNING[4588]: file.c:663 ast_openstream_full: File pls-try-call-later does not exist in any format
[May 25 09:37:36] WARNING[4588]: file.c:958 ast_streamfile: Unable to open pls-try-call-later (format 0x4 (ulaw)): No such file or directory
[May 25 09:37:36] WARNING[4588]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/8000-00000006 for pls-try-call-later,noanswer
– Executing [[email protected]:4] Macro(“SIP/8000-00000006”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/8000-00000006”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] Hangup(“SIP/8000-00000006”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on ‘SIP/8000-00000006’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘SIP/8000-00000006’ in macro ‘outisbusy’
== Spawn extension (from-internal, 9058178270, 6) exited non-zero on ‘SIP/8000-00000006’
– Executing [[email protected]:1] Hangup(“SIP/8000-00000006”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/8000-00000006’

So the issues I imagine start at:

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

– Executing [[email protected]:21] NoOp(“SIP/8000-00000006”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34”) in new stack

Suggestions?

Thanks again,

Chris

It would appear the issue was with my VoIP provider and SIP. All is fine with another provider and IAX2 trunks.

Thanks,

Chris