So I managed to have things working yesterday and even managed to make a call outbound on the FreePBX server I’m in the process of setting up (Using free trial of SipStation currently for my trunk provider until I get it setup to migrate our actual system over). Today however I haven’t been able to make any outbound calls. I get the call cannot be completed as dialed when I try to call out on it. I don’t know what changed other than me adding a second extention today and putting both extentions in a ring group. Below are the copies of the logs pertaining to the call. I attempted calling out using 1+area code and also with just area code+number.
19833 [2023-06-22 20:35:03] VERBOSE[34683] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
19834 [2023-06-22 20:35:03] VERBOSE[34683] netsock2.c: Using SIP RTP Audio CoS mark 5
19835 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [PHONENUMBER_TRYING_TO_CALL@from-internal:1] Macro("PJSIP/507-00000004", "user-callerid,LIMIT") in new stack
19836 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/507-00000004", "TOUCH_MONITOR=1687466103.4") in new stack
19837 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/507-00000004", "CHANCONTEXT=") in new stack
19838 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:3] Progress("PJSIP/507-00000004", "") in new stack
19839 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:4] Set("PJSIP/507-00000004", "CHANCONTEXT=") in new stack
19840 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/507-00000004", "CHANEXTENCONTEXT=507-00000004") in new stack
19841 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:6] Set("PJSIP/507-00000004", "CHANEXTEN=507-00000004") in new stack
19842 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/507-00000004", "CALLERID(number)=507") in new stack
19843 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:8] Set("PJSIP/507-00000004", "AMPUSER=507") in new stack
19844 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:9] Set("PJSIP/507-00000004", "HOTDESCKCHAN=507-00000004") in new stack
19845 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/507-00000004", "HOTDESKEXTEN=507") in new stack
19846 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/507-00000004", "HOTDESKCALL=0") in new stack
19847 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:12] ExecIf("PJSIP/507-00000004", "0?Set(HOTDESKCALL=1)") in new stack
19848 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/507-00000004", "0?Set(CALLERID(name)=)") in new stack
19849 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:14] GotoIf("PJSIP/507-00000004", "0?report") in new stack
19850 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/507-00000004", "1?Set(REALCALLERIDNUM=507)") in new stack
19851 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:16] Set("PJSIP/507-00000004", "AMPUSER=507") in new stack
19852 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/507-00000004", "0?limit") in new stack
19853 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:18] Set("PJSIP/507-00000004", "AMPUSERCIDNAME=BackOffice") in new stack
19854 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/507-00000004", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
19855 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:20] GotoIf("PJSIP/507-00000004", "0?report") in new stack
19856 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:21] Set("PJSIP/507-00000004", "AMPUSERCID=507") in new stack
19857 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:22] Set("PJSIP/507-00000004", "__DIAL_OPTIONS=HhTtr") in new stack
19858 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:23] Set("PJSIP/507-00000004", "CALLERID(all)="BackOffice" <507>") in new stack
19859 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:24] ExecIf("PJSIP/507-00000004", "0?Set(CUSDIAL=)") in new stack
19860 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:25] ExecIf("PJSIP/507-00000004", "0?Set(CALLERID(all)="BackOffice" <507>)") in new stack
19861 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:26] GotoIf("PJSIP/507-00000004", "0?limit") in new stack
19862 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:27] ExecIf("PJSIP/507-00000004", "1?Set(GROUP(concurrency_limit)=507)") in new stack
19863 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:28] ExecIf("PJSIP/507-00000004", "0?Set(CHANNEL(language)=)") in new stack
19864 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:29] NoOp("PJSIP/507-00000004", "Macro Depth is 1") in new stack
19865 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:30] GotoIf("PJSIP/507-00000004", "1?report2:macroerror") in new stack
19866 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (macro-user-callerid,s,31)
19867 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:31] GotoIf("PJSIP/507-00000004", "1?continue") in new stack
19868 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (macro-user-callerid,s,50)
19869 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:50] Set("PJSIP/507-00000004", "CALLERID(number)=507") in new stack
19870 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:51] Set("PJSIP/507-00000004", "CALLERID(name)=BackOffice") in new stack
19871 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:52] GotoIf("PJSIP/507-00000004", "0?cnum") in new stack
19872 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:53] Set("PJSIP/507-00000004", "__MCNUM=507") in new stack
19873 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:54] Set("PJSIP/507-00000004", "__MCNAME=BackOffice") in new stack
19874 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:55] Set("PJSIP/507-00000004", "__MCEXTEN=507") in new stack
19875 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:56] Set("PJSIP/507-00000004", "__MCORGCHAN=PJSIP/507-00000004") in new stack
19876 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:57] Set("PJSIP/507-00000004", "CDR(cnam)=BackOffice") in new stack
19877 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:58] Set("PJSIP/507-00000004", "CDR(cnum)=507") in new stack
19878 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@macro-user-callerid:59] Set("PJSIP/507-00000004", "CHANNEL(language)=en") in new stack
19879 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [PHONENUMBER_TRYING_TO_CALL@from-internal:2] Set("PJSIP/507-00000004", "ROUTEUSER=507") in new stack
19880 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [PHONENUMBER_TRYING_TO_CALL@from-internal:3] Set("PJSIP/507-00000004", "ROUTEUSER=507") in new stack
19881 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [PHONENUMBER_TRYING_TO_CALL@from-internal:4] GotoIf("PJSIP/507-00000004", "1?notblind") in new stack
19882 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (from-internal,PHONENUMBER_TRYING_TO_CALL,7)
19883 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [PHONENUMBER_TRYING_TO_CALL@from-internal:7] GotoIf("PJSIP/507-00000004", "1?restrictedroute-cfcd208495d565ef66e7dff9f98764da,PHONENUMBER_TRYING_TO_CALL,2:outbound-allroutes,PHONENUMBER_TRYING_TO_CALL,2") in new stack
19884 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (restrictedroute-cfcd208495d565ef66e7dff9f98764da,PHONENUMBER_TRYING_TO_CALL,2)
19885 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Channel 'PJSIP/507-00000004' sent to invalid extension: context,exten,priority=restrictedroute-cfcd208495d565ef66e7dff9f98764da,PHONENUMBER_TRYING_TO_CALL,2
19886 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [i@restrictedroute-cfcd208495d565ef66e7dff9f98764da:1] Goto("PJSIP/507-00000004", "bad-number,s,1") in new stack
19887 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (bad-number,s,1)
19888 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [s@bad-number:1] Goto("PJSIP/507-00000004", "11,1") in new stack
19889 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx_builtins.c: Goto (bad-number,11,1)
19890 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [11@bad-number:1] ResetCDR("PJSIP/507-00000004", "") in new stack
19891 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [11@bad-number:2] NoCDR("PJSIP/507-00000004", "") in new stack
19892 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [11@bad-number:3] Progress("PJSIP/507-00000004", "") in new stack
19893 [2023-06-22 20:35:03] VERBOSE[38336][C-00000004] pbx.c: Executing [11@bad-number:4] Wait("PJSIP/507-00000004", "1") in new stack
19894 [2023-06-22 20:35:03] WARNING[34683] res_pjsip_pubsub.c: No registered subscribe handler for event as-feature-event from 508
19895 [2023-06-22 20:35:04] VERBOSE[38336][C-00000004] pbx.c: Executing [11@bad-number:5] Playback("PJSIP/507-00000004", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
19896 [2023-06-22 20:35:04] VERBOSE[38336][C-00000004] file.c: <PJSIP/507-00000004> Playing 'silence/1.ulaw' (language 'en')
19897 [2023-06-22 20:35:05] VERBOSE[38336][C-00000004] file.c: <PJSIP/507-00000004> Playing 'cannot-complete-as-dialed.ulaw' (language 'en')
19898 [2023-06-22 20:35:07] VERBOSE[38336][C-00000004] file.c: <PJSIP/507-00000004> Playing 'check-number-dial-again.ulaw' (language 'en')