Outbound calling

Status
Not open for further replies.

koolandrew

Member
Aug 5, 2022
41
0
6
43
i tried following the manual but as someone else has pointed out, the system automatically adds a route called "call_direction-outbound" However, i have added a dialplan and unless i manually type in answer and echo, it doesnt exist in the drop down list. This is where the confusion starts.

I am familiar with other pbx systems, and the next step would be assign a dial plan to an extension and that option doesnt seem to be available.

There are no other resources to turn to, so hopefully someone will reply as i could not find anything online and the wiki is out of date.

thx
 

hfoster

Active Member
Jan 28, 2019
674
80
28
34
I'm not exactly sure what you are talking about there. The only steps I need to take are Dialplan -> Outbound Routes, select my preferred gateway to send the call, the regex to select the pattern of digits and it's good to go. That call_direction-outbound rule is a relatively new feature that just ensures that outbound calls are correctly tagged as outbound, primarily for CDR purposes. It's not a final destination, it 'continues' on after that rule.

You don't really apply a 'dialplan' to an extension in FreeSwitch. Your extension is registered to a context, usually the domain name and the dialplans on FreeSwitch have either global, public or context specific rules. When you create an outbound route in the GUI, it will create that route as part of the domain's context.
 

koolandrew

Member
Aug 5, 2022
41
0
6
43
I followed the docs to a T, as there wasnt much to follow. Thats why i searched on line, when i saw that second entry there. I have managed to get the inbound working for a DID, but i have no luck with this after spending hours on it.

Below are the sanitized logs, hopefully they tell us what is the issue.

Thanks for the replies.

