I initially reviewed this thread (http://www.freepbx.org/forum/freepbx/general-help/new-to-free-pbx-cannot-make-outgoing-calls-via-trunk#comment-40447) and I’m having the same issue, cannot make outbound calls. I can receive incoming calls from the outside just fine and I can place and receive internal calls to all my extensions.
I’m currently running FreePBX 4.211.64-9, Asterisk 11.6, and Centos 6.4
I have enabled EndPoint Manager and I have a SIPSTATION trunk with one DID. I do have the UDP ports (5060, 10000-20000) forwarded to the pbx server. In SIPSTATION, “Run Firewall Test” I have all green lights and status PASS, so I don’t believe there is a firewall issue?
My network connection is as follows:
Server & Cisco 7940/7960 phones Cisco Switch (SFE2000p) D-link DIR-655. I do have a static IP from my ISP and my Switch has “fast port” enabled on the ports the phones connect to. My Cisco phones are running Sip 8.12 and endpoint manager configured them perfectly (side note: I would agree with SkykingOH on taking CCM outback and shooting it, I have read too many posts).
Below is a copy of the Asterisk CLI output. Please let me know your thoughts and ideas as to what the issue may be or if you need any additional info. I appreciate all the posts by many of the “regulars” as you have helped me in my setup process.
[root@localhost ~]# asterisk -RvvvT
[Dec 10 19:00:44] Asterisk 11.6.0, Copyright (C) 1999 - 2013 Digium, Inc. and ot hers.
[Dec 10 19:00:44] Created by Mark Spencer [email protected]
[Dec 10 19:00:44] Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
[Dec 10 19:00:44] This is free software, with components licensed under the GNU General Public
[Dec 10 19:00:44] License version 2 and other licenses; you are welcome to redistribute it under
[Dec 10 19:00:44] certain conditions. Type ‘core show license’ for details.
[Dec 10 19:00:44] ============================================================== ===========
[Dec 10 19:00:44] Connected to Asterisk 11.6.0 currently running on localhost (pid = 2040)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [8013905200@from-internal:1] Macro(“SIP/511-00000143”, “user-callerid,LIMIT”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/511-00000143”, “TOUCH_MONITOR=1386727268.323”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/511-00000143”, “AMPUSER=511”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/511-00000143”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/511-00000143”, “1?Set(REALCALLERIDNUM=511)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/511-00000143”, “AMPUSER=511”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/511-00000143”, “AMPUSERCIDNAME=Office”) in new stack
– Executing [s@macro-user-callerid:7] GotoIf(“SIP/511-00000143”, “0?report”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/511-00000143”, “AMPUSERCID=511”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/511-00000143”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/511-00000143”, “CALLERID(all)=“Office” <511>”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/511-00000143”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/511-00000143”, “1?Set(GROUP(concurrency_limit)=511)”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/511-00000143”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/511-00000143”, “7?sub-ccss,s,1(from-internal,8013905200)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/511-00000143”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/511-00000143”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/511-00000143”, “0?monitor_config,1(from-internal,8013905200):monitor_default,1(from-internal,8013905200)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/511-00000143”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/511-00000143”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/511-00000143”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/511-00000143”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“SIP/511-00000143”, “CALLERID(number)=511”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/511-00000143”, “CALLERID(name)=Office”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/511-00000143”, “CDR(cnum)=511”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/511-00000143”, “CDR(cnam)=Office”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/511-00000143”, “CHANNEL(language)=en”) in new stack
– Executing [8013905200@from-internal:2] Set(“SIP/511-00000143”, “ROUTEUSER=511”) in new stack
– Executing [8013905200@from-internal:3] GotoIf(“SIP/511-00000143”, “1?outbound-4-5-6,8013905200,2:outbound-allroutes,8013905200,2”) in new stack
– Goto (outbound-4-5-6,8013905200,2)
– Executing [8013905200@outbound-4-5-6:2] Set(“SIP/511-00000143”, “MOHCLASS=default”) in new stack
– Executing [8013905200@outbound-4-5-6:3] Set(“SIP/511-00000143”, “_NODEST=”) in new stack
– Executing [8013905200@outbound-4-5-6:4] Gosub(“SIP/511-00000143”, “sub-record-check,s,1(out,8013905200,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/511-00000143”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/511-00000143”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/511-00000143”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/511-00000143”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/511-00000143”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/511-00000143”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/511-00000143”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/511-00000143”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/511-00000143”, “NOW=1386727268”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/511-00000143”, “__DAY=10”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/511-00000143”, “__MONTH=12”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/511-00000143”, “__YEAR=2013”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/511-00000143”, “__TIMESTR=2013 1210-190108”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/511-00000143”, “__FROMEXTEN=511”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/511-00000143”, “__CALLFILENAME=out-8013905200-511-20131210-190108-1386727268.323”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/511-00000143”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/511-00000143”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/511-00000143”, “0?record,1(exten,8013905200,511)”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/511-00000143”, “”) in new stack
– Executing [8013905200@outbound-4-5-6:5] Macro(“SIP/511-00000143”, “dialout-trunk,1,8013905200,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/511-00000143”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/511-00000143”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/511-00000143”, “0?disable trunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/511-00000143”, “DIAL_NUMBER=8013905200”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/511-00000143”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/511-00000143”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/511-00000143”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/511-00000143”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/511-00000143”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/511-00000143”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/511-00000143”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/511-00000143”, “0?Set(REALCALLERIDNUM=511)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/511-00000143”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/511-00000143”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/511-00000143”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/511-00000143”, “TRUNKOUTCID=8018953650”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/511-00000143”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/511-00000143”, “1?Set(CALLERID(all)=8018953650)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/511-00000143”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/511-00000143”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/511-00000143”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/511-00000143”, “CDR(outbound_cnum)=8018953650”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/511-00000143”, “CDR(outbound_cnam)=”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/511-00000143”, “0?sub-flp-1,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/511-00000143”, “OUTNUM=8013905200”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/511-00000143”, “custom=SIP/fpbx-1-IX6Xupk5Ar6X”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/511-00000143”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/511-00000143”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/511-00000143”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/511-00000143”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/511-00000143”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/511-00000143”, “1?Set(CONNECTEDLINE(num,i)=8013905200)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/511-00000143”, “1?Set(CONNECTEDLINE(name,i)=CID:8018953650)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/511-00000143”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/511-00000143”, “SIP/fpbx-1-IX6Xupk5Ar6X/8013905200,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/fpbx-1-IX6Xupk5Ar6X/8013905200
[2013-12-10 19:01:08] WARNING[27477][C-000000d2]: channel.c:6164 ast_channel_make_compatible_helper: No path to translate from SIP/fpbx-1-IX6Xupk5Ar6X-00000144>to SIP/511-00000143
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/511-00000143’ in macro ‘dialout-trunk’
== Spawn extension (outbound-4-5-6, 8013905200, 5) exited non-zero on ‘SIP/511-00000143’