freeswitch@devangnewdeb11> 2022-07-13 05:42:07.556098 96.13% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [1047@168.119.48.166] from ip 37.19.195.75 2022-07-13 05:42:07.596124 96.13% [WARNING] sofia_reg.c:3223 Can't find user [1047@168.119.48.166] from 37.19.195.75 You must define a domain called '168.119.48.166' in your directory and add a user with the id="1047" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-07-13 05:42:07.596124 96.13% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [1047@168.119.48.166] from ip 37.19.195.75 2022-07-13 05:42:13.336080 95.73% [NOTICE] switch_channel.c:1123 New Channel sofia/default/1190246984@alpha.astppbilling.org:5060 [aa324b3a-0e8e-41ab-8a48-860dfbdc7d85] 2022-07-13 05:42:13.336080 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_NEW (Cur 1 Tot 439) 2022-07-13 05:42:13.336080 95.73% [INFO] sofia.c:10462 sofia/default/1190246984@alpha.astppbilling.org:5060 receiving invite from 103.240.35.46:58437 version: 1.10.7 -release 64bit call-id: 0U06KtvpjGLZIrYBBmTPJA.. 2022-07-13 05:42:13.336080 95.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-07-13 05:42:13.336080 95.73% [WARNING] sofia_reg.c:1861 SIP auth challenge (INVITE) on sofia profile 'default' for [50008@alpha.astppbilling.org] from ip 103.240.35.46 2022-07-13 05:42:13.336080 95.73% [DEBUG] switch_core_state_machine.c:600 (sofia/default/1190246984@alpha.astppbilling.org:5060) State NEW 2022-07-13 05:42:13.336080 95.73% [DEBUG] sofia.c:2419 detaching session aa324b3a-0e8e-41ab-8a48-860dfbdc7d85 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:2532 Re-attaching to session aa324b3a-0e8e-41ab-8a48-860dfbdc7d85 2022-07-13 05:42:13.676106 95.73% [INFO] sofia.c:10462 sofia/default/1190246984@alpha.astppbilling.org:5060 receiving invite from 103.240.35.46:58437 version: 1.10.7 -release 64bit call-id: 0U06KtvpjGLZIrYBBmTPJA.. 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 103.240.35.46:0. 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:11672 Setting NAT mode based on via received 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/1190246984@alpha.astppbilling.org:5060 entering state [received][100] 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:7509 Remote SDP: v=0 o=Z 0 4332296 IN IP4 103.240.35.46 s=Z c=IN IP4 103.240.35.46 t=0 0 m=audio 39027 RTP/AVP 106 9 98 101 0 8 3 a=rtpmap:106 opus/48000/2 a=fmtp:106 sprop-maxcapturerate=16000; minptime=20; useinbandfec=1 a=rtpmap:98 telephone-event/48000 a=fmtp:98 0-16 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMA:8:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:106:48000:20:0:2]/[PCMU:0:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 98@48000 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:3870 Set Codec sofia/default/1190246984@alpha.astppbilling.org:5060 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_codec.c:111 sofia/default/1190246984@alpha.astppbilling.org:5060 Original read codec set to PCMU:0 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_media.c:5973 sofia/default/1190246984@alpha.astppbilling.org:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2022-07-13 05:42:13.676106 95.73% [DEBUG] sofia.c:7933 (sofia/default/1190246984@alpha.astppbilling.org:5060) State Change CS_NEW -> CS_INIT 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_INIT (Cur 1 Tot 439) 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1190246984@alpha.astppbilling.org:5060) State INIT 2022-07-13 05:42:13.676106 95.73% [DEBUG] mod_sofia.c:97 sofia/default/1190246984@alpha.astppbilling.org:5060 SOFIA INIT 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:40 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard INIT 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:48 (sofia/default/1190246984@alpha.astppbilling.org:5060) State Change CS_INIT -> CS_ROUTING 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:624 (sofia/default/1190246984@alpha.astppbilling.org:5060) State INIT going to sleep 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_ROUTING (Cur 1 Tot 439) 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_channel.c:2380 (sofia/default/1190246984@alpha.astppbilling.org:5060) Callstate Change DOWN -> RINGING 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1190246984@alpha.astppbilling.org:5060) State ROUTING 2022-07-13 05:42:13.676106 95.73% [DEBUG] mod_sofia.c:158 sofia/default/1190246984@alpha.astppbilling.org:5060 SOFIA ROUTING 2022-07-13 05:42:13.676106 95.73% [DEBUG] switch_core_state_machine.c:230 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard ROUTING 2022-07-13 05:42:13.676106 95.73% [INFO] mod_dialplan_xml.c:639 Processing 1190246984 <1190246984>->50008 in context default 2022-07-13 05:42:13.696105 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] USING CACHE 2022-07-13 05:42:13.696105 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-13 05:42:13.696105 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_SYSTEM]1.0 2022-07-13 05:42:13.696105 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons 2022-07-13 05:42:13.716080 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0 2022-07-13 05:42:13.716080 95.73% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 50008 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '50008' limit 1 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.0 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.1 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CACHING_DEBUG_ACCESS_NUMBER]1.2 :: CALL IS ACCESS NUMBER 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 parsing [default->50008] continue=false Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 Regex (PASS) [50008] destination_number(50008) =~ /50008/ break=on-false Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 Action log(INFO ASTPP - Calling Card Call) Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 Action answer() Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 Action sleep(2000) Dialplan: sofia/default/1190246984@alpha.astppbilling.org:5060 Action lua(astpp-callingcards.lua) 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_state_machine.c:281 (sofia/default/1190246984@alpha.astppbilling.org:5060) State Change CS_ROUTING -> CS_EXECUTE 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_state_machine.c:640 (sofia/default/1190246984@alpha.astppbilling.org:5060) State ROUTING going to sleep 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_EXECUTE (Cur 1 Tot 439) 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1190246984@alpha.astppbilling.org:5060) State EXECUTE 2022-07-13 05:42:13.716080 95.73% [DEBUG] mod_sofia.c:213 sofia/default/1190246984@alpha.astppbilling.org:5060 SOFIA EXECUTE 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_state_machine.c:323 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard EXECUTE EXECUTE [depth=0] sofia/default/1190246984@alpha.astppbilling.org:5060 log(INFO ASTPP - Calling Card Call) 2022-07-13 05:42:13.716080 95.73% [INFO] mod_dptools.c:1879 ASTPP - Calling Card Call EXECUTE [depth=0] sofia/default/1190246984@alpha.astppbilling.org:5060 answer() 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_media.c:8777 AUDIO RTP [sofia/default/1190246984@alpha.astppbilling.org:5060] 168.119.48.166 port 29844 -> 103.240.35.46 port 39027 codec: 0 ms: 20 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_rtp.c:4619 Starting timer [soft] 160 bytes per 20ms 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_media.c:9089 sofia/default/1190246984@alpha.astppbilling.org:5060 Set 2833 dtmf send payload to 101 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_media.c:9096 sofia/default/1190246984@alpha.astppbilling.org:5060 Set 2833 dtmf receive payload to 101 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_core_media.c:9119 sofia/default/1190246984@alpha.astppbilling.org:5060 Set rtp dtmf delay to 40 2022-07-13 05:42:13.716080 95.73% [DEBUG] mod_sofia.c:913 Local SDP sofia/default/1190246984@alpha.astppbilling.org:5060: v=0 o=FreeSWITCH 1657661089 1657661090 IN IP4 168.119.48.166 s=FreeSWITCH c=IN IP4 168.119.48.166 t=0 0 m=audio 29844 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-07-13 05:42:13.716080 95.73% [NOTICE] mod_dptools.c:1419 Channel [sofia/default/1190246984@alpha.astppbilling.org:5060] has been answered 2022-07-13 05:42:13.716080 95.73% [DEBUG] switch_channel.c:3950 (sofia/default/1190246984@alpha.astppbilling.org:5060) Callstate Change RINGING -> ACTIVE 2022-07-13 05:42:13.716080 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/1190246984@alpha.astppbilling.org:5060 entering state [completed][200] EXECUTE [depth=0] sofia/default/1190246984@alpha.astppbilling.org:5060 sleep(2000) 2022-07-13 05:42:13.996099 95.73% [DEBUG] switch_rtp.c:7934 Correct audio ip/port confirmed. 2022-07-13 05:42:13.996099 95.73% [DEBUG] sofia.c:7499 Channel sofia/default/1190246984@alpha.astppbilling.org:5060 entering state [ready][200] EXECUTE [depth=0] sofia/default/1190246984@alpha.astppbilling.org:5060 lua(astpp-callingcards.lua) 2022-07-13 05:42:15.716102 95.57% [ERR] mod_lua.cpp:202 cannot open /opt/ASTPP/freeswitch/scripts/addons.lua: No such file or directory stack traceback: [C]: in function 'dofile' ./astpp-callingcards.lua:52: in main chunk 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_cpp.cpp:1209 sofia/default/1190246984@alpha.astppbilling.org:5060 destroy/unlink session from object 2022-07-13 05:42:15.716102 95.57% [NOTICE] switch_core_state_machine.c:382 sofia/default/1190246984@alpha.astppbilling.org:5060 has executed the last dialplan instruction, hanging up. 2022-07-13 05:42:15.716102 95.57% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/default/1190246984@alpha.astppbilling.org:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:647 (sofia/default/1190246984@alpha.astppbilling.org:5060) State EXECUTE going to sleep 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_HANGUP (Cur 1 Tot 439) 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:844 (sofia/default/1190246984@alpha.astppbilling.org:5060) Callstate Change ACTIVE -> HANGUP 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1190246984@alpha.astppbilling.org:5060) State HANGUP 2022-07-13 05:42:15.716102 95.57% [DEBUG] mod_sofia.c:468 Channel sofia/default/1190246984@alpha.astppbilling.org:5060 hanging up, cause: NORMAL_CLEARING 2022-07-13 05:42:15.716102 95.57% [DEBUG] mod_sofia.c:522 Sending BYE to sofia/default/1190246984@alpha.astppbilling.org:5060 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:59 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard HANGUP, cause: NORMAL_CLEARING 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:846 (sofia/default/1190246984@alpha.astppbilling.org:5060) State HANGUP going to sleep 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:616 (sofia/default/1190246984@alpha.astppbilling.org:5060) State Change CS_HANGUP -> CS_REPORTING 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:581 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_REPORTING (Cur 1 Tot 439) 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1190246984@alpha.astppbilling.org:5060) State REPORTING 2022-07-13 05:42:15.716102 95.57% [INFO] mod_json_cdr.c:271 Process [aa324b3a-0e8e-41ab-8a48-860dfbdc7d85.cdr.json] 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:168 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard REPORTING, cause: NORMAL_CLEARING 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:932 (sofia/default/1190246984@alpha.astppbilling.org:5060) State REPORTING going to sleep 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:607 (sofia/default/1190246984@alpha.astppbilling.org:5060) State Change CS_REPORTING -> CS_DESTROY 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_session.c:1753 Session 439 (sofia/default/1190246984@alpha.astppbilling.org:5060) Locked, Waiting on external entities 2022-07-13 05:42:15.716102 95.57% [NOTICE] switch_core_session.c:1771 Session 439 (sofia/default/1190246984@alpha.astppbilling.org:5060) Ended 2022-07-13 05:42:15.716102 95.57% [NOTICE] switch_core_session.c:1775 Close Channel sofia/default/1190246984@alpha.astppbilling.org:5060 [CS_DESTROY] 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:735 (sofia/default/1190246984@alpha.astppbilling.org:5060) Running State Change CS_DESTROY (Cur 0 Tot 439) 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1190246984@alpha.astppbilling.org:5060) State DESTROY 2022-07-13 05:42:15.716102 95.57% [DEBUG] mod_sofia.c:379 sofia/default/1190246984@alpha.astppbilling.org:5060 SOFIA DESTROY 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:175 sofia/default/1190246984@alpha.astppbilling.org:5060 Standard DESTROY 2022-07-13 05:42:15.716102 95.57% [DEBUG] switch_core_state_machine.c:745 (sofia/default/1190246984@alpha.astppbilling.org:5060) State DESTROY going to sleep 2022-07-13 05:42:45.496096 96.70% [WARNING] sofia_reg.c:1861 SIP auth challenge (REGISTER) on sofia profile 'default' for [4049@168.119.48.166] from ip 62.197.153.4 2022-07-13 05:42:45.756101 96.70% [WARNING] sofia_reg.c:3223 Can't find user [4049@168.119.48.166] from 62.197.153.4 You must define a domain called '168.119.48.166' in your directory and add a user with the id="4049" attribute and you must configure your device to use the proper domain in its authentication credentials. 2022-07-13 05:42:45.756101 96.70% [WARNING] sofia_reg.c:1806 SIP auth failure (REGISTER) on sofia profile 'default' for [4049@168.119.48.166] from ip 62.197.153.4 freeswitch@devangnewdeb11>