2022-08-10 15:42:12.395474 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
2022-08-10 15:42:17.455451 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
2022-08-10 15:42:21.935393 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
2022-08-10 15:42:22.535357 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
2022-08-10 15:47:17.055347 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
2022-08-10 15:47:17.575498 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.075475 100.00% [NOTICE] switch_channel.c:1123 New Channel sofia/internal/201@fusionpbxtest.com [8bfb8d8c-1808-40a5-a491-df2faf4360fc]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.075475 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_NEW (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.075475 100.00% [INFO] sofia.c:10462 sofia/internal/201@fusionpbxtest.com receiving invite from 208.70.108.178:64363 version: 1.10.7 -release 64bit call-id: bbd812eb71c74da098afa39500579412
2022-08-10 15:49:57.075475 100.00% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 208.70.108.178:0.
2022-08-10 15:49:57.075475 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [4168868888@fusionpbxtest.com] from ip 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.075475 100.00% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/201@fusionpbxtest.com) State NEW
2022-08-10 15:49:57.075475 100.00% [DEBUG] sofia.c:2419 detaching session 8bfb8d8c-1808-40a5-a491-df2faf4360fc
2022-08-10 15:49:57.075475 100.00% [DEBUG] sofia.c:2532 Re-attaching to session 8bfb8d8c-1808-40a5-a491-df2faf4360fc
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.095467 100.00% [INFO] sofia.c:10462 sofia/internal/201@fusionpbxtest.com receiving invite from 208.70.108.178:64363 version: 1.10.7 -release 64bit call-id: bbd812eb71c74da098afa39500579412
2022-08-10 15:49:57.095467 100.00% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 208.70.108.178:0.
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] sofia.c:7499 Channel sofia/internal/201@fusionpbxtest.com entering state [received][100]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] sofia.c:7509 Remote SDP:
8bfb8d8c-1808-40a5-a491-df2faf4360fc v=0
8bfb8d8c-1808-40a5-a491-df2faf4360fc o=- 3869135396 3869135396 IN IP4 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc s=pjmedia
8bfb8d8c-1808-40a5-a491-df2faf4360fc b=AS:84
8bfb8d8c-1808-40a5-a491-df2faf4360fc t=0 0
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=X-nat:0
8bfb8d8c-1808-40a5-a491-df2faf4360fc m=audio 10010 RTP/AVP 123 8 0 101
8bfb8d8c-1808-40a5-a491-df2faf4360fc c=IN IP4 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc b=TIAS:64000
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=rtpmap:123 opus/48000/2
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=fmtp:123 maxplaybackrate=24000
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=rtpmap:8 PCMA/8000
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=rtpmap:0 PCMU/8000
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=rtpmap:101 telephone-event/8000
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=fmtp:101 0-16
8bfb8d8c-1808-40a5-a491-df2faf4360fc a=rtcp:10011 IN IP4 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[G722:9:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/internal/201@fusionpbxtest.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_codec.c:111 sofia/internal/201@fusionpbxtest.com Original read codec set to PCMA:8
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_media.c:5973 sofia/internal/201@fusionpbxtest.com Set 2833 dtmf send payload to 101 recv payload to 101
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] sofia.c:7933 (sofia/internal/201@fusionpbxtest.com) State Change CS_NEW -> CS_INIT
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_INIT (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/201@fusionpbxtest.com) State INIT
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] mod_sofia.c:97 sofia/internal/201@fusionpbxtest.com SOFIA INIT
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:40 sofia/internal/201@fusionpbxtest.com Standard INIT
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:48 (sofia/internal/201@fusionpbxtest.com) State Change CS_INIT -> CS_ROUTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/201@fusionpbxtest.com) State INIT going to sleep
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_ROUTING (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_channel.c:2380 (sofia/internal/201@fusionpbxtest.com) Callstate Change DOWN -> RINGING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/201@fusionpbxtest.com) State ROUTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] mod_sofia.c:158 sofia/internal/201@fusionpbxtest.com SOFIA ROUTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [DEBUG] switch_core_state_machine.c:230 sofia/internal/201@fusionpbxtest.com Standard ROUTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.115452 100.00% [INFO] mod_dialplan_xml.c:639 Processing 201 <201>->4168868888 in context fusionpbxtest.com
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->didbox0.011.9-17d] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [didbox0.011.9-17d] ${user_exists}() =~ /false/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->caller-details] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [caller-details] () =~ // break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_destination=${sip_to_user}) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_destination=4168868888)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.155389 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_destination]=[4168868888]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_id_name=${caller_id_name}) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_id_name=201)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.155389 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_id_name]=[201]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_id_number=${caller_id_number})
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_exists] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_exists] ${loopback_leg}() =~ /^B$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_exists] () =~ // break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(user_exists=false)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.175474 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [user_exists]=[false]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(from_user_exists=true)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.175474 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [from_user_exists]=[true]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->caller-details] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [caller-details] ${caller_destination}(4168868888) =~ /^$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->global-variables] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [global-variables] () =~ // break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->domain-variables] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [domain-variables] () =~ // break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action export(origination_callee_id_name=${destination_number})
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(operator=1000) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(operator=1000)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.175474 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [operator]=[1000]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->clear_sip_auto_answer] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_loopback] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-direction] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com ANTI-Action export(call_direction=local) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com export(call_direction=local)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.175474 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[local]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_record] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(from_user_record=)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [from_user_record]=[UNDEF]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->rtp_has_crypto] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [rtp_has_crypto] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->redial] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [redial] destination_number(4168868888) =~ /^(redial|\*870)$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [redial] () =~ // break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->speed_dial] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [speed_dial] destination_number(4168868888) =~ /^\*0(.*)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_hold_music] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_hold_music] ${user_exists}(false) =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->default_caller_id] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${emergency_caller_id_name}(Susan Gylander) =~ /^$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${emergency_caller_id_number}(4166910885) =~ /^$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_name}(Sue :):) Lach) =~ /^$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(4166910885) =~ /^$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->agent_status] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status] destination_number(4168868888) =~ /^\*22$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status] destination_number(4168868888) =~ /^(?:agent\+|\*22)(.+)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->agent_status_id] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status_id] destination_number(4168868888) =~ /^\*23$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->group-intercept] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [group-intercept] destination_number(4168868888) =~ /^\*8$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->page-extension] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [page-extension] destination_number(4168868888) =~ /^\*8(\d{2,7})$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->eavesdrop] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [eavesdrop] destination_number(4168868888) =~ /^\*33(\d{2,7})$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_privacy] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_privacy] destination_number(4168868888) =~ /^\*67(\d+)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_return] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_return] destination_number(4168868888) =~ /^\*69$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->intercept-ext-polycom] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext-polycom] destination_number(4168868888) =~ /^\*97(\d+)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->intercept-ext] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext] destination_number(4168868888) =~ /^\*\*(\d+)$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext] destination_number(4168868888) =~ /^\*\*$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->number_queue] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [number_queue] destination_number(4168868888) =~ /^\*800(.*)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->dx] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [dx] destination_number(4168868888) =~ /^dx$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->extension-to-voicemail] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->send_to_voicemail] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [send_to_voicemail] destination_number(4168868888) =~ /^\*99(\d{2,10})$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->att_xfer] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [att_xfer] destination_number(4168868888) =~ /^att_xfer$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->xfer_vm] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [xfer_vm] destination_number(4168868888) =~ /^xfer_vm$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->vmain] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain] destination_number(4168868888) =~ /^vmain$|^\*4000$|^\*98$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain] destination_number(4168868888) =~ /^(vmain$|^\*4000$|^\*98|voicemail\+)(\d{2,12})$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_transfer] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_transfer] destination_number(4168868888) =~ /^is_transfer$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->vmain_user] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain_user] destination_number(4168868888) =~ /^\*97$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->cf] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [cf] destination_number(4168868888) =~ /^cf$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->delay_echo] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [delay_echo] destination_number(4168868888) =~ /^\*9195$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->echo] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [echo] destination_number(4168868888) =~ /^\*9196$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_zrtp_secure] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com ANTI-Action eval(not_secure)
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->milliwatt] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [milliwatt] destination_number(4168868888) =~ /^\*9197$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_secure] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->tone_stream] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [tone_stream] destination_number(4168868888) =~ /^\*9198$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->hold_music] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [hold_music] destination_number(4168868888) =~ /^\*9664$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->recordings] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [recordings] destination_number(4168868888) =~ /^\*(732)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->directory] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [directory] destination_number(4168868888) =~ /^\*411$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->wake-up] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [wake-up] destination_number(4168868888) =~ /^\*(925)$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->valet_park] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868888) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868888) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868888) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->operator-forward] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [operator-forward] destination_number(4168868888) =~ /^\*000$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->do-not-disturb] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868888) =~ /^\*77$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868888) =~ /^\*78$|\*363$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868888) =~ /^\*79$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868888) =~ /^dnd\+201$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_screen] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868888) =~ /^\*72(\d{2,20})$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868888) =~ /^\*72$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868888) =~ /^\*73$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868888) =~ /^\*74$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868888) =~ /^forward\+(\Q201\E)(?:\/(\d+))?$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->follow-me-destinations] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [follow-me-destinations] ${user_exists}(false) =~ /^true$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->ring-group-forward] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [ring-group-forward] destination_number(4168868888) =~ /^\*75$/ break=on-true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward-all] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward-all] ${forward_all_enabled}() =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward-not-registered] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward-not-registered] ${user_exists}(false) =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->follow-me] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [follow-me] destination_number(4168868888) =~ /^\*21$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock date and time] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock date and time] destination_number(4168868888) =~ /^\*9172$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock time] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock time] destination_number(4168868888) =~ /^\*9170$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock date] continue=
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock date] destination_number(4168868888) =~ /^\*9171$/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->local_extension] continue=true
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->voicemail] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->not-found] continue=false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [not-found] () =~ // break=on-false
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(call_direction=inbound) INLINE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(call_direction=inbound)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [call_direction]=[inbound]
8bfb8d8c-1808-40a5-a491-df2faf4360fc Dialplan: sofia/internal/201@fusionpbxtest.com Action log(WARNING [inbound routes] 404 not found ${sip_network_ip})
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:281 (sofia/internal/201@fusionpbxtest.com) State Change CS_ROUTING -> CS_EXECUTE
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/201@fusionpbxtest.com) State ROUTING going to sleep
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_EXECUTE (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/201@fusionpbxtest.com) State EXECUTE
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_sofia.c:213 sofia/internal/201@fusionpbxtest.com SOFIA EXECUTE
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:323 sofia/internal/201@fusionpbxtest.com Standard EXECUTE
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_id_number=201)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_id_number]=[201]
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(RFC2822_DATE=Wed, 10 Aug 2022 15:49:57 -0400)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [RFC2822_DATE]=[Wed, 10 Aug 2022 15:49:57 -0400]
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com export(origination_callee_id_name=4168868888)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_callee_id_name]=[4168868888]
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com hash(insert/fusionpbxtest.com-last_dial/201/4168868888)
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com eval(not_secure)
8bfb8d8c-1808-40a5-a491-df2faf4360fc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com log(WARNING [inbound routes] 404 not found 208.70.108.178)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [WARNING] mod_dptools.c:1879 [inbound routes] 404 not found 208.70.108.178
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [NOTICE] switch_core_state_machine.c:382 sofia/internal/201@fusionpbxtest.com has executed the last dialplan instruction, hanging up.
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/internal/201@fusionpbxtest.com [CS_EXECUTE] [NORMAL_CLEARING]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/201@fusionpbxtest.com) State EXECUTE going to sleep
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_HANGUP (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/201@fusionpbxtest.com) Callstate Change RINGING -> HANGUP
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/201@fusionpbxtest.com) State HANGUP
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_sofia.c:468 Channel sofia/internal/201@fusionpbxtest.com hanging up, cause: NORMAL_CLEARING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:59 sofia/internal/201@fusionpbxtest.com Standard HANGUP, cause: NORMAL_CLEARING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/201@fusionpbxtest.com) State HANGUP going to sleep
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:616 (sofia/internal/201@fusionpbxtest.com) State Change CS_HANGUP -> CS_REPORTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_REPORTING (Cur 1 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.195355 100.00% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/201@fusionpbxtest.com) State REPORTING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:168 sofia/internal/201@fusionpbxtest.com Standard REPORTING, cause: NORMAL_CLEARING
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/201@fusionpbxtest.com) State REPORTING going to sleep
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:607 (sofia/internal/201@fusionpbxtest.com) State Change CS_REPORTING -> CS_DESTROY
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_session.c:1753 Session 39 (sofia/internal/201@fusionpbxtest.com) Locked, Waiting on external entities
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [NOTICE] switch_core_session.c:1771 Session 39 (sofia/internal/201@fusionpbxtest.com) Ended
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/internal/201@fusionpbxtest.com [CS_DESTROY]
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:735 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_DESTROY (Cur 0 Tot 39)
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/201@fusionpbxtest.com) State DESTROY
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] mod_sofia.c:379 sofia/internal/201@fusionpbxtest.com SOFIA DESTROY
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:175 sofia/internal/201@fusionpbxtest.com Standard DESTROY
8bfb8d8c-1808-40a5-a491-df2faf4360fc 2022-08-10 15:49:57.475471 99.97% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/201@fusionpbxtest.com) State DESTROY going to sleep
 

