All calls busy

Help. Need assistance on Asterisk FreePBX. I am new to this and recieiving all circuits are busy. Not sure where to look at first but attaching my log file to this message.
If anyone can help me out on this that would be greatly appreciated.

Apr 12 20:06:46] WARNING[10010] func_db.c: DB requires an argument, DB(/)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s@macro-vm:3] GotoIf(“SIP/302-0000000a”, “1?vmx,1”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Goto (macro-vm,vmx,1)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:1] Set(“SIP/302-0000000a”, “MEXTEN=302”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:2] Set(“SIP/302-0000000a”, “MMODE=BUSY”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:3] Set(“SIP/302-0000000a”, “RETVM=”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:4] Set(“SIP/302-0000000a”, “MODE=busy”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:5] GotoIf(“SIP/302-0000000a”, “1?chknomsg”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Goto (macro-vm,vmx,7)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:7] GotoIf(“SIP/302-0000000a”, “0?s-BUSY,1”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:8] GotoIf(“SIP/302-0000000a”, “1?notdirect”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Goto (macro-vm,vmx,10)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:10] NoOp(“SIP/302-0000000a”, "Checking if ext 302 is enabled: ") in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [vmx@macro-vm:11] GotoIf(“SIP/302-0000000a”, “1?s-BUSY,1”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Goto (macro-vm,s-BUSY,1)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s-BUSY@macro-vm:1] NoOp(“SIP/302-0000000a”, “BUSY voicemail”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s-BUSY@macro-vm:2] Macro(“SIP/302-0000000a”, “get-vmcontext,302”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s@macro-get-vmcontext:1] Set(“SIP/302-0000000a”, “VMCONTEXT=default”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/302-0000000a”, “0?200:300”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Goto (macro-get-vmcontext,s,300)
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s@macro-get-vmcontext:300] NoOp(“SIP/302-0000000a”, “”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] pbx.c: – Executing [s-BUSY@macro-vm:3] VoiceMail(“SIP/302-0000000a”, “302@default,b”) in new stack
[Apr 12 20:06:46] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘vm-theperson.ulaw’ (language ‘en’)
[Apr 12 20:06:47] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘digits/3.ulaw’ (language ‘en’)
[Apr 12 20:06:48] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘beep.ulaw’ (language ‘en’)
[Apr 12 20:06:48] VERBOSE[10010] app_voicemail.c: – Recording the message
[Apr 12 20:06:48] VERBOSE[10010] app.c: – x=0, open writing: /var/spool/asterisk/voicemail/default/302/tmp/T2yV1k format: wav49, 0x88a9548
[Apr 12 20:06:48] VERBOSE[10010] app.c: – x=1, open writing: /var/spool/asterisk/voicemail/default/302/tmp/T2yV1k format: wav, 0x88dd2b0
[Apr 12 20:06:52] VERBOSE[10010] app.c: – User ended message by pressing #
[Apr 12 20:06:52] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘auth-thankyou.ulaw’ (language ‘en’)
[Apr 12 20:06:52] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘vm-review.ulaw’ (language ‘en’)
[Apr 12 20:06:52] WARNING[10010] file.c: Failed to write frame
[Apr 12 20:06:52] VERBOSE[10010] file.c: – <SIP/302-0000000a> Playing ‘vm-goodbye.ulaw’ (language ‘en’)
[Apr 12 20:06:52] VERBOSE[10010] app_macro.c: == Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘SIP/302-0000000a’ in macro ‘vm’
[Apr 12 20:06:52] VERBOSE[10010] app_macro.c: == Spawn extension (macro-exten-vm, s, 18) exited non-zero on ‘SIP/302-0000000a’ in macro ‘exten-vm’
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: == Spawn extension (from-internal, 302, 1) exited non-zero on ‘SIP/302-0000000a’
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Executing [h@from-internal:1] Macro(“SIP/302-0000000a”, “hangupcall”) in new stack
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/302-0000000a”, “1?skiprg”) in new stack
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Goto (macro-hangupcall,s,4)
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/302-0000000a”, “1?skipblkvm”) in new stack
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Goto (macro-hangupcall,s,7)
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/302-0000000a”, “1?theend”) in new stack
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Goto (macro-hangupcall,s,9)
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/302-0000000a”, “”) in new stack
[Apr 12 20:06:52] VERBOSE[10010] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/302-0000000a’ in macro ‘hangupcall’
[Apr 12 20:06:52] VERBOSE[10010] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/302-0000000a’
[Apr 12 20:06:55] VERBOSE[2942] netsock.c: == Using SIP RTP TOS bits 184
[Apr 12 20:06:55] VERBOSE[2942] netsock.c: == Using SIP RTP CoS mark 5
[Apr 12 20:06:55] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:1] Answer(“SIP/302-0000000c”, “”) in new stack
[Apr 12 20:06:55] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:2] Wait(“SIP/302-0000000c”, “1”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:3] Macro(“SIP/302-0000000c”, “user-callerid,”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:1] Set(“SIP/302-0000000c”, “AMPUSER=302”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:2] GotoIf(“SIP/302-0000000c”, “0?report”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:3] ExecIf(“SIP/302-0000000c”, “1?Set(REALCALLERIDNUM=302)”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:4] Set(“SIP/302-0000000c”, “AMPUSER=302”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:5] Set(“SIP/302-0000000c”, “AMPUSERCIDNAME=Shaun Slayton”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:6] GotoIf(“SIP/302-0000000c”, “0?report”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:7] Set(“SIP/302-0000000c”, “AMPUSERCID=302”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:8] Set(“SIP/302-0000000c”, “CALLERID(all)=“Shaun Slayton” <302>”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:9] ExecIf(“SIP/302-0000000c”, “0?Set(CHANNEL(language)=)”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:10] GotoIf(“SIP/302-0000000c”, “0?continue”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:11] Set(“SIP/302-0000000c”, “__TTL=64”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:12] GotoIf(“SIP/302-0000000c”, “1?continue”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Goto (macro-user-callerid,s,19)
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:19] Set(“SIP/302-0000000c”, “CALLERID(number)=302”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:20] Set(“SIP/302-0000000c”, “CALLERID(name)=Shaun Slayton”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-user-callerid:21] NoOp(“SIP/302-0000000c”, “Using CallerID “Shaun Slayton” <302>”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:4] Macro(“SIP/302-0000000c”, “get-vmcontext,302”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-get-vmcontext:1] Set(“SIP/302-0000000c”, “VMCONTEXT=default”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/302-0000000c”, “0?200:300”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Goto (macro-get-vmcontext,s,300)
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [s@macro-get-vmcontext:300] NoOp(“SIP/302-0000000c”, “”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:5] MailboxExists(“SIP/302-0000000c”, “302@default”) in new stack
[Apr 12 20:06:56] WARNING[10013] app_voicemail.c: MailboxExists is deprecated. Please use ${MAILBOX_EXISTS(302@default)} instead.
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:6] GotoIf(“SIP/302-0000000c”, “1?mbexist”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Goto (from-internal,*97,106)
[Apr 12 20:06:56] VERBOSE[10013] pbx.c: – Executing [*97@from-internal:106] VoiceMailMain(“SIP/302-0000000c”, “302@default”) in new stack
[Apr 12 20:06:56] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-password.ulaw’ (language ‘en’)
[Apr 12 20:06:59] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-youhave.ulaw’ (language ‘en’)
[Apr 12 20:07:00] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘digits/1.ulaw’ (language ‘en’)
[Apr 12 20:07:00] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-first.ulaw’ (language ‘en’)
[Apr 12 20:07:01] VERBOSE[10013] config.c: == Parsing ‘/var/spool/asterisk/voicemail/default/302/INBOX/msg0000.txt’: [Apr 12 20:07:01] VERBOSE[10013] config.c: == Found
[Apr 12 20:07:01] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-message.ulaw’ (language ‘en’)
[Apr 12 20:07:01] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘/var/spool/asterisk/voicemail/default/302/INBOX/msg0000.slin’ (language ‘en’)
[Apr 12 20:07:03] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-deleted.ulaw’ (language ‘en’)
[Apr 12 20:07:04] VERBOSE[10013] file.c: – <SIP/302-0000000c> Playing ‘vm-nomore.ulaw’ (language ‘en’)
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: == Spawn extension (from-internal, *97, 106) exited non-zero on ‘SIP/302-0000000c’
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Executing [h@from-internal:1] Macro(“SIP/302-0000000c”, “hangupcall”) in new stack
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“SIP/302-0000000c”, “1?skiprg”) in new stack
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Goto (macro-hangupcall,s,4)
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Executing [s@macro-hangupcall:4] GotoIf(“SIP/302-0000000c”, “1?skipblkvm”) in new stack
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Goto (macro-hangupcall,s,7)
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Executing [s@macro-hangupcall:7] GotoIf(“SIP/302-0000000c”, “1?theend”) in new stack
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Goto (macro-hangupcall,s,9)
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: – Executing [s@macro-hangupcall:9] Hangup(“SIP/302-0000000c”, “”) in new stack
[Apr 12 20:07:04] VERBOSE[10013] app_macro.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/302-0000000c’ in macro ‘hangupcall’
[Apr 12 20:07:04] VERBOSE[10013] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/302-0000000c’

