Call Block not actually blocking calls

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
309
10
18
54
I put several numbers on the call block list today. I went to call block, clicked the + sign to show which numbers came in then clicked the + sign next to the numbers I wished to block
A few minutes later the same telemarketer called back and got through.
So I blocked my cell# to test and it does not seem to be blocking calls

Fusionpbx 4.5.7

Debian 9

Any help would be welcomed!

6261674129227776.png6347098394722304.png
 
Last edited:

Andrew Byrd

Member
Feb 16, 2018
309
10
18
54
I intentionally blocked my cell # 770-827-4079. Then I called 678-928-9100. Here are the logs from the call. It doesn't even look like that call block is active but I show it is in the GUI


2019-07-22 16:50:19.378255 [NOTICE] switch_channel.c:1114 New Channel sofia/external/+17708274079@52.41.52.34 [6362717a-f004-4372-8512-9837ef24abb6]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_NEW (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:10164 sofia/external/+17708274079@52.41.52.34 receiving invite from 52.41.52.34:50920 version: 1.8.7 -8-6047ebddfc 64bit
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:10260 verifying acl "domains" for ip/port 52.41.52.34:0.
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:10289 IP 52.41.52.34 Approved by acl "domains[]". Access Granted.
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:7323 Channel sofia/external/+17708274079@52.41.52.34 entering state [received][100]
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:7333 Remote SDP:
v=0
o=Sonus_UAC 850876 135590 IN IP4 206.147.92.21
s=SIP Media Capabilities
c=IN IP4 206.147.92.25
t=0 0
m=audio 12308 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20

2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101@8000
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:3781 Set Codec sofia/external/+17708274079@52.41.52.34 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2019-07-22 16:50:19.378255 [DEBUG] switch_core_codec.c:111 sofia/external/+17708274079@52.41.52.34 Original read codec set to PCMU:0
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101@8000
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:5828 sofia/external/+17708274079@52.41.52.34 Set 2833 dtmf send payload to 101 recv payload to 101
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:7748 (sofia/external/+17708274079@52.41.52.34) State Change CS_NEW -> CS_INIT
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:603 (sofia/external/+17708274079@52.41.52.34) State NEW
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_INIT (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:627 (sofia/external/+17708274079@52.41.52.34) State INIT
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:93 sofia/external/+17708274079@52.41.52.34 SOFIA INIT
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:40 sofia/external/+17708274079@52.41.52.34 Standard INIT
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:48 (sofia/external/+17708274079@52.41.52.34) State Change CS_INIT -> CS_ROUTING
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:627 (sofia/external/+17708274079@52.41.52.34) State INIT going to sleep
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_ROUTING (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:2293 (sofia/external/+17708274079@52.41.52.34) Callstate Change DOWN -> RINGING
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:643 (sofia/external/+17708274079@52.41.52.34) State ROUTING
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:154 sofia/external/+17708274079@52.41.52.34 SOFIA ROUTING
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:236 sofia/external/+17708274079@52.41.52.34 Standard ROUTING
2019-07-22 16:50:19.378255 [INFO] mod_dialplan_xml.c:637 Processing Byrd,Andrew <+17708274079>->16789289100 in context public
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [public->caller-details] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 export(call_direction=inbound)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(caller_destination=${sip_to_user}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(caller_destination=+16789289100)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [caller_destination]=[+16789289100]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(caller_id_name=Byrd,Andrew)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [caller_id_name]=[Byrd,Andrew]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(effective_caller_id_number=${regex(${caller_id_number}|^\+1([0-9]{10})$|%1)})
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [public->16789289100] continue=false
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [16789289100] destination_number(16789289100) =~ /^(16789289100)$/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 export(call_direction=inbound)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(domain_uuid=e76a4e2f-01bb-4ce0-921c-8f175873d205) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(domain_uuid=e76a4e2f-01bb-4ce0-921c-8f175873d205)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [domain_uuid]=[e76a4e2f-01bb-4ce0-921c-8f175873d205]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(domain_name=fpbx1.npusa.us) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(domain_name=fpbx1.npusa.us)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [domain_name]=[fpbx1.npusa.us]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(hangup_after_bridge=true)
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(continue_on_fail=true)
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(record_path=${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(record_path=/var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/22)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [record_path]=[/var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/22]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(record_name=${uuid}.${record_ext}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(record_name=6362717a-f004-4372-8512-9837ef24abb6.wav)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [record_name]=[6362717a-f004-4372-8512-9837ef24abb6.wav]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(record_append=true) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(record_append=true)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [record_append]=[true]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(record_in_progress=true) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(record_in_progress=true)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [record_in_progress]=[true]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(recording_follow_transfer=true) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(recording_follow_transfer=true)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [recording_follow_transfer]=[true]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action record_session(${record_path}/${record_name})
Dialplan: sofia/external/+17708274079@52.41.52.34 Action transfer(6001 XML fpbx1.npusa.us)
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:286 (sofia/external/+17708274079@52.41.52.34) State Change CS_ROUTING -> CS_EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:643 (sofia/external/+17708274079@52.41.52.34) State ROUTING going to sleep
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_EXECUTE (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:650 (sofia/external/+17708274079@52.41.52.34) State EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:209 sofia/external/+17708274079@52.41.52.34 SOFIA EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:328 sofia/external/+17708274079@52.41.52.34 Standard EXECUTE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(caller_id_number=+17708274079)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [caller_id_number]=[+17708274079]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(effective_caller_id_number=7708274079)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [effective_caller_id_number]=[7708274079]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(hangup_after_bridge=true)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [hangup_after_bridge]=[true]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(continue_on_fail=true)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [continue_on_fail]=[true]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_session.c:2722 Application record_session Requires media! pre_answering channel sofia/external/+17708274079@52.41.52.34
2019-07-22 16:50:19.378255 [INFO] switch_core_session.c:2724 Sending early media
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/external/+17708274079@52.41.52.34] 74.208.214.70 port 23234 -> 206.147.92.25 port 12308 codec: 0 ms: 20
2019-07-22 16:50:19.378255 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:8875 sofia/external/+17708274079@52.41.52.34 Set 2833 dtmf send payload to 101
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:8882 sofia/external/+17708274079@52.41.52.34 Set 2833 dtmf receive payload to 101
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:8905 sofia/external/+17708274079@52.41.52.34 Set rtp dtmf delay to 40
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:2515 Ring SDP:
v=0
o=FreeSWITCH 1563805385 1563805386 IN IP4 74.208.214.70
s=FreeSWITCH
c=IN IP4 74.208.214.70
t=0 0
m=audio 23234 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2019-07-22 16:50:19.378255 [NOTICE] mod_sofia.c:2518 Pre-Answer sofia/external/+17708274079@52.41.52.34!
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:3526 (sofia/external/+17708274079@52.41.52.34) Callstate Change RINGING -> EARLY
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 record_session(/var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/22/6362717a-f004-4372-8512-9837ef24abb6.wav)
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:7323 Channel sofia/external/+17708274079@52.41.52.34 entering state [early][183]
2019-07-22 16:50:19.378255 [DEBUG] switch_ivr_async.c:1347 Record session sample rate: 8000 -> 8000
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media_bug.c:962 Attaching BUG to sofia/external/+17708274079@52.41.52.34
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 transfer(6001 XML fpbx1.npusa.us)
2019-07-22 16:50:19.378255 [DEBUG] switch_ivr.c:2224 (sofia/external/+17708274079@52.41.52.34) State Change CS_EXECUTE -> CS_ROUTING
2019-07-22 16:50:19.378255 [NOTICE] switch_ivr.c:2231 Transfer sofia/external/+17708274079@52.41.52.34 to XML[6001@fpbx1.npusa.us]
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:650 (sofia/external/+17708274079@52.41.52.34) State EXECUTE going to sleep
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_ROUTING (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:2293 (sofia/external/+17708274079@52.41.52.34) Callstate Change EARLY -> RINGING
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:643 (sofia/external/+17708274079@52.41.52.34) State ROUTING
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:145 Call appears to be already acknowledged
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:154 sofia/external/+17708274079@52.41.52.34 SOFIA ROUTING
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:236 sofia/external/+17708274079@52.41.52.34 Standard ROUTING
2019-07-22 16:50:19.378255 [INFO] mod_dialplan_xml.c:637 Processing Byrd,Andrew <+17708274079>->6001 in context fpbx1.npusa.us
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->user_exists] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [user_exists] () =~ // break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(user_exists=false)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [user_exists]=[false]
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->caller-details] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [caller-details] ${caller_destination}(+16789289100) =~ /^$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->call-direction] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [call-direction] ${call_direction}(inbound) =~ /^(inbound|outbound|local)$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->variables] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [variables] () =~ // break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 Action export(origination_callee_id_name=${destination_number})
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->is_loopback] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->user_record] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_exists}() =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_exists}() =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_exists}() =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_exists}() =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_exists}() =~ /^true$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->redial] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [redial] destination_number(6001) =~ /^(redial|\*870)$/ break=on-true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [redial] () =~ // break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->speed_dial] continue=false
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [speed_dial] destination_number(6001) =~ /^\*0(.*)$/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->default_caller_id] continue=true
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [default_caller_id] ${emergency_caller_id_number}() =~ /^$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(emergency_caller_id_name=${default_emergency_caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(emergency_caller_id_name=)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [emergency_caller_id_name]=[UNDEF]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(emergency_caller_id_number=${default_emergency_caller_id_number}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(emergency_caller_id_number=)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [emergency_caller_id_number]=[UNDEF]
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [default_caller_id] ${outbound_caller_id_number}() =~ /^$/ break=never
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(outbound_caller_id_name=${default_outbound_caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(outbound_caller_id_name=)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [outbound_caller_id_name]=[UNDEF]
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(outbound_caller_id_number=${default_outbound_caller_id_number}) INLINE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(outbound_caller_id_number=)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [outbound_caller_id_number]=[UNDEF]
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->skyetel] continue=false
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [skyetel] ${user_exists}(false) =~ /false/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (FAIL) [skyetel] destination_number(6001) =~ /(^911$|^933$)/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 parsing [fpbx1.npusa.us->ring group] continue=
Dialplan: sofia/external/+17708274079@52.41.52.34 Regex (PASS) [ring group] destination_number(6001) =~ /^6001$/ break=on-false
Dialplan: sofia/external/+17708274079@52.41.52.34 Action ring_ready()
Dialplan: sofia/external/+17708274079@52.41.52.34 Action set(ring_group_uuid=bcdd8187-b159-4066-8a5e-e32e5bf0c7b3)
Dialplan: sofia/external/+17708274079@52.41.52.34 Action lua(app.lua ring_groups)
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:286 (sofia/external/+17708274079@52.41.52.34) State Change CS_ROUTING -> CS_EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:643 (sofia/external/+17708274079@52.41.52.34) State ROUTING going to sleep
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_EXECUTE (Cur 1 Tot 380)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:2297 (sofia/external/+17708274079@52.41.52.34) Callstate Change RINGING -> EARLY
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:650 (sofia/external/+17708274079@52.41.52.34) State EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:209 sofia/external/+17708274079@52.41.52.34 SOFIA EXECUTE
2019-07-22 16:50:19.378255 [DEBUG] switch_core_state_machine.c:328 sofia/external/+17708274079@52.41.52.34 Standard EXECUTE
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 export(origination_callee_id_name=6001)
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [origination_callee_id_name]=[6001]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(RFC2822_DATE=Mon, 22 Jul 2019 16:50:19 -0400)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [RFC2822_DATE]=[Mon, 22 Jul 2019 16:50:19 -0400]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 hash(insert/fpbx1.npusa.us-last_dial/+17708274079/6001)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 ring_ready()
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(ring_group_uuid=bcdd8187-b159-4066-8a5e-e32e5bf0c7b3)
2019-07-22 16:50:19.378255 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [ring_group_uuid]=[bcdd8187-b159-4066-8a5e-e32e5bf0c7b3]
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 lua(app.lua ring_groups)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 ring_ready()
2019-07-22 16:50:19.378255 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('call_timeout', '300')
2019-07-22 16:50:19.378255 [DEBUG] switch_core_media.c:8551 Audio params are unchanged for sofia/external/+17708274079@52.41.52.34.
2019-07-22 16:50:19.378255 [DEBUG] mod_sofia.c:893 Local SDP sofia/external/+17708274079@52.41.52.34:
v=0
o=FreeSWITCH 1563805385 1563805387 IN IP4 74.208.214.70
s=FreeSWITCH
c=IN IP4 74.208.214.70
t=0 0
m=audio 23234 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2019-07-22 16:50:19.378255 [NOTICE] switch_cpp.cpp:685 Channel [sofia/external/+17708274079@52.41.52.34] has been answered
2019-07-22 16:50:19.378255 [DEBUG] switch_channel.c:3825 (sofia/external/+17708274079@52.41.52.34) Callstate Change EARLY -> ACTIVE
2019-07-22 16:50:19.378255 [DEBUG] sofia.c:7323 Channel sofia/external/+17708274079@52.41.52.34 entering state [completed][200]
2019-07-22 16:50:19.378255 [DEBUG] switch_ivr_async.c:1636 No silence detection configured; assuming start of speech
2019-07-22 16:50:19.538216 [DEBUG] sofia.c:7323 Channel sofia/external/+17708274079@52.41.52.34 entering state [ready][200]
2019-07-22 16:50:19.658190 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed.
2019-07-22 16:50:19.658190 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2019-07-22 16:50:20.398162 [DEBUG] switch_cpp.cpp:1443 [ring_group] resolve `recording.wav` as recording `/var/lib/freeswitch/recordings/fpbx1.npusa.us/recording.wav`
2019-07-22 16:50:20.398162 [NOTICE] switch_cpp.cpp:1443 [ring_group] Found `recording.wav` as `/var/lib/freeswitch/recordings/fpbx1.npusa.us/recording.wav`
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 playback(/var/lib/freeswitch/recordings/fpbx1.npusa.us/recording.wav)
2019-07-22 16:50:20.398162 [DEBUG] switch_core_file.c:389 File /var/lib/freeswitch/recordings/fpbx1.npusa.us/recording.wav sample rate 16000 doesn't match requested rate 8000
2019-07-22 16:50:20.398162 [DEBUG] switch_ivr_play_say.c:1497 Codec Activated L16@8000hz 1 channels 20ms
2019-07-22 16:50:23.058022 [NOTICE] sofia.c:1079 Hangup sofia/external/+17708274079@52.41.52.34 [CS_EXECUTE] [NORMAL_CLEARING]
2019-07-22 16:50:23.058022 [DEBUG] switch_ivr_play_say.c:1941 done playing file /var/lib/freeswitch/recordings/fpbx1.npusa.us/recording.wav
2019-07-22 16:50:23.058022 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.078011 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('ringback', 'tone_stream://%(2000,4000,440,480);loops=-1')
2019-07-22 16:50:23.078011 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('transfer_ringback', 'tone_stream://%(2000,4000,440,480);loops=-1')
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2680 sofia/external/+17708274079@52.41.52.34 ZOMBIE EXEC set(uuids=40c235d1-b62b-43ca-8bb4-4640bac5310d)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(uuids=40c235d1-b62b-43ca-8bb4-4640bac5310d)
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2889 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC] (channel is hungup already)
2019-07-22 16:50:23.078011 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [uuids]=[40c235d1-b62b-43ca-8bb4-4640bac5310d]
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2680 sofia/external/+17708274079@52.41.52.34 ZOMBIE EXEC export(sip_h_Alert-Info=)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 export(sip_h_Alert-Info=)
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2889 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC] (channel is hungup already)
2019-07-22 16:50:23.078011 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [sip_h_Alert-Info]=[UNDEF]
2019-07-22 16:50:23.078011 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('ringback', 'tone_stream://%(2000,4000,440,480);loops=-1')
2019-07-22 16:50:23.098009 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('transfer_ringback', 'tone_stream://%(2000,4000,440,480);loops=-1')
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2680 sofia/external/+17708274079@52.41.52.34 ZOMBIE EXEC set(uuids=40c235d1-b62b-43ca-8bb4-4640bac5310d,480c82b3-cb15-4ed9-bb4f-08273c926be9)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 set(uuids=40c235d1-b62b-43ca-8bb4-4640bac5310d,480c82b3-cb15-4ed9-bb4f-08273c926be9)
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2889 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] mod_dptools.c:1615 SET sofia/external/+17708274079@52.41.52.34 [uuids]=[40c235d1-b62b-43ca-8bb4-4640bac5310d,480c82b3-cb15-4ed9-bb4f-08273c926be9]
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2680 sofia/external/+17708274079@52.41.52.34 ZOMBIE EXEC export(sip_h_Alert-Info=)
EXECUTE [depth=0] sofia/external/+17708274079@52.41.52.34 export(sip_h_Alert-Info=)
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2889 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [sip_h_Alert-Info]=[UNDEF]
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] switch_cpp.cpp:1187 sofia/external/+17708274079@52.41.52.34 destroy/unlink session from object
2019-07-22 16:50:23.098009 [DEBUG] switch_core_session.c:2905 sofia/external/+17708274079@52.41.52.34 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:650 (sofia/external/+17708274079@52.41.52.34) State EXECUTE going to sleep
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_HANGUP (Cur 1 Tot 380)
2019-07-22 16:50:23.098009 [DEBUG] switch_ivr_async.c:1441 Stop recording file /var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/22/6362717a-f004-4372-8512-9837ef24abb6.wav
2019-07-22 16:50:23.098009 [DEBUG] switch_ivr_async.c:1516 Channel is hung up
2019-07-22 16:50:23.098009 [DEBUG] switch_core_media_bug.c:1276 Removing BUG from sofia/external/+17708274079@52.41.52.34
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:847 (sofia/external/+17708274079@52.41.52.34) Callstate Change ACTIVE -> HANGUP
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:849 (sofia/external/+17708274079@52.41.52.34) State HANGUP
2019-07-22 16:50:23.098009 [DEBUG] mod_sofia.c:460 Channel sofia/external/+17708274079@52.41.52.34 hanging up, cause: NORMAL_CLEARING
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:60 sofia/external/+17708274079@52.41.52.34 Standard HANGUP, cause: NORMAL_CLEARING
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:849 (sofia/external/+17708274079@52.41.52.34) State HANGUP going to sleep
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:619 (sofia/external/+17708274079@52.41.52.34) State Change CS_HANGUP -> CS_REPORTING
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:584 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_REPORTING (Cur 1 Tot 380)
2019-07-22 16:50:23.098009 [DEBUG] switch_core_state_machine.c:935 (sofia/external/+17708274079@52.41.52.34) State REPORTING
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:174 sofia/external/+17708274079@52.41.52.34 Standard REPORTING, cause: NORMAL_CLEARING
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:935 (sofia/external/+17708274079@52.41.52.34) State REPORTING going to sleep
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:610 (sofia/external/+17708274079@52.41.52.34) State Change CS_REPORTING -> CS_DESTROY
2019-07-22 16:50:23.178035 [DEBUG] switch_core_session.c:1726 Session 380 (sofia/external/+17708274079@52.41.52.34) Locked, Waiting on external entities
2019-07-22 16:50:23.178035 [NOTICE] switch_core_session.c:1744 Session 380 (sofia/external/+17708274079@52.41.52.34) Ended
2019-07-22 16:50:23.178035 [NOTICE] switch_core_session.c:1748 Close Channel sofia/external/+17708274079@52.41.52.34 [CS_DESTROY]
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:738 (sofia/external/+17708274079@52.41.52.34) Running State Change CS_DESTROY (Cur 0 Tot 380)
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:748 (sofia/external/+17708274079@52.41.52.34) State DESTROY
2019-07-22 16:50:23.178035 [DEBUG] mod_sofia.c:365 sofia/external/+17708274079@52.41.52.34 SOFIA DESTROY
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:181 sofia/external/+17708274079@52.41.52.34 Standard DESTROY
2019-07-22 16:50:23.178035 [DEBUG] switch_core_state_machine.c:748 (sofia/external/+17708274079@52.41.52.34) State DESTROY going to sleep
freeswitch@468AC01>
 

