Call block using feature code

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
I feel like we are headed in the right direction. No luck yet but different results on line 188


Code:
1    -df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Action set(record_in_progress=true) INLINE
2    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 set(record_in_progress=true)
3    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] mod_dptools.c:1615 SET sofia/internal/2020@fpbx2.npusa.us:5060 [record_in_progress]=[true]
4    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Action set(${uuid_record ${uuid} start ${record_path}/${record_name}})
5    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->redial] continue=true
6    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [redial] destination_number(*32) =~ /^(redial|\*870)$/ break=on-true
7    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (PASS) [redial] () =~ // break=never
8    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
9    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->speed_dial] continue=false
10    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [speed_dial] destination_number(*32) =~ /^\*0(.*)$/ break=on-false
11    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->default_caller_id] continue=true
12    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [default_caller_id] ${emergency_caller_id_number}(16785631010) =~ /^$/ break=never
13    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(16788804450) =~ /^$/ break=never
14    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->skyetel] continue=false
15    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (PASS) [skyetel] ${user_exists}(false) =~ /false/ break=on-false
16    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [skyetel] destination_number(*32) =~ /(^911$|^933$)/ break=on-false
17    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->ring group] continue=
18    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [ring group] destination_number(*32) =~ /^6002$/ break=on-false
19    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->ring group] continue=
20    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [ring group] destination_number(*32) =~ /^6001$/ break=on-false
21    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->TollFree.800] continue=false
22    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (PASS) [TollFree.800] ${user_exists}(false) =~ /false/ break=on-false
23    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [TollFree.800] destination_number(*32) =~ /^1?(8(00|33|44|55|66|77|88)[2-9]\d{6})$/ break=on-false
24    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->VI-OUT-PRIMARY.1d10] continue=false
25    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (PASS) [VI-OUT-PRIMARY.1d10] ${user_exists}(false) =~ /false/ break=on-false
26    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [VI-OUT-PRIMARY.1d10] destination_number(*32) =~ /^\+?1?(\d{10})$/ break=on-false
27    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->agent_status] continue=false
28    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [agent_status] destination_number(*32) =~ /^\*22$/ break=never
29    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [agent_status] destination_number(*32) =~ /^(agent\+)(.*)$/ break=on-false
30    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->agent_status_id] continue=false
31    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [agent_status_id] destination_number(*32) =~ /^\*23$/ break=on-false
32    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->group-intercept] continue=false
33    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [group-intercept] destination_number(*32) =~ /^\*8$/ break=on-false
34    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->page] continue=false
35    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [page] destination_number(*32) =~ /^\*724$/ break=on-false
36    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->page-extension] continue=false
37    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [page-extension] destination_number(*32) =~ /^\*8(\d{2,7})$/ break=on-false
38    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->eavesdrop] continue=false
39    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [eavesdrop] destination_number(*32) =~ /^\*33(\d{2,7})$/ break=on-false
40    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call_privacy] continue=false
41    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call_privacy] destination_number(*32) =~ /^\*67(\d+)$/ break=on-false
42    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call_return] continue=false
43    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call_return] destination_number(*32) =~ /^\*69$/ break=on-false
44    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->intercept-ext] continue=false
45    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [intercept-ext] destination_number(*32) =~ /^\*\*(\d+)$/ break=on-true
46    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [intercept-ext] destination_number(*32) =~ /^\*\*$/ break=on-false
47    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->extension_queue] continue=false
48    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [extension_queue] destination_number(*32) =~ /^\*800(.*)$/ break=on-false
49    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->intercept-ext-polycom] continue=false
50    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [intercept-ext-polycom] destination_number(*32) =~ /^\*97(\d+)$/ break=on-false
51    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->dx] continue=false
52    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [dx] destination_number(*32) =~ /^dx$/ break=on-false
53    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->dx] continue=false
54    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [dx] destination_number(*32) =~ /^dx$/ break=on-false
55    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->att_xfer] continue=false
56    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [att_xfer] destination_number(*32) =~ /^att_xfer$/ break=on-false
57    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->extension-to-voicemail] continue=false
58    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
59    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->send_to_voicemail] continue=false
60    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [send_to_voicemail] destination_number(*32) =~ /^\*99(\d{2,10})$/ break=on-false
61    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->vmain] continue=false
62    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [vmain] destination_number(*32) =~ /^vmain$|^\*4000$|^\*98$/ break=never
63    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [vmain] destination_number(*32) =~ /^(vmain$|^\*4000$|^\*98)(\d{2,12})$/ break=on-false
64    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->xfer_vm] continue=false
65    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [xfer_vm] destination_number(*32) =~ /^xfer_vm$/ break=on-false
66    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->is_transfer] continue=false
67    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [is_transfer] destination_number(*32) =~ /^is_transfer$/ break=on-false
68    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->vmain_user] continue=false
69    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [vmain_user] destination_number(*32) =~ /^\*97$/ break=on-false
70    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->cf] continue=false
71    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [cf] destination_number(*32) =~ /^cf$/ break=on-false
72    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->delay_echo] continue=false
73    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [delay_echo] destination_number(*32) =~ /^\*9195$/ break=on-false
74    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->echo] continue=false
75    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [echo] destination_number(*32) =~ /^\*9196$/ break=on-false
76    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->milliwatt] continue=false
77    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [milliwatt] destination_number(*32) =~ /^\*9197$/ break=on-false
78    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->is_zrtp_secure] continue=true
79    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
80    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 ANTI-Action eval(not_secure)
81    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->tone_stream] continue=false
82    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [tone_stream] destination_number(*32) =~ /^\*9198$/ break=on-false
83    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->is_secure] continue=true
84    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [is_secure] ${sip_via_protocol}(tcp) =~ /tls/ break=on-false
85    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->hold_music] continue=false
86    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [hold_music] destination_number(*32) =~ /^\*9664$/ break=on-false
87    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->recordings] continue=false
88    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [recordings] destination_number(*32) =~ /^\*(732)$/ break=on-false
89    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->directory] continue=false
90    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [directory] destination_number(*32) =~ /^\*411$/ break=on-false
91    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->wake-up] continue=false
92    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [wake-up] destination_number(*32) =~ /^\*(925)$/ break=on-false
93    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->valet_park] continue=false
94    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park] destination_number(*32) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
95    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
96    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park] destination_number(*32) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=never
97    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park] destination_number(*32) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=on-false
98    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->valet_park_in] continue=false
99    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park_in] destination_number(*32) =~ /^(park\+)?(\*5900)$/ break=on-false
100    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->valet_park_out] continue=false
101    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [valet_park_out] destination_number(*32) =~ /^(park\+)?\*(59[0-9][0-9])$/ break=on-false
102    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->operator] continue=false
103    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [operator] destination_number(*32) =~ /^0$|^operator$/ break=on-false
104    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->operator-forward] continue=false
105    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [operator-forward] destination_number(*32) =~ /^\*000$/ break=on-false
106    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->do-not-disturb] continue=false
107    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [do-not-disturb] destination_number(*32) =~ /^\*77$/ break=on-true
108    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [do-not-disturb] destination_number(*32) =~ /^\*78$|\*363$/ break=on-true
109    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [do-not-disturb] destination_number(*32) =~ /^\*79$/ break=on-true
110    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [do-not-disturb] destination_number(*32) =~ /^dnd\+2020$/ break=on-true
111    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call_screen] continue=true
112    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
113    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call-forward] continue=false
114    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call-forward] destination_number(*32) =~ /^\*72(\d*)$/ break=on-true
115    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call-forward] destination_number(*32) =~ /^\*73$/ break=on-true
116    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call-forward] destination_number(*32) =~ /^\*74$/ break=on-true
117    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call-forward] destination_number(*32) =~ /^forward\+(\Q2020\E)(?:\/(\d+))?$/ break=on-true
118    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call forward all] continue=false
119    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call forward all] ${user_exists}(false) =~ /true/ break=on-false
120    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->call forward not registered] continue=false
121    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [call forward not registered] ${user_exists}(false) =~ /true/ break=on-false
122    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->follow-me] continue=false
123    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [follow-me] destination_number(*32) =~ /^\*21$/ break=on-false
124    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->talking clock date and time] continue=true
125    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [talking clock date and time] destination_number(*32) =~ /^\*9172$/ break=on-false
126    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->clear_sip_auto_answer] continue=true
127    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
128    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->talking clock time] continue=true
129    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [talking clock time] destination_number(*32) =~ /^\*9170$/ break=on-false
130    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->talking clock date] continue=true
131    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [talking clock date] destination_number(*32) =~ /^\*9171$/ break=on-false
132    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->local_extension] continue=true
133    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
134    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->voicemail] continue=false
135    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
136    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 parsing [fpbx2.npusa.us->blacklist] continue=false
137    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Regex (PASS) [blacklist] destination_number(*32) =~ /^\*32$/ break=on-false
138    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Action set(lastnumcalled=${hash(select/${domain_name}-call_return/${caller_id_number})})
139    b6b4cf18-df52-495b-a283-2ce3b7109360 Dialplan: sofia/internal/2020@fpbx2.npusa.us:5060 Action lua(app.lua blacklist)
140    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/2020@fpbx2.npusa.us:5060) State Change CS_ROUTING -> CS_EXECUTE
141    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/2020@fpbx2.npusa.us:5060) State ROUTING going to sleep
142    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2020@fpbx2.npusa.us:5060) Running State Change CS_EXECUTE (Cur 1 Tot 4344)
143    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2020@fpbx2.npusa.us:5060) State EXECUTE
144    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] mod_sofia.c:209 sofia/internal/2020@fpbx2.npusa.us:5060 SOFIA EXECUTE
145    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_state_machine.c:328 sofia/internal/2020@fpbx2.npusa.us:5060 Standard EXECUTE
146    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 set(caller_id_number=2020)
147    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] mod_dptools.c:1615 SET sofia/internal/2020@fpbx2.npusa.us:5060 [caller_id_number]=[2020]
148    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 export(origination_callee_id_name=*32)
149    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [origination_callee_id_name]=[*32]
150    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 set(RFC2822_DATE=Thu, 25 Jul 2019 11:14:58 -0400)
151    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] mod_dptools.c:1615 SET sofia/internal/2020@fpbx2.npusa.us:5060 [RFC2822_DATE]=[Thu, 25 Jul 2019 11:14:58 -0400]
152    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [INFO] switch_ivr_async.c:2590 Sending early media
153    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/internal/2020@fpbx2.npusa.us:5060] 74.208.214.70 port 22660 -> 192.168.5.41 port 11780 codec: 9 ms: 20
154    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms
155    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_media.c:8875 sofia/internal/2020@fpbx2.npusa.us:5060 Set 2833 dtmf send payload to 101
156    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_media.c:8882 sofia/internal/2020@fpbx2.npusa.us:5060 Set 2833 dtmf receive payload to 101
157    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_core_media.c:8905 sofia/internal/2020@fpbx2.npusa.us:5060 Set rtp dtmf delay to 40
158    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] mod_sofia.c:2515 Ring SDP:
159    b6b4cf18-df52-495b-a283-2ce3b7109360 v=0
160    b6b4cf18-df52-495b-a283-2ce3b7109360 o=FreeSWITCH 1564045038 1564045039 IN IP4 74.208.214.70
161    b6b4cf18-df52-495b-a283-2ce3b7109360 s=FreeSWITCH
162    b6b4cf18-df52-495b-a283-2ce3b7109360 c=IN IP4 74.208.214.70
163    b6b4cf18-df52-495b-a283-2ce3b7109360 t=0 0
164    b6b4cf18-df52-495b-a283-2ce3b7109360 m=audio 22660 RTP/AVP 9 101
165    b6b4cf18-df52-495b-a283-2ce3b7109360 a=rtpmap:9 G722/8000
166    b6b4cf18-df52-495b-a283-2ce3b7109360 a=rtpmap:101 telephone-event/8000
167    b6b4cf18-df52-495b-a283-2ce3b7109360 a=fmtp:101 0-16
168    b6b4cf18-df52-495b-a283-2ce3b7109360 a=ptime:20
169    b6b4cf18-df52-495b-a283-2ce3b7109360 a=sendrecv
170    b6b4cf18-df52-495b-a283-2ce3b7109360
171    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [NOTICE] mod_sofia.c:2518 Pre-Answer sofia/internal/2020@fpbx2.npusa.us:5060!
172    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] switch_channel.c:3526 (sofia/internal/2020@fpbx2.npusa.us:5060) Callstate Change RINGING -> EARLY
173    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.637982 [DEBUG] sofia.c:7323 Channel sofia/internal/2020@fpbx2.npusa.us:5060 entering state [early][183]
174    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_ivr_async.c:1347 Record session sample rate: 16000 -> 16000
175    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_media_bug.c:962 Attaching BUG to sofia/internal/2020@fpbx2.npusa.us:5060
176    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 set(+OK Success
177    b6b4cf18-df52-495b-a283-2ce3b7109360 )
178    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] mod_dptools.c:1615 SET sofia/internal/2020@fpbx2.npusa.us:5060 [+OK Success
179    b6b4cf18-df52-495b-a283-2ce3b7109360 ]=[UNDEF]
180    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 hash(insert/fpbx2.npusa.us-last_dial/2020/*32)
181    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 eval(not_secure)
182    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 set(lastnumcalled=)
183    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] mod_dptools.c:1615 SET sofia/internal/2020@fpbx2.npusa.us:5060 [lastnumcalled]=[UNDEF]
184    b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] sofia/internal/2020@fpbx2.npusa.us:5060 lua(app.lua blacklist)
185    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/blacklist/index.lua:63: attempt to concatenate global caller_id_number (a nil value)
186    b6b4cf18-df52-495b-a283-2ce3b7109360 stack traceback:
187    b6b4cf18-df52-495b-a283-2ce3b7109360 /usr/share/freeswitch/scripts/app/blacklist/index.lua:63: in main chunk
188    b6b4cf18-df52-495b-a283-2ce3b7109360 /usr/share/freeswitch/scripts/app.lua:48: in main chunk
189    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_cpp.cpp:1187 sofia/internal/2020@fpbx2.npusa.us:5060 destroy/unlink session from object
190    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [NOTICE] switch_core_state_machine.c:385 sofia/internal/2020@fpbx2.npusa.us:5060 has executed the last dialplan instruction, hanging up.
191    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/2020@fpbx2.npusa.us:5060 [CS_EXECUTE] [NORMAL_CLEARING]
192    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/2020@fpbx2.npusa.us:5060) State EXECUTE going to sleep
193    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2020@fpbx2.npusa.us:5060) Running State Change CS_HANGUP (Cur 1 Tot 4344)
194    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_channel.c:3565 sofia/internal/2020@fpbx2.npusa.us:5060 skip receive message [AUDIO_SYNC] (channel is hungup already)
195    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_ivr_async.c:1441 Stop recording file /var/lib/freeswitch/recordings/fpbx2.npusa.us/archive/2019/Jul/25/b6b4cf18-df52-495b-a283-2ce3b7109360.wav
196    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_ivr_async.c:1503 Discarding empty file /var/lib/freeswitch/recordings/fpbx2.npusa.us/archive/2019/Jul/25/b6b4cf18-df52-495b-a283-2ce3b7109360.wav
197    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_media_bug.c:1276 Removing BUG from sofia/internal/2020@fpbx2.npusa.us:5060
198    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/2020@fpbx2.npusa.us:5060) Callstate Change EARLY -> HANGUP
199    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/2020@fpbx2.npusa.us:5060) State HANGUP
200    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] mod_sofia.c:460 Channel sofia/internal/2020@fpbx2.npusa.us:5060 hanging up, cause: NORMAL_CLEARING
201    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] mod_sofia.c:600 Responding to INVITE with: 480
202    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2020@fpbx2.npusa.us:5060 Standard HANGUP, cause: NORMAL_CLEARING
203    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/2020@fpbx2.npusa.us:5060) State HANGUP going to sleep
204    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/2020@fpbx2.npusa.us:5060) State Change CS_HANGUP -> CS_REPORTING
205    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/2020@fpbx2.npusa.us:5060) Running State Change CS_REPORTING (Cur 1 Tot 4344)
206    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/2020@fpbx2.npusa.us:5060) State REPORTING
207    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2020@fpbx2.npusa.us:5060 Standard REPORTING, cause: NORMAL_CLEARING
208    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/2020@fpbx2.npusa.us:5060) State REPORTING going to sleep
209    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/2020@fpbx2.npusa.us:5060) State Change CS_REPORTING -> CS_DESTROY
210    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_session.c:1726 Session 4344 (sofia/internal/2020@fpbx2.npusa.us:5060) Locked, Waiting on external entities
211    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [NOTICE] switch_core_session.c:1744 Session 4344 (sofia/internal/2020@fpbx2.npusa.us:5060) Ended
212    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/2020@fpbx2.npusa.us:5060 [CS_DESTROY]
213    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/2020@fpbx2.npusa.us:5060) Running State Change CS_DESTROY (Cur 0 Tot 4344)
214    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/2020@fpbx2.npusa.us:5060) State DESTROY
215    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] mod_sofia.c:365 sofia/internal/2020@fpbx2.npusa.us:5060 SOFIA DESTROY
216    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2020@fpbx2.npusa.us:5060 Standard DESTROY
217    b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.698015 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/2020@fpbx2.npusa.us:5060) State DESTROY going to sleep
5156182631907328.png
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
I changed my inbound route dial plan to remove the + sign from all incoming calls on caller ID. Is this possibly affecting why the call block *32 is not working?


5967072390283264.png
 

afshin

New Member
Oct 29, 2018
24
3
3
It cannot take a value for lastnumcalled from : ${domain_name}-call_return/${caller_id_number}

182 b6b4cf18-df52-495b-a283-2ce3b7109360 EXECUTE [depth=0] href="mailto:sofia/internal/2020@fpbx2.npusa.us:5060">sofia/internal/2020@fpbx2.npusa.us:5060 set(lastnumcalled=)

185 b6b4cf18-df52-495b-a283-2ce3b7109360 2019-07-25 11:14:58.657984 [ERR] mod_lua.cpp:202 /usr/share/freeswitch/scripts/app/blacklist/index.lua:63: attempt to concatenate global caller_id_number (a nil value)
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
I tried replacing caller_id_number with effective_caller_id_number since that is what I used in the inbound route. That did not work either. Any ideas how to get the caller id number not be nil
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Here is what I discovered. It work if my DID is pointed directly at an ext. If I point the DID at a ring group with an enterprise strategy, it does not work.
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
What I have decided to do is just give my users a user login restricted to call blocking priveleges only and just let them login to Fusion and use the call block module. Yes, it would be easier to just press *32 but I can only get it to work if it direct dials an ext and not a ring group
 

JamesBorne

Active Member
Jan 24, 2019
294
56
28
Australia
Here is what I discovered. It work if my DID is pointed directly at an ext. If I point the DID at a ring group with an enterprise strategy, it does not work.
It should work through a ring group in theory as Fusion does keep track of the originating caller. Will test this flow and get back to you.

1- It uses a random date and time when adds number to the blacklist , example today is 25 July , but in blacklist date added is 11 Nov , 10 July , 11 July ...
I saw that haha. It's not random, just the epoch calculation from Lua or whatever is not meshing with the one expected by the PHP code.
 
Status
Not open for further replies.