hfoster

Active Member
Jan 28, 2019
674
80
28
34
Apologies if I misread this, but it appears you dial: 4168868888 and the only outbound rule you have is: didbox0.011.9-17d, so it falls through into the regular dialplan and just ends up bottoming out.

I'd be interested to know what regex is used for the rule. Something like starts with a 0 and needs 9-17 digits?
 

koolandrew

Member
Aug 5, 2022
41
0
6
43
It is actually North America International, the 10 digits long distance is
^(\d{10})$
I am not the best person when it comes to using regex

Thx
 

hfoster

Active Member
Jan 28, 2019
674
80
28
34
Right, so this: ^(011\d{9,17})$ would match: 011xxxxxxxxx (all the way up to 17 numbers) so 4168868888 would fail.

This: ^(\d{10})$ would match any 10 digit number, so 4168868888 would succeed.

You can always grab the regex and put it into https://regex101.com/ and put some phone numbers you intend to dial and match on that route.
 

koolandrew

Member
Aug 5, 2022
41
0
6
43
You are life saver, thanks. So if we wanted to have a combination of dialling plans, depending upon where they are calling, we add separate regex expressions and then put them in order, is that correct?
 

hfoster

Active Member
Jan 28, 2019
674
80
28
34
When you define multiple regex patterns, line by line. FusionPBX actually just creates separate rules with the same gateway, toll allow, etc. You'll see them as separate rules to delete/edit after you save. They get evaluated in the 'order' you give them, and the first to match is used.