synapticmx

New Member
Nov 2, 2019
1
1
1
44
Try to move call_block from Order 40 to Order 26, it should work. The same happend to me and resolved in that way.
 
  • Like
Reactions: Seglaf

toolfolks

Member
May 1, 2020
73
5
8
65
I have created a call block using my own mobile number ( 07861486831 ) The call block is ignored. I moved it to Order 26 then Order 5 but no change.

I have in inbound for the DID that my number comes in and it directs to my IVR.

Do I need any regex
 

Attachments

  • Screenshot 2020-05-16 at 21.00.06.jpg
    Screenshot 2020-05-16 at 21.00.06.jpg
    129.2 KB · Views: 110
  • Screenshot 2020-05-16 at 20.59.54.jpg
    Screenshot 2020-05-16 at 20.59.54.jpg
    142.1 KB · Views: 105
  • Screenshot 2020-05-16 at 17.43.30.jpg
    Screenshot 2020-05-16 at 17.43.30.jpg
    149.1 KB · Views: 94
  • Screenshot 2020-05-16 at 17.42.44.jpg
    Screenshot 2020-05-16 at 17.42.44.jpg
    174.1 KB · Views: 93

toolfolks

Member
May 1, 2020
73
5
8
65
Tried a trillion different settings.
This works.
I have 2 inbound rules.

