FreePBX | Register | Issues | Wiki | Portal | Support

Invalid redirection to mobile

freepbx
Tags: #<Tag:0x00007f749e9e5808>

(Petr Blažek) #1

I have set a line redirect to my mobile (* 72). The function stopped working after an upgrade. In addition, FollowMe also stopped working. You have some experience with this malfunction. Thank you P.B


(Dave Burgess) #2

Can you show us the logs arounf a failed transfer?


(Lorne Gaetz) #3

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs


(Petr Blažek) #4

Thank you and the records will send a colleague to the forum tomorrow on Wednesday.


(Petr Blažek) #5

I attach a log from FreePBX to see that the PBX uses an internal numbering plan instead of an external plan.
Thank you for your consultation. You know how to attach a log file.

2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:1] NoOp("Local/FMGL-603603603#@from-internal-00000013;2", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:2] Set("Local/FMGL-603603603#@from-internal-00000013;2", "__CRM_SOURCE=00420263263263") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:3] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(ALERT_INFO=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:4] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(ALERT_INFO=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:5] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(ALERT_INFO=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:6] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(CHANNEL(musicclass)=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:7] AGI("Local/FMGL-603603603#@from-internal-00000013;2", "dialparties.agi") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Caller ID name is '00420263263263' number is '00420263263263'
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: CW Ignore is: 
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: CF Ignore is: 
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: CW IN_USE/BUSY is: 1
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Methodology of ring is  'ringall'
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Added extension 603603603# to extension map
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Extension 603603603# cf is disabled
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: dialparties.agi: Filtered ARG3: 603603603
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] res_agi.c: <Local/FMGL-603603603#@from-internal-00000013;2>AGI Script dialparties.agi completed, returning 0
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:10] NoOp("Local/FMGL-603603603#@from-internal-00000013;2", "Returned from dialparties with groups to dial") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:11] NoOp("Local/FMGL-603603603#@from-internal-00000013;2", "ringall array 603603603# ") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:12] Set("Local/FMGL-603603603#@from-internal-00000013;2", "__FMGL_DIAL=603603603#") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:13] Set("Local/FMGL-603603603#@from-internal-00000013;2", "LOOPCNT=1") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:14] Set("Local/FMGL-603603603#@from-internal-00000013;2", "ITER=1") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:15] Set("Local/FMGL-603603603#@from-internal-00000013;2", "__EXTTOCALL=603603603") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:16] NoOp("Local/FMGL-603603603#@from-internal-00000013;2", "Working with 603603603") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:17] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:18] ExecIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:19] Set("Local/FMGL-603603603#@from-internal-00000013;2", "ITER=2") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:20] GotoIf("Local/FMGL-603603603#@from-internal-00000013;2", "0?ndloopbegin") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial:21] Macro("Local/FMGL-603603603#@from-internal-00000013;2", "dial-ringall-predial-hook,") in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] pbx.c: Executing [s@macro-dial-ringall-predial-hook:1] MacroExit("Local/FMGL-603603603#@from-internal-00000013;2", "") in new stack

(Lorne Gaetz) #6

There’s more to the call than what you’ve provided.


(Petr Blažek) #7

yes i have all the log errors but i do not know how to upload it to the forum …


(Lorne Gaetz) #8

Don’t upload here, upload to pastebin and link here.


(Petr Blažek) #9

Thanks for advice…

https://pastebin.com/SBjkwdW1

PB


(Tom Ray) #10

[2019-01-25 18:10:53] VERBOSE[16205][C-000002aa] pbx.c: Executing [s@macro-dial:23] Dial(“SIP/TrunkG-000002b1”, “Local/FMPR-288288288@from-internal&Local/FMGL-603603603#@from-internal,30,WwtrL(7200000)IM(auto-blkvm)b(func-apply-sipheaders^s^1),”) in new stack

That shows FollowMe dialing the numbers in your followme list.

[2019-01-25 18:11:03] VERBOSE[16266][C-000002aa] pbx.c: Executing [603603603@from-internal:2] NoCDR(“Local/603603603@from-internal-00000014;2”, “”) in new stack
[2019-01-25 18:11:03] VERBOSE[16266][C-000002aa] pbx.c: Executing [603603603@from-internal:3] Progress(“Local/603603603@from-internal-00000014;2”, “”) in new stack
[2019-01-25 18:11:03] VERBOSE[16209][C-000002aa] app_dial.c: Local/603603603@from-internal-00000014;1 is making progress passing it to Local/FMGL-603603603#@from-internal-00000013;2
[2019-01-25 18:11:03] VERBOSE[16266][C-000002aa] pbx.c: Executing [603603603@from-internal:4] Wait(“Local/603603603@from-internal-00000014;2”, “1”) in new stack
[2019-01-25 18:11:04] VERBOSE[16266][C-000002aa] pbx.c: Executing [603603603@from-internal:5] Playback(“Local/603603603@from-internal-00000014;2”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack

This is the system not calling 603603603 because you don’t have any valid patterns for it. So far FollowMe seems to be working just fine.


(Petr Blažek) #11

Please and where do I have valid patterns for making my cellphone call?


(Dave Burgess) #12

Your outbound routes will define all of the valid patterns for phone calls.


(Petr Blažek) #13

I checked and route for this call is defined, and of course always been. Tried to give this one highest priority and then to make it separate just for this extension, but both to no avail. Also if it’s outgoing call, and not forwarded via FollowMe, all works fine. By the way FollowMe to External nr. worked normally previously, don’t remember exactly when it stopped, it could be about half year ago - and apart from updates, there wasn’t any change in our outbound routing.

Can you pinpoint me what is the exact cause of Local Trunk appearance instead of External from provided call log?

Our technician even tried to downgrade FollowMe and Core modules, but no change.

Excerpt from log:

[2019-02-07 09:59:50] VERBOSE[15483][C-000028ed] pbx.c: Executing [FMGL-600600600#@from-internal:7] Set(“Local/FMGL-600600600#@from-internal-00000373;2”, “SHARED(FM_DND,SIP/TrunkX-00002e3c)=”) in new stack
[2019-02-07 09:59:50] VERBOSE[15483][C-000028ed] pbx.c: Executing [FMGL-600600600#@from-internal:8] Macro(“Local/FMGL-600600600#@from-internal-00000373;2”, “dial,20,WwtTrL(7200000),600600600#”) in new stack …
[2019-02-07 09:59:50] VERBOSE[15483][C-000028ed] pbx.c: Executing [s@macro-dial:22] ExecIf(“Local/FMGL-600600600#@from-internal-00000373;2”, “0?Set(ds=Local/600600600@from-internal/n,20,WwtrL(7200000)M(auto-blkvm)g)”) in new stack

Where 600600600 is external number set in FollowMe and TrunkX is trunk set up in Outbound Routing.


(system) closed #14

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