You can also brute force it with any number: ^(\d*)$

However you must put this at order 900 or something, as it will match everything and you may not be able to access some services like *97 for the voicemail box.
 

koolandrew

Member
Aug 5, 2022
41
0
6
43
Unfortunately nothing changed.

I added another outbound route, and made 009 with the international one being 010.

Is there any more documentation on this topic, as there is no mention of all this in the docs. i dont know what else i am supposed to do.

it automatically added two routes both numbered 022.

2022-08-12 16:27:12.875380 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:27:12.955401 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:27:15.735479 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:27:15.815450 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:32:10.895470 99.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:37:05.995346 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:42:01.035496 99.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:46:56.095443 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:51:51.135463 100.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:56:46.235477 99.87% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:57:00.135477 99.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
2022-08-12 16:57:00.195471 99.80% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [201@fusionpbxtest.com] from ip 142.112.72.151
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.115476 99.93% [NOTICE] switch_channel.c:1123 New Channel sofia/internal/201@fusionpbxtest.com [d986964f-4e0c-4bf3-aa26-f3617e8b0efc]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.115476 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_NEW (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.115476 99.93% [INFO] sofia.c:10462 sofia/internal/201@fusionpbxtest.com receiving invite from 142.112.72.151:56905 version: 1.10.7 -release 64bit call-id: 4d15ca1103464c95a0bfc973e4fba25e
2022-08-12 16:57:18.115476 99.93% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 142.112.72.151:0.
2022-08-12 16:57:18.115476 99.93% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'internal' for [4168868887@fusionpbxtest.com] from ip 142.112.72.151
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.115476 99.93% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/201@fusionpbxtest.com) State NEW
2022-08-12 16:57:18.115476 99.93% [DEBUG] sofia.c:2419 detaching session d986964f-4e0c-4bf3-aa26-f3617e8b0efc
2022-08-12 16:57:18.115476 99.93% [DEBUG] sofia.c:2532 Re-attaching to session d986964f-4e0c-4bf3-aa26-f3617e8b0efc
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.135341 99.93% [INFO] sofia.c:10462 sofia/internal/201@fusionpbxtest.com receiving invite from 142.112.72.151:56905 version: 1.10.7 -release 64bit call-id: 4d15ca1103464c95a0bfc973e4fba25e
2022-08-12 16:57:18.135341 99.93% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 142.112.72.151:0.
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] sofia.c:7499 Channel sofia/internal/201@fusionpbxtest.com entering state [received][100]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] sofia.c:7509 Remote SDP:
d986964f-4e0c-4bf3-aa26-f3617e8b0efc v=0
d986964f-4e0c-4bf3-aa26-f3617e8b0efc o=- 3869312238 3869312238 IN IP4 192.168.22.107
d986964f-4e0c-4bf3-aa26-f3617e8b0efc s=pjmedia
d986964f-4e0c-4bf3-aa26-f3617e8b0efc b=AS:84
d986964f-4e0c-4bf3-aa26-f3617e8b0efc t=0 0
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=X-nat:0
d986964f-4e0c-4bf3-aa26-f3617e8b0efc m=audio 4000 RTP/AVP 123 8 0 101
d986964f-4e0c-4bf3-aa26-f3617e8b0efc c=IN IP4 192.168.22.107
d986964f-4e0c-4bf3-aa26-f3617e8b0efc b=TIAS:64000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=rtpmap:123 opus/48000/2
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=fmtp:123 maxplaybackrate=24000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=rtpmap:8 PCMA/8000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=rtpmap:0 PCMU/8000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=rtpmap:101 telephone-event/8000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=fmtp:101 0-16
d986964f-4e0c-4bf3-aa26-f3617e8b0efc a=rtcp:4001 IN IP4 192.168.22.107
d986964f-4e0c-4bf3-aa26-f3617e8b0efc
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[G722:9:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:123:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:3870 Set Codec sofia/internal/201@fusionpbxtest.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_codec.c:111 sofia/internal/201@fusionpbxtest.com Original read codec set to PCMA:8
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_media.c:5973 sofia/internal/201@fusionpbxtest.com Set 2833 dtmf send payload to 101 recv payload to 101
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] sofia.c:7933 (sofia/internal/201@fusionpbxtest.com) State Change CS_NEW -> CS_INIT
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_INIT (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/201@fusionpbxtest.com) State INIT
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] mod_sofia.c:97 sofia/internal/201@fusionpbxtest.com SOFIA INIT
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:40 sofia/internal/201@fusionpbxtest.com Standard INIT
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:48 (sofia/internal/201@fusionpbxtest.com) State Change CS_INIT -> CS_ROUTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/201@fusionpbxtest.com) State INIT going to sleep
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_ROUTING (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_channel.c:2380 (sofia/internal/201@fusionpbxtest.com) Callstate Change DOWN -> RINGING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/201@fusionpbxtest.com) State ROUTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] mod_sofia.c:158 sofia/internal/201@fusionpbxtest.com SOFIA ROUTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [DEBUG] switch_core_state_machine.c:230 sofia/internal/201@fusionpbxtest.com Standard ROUTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.155351 99.93% [INFO] mod_dialplan_xml.c:639 Processing 201 <201>->4168868887 in context fusionpbxtest.com
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->didbox0.10d] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [didbox0.10d] ${user_exists}() =~ /false/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_exists] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_exists] ${loopback_leg}() =~ /^B$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_exists] () =~ // break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(user_exists=false)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.215354 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [user_exists]=[false]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(from_user_exists=true)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.215354 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [from_user_exists]=[true]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->caller-details] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [caller-details] () =~ // break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_destination=${sip_to_user}) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_destination=4168868887)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.215354 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_destination]=[4168868887]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_id_name=${caller_id_name}) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_id_name=201)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.215354 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_id_name]=[201]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(caller_id_number=${caller_id_number})
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->didbox0.011.9-17d] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [didbox0.011.9-17d] ${user_exists}(false) =~ /false/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [didbox0.011.9-17d] destination_number(4168868887) =~ /^(011\d{9,17})$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->caller-details] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [caller-details] ${caller_destination}(4168868887) =~ /^$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->global-variables] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [global-variables] () =~ // break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->domain-variables] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [domain-variables] () =~ // break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action export(origination_callee_id_name=${destination_number})
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(operator=1000) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(operator=1000)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [operator]=[1000]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->clear_sip_auto_answer] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-direction] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com ANTI-Action export(call_direction=local) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com export(call_direction=local)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_direction]=[local]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_loopback] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_loopback] ${is_follow_me_loopback}() =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_record] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(from_user_record=)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [from_user_record]=[UNDEF]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->rtp_has_crypto] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [rtp_has_crypto] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->redial] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [redial] destination_number(4168868887) =~ /^(redial|\*870)$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [redial] () =~ // break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->speed_dial] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [speed_dial] destination_number(4168868887) =~ /^\*0(.*)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->default_caller_id] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${emergency_caller_id_name}(Susan Gylander) =~ /^$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${emergency_caller_id_number}(4166910885) =~ /^$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_name}(Sue :):) Lach) =~ /^$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(4166910885) =~ /^$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->user_hold_music] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [user_hold_music] ${user_exists}(false) =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->agent_status] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status] destination_number(4168868887) =~ /^\*22$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status] destination_number(4168868887) =~ /^(?:agent\+|\*22)(.+)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->agent_status_id] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [agent_status_id] destination_number(4168868887) =~ /^\*23$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->group-intercept] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [group-intercept] destination_number(4168868887) =~ /^\*8$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->page-extension] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [page-extension] destination_number(4168868887) =~ /^\*8(\d{2,7})$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->eavesdrop] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [eavesdrop] destination_number(4168868887) =~ /^\*33(\d{2,7})$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_privacy] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_privacy] destination_number(4168868887) =~ /^\*67(\d+)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_return] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_return] destination_number(4168868887) =~ /^\*69$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->number_queue] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [number_queue] destination_number(4168868887) =~ /^\*800(.*)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->intercept-ext] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext] destination_number(4168868887) =~ /^\*\*(\d+)$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext] destination_number(4168868887) =~ /^\*\*$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->intercept-ext-polycom] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [intercept-ext-polycom] destination_number(4168868887) =~ /^\*97(\d+)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->dx] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [dx] destination_number(4168868887) =~ /^dx$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->extension-to-voicemail] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->send_to_voicemail] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [send_to_voicemail] destination_number(4168868887) =~ /^\*99(\d{2,10})$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->att_xfer] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [att_xfer] destination_number(4168868887) =~ /^att_xfer$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->xfer_vm] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [xfer_vm] destination_number(4168868887) =~ /^xfer_vm$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->vmain] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain] destination_number(4168868887) =~ /^vmain$|^\*4000$|^\*98$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain] destination_number(4168868887) =~ /^(vmain$|^\*4000$|^\*98|voicemail\+)(\d{2,12})$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_transfer] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_transfer] destination_number(4168868887) =~ /^is_transfer$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->vmain_user] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [vmain_user] destination_number(4168868887) =~ /^\*97$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->cf] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [cf] destination_number(4168868887) =~ /^cf$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->delay_echo] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [delay_echo] destination_number(4168868887) =~ /^\*9195$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->echo] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [echo] destination_number(4168868887) =~ /^\*9196$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_zrtp_secure] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com ANTI-Action eval(not_secure)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->milliwatt] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [milliwatt] destination_number(4168868887) =~ /^\*9197$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->tone_stream] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [tone_stream] destination_number(4168868887) =~ /^\*9198$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->is_secure] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->hold_music] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [hold_music] destination_number(4168868887) =~ /^\*9664$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->recordings] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [recordings] destination_number(4168868887) =~ /^\*(732)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->directory] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [directory] destination_number(4168868887) =~ /^\*411$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->wake-up] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [wake-up] destination_number(4168868887) =~ /^\*(925)$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->valet_park] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868887) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868887) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=never
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [valet_park] destination_number(4168868887) =~ /^(park)?\+?\*(59[0-9][0-9])$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->operator-forward] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [operator-forward] destination_number(4168868887) =~ /^\*000$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->do-not-disturb] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868887) =~ /^\*77$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868887) =~ /^\*78$|\*363$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868887) =~ /^\*79$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [do-not-disturb] destination_number(4168868887) =~ /^dnd\+201$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call_screen] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868887) =~ /^\*72(\d{2,20})$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868887) =~ /^\*72$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868887) =~ /^\*73$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868887) =~ /^\*74$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward] destination_number(4168868887) =~ /^forward\+(\Q201\E)(?:\/(\d+))?$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->ring-group-forward] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [ring-group-forward] destination_number(4168868887) =~ /^\*75$/ break=on-true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->follow-me-destinations] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [follow-me-destinations] ${user_exists}(false) =~ /^true$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward-all] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward-all] ${forward_all_enabled}() =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->call-forward-not-registered] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [call-forward-not-registered] ${user_exists}(false) =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->follow-me] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [follow-me] destination_number(4168868887) =~ /^\*21$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock date and time] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock date and time] destination_number(4168868887) =~ /^\*9172$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock time] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock time] destination_number(4168868887) =~ /^\*9170$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->talking clock date] continue=
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [talking clock date] destination_number(4168868887) =~ /^\*9171$/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->local_extension] continue=true
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [local_extension] ${user_exists}(false) =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->voicemail] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (FAIL) [voicemail] ${user_exists}(false) =~ /true/ break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com parsing [fusionpbxtest.com->not-found] continue=false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Regex (PASS) [not-found] () =~ // break=on-false
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action set(call_direction=inbound) INLINE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(call_direction=inbound)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [call_direction]=[inbound]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc Dialplan: sofia/internal/201@fusionpbxtest.com Action log(WARNING [inbound routes] 404 not found ${sip_network_ip})
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_core_state_machine.c:281 (sofia/internal/201@fusionpbxtest.com) State Change CS_ROUTING -> CS_EXECUTE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/201@fusionpbxtest.com) State ROUTING going to sleep
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_EXECUTE (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/201@fusionpbxtest.com) State EXECUTE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_sofia.c:213 sofia/internal/201@fusionpbxtest.com SOFIA EXECUTE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_core_state_machine.c:323 sofia/internal/201@fusionpbxtest.com Standard EXECUTE
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(caller_id_number=201)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [caller_id_number]=[201]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com set(RFC2822_DATE=Fri, 12 Aug 2022 16:57:18 -0400)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] mod_dptools.c:1685 SET sofia/internal/201@fusionpbxtest.com [RFC2822_DATE]=[Fri, 12 Aug 2022 16:57:18 -0400]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com export(origination_callee_id_name=4168868887)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [origination_callee_id_name]=[4168868887]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com hash(insert/fusionpbxtest.com-last_dial/201/4168868887)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com eval(not_secure)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc EXECUTE [depth=0] sofia/internal/201@fusionpbxtest.com log(WARNING [inbound routes] 404 not found 142.112.72.151)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [WARNING] mod_dptools.c:1879 [inbound routes] 404 not found 142.112.72.151
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [NOTICE] switch_core_state_machine.c:382 sofia/internal/201@fusionpbxtest.com has executed the last dialplan instruction, hanging up.
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.235398 99.93% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/internal/201@fusionpbxtest.com [CS_EXECUTE] [NORMAL_CLEARING]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:647 (sofia/internal/201@fusionpbxtest.com) State EXECUTE going to sleep
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_HANGUP (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:844 (sofia/internal/201@fusionpbxtest.com) Callstate Change RINGING -> HANGUP
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/201@fusionpbxtest.com) State HANGUP
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] mod_sofia.c:468 Channel sofia/internal/201@fusionpbxtest.com hanging up, cause: NORMAL_CLEARING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:59 sofia/internal/201@fusionpbxtest.com Standard HANGUP, cause: NORMAL_CLEARING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:846 (sofia/internal/201@fusionpbxtest.com) State HANGUP going to sleep
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:616 (sofia/internal/201@fusionpbxtest.com) State Change CS_HANGUP -> CS_REPORTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_REPORTING (Cur 1 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.255486 99.93% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/201@fusionpbxtest.com) State REPORTING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:168 sofia/internal/201@fusionpbxtest.com Standard REPORTING, cause: NORMAL_CLEARING
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:932 (sofia/internal/201@fusionpbxtest.com) State REPORTING going to sleep
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:607 (sofia/internal/201@fusionpbxtest.com) State Change CS_REPORTING -> CS_DESTROY
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_session.c:1753 Session 44 (sofia/internal/201@fusionpbxtest.com) Locked, Waiting on external entities
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [NOTICE] switch_core_session.c:1771 Session 44 (sofia/internal/201@fusionpbxtest.com) Ended
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [NOTICE] switch_core_session.c:1775 Close Channel sofia/internal/201@fusionpbxtest.com [CS_DESTROY]
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:735 (sofia/internal/201@fusionpbxtest.com) Running State Change CS_DESTROY (Cur 0 Tot 44)
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/201@fusionpbxtest.com) State DESTROY
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] mod_sofia.c:379 sofia/internal/201@fusionpbxtest.com SOFIA DESTROY
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:175 sofia/internal/201@fusionpbxtest.com Standard DESTROY
d986964f-4e0c-4bf3-aa26-f3617e8b0efc 2022-08-12 16:57:18.515446 99.90% [DEBUG] switch_core_state_machine.c:745 (sofia/internal/201@fusionpbxtest.com) State DESTROY going to sleep
 