1(order 100) checks for my Destination number & caller ID then auto transfers to ext 1004
2(order 105) checks for my destination number then auto transfers to my IVR.

This works okay.
Calls from my mobile go to the ext 1004.
Any other calls goto the iVR.

However if I turn on the callblock ( which just has my number in there ) all calls are blocked.

I must be doing something dumb somewhere but can't work it out.
 

toolfolks

Member
May 1, 2020
73
5
8
65
I have the following ngrep.

I have my internal Sip port set to 10060.

The call block has 07861486831 blocked





With Call Block on Continue set to True.

Call in from 07861486831 Divert straight to AAstraPhone.


interface: any
filter: ( host 2.99.151.76 and port 10060 ) and (ip || ip6)
match: .
#
U 2020/05/18 09:28:03.089656 192.168.1.2:10060 -> 2.99.151.76:5060 #1
INVITE sip:AastraHome@192.168.1.3:5060 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bK9veZvK0v1raFQ.
Route: <sip:AastraHome@2.99.151.76:5060>.
Max-Forwards: 66.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341449 INVITE.
Contact: <sip:mod_sofia@92.27.246.56:10060>.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Session-Expires: 120;refresher=uac.
Min-SE: 120.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 292.
X-FS-Support: update_display,send_info.
Remote-Party-ID: "07861486831" <sip:07861486831@test.toolfolks.com>;party=calling;screen=yes;privacy=off.
.
v=0.
o=FreeSWITCH 1589770483 1589770484 IN IP4 92.27.246.56.
s=FreeSWITCH.
c=IN IP4 92.27.246.56.
t=0 0.
m=audio 20000 RTP/AVP 8 9 0 101 13.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=rtpmap:13 CN/8000.
a=ptime:20.

