2022-08-18 09:31:42.017623 91.00% [NOTICE] switch_channel.c:1123 New Channel sofia/default/3333@13.126.179.47:5061 [f8ec7089-c62e-4e8e-a1cc-20f88eab7433]
2022-08-18 09:31:42.017623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_NEW (Cur 3 Tot 35)
2022-08-18 09:31:42.017623 91.00% [INFO] sofia.c:10462 sofia/default/3333@13.126.179.47:5061 receiving invite from 157.32.87.8:37853 version: 1.10.7 -release 64bit call-id: 5rS9fb3O8SVm3fGFrwH6dQ..
2022-08-18 09:31:42.017623 91.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 157.32.87.8:0.
2022-08-18 09:31:42.017623 91.00% [DEBUG] sofia.c:2419 detaching session f8ec7089-c62e-4e8e-a1cc-20f88eab7433
2022-08-18 09:31:42.017623 91.00% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [*99@13.126.179.47] from ip 157.32.87.8
2022-08-18 09:31:42.017623 91.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/3333@13.126.179.47:5061) State NEW
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:2532 Re-attaching to session f8ec7089-c62e-4e8e-a1cc-20f88eab7433
2022-08-18 09:31:42.217623 91.00% [INFO] sofia.c:10462 sofia/default/3333@13.126.179.47:5061 receiving invite from 157.32.87.8:37853 version: 1.10.7 -release 64bit call-id: 5rS9fb3O8SVm3fGFrwH6dQ..
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 157.32.87.8:0.
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [received][100]
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=Zoiper 1660815101415 1 IN IP4 157.32.87.8
s=Z
c=IN IP4 157.32.87.8
t=0 0
m=audio 58972 RTP/AVP 0 101 8 3
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/3333@13.126.179.47:5061 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_codec.c:111 sofia/default/3333@13.126.179.47:5061 Original read codec set to PCMU:0
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_media.c:5973 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf send payload to 101 recv payload to 101
2022-08-18 09:31:42.217623 91.00% [DEBUG] sofia.c:7933 (sofia/default/3333@13.126.179.47:5061) State Change CS_NEW -> CS_INIT
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_INIT (Cur 3 Tot 35)
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3333@13.126.179.47:5061) State INIT
2022-08-18 09:31:42.217623 91.00% [DEBUG] mod_sofia.c:97 sofia/default/3333@13.126.179.47:5061 SOFIA INIT
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:40 sofia/default/3333@13.126.179.47:5061 Standard INIT
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:48 (sofia/default/3333@13.126.179.47:5061) State Change CS_INIT -> CS_ROUTING
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:624 (sofia/default/3333@13.126.179.47:5061) State INIT going to sleep
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_ROUTING (Cur 3 Tot 35)
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_channel.c:2380 (sofia/default/3333@13.126.179.47:5061) Callstate Change DOWN -> RINGING
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3333@13.126.179.47:5061) State ROUTING
2022-08-18 09:31:42.217623 91.00% [DEBUG] mod_sofia.c:158 sofia/default/3333@13.126.179.47:5061 SOFIA ROUTING
2022-08-18 09:31:42.217623 91.00% [DEBUG] switch_core_state_machine.c:230 sofia/default/3333@13.126.179.47:5061 Standard ROUTING
2022-08-18 09:31:42.237622 91.00% [INFO] mod_dialplan_xml.c:639 Processing 3333 <3333>->*99 in context default
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Hunt Destination Number: *99
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Feature Code Transfer Blind Value :*2
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : *99
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '*99' limit 1
2022-08-18 09:31:42.237622 91.00% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Feature Code Action : call_pickup_same_group
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_Sip_Accountcode] Query :SELECT sip_devices.accountid from sip_devices,domains where sip_devices.accountid=domains.accountid and sip_devices.username = '3333' and domain = '13.126.179.47' limit 1
2022-08-18 09:31:42.237622 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation,sip_devices.codec as sip_codec FROM sip_devices as sip_devices,accounts as accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="3333" AND domains.domain="13.126.179.47" limit 1
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FEATURE_CODE] Sip Info Id :4
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [FEATURE_CODE] Feature Code Action :call_pickup_same_group
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 4 limit 1
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_PICKUP_GROUP] Query :SELECT id,name from pickup_group where id IN (1) AND status = 0
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="ASTPP Dialplan">
<context name="default">
<extension name="\*99">
<condition field="destination_number" expression="\*99">
<action application="export" data="did_user_domain=13.126.179.47"/>
<action application="answer"/>
<action application="play_and_get_digits" data="2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+"/>
<action application="pickup" data="TestPickup_${foobar}"/>
</condition>
</extension>
</context>
</document>
Dialplan: sofia/default/3333@13.126.179.47:5061 parsing [default->\*99] continue=false
Dialplan: sofia/default/3333@13.126.179.47:5061 Regex (PASS) [\*99] destination_number(*99) =~ /\*99/ break=on-false
Dialplan: sofia/default/3333@13.126.179.47:5061 Action export(did_user_domain=13.126.179.47)
Dialplan: sofia/default/3333@13.126.179.47:5061 Action answer()
Dialplan: sofia/default/3333@13.126.179.47:5061 Action play_and_get_digits(2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
Dialplan: sofia/default/3333@13.126.179.47:5061 Action pickup(TestPickup_${foobar})
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:281 (sofia/default/3333@13.126.179.47:5061) State Change CS_ROUTING -> CS_EXECUTE
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:640 (sofia/default/3333@13.126.179.47:5061) State ROUTING going to sleep
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_EXECUTE (Cur 3 Tot 35)
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3333@13.126.179.47:5061) State EXECUTE
2022-08-18 09:31:42.257623 91.00% [DEBUG] mod_sofia.c:213 sofia/default/3333@13.126.179.47:5061 SOFIA EXECUTE
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_state_machine.c:323 sofia/default/3333@13.126.179.47:5061 Standard EXECUTE
EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 export(did_user_domain=13.126.179.47)
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [did_user_domain]=[13.126.179.47]
EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 answer()
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/3333@13.126.179.47:5061] 172.31.32.150 port 31156 -> 157.32.87.8 port 58972 codec: 0 ms: 20
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9089 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf send payload to 101
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9096 sofia/default/3333@13.126.179.47:5061 Set 2833 dtmf receive payload to 101
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_media.c:9119 sofia/default/3333@13.126.179.47:5061 Set rtp dtmf delay to 40
2022-08-18 09:31:42.257623 91.00% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/3333@13.126.179.47:5061:
v=0
o=FreeSWITCH 1660783946 1660783947 IN IP4 13.126.179.47
s=FreeSWITCH
c=IN IP4 13.126.179.47
t=0 0
m=audio 31156 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv
2022-08-18 09:31:42.257623 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [completed][200]
2022-08-18 09:31:42.257623 91.00% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/3333@13.126.179.47:5061] has been answered
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_channel.c:3950 (sofia/default/3333@13.126.179.47:5061) Callstate Change RINGING -> ACTIVE
EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 play_and_get_digits(2 15 3 7000 # /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav /invalid.wav foobar \d+)
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_core_file.c:444 File /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav sample rate 22050 doesn't match requested rate 8000
2022-08-18 09:31:42.257623 91.00% [WARNING] switch_core_file.c:463 File has 2 channels, muxing to 1 channel will occur.
2022-08-18 09:31:42.257623 91.00% [DEBUG] switch_ivr_play_say.c:1556 Codec Activated L16@8000hz 1 channels 20ms
2022-08-18 09:31:42.337643 91.00% [DEBUG] sofia.c:7499 Channel sofia/default/3333@13.126.179.47:5061 entering state [ready][200]
2022-08-18 09:31:42.757646 91.00% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed.
2022-08-18 09:31:45.437640 91.73% [DEBUG] switch_ivr_play_say.c:2001 done playing file /usr/local/freeswitch/sounds/en/us/callie/astpp-pbx-extension-number.wav
2022-08-18 09:31:45.917679 91.90% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
2022-08-18 09:31:45.917679 91.90% [INFO] switch_channel.c:527 RECV DTMF 2:960
2022-08-18 09:31:46.557638 91.90% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
2022-08-18 09:31:46.557638 91.90% [INFO] switch_channel.c:527 RECV DTMF 2:960
2022-08-18 09:31:47.017649 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
2022-08-18 09:31:47.017649 91.57% [INFO] switch_channel.c:527 RECV DTMF 2:960
2022-08-18 09:31:47.457646 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF 2:960
2022-08-18 09:31:47.457646 91.57% [INFO] switch_channel.c:527 RECV DTMF 2:960
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_rtp.c:8179 RTP RECV DTMF #:960
2022-08-18 09:31:48.157662 91.57% [INFO] switch_channel.c:527 RECV DTMF #:960
EXECUTE [depth=0] sofia/default/3333@13.126.179.47:5061 pickup(TestPickup_2222)
2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/3333@13.126.179.47:5061 has executed the last dialplan instruction, hanging up.
2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/3333@13.126.179.47:5061 [CS_EXECUTE] [NORMAL_CLEARING]
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/3333@13.126.179.47:5061) State EXECUTE going to sleep
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_HANGUP (Cur 3 Tot 35)
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/3333@13.126.179.47:5061) Callstate Change ACTIVE -> HANGUP
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3333@13.126.179.47:5061) State HANGUP
2022-08-18 09:31:48.157662 91.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/3333@13.126.179.47:5061 hanging up, cause: NORMAL_CLEARING
2022-08-18 09:31:48.157662 91.57% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/3333@13.126.179.47:5061
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/3333@13.126.179.47:5061 Standard HANGUP, cause: NORMAL_CLEARING
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/3333@13.126.179.47:5061) State HANGUP going to sleep
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/3333@13.126.179.47:5061) State Change CS_HANGUP -> CS_REPORTING
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/3333@13.126.179.47:5061) Running State Change CS_REPORTING (Cur 3 Tot 35)
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3333@13.126.179.47:5061) State REPORTING
2022-08-18 09:31:48.157662 91.57% [INFO] mod_json_cdr.c:271 Process [f8ec7089-c62e-4e8e-a1cc-20f88eab7433.cdr.json]
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/3333@13.126.179.47:5061 Standard REPORTING, cause: NORMAL_CLEARING
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/3333@13.126.179.47:5061) State REPORTING going to sleep
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/3333@13.126.179.47:5061) State Change CS_REPORTING -> CS_DESTROY
2022-08-18 09:31:48.157662 91.57% [DEBUG] switch_core_session.c:1753 Session 35 (sofia/default/3333@13.126.179.47:5061) Locked, Waiting on external entities
2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_session.c:1771 Session 35 (sofia/default/3333@13.126.179.47:5061) Ended
2022-08-18 09:31:48.157662 91.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/3333@13.126.179.47:5061 [CS_DESTROY]