koolandrew

Member
Aug 5, 2022
41
0
6
43
i reread your posts and put them at 990 for 10 digits and 991 for International..and it worked. I am still not clear on a couple of things.
1. Is there a way to replace +(any digit 2-9) with 011?
2. How do we assign a dialling plan for numbers dialled. For example, a pbx that has two offices on one pbx, let say North American number and UK Number.
a. Any extension dials north america, and they show north america caller id.
b. Similarly, they call any number in Europe (or whatever is designated) they use the UK Caller id.
3. How do i assign different privileges for outbound calling per extension (ie some dont have long distance calling, like a reception phone for example).
 

hfoster

Active Member
Jan 28, 2019
674
80
28
34
Yeh, you have to let the PBX get through some essentials, like 'user_exists' as the outbound routes are usually reliant on it. I have all my outbound routes after 900, so any local dialplans get hit first.

1. Yes, with (or rather not using) Regex capturing groups. Say for example: ^+[2-9](\d*)$ , you can then prefix 011 onto that number either through the GUI or by modifying the bridge statement it's has created to prefix the number before the captured variable ($1)

1660553574042.png
In my example I pulled from a PBX I was tinkering with, I'm replacing 0 with 54.

2. Using Toll Allow conditionals. I put into the toll allow box 'London' or 'New York', set the routes to the correct gateways and then for the specific extensions you enter the exact Toll Allow you wish to give that extension. You can also set the outbound_caller_id_number in an outbound route too, but this can get quite messy if everyone needs their own DDI. You could also make some logic that selects the trunk based on the international prefix, so all numbers starting with 001 get routed out to an American trunk provider for cheap calls.

3. Toll Allow again. Create one called 'domestic' for example, and set that to route to local numbers only. Ensure there's no other routes without a toll_allow

All in all, many ways to string a cat.
 
Status
Not open for further replies.