#
U 2020/05/18 09:28:03.131372 2.99.151.76:5060 -> 192.168.1.2:10060 #2
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;branch=z9hG4bK9veZvK0v1raFQ.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341449 INVITE.
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE.
Content-Length: 0.
.

#
U 2020/05/18 09:28:03.199716 2.99.151.76:5060 -> 192.168.1.2:10060 #3
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;branch=z9hG4bK9veZvK0v1raFQ.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341449 INVITE.
Contact: <sip:AastraHome@192.168.1.3:5060>.
User-Agent: Aastra 1023i/2.2.162.67.
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE.
Content-Length: 0.
.

#
U 2020/05/18 09:28:04.494243 2.99.151.76:5060 -> 192.168.1.2:10060 #4
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;branch=z9hG4bK9veZvK0v1raFQ.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341449 INVITE.
Contact: <sip:AastraHome@192.168.1.3:5060>.
Supported: 100rel, replaces, timer.
User-Agent: Aastra 1023i/2.2.162.67.
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE.
Content-Type: application/sdp.
Content-Length: 201.
.
v=0.
o=sdp_admin 2197118588 1792215083 IN IP4 192.168.1.3.
s=A conversation.
c=IN IP4 192.168.1.3.
t=0 0.
m=audio 10182 RTP/AVP 8 9 0.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.

