External number in RG dialing locally


(Mvogel4949) #1

FreePBX15 restore from V13 has ring groups that try to dial external numbers as local numbers. External numbers have # sign but it doesn’t seem to be recognized. Created a new RG with external number and the system tries to dial local. Outbound route has dialplan for 10 digit numbers and outbound calls to 10 digit numbers process with no issues.

136	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Starting New Dialparties.agi	
137	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Caller ID name is 'LETOCOM' number is '5184528239'	
138	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: CW Ignore is:	
139	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: CF Ignore is:	
140	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: CW IN_USE/BUSY is: 1	
141	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Methodology of ring is 'ringall'	
142	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Added extension 5183657500# to extension map	
143	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Extension 5183657500# cf is disabled	
144	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: Filtered ARG3: 5183657500	
145	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOL_MODE ''	
146	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOL is:	
147	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: agi://127.0.0.1/dialparties.agi: RVOLPARENT is:	
148	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] res_agi.c: <SIP/Windstream-00000727>AGI Script agi://127.0.0.1/dialparties.agi completed, returning 0	
149	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:8] GotoIf("SIP/Windstream-00000727", "1?normdial") in new stack	
150	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx_builtins.c: Goto (macro-dial,s,11)	
151	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:11] NoOp("SIP/Windstream-00000727", "Returned from dialparties with groups to dial") in new stack	
152	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:12] NoOp("SIP/Windstream-00000727", "ringall array ") in new stack	
153	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:13] Set("SIP/Windstream-00000727", "__FMGL_DIAL=") in new stack	
154	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:14] Set("SIP/Windstream-00000727", "LOOPCNT=1") in new stack	
155	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:15] Set("SIP/Windstream-00000727", "ITER=1") in new stack	
156	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:16] Set("SIP/Windstream-00000727", "__EXTTOCALL=5183657500") in new stack	
157	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:17] NoOp("SIP/Windstream-00000727", "Working with 5183657500") in new stack	
158	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:18] ExecIf("SIP/Windstream-00000727", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
159	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:19] ExecIf("SIP/Windstream-00000727", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack	
160	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:20] Set("SIP/Windstream-00000727", "ITER=2") in new stack	
161	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:21] GotoIf("SIP/Windstream-00000727", "0?ndloopbegin") in new stack	
162	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:22] Macro("SIP/Windstream-00000727", "dial-ringall-predial-hook,") in new stack	
163	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("SIP/Windstream-00000727", "") in new stack	
164	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:23] ExecIf("SIP/Windstream-00000727", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack	
165	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:24] ExecIf("SIP/Windstream-00000727", "0?Set(ds=Local/5183657500@from-internal/n,20,trQ(NO_ANSWER)M(auto-blkvm)g)") in new stack	
166	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@macro-dial:25] Dial("SIP/Windstream-00000727", "Local/5183657500@from-internal/n,20,trQ(NO_ANSWER)M(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack	
167	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] app_stack.c: Local/5183657500@from-internal-000000a6;1 Internal Gosub(func-apply-sipheaders,s,1) start	
168	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf("Local/5183657500@from-internal-000000a6;1", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack	
169	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp("Local/5183657500@from-internal-000000a6;1", "Applying SIP Headers to channel Local/5183657500@from-internal-000000a6;1") in new stack	
170	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:3] Set("Local/5183657500@from-internal-000000a6;1", "TECH=Local") in new stack	
171	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:4] Set("Local/5183657500@from-internal-000000a6;1", "SIPHEADERKEYS=") in new stack	
172	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:5] While("Local/5183657500@from-internal-000000a6;1", "0") in new stack	
173	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] app_while.c: Jumping to priority 13	
174	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] pbx.c: Executing [s@func-apply-sipheaders:14] Return("Local/5183657500@from-internal-000000a6;1", "") in new stack	
175	[2021-05-10 10:15:24] VERBOSE[4465][C-000002a3] app_stack.c: Spawn extension (from-internal, 570, 1) exited non-zero on 'Local/5183657500@from-internal-000000a6;1'

(Simon Telephonics) #2

Looks like it is working exactly right. The format of Local/xxxxx@from-internal indicates it’s being routed as though it were a call being processed through the dialplan. What are you getting farther down in the log file?


(Mvogel4949) #3

Very interesting, I did not realize that. Once I knew that wasn’t the problem I realized maybe it was a CallerID issue so I changed the Fixed CID to match the CID of the business and it worked. I should have thought of that myself. For some reason I got hung up on the internal, thank you for the help!


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.