This looks like the trace of a voice mail call to me, no attempt was made for an outbound call.

Here is what I am seeing on my logs as of this morning:

[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/301-0000000f”, “”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk:17] GotoIf(“SIP/301-0000000f”, “0?bypass,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/301-0000000f”, “0?customtrunk”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk:19] Dial(“SIP/301-0000000f”, “DAHDI/g0/92218884,300,”) in new stack
[Apr 13 06:16:09] WARNING[18517] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)
[Apr 13 06:16:09] VERBOSE[18517] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk:20] NoOp(“SIP/301-0000000f”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-dialout-trunk:21] Goto(“SIP/301-0000000f”, “s-CHANUNAVAIL,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“SIP/301-0000000f”, “RC=0”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“SIP/301-0000000f”, “0,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Goto (macro-dialout-trunk,0,1)
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [0@macro-dialout-trunk:1] Goto(“SIP/301-0000000f”, “continue,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Goto (macro-dialout-trunk,continue,1)
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [continue@macro-dialout-trunk:1] GotoIf(“SIP/301-0000000f”, “1?noreport”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Goto (macro-dialout-trunk,continue,3)
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [continue@macro-dialout-trunk:3] NoOp(“SIP/301-0000000f”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [continue@macro-dialout-trunk:4] Set(“SIP/301-0000000f”, “CALLERID(number)=301”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [92218884@from-internal:6] Macro(“SIP/301-0000000f”, “outisbusy,”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-outisbusy:1] Progress(“SIP/301-0000000f”, “”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-outisbusy:2] GotoIf(“SIP/301-0000000f”, “0?emergency,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-outisbusy:3] GotoIf(“SIP/301-0000000f”, “0?intracompany,1”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] pbx.c: – Executing [s@macro-outisbusy:4] Playback(“SIP/301-0000000f”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
[Apr 13 06:16:09] VERBOSE[18517] file.c: – <SIP/301-0000000f> Playing ‘all-circuits-busy-now.gsm’ (language ‘en’)
[Apr 13 06:16:11] VERBOSE[18517] file.c: – <SIP/301-0000000f> Playing ‘pls-try-call-later.gsm’ (language ‘en’)
[Apr 13 06:16:13] VERBOSE[18517] pbx.c: – Executing [s@macro-outisbusy:5] Congestion(“SIP/301-0000000f”, “20”) in new stack

You don’t have any trunks available to make outbound calls.

Since you told us nothing about your install (versions, type of trunks etc.) I can’t be of any more assistance.

Sorry about this. I am currently running the latest version 1.7 FreePBX with a POTS line for a trunk. The system does see the board along with the 4 port module as well.
SO what is confusing is when the system sees the board should it not be seeing the trunk?

Do you have a trunk and an outbound route built?

BTW, there is no FreePBX v 1.7 so I still don’t know what kind of system you are running.

Sorry about that. The FreePBX version is: 2.7.0.10. I currently have 1 trunk assigned in my outgoing dial rules called local. I have all 4 trunks assigned to group 1 which by default is group 0.
I currently used the default outgoing routes and trunk setups just modified them slighty for local area code.
Hope this helps in trying to figure this out.

Here are the recent logs:
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [918005551212@from-internal:2] ExecIf(“SIP/302-00000003”, “1?Set(TRUNKCIDOVERRIDE=8005551212)”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [918005551212@from-internal:3] Set(“SIP/302-00000003”, “_NODEST=”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [918005551212@from-internal:4] Macro(“SIP/302-00000003”, “record-enable,302,OUT,”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-record-enable:1] GotoIf(“SIP/302-00000003”, “1?check”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Goto (macro-record-enable,s,4)
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-record-enable:4] ExecIf(“SIP/302-00000003”, “0?MacroExit()”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-record-enable:5] GotoIf(“SIP/302-00000003”, “0?Group:OUT”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Goto (macro-record-enable,s,15)
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-record-enable:15] GotoIf(“SIP/302-00000003”, “0?IN”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-record-enable:16] ExecIf(“SIP/302-00000003”, “1?MacroExit()”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [918005551212@from-internal:5] Macro(“SIP/302-00000003”, “dialout-trunk,2,918005551212,”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:1] Set(“SIP/302-00000003”, “DIAL_TRUNK=2”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/302-00000003”, “0?sub-pincheck,s,1”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/302-00000003”, “0?disabletrunk,1”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:4] Set(“SIP/302-00000003”, “DIAL_NUMBER=916168260633”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:5] Set(“SIP/302-00000003”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:6] Set(“SIP/302-00000003”, “OUTBOUND_GROUP=OUT_2”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/302-00000003”, “0?nomax”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/302-00000003”, “0?chanfull”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/302-00000003”, “0?skipoutcid”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:10] Set(“SIP/302-00000003”, “DIAL_TRUNK_OPTIONS=”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-dialout-trunk:11] Macro(“SIP/302-00000003”, “outbound-callerid,2”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/302-00000003”, “0?Set(CALLERPRES()=)”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/302-00000003”, “0?Set(REALCALLERIDNUM=302)”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/302-00000003”, “1?normcid”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Goto (macro-outbound-callerid,s,6)
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:6] Set(“SIP/302-00000003”, “USEROUTCID=”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:7] Set(“SIP/302-00000003”, “EMERGENCYCID=”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:8] Set(“SIP/302-00000003”, “TRUNKOUTCID=9102218884”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/302-00000003”, “1?trunkcid”) in new stack
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Goto (macro-outbound-callerid,s,12)
[Apr 13 18:26:21] VERBOSE[3162] pbx.c: – Executing [s@macro-outbound-callerid:12] ExecIf(“SIP/302-00000003”, “1?Set(CALLERID(all)=8005551212)”) in new stack

None of the log provided is relevant.

What is the output of ‘dahdi show channels’

Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 default In Service
2 default In Service
3 default In Service
4 default In Service

You have your trunks in the wrong context, change to from-pstn.

Other than that they look fine.

What do you have in the zap/dahdi identifier field of your trunk?

I currently have the default g0 setup in that field. I am pretty much using defaults for now till I get this going.

You had mentioned to change to from-pstn earlier. What do you mean by that?

Edit ZAP Trunk (DAHDI compatibility Mode)
Delete Trunk Local
In use by 1 route

General Settings
Trunk Description:
Outbound Caller ID:
CID Options:
Maximum Channels:
Disable Trunk:
Disable
Monitor Trunk Failures:
Enable
Outgoing Dial Rules
Dial Rules:
Dial Rules Wizards:
Outbound Dial Prefix:
Outgoing Settings
Zap Identifier (trunk name): local

Edit Route
Delete Route 9_outside
Route Name:
9_outside

Route CID:
Override Extension CID
Route Password:
PIN Set:
Emergency Dialing:
Intra Company Route:
Music On Hold?
Dial Patterns
Dial patterns wizards:
Trunk Sequence 0 Zap/local