#
U 2020/05/18 09:28:04.495986 192.168.1.2:10060 -> 2.99.151.76:5060 #5
ACK sip:AastraHome@192.168.1.3:5060 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bKa67QyeH0y101j.
Max-Forwards: 70.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341449 ACK.
Contact: <sip:mod_sofia@92.27.246.56:10060>.
Content-Length: 0.
.

#
U 2020/05/18 09:28:04.597587 192.168.1.2:10060 -> 2.99.151.76:5060 #6
UPDATE sip:AastraHome@192.168.1.3:5060 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bKBF1g0913UaQme.
Max-Forwards: 70.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341450 UPDATE.
Contact: <sip:mod_sofia@92.27.246.56:10060>.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Session-Expires: 120;refresher=uac.
Min-SE: 120.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 292.
P-Asserted-Identity: "07861486831" <sip:07861486831@192.168.1.2>.
.
v=0.
o=FreeSWITCH 1589770483 1589770484 IN IP4 92.27.246.56.
s=FreeSWITCH.
c=IN IP4 92.27.246.56.
t=0 0.
m=audio 20000 RTP/AVP 8 9 0 101 13.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=rtpmap:13 CN/8000.
a=ptime:20.

#
U 2020/05/18 09:28:04.668906 2.99.151.76:5060 -> 192.168.1.2:10060 #7
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;branch=z9hG4bKBF1g0913UaQme.
From: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
To: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341450 UPDATE.
Contact: <sip:AastraHome@192.168.1.3:5060>.
Supported: 100rel, replaces, timer.
User-Agent: Aastra 1023i/2.2.162.67.
Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REFER, NOTIFY, INFO, PRACK, UPDATE, MESSAGE.
Content-Type: application/sdp.
Content-Length: 201.
.
v=0.
o=sdp_admin 2197118588 1792215084 IN IP4 192.168.1.3.
s=A conversation.
c=IN IP4 192.168.1.3.
t=0 0.
m=audio 10182 RTP/AVP 8 9 0.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.

#
U 2020/05/18 09:28:05.395823 2.99.151.76:5060 -> 192.168.1.2:10060 #8
BYE sip:mod_sofia@92.27.246.56:10060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK8490280402421232068.
From: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
To: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 1 BYE.
Contact: <sip:AastraHome@192.168.1.3:5060>.
Max-Forwards: 70.
User-Agent: Aastra 1023i/2.2.162.67.
Content-Length: 0.
.

#
U 2020/05/18 09:28:05.398748 192.168.1.2:10060 -> 2.99.151.76:5060 #9
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.3:5060;branch=z9hG4bK8490280402421232068;received=2.99.151.76.
From: <sip:AastraHome@192.168.1.3:5060>;tag=86674423.
To: "07861486831" <sip:07861486831@test.toolfolks.com>;tag=XX0eg73K2D2KB.
Call-ID: 54fdd488-1384-1239-f29d-c89cdcff7cfe.
CSeq: 1 BYE.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Content-Length: 0.


Call in From Android goes to IVR.


#
U 2020/05/18 09:30:29.085922 2.99.151.76:54046 -> 192.168.1.2:10060 #1
.
................
#
U 2020/05/18 09:30:31.698453 192.168.1.2:10060 -> 2.99.151.76:10642 #2
INVITE sip:SteIphone@2.99.151.76:10642 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bKcrt914j7rKD7S.
Max-Forwards: 65.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76:10642>.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341523 INVITE.
Contact: <sip:mod_sofia@92.27.246.56:10060>.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Content-Type: application/sdp.
Content-Disposition: session.
Content-Length: 292.
X-FS-Support: update_display,send_info.
Remote-Party-ID: "07446944654" <sip:07446944654@test.toolfolks.com>;party=calling;screen=yes;privacy=off.
.
v=0.
o=FreeSWITCH 1589770269 1589770270 IN IP4 92.27.246.56.
s=FreeSWITCH.
c=IN IP4 92.27.246.56.
t=0 0.
m=audio 20362 RTP/AVP 8 9 0 101 13.
a=rtpmap:8 PCMA/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=rtpmap:13 CN/8000.
a=ptime:20.

#
U 2020/05/18 09:30:31.778485 2.99.151.76:10642 -> 192.168.1.2:10060 #3
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;received=92.27.246.56;branch=z9hG4bKcrt914j7rKD7S.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76>.
CSeq: 20341523 INVITE.
Content-Length: 0.
.

#
U 2020/05/18 09:30:31.778510 2.99.151.76:10642 -> 192.168.1.2:10060 #4
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;received=92.27.246.56;branch=z9hG4bKcrt914j7rKD7S.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76>;tag=CY.Epj3Z4mk1SuXe3KTJmR-ctx9ksIoJ.
CSeq: 20341523 INVITE.
Contact: "SteIphone" <sip:SteIphone@2.99.151.76:10642>.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
Content-Length: 0.
.

#
U 2020/05/18 09:30:36.448313 2.99.151.76:59206 -> 192.168.1.2:10060 #5
.
................
#
U 2020/05/18 09:30:38.870840 2.99.151.76:10642 -> 192.168.1.2:10060 #6
.
................
#
U 2020/05/18 09:30:42.325082 2.99.151.76:47391 -> 192.168.1.2:10060 #7
OPTIONS sip:test.toolfolks.com:10060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK1873827476;rport.
Route: <sip:test.toolfolks.com:10060;lr>.
From: <sip:SteATAHome@test.toolfolks.com:10060>;tag=1424917636.
To: <sip:test.toolfolks.com:10060>.
Call-ID: 1599441783-47391-3702@BJC.BGI.B.CB.
CSeq: 37000 OPTIONS.
Contact: <sip:SteATAHome@192.168.1.21:47391>.
Max-Forwards: 70.
User-Agent: Grandstream HT801 1.0.9.3.
Supported: replaces, path, timer, eventlist.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE.
Content-Length: 0.
.

#
U 2020/05/18 09:30:42.325559 192.168.1.2:10060 -> 2.99.151.76:47391 #8
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK1873827476;rport=47391;received=2.99.151.76.
From: <sip:SteATAHome@test.toolfolks.com:10060>;tag=1424917636.
To: <sip:test.toolfolks.com:10060>;tag=c5U2aX08pKgcS.
Call-ID: 1599441783-47391-3702@BJC.BGI.B.CB.
CSeq: 37000 OPTIONS.
Contact: <sip:92.27.246.56:10060>.
User-Agent: FreeSWITCH.
Accept: application/sdp.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer.
Content-Length: 0.
.

#
U 2020/05/18 09:30:43.332837 2.99.151.76:47391 -> 192.168.1.2:10060 #9
REGISTER sip:test.toolfolks.com:10060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK1868672554;rport.
Route: <sip:test.toolfolks.com:10060;lr>.
From: "ATAHomeLandLine" <sip:SteATAHome@test.toolfolks.com:10060>;tag=23425992.
To: <sip:SteATAHome@test.toolfolks.com:10060>.
Call-ID: 553010167-47391-2@BJC.BGI.B.CB.
CSeq: 5844 REGISTER.
Contact: <sip:SteATAHome@192.168.1.21:47391>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B82F11330>".
Max-Forwards: 70.
User-Agent: Grandstream HT801 1.0.9.3.
Supported: path.
Expires: 120.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE.
Content-Length: 0.
.

#
U 2020/05/18 09:30:43.333643 192.168.1.2:10060 -> 2.99.151.76:47391 #10
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK1868672554;rport=47391;received=2.99.151.76.
From: "ATAHomeLandLine" <sip:SteATAHome@test.toolfolks.com:10060>;tag=23425992.
To: <sip:SteATAHome@test.toolfolks.com:10060>;tag=DeNUcrHcmv6ym.
Call-ID: 553010167-47391-2@BJC.BGI.B.CB.
CSeq: 5844 REGISTER.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
WWW-Authenticate: Digest realm="test.toolfolks.com", nonce="f7429c45-fc38-4a34-9d53-8e3fd7857b8b", algorithm=MD5, qop="auth".
Content-Length: 0.
.

#
U 2020/05/18 09:30:43.373695 2.99.151.76:47391 -> 192.168.1.2:10060 #11
REGISTER sip:test.toolfolks.com:10060 SIP/2.0.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK815101780;rport.
Route: <sip:test.toolfolks.com:10060;lr>.
From: "ATAHomeLandLine" <sip:SteATAHome@test.toolfolks.com:10060>;tag=23425992.
To: <sip:SteATAHome@test.toolfolks.com:10060>.
Call-ID: 553010167-47391-2@BJC.BGI.B.CB.
CSeq: 5845 REGISTER.
Contact: <sip:SteATAHome@192.168.1.21:47391>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B82F11330>".
Authorization: Digest username="SteATAHome", realm="test.toolfolks.com", nonce="f7429c45-fc38-4a34-9d53-8e3fd7857b8b", uri="sip:test.toolfolks.com:10060", response="d812111ab6173812ffdf1bf4919654b9", algorithm=MD5, cnonce="16241057", qop=auth, nc=00000001.
Max-Forwards: 70.
User-Agent: Grandstream HT801 1.0.9.3.
Supported: path.
Expires: 120.
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE.
Content-Length: 0.
.

#
U 2020/05/18 09:30:43.384028 192.168.1.2:10060 -> 2.99.151.76:47391 #12
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 192.168.1.21:47391;branch=z9hG4bK815101780;rport=47391;received=2.99.151.76.
From: "ATAHomeLandLine" <sip:SteATAHome@test.toolfolks.com:10060>;tag=23425992.
To: <sip:SteATAHome@test.toolfolks.com:10060>;tag=eQemeK2FH5vHg.
Call-ID: 553010167-47391-2@BJC.BGI.B.CB.
CSeq: 5845 REGISTER.
Contact: <sip:SteATAHome@192.168.1.21:47391>;expires=120.
Date: Mon, 18 May 2020 08:30:43 GMT.
User-Agent: FreeSWITCH.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
Supported: timer, path, replaces.
Content-Length: 0.
.

#
U 2020/05/18 09:30:46.486058 192.168.1.2:10060 -> 2.99.151.76:10642 #13
CANCEL sip:SteIphone@2.99.151.76:10642 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bKcrt914j7rKD7S.
Max-Forwards: 65.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76:10642>.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341523 CANCEL.
Reason: Q.850;cause=31;text="Normal, unspecified".
Content-Length: 0.
.

#
U 2020/05/18 09:30:46.526776 2.99.151.76:10642 -> 192.168.1.2:10060 #14
SIP/2.0 200 OK.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;received=92.27.246.56;branch=z9hG4bKcrt914j7rKD7S.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76>;tag=CY.Epj3Z4mk1SuXe3KTJmR-ctx9ksIoJ.
CSeq: 20341523 CANCEL.
Content-Length: 0.
.

#
U 2020/05/18 09:30:46.530226 2.99.151.76:10642 -> 192.168.1.2:10060 #15
SIP/2.0 487 Request Terminated.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport=10060;received=92.27.246.56;branch=z9hG4bKcrt914j7rKD7S.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76>;tag=CY.Epj3Z4mk1SuXe3KTJmR-ctx9ksIoJ.
CSeq: 20341523 INVITE.
Allow: PRACK, INVITE, ACK, BYE, CANCEL, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS.
Content-Length: 0.
.

#
U 2020/05/18 09:30:46.540273 192.168.1.2:10060 -> 2.99.151.76:10642 #16
ACK sip:SteIphone@2.99.151.76:10642 SIP/2.0.
Via: SIP/2.0/UDP 92.27.246.56:10060;rport;branch=z9hG4bKcrt914j7rKD7S.
Max-Forwards: 65.
From: "07446944654" <sip:07446944654@test.toolfolks.com>;tag=Bv2981F5SatSD.
To: <sip:SteIphone@2.99.151.76>;tag=CY.Epj3Z4mk1SuXe3KTJmR-ctx9ksIoJ.
Call-ID: ad91bc1f-1384-1239-f29d-c89cdcff7cfe.
CSeq: 20341523 ACK.
Content-Length: 0.
.


With Call Block on Continue set to False



Call in from blocked phone 07861486831
#
U 2020/05/18 09:35:24.023251 2.99.151.76:10642 -> 192.168.1.2:10060 #3
.
................
#
U 2020/05/18 09:35:32.028424 2.99.151.76:59206 -> 192.168.1.2:10060 #4
.

Call in from non blocked phone
................
#
U 2020/05/18 09:35:34.160257 2.99.151.76:54046 -> 192.168.1.2:10060 #5
.
................
#
U 2020/05/18 09:35:43.969846 2.99.151.76:10642 -> 192.168.1.2:10060 #6
.
................
 

toolfolks

Member
May 1, 2020
73
5
8
65
Hi guys,

turned out the was no call_block script installed.
Do I report this anywhere as a bug ??

Cheers
 

WEBudo

New Member
Jul 6, 2021
1
0
1
43
I also found call_block.lua is missing (freeswitch complaints about it when an incoming call).
Where do I find it and how do I install it?
 

hfoster

Active Member
Jan 28, 2019
684
81
28
34
Here you go: Github - FusionPBX

It has to go into: /usr/share/freeswitch/scripts/app/call_block/index.lua

That's quite worrying if it's not there though. I can't say I've ever experienced that issue myself. (I think there's a better way of copying the scripts from the FusionPBX directory to the FreeSwitch one but I can't remember it for the life of me.
 

John

Member
Jan 23, 2017
97
8
8
Try to move call_block from Order 40 to Order 26, it should work. The same happend to me and resolved in that way.
Moving it from order 40 to 26 worked for me. However, I am not sure if this is the best practice. I created a bug ticket with FusionPBX.
 
Status
Not open for further replies.