2022-09-20 10:42:00.031112 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:741 (sofia/default/81345655200@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 79033)
2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
2022-09-20 10:42:00.031112 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY going to sleep
2022-09-20 10:42:00.031112 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ALLOTTED_TIMEOUT
2022-09-20 10:42:00.031112 [NOTICE] switch_core_state_machine.c:385 sofia/default/+818090110851@203.60.13.98 has executed the last dialplan instruction, hanging up.
2022-09-20 10:42:00.031112 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/+818090110851@203.60.13.98 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:42:00.051119 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE going to sleep
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_HANGUP (Cur 7 Tot 79033)
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+818090110851@203.60.13.98) Callstate Change RINGING -> HANGUP
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
2022-09-20 10:42:00.051119 [DEBUG] mod_sofia.c:438 Channel sofia/default/+818090110851@203.60.13.98 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:42:00.051119 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:60 sofia/default/+818090110851@203.60.13.98 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP going to sleep
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+818090110851@203.60.13.98) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_REPORTING (Cur 7 Tot 79033)
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
2022-09-20 10:42:00.051119 [INFO] mod_json_cdr.c:271 Process [a3a93c42-38b7-11ed-b703-ef396ca3ea52.cdr.json]
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:174 sofia/default/+818090110851@203.60.13.98 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING going to sleep
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+818090110851@203.60.13.98) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:00.051119 [DEBUG] switch_core_session.c:1665 Session 79032 (sofia/default/+818090110851@203.60.13.98) Locked, Waiting on external entities
2022-09-20 10:42:00.051119 [NOTICE] switch_core_session.c:1683 Session 79032 (sofia/default/+818090110851@203.60.13.98) Ended
2022-09-20 10:42:00.051119 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_DESTROY (Cur 6 Tot 79033)
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
2022-09-20 10:42:00.051119 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY going to sleep
2022-09-20 10:42:00.471109 [DEBUG] switch_scheduler.c:144 Deleting task 12614 switch_core_session_sched_heartbeat (a3a93c42-38b7-11ed-b703-ef396ca3ea52)
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:41:52
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.246667 so far)
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.150830)
2022-09-20 10:42:05.831110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [385@89.46.223.193] from ip 128.90.162.175
2022-09-20 10:42:06.031108 [WARNING] sofia_reg.c:2906 Can't find user [385@89.46.223.193] from 128.90.162.175
You must define a domain called '89.46.223.193' in your directory and add a user with the id="385" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:06.031108 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [385@89.46.223.193] from ip 128.90.162.175
2022-09-20 10:42:06.711255 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [107@89.46.223.193] from ip 128.90.63.185
2022-09-20 10:42:06.871109 [WARNING] sofia_reg.c:2906 Can't find user [107@89.46.223.193] from 128.90.63.185
You must define a domain called '89.46.223.193' in your directory and add a user with the id="107" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:06.871109 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [107@89.46.223.193] from ip 128.90.63.185
2022-09-20 10:42:08.651117 [NOTICE] switch_channel.c:1104 New Channel sofia/default/trunk_1@89.46.223.193 [bb0caaae-38b7-11ed-b747-ef396ca3ea52]
2022-09-20 10:42:08.651117 [DEBUG] switch_core_state_machine.c:584 (sofia/default/trunk_1@89.46.223.193) Running State Change CS_NEW (Cur 7 Tot 79034)
2022-09-20 10:42:08.651117 [DEBUG] sofia.c:9873 sofia/default/trunk_1@89.46.223.193 receiving invite from 212.83.145.185:50678 version: 1.6.20 64bit
2022-09-20 10:42:08.651117 [DEBUG] sofia.c:10044 IP 212.83.145.185 Rejected by acl "default". Falling back to Digest auth.
2022-09-20 10:42:08.651117 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [9004912164557035@89.46.223.193] from ip 212.83.145.185
2022-09-20 10:42:08.651117 [DEBUG] switch_core_state_machine.c:603 (sofia/default/trunk_1@89.46.223.193) State NEW
2022-09-20 10:42:08.651117 [DEBUG] sofia.c:2334 detaching session bb0caaae-38b7-11ed-b747-ef396ca3ea52
2022-09-20 10:42:09.211119 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [318@89.46.223.193] from ip 128.90.194.227
2022-09-20 10:42:09.251115 [NOTICE] switch_channel.c:1104 New Channel sofia/default/61457570959@46.19.209.14 [bb65e90c-38b7-11ed-b74a-ef396ca3ea52]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_NEW (Cur 8 Tot 79035)
2022-09-20 10:42:09.251115 [DEBUG] sofia.c:9873 sofia/default/61457570959@46.19.209.14 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:42:09.251115 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [received][100]
2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=didww-sbc 2055578407 2055578407 IN IP4 46.19.209.78
s=didww-sbc
t=0 0
m=audio 13760 RTP/AVP 0 8 18 4 101
c=IN IP4 46.19.209.78
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 G723/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/61457570959@46.19.209.14 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:42:09.251115 [DEBUG] switch_core_codec.c:111 sofia/default/61457570959@46.19.209.14 Original read codec set to PCMU:0
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4767 sofia/default/61457570959@46.19.209.14 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7507 (sofia/default/61457570959@46.19.209.14) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:603 (sofia/default/61457570959@46.19.209.14) State NEW
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_INIT (Cur 8 Tot 79035)
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61457570959@46.19.209.14) State INIT
2022-09-20 10:42:09.251115 [DEBUG] mod_sofia.c:90 sofia/default/61457570959@46.19.209.14 SOFIA INIT
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:40 sofia/default/61457570959@46.19.209.14 Standard INIT
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:48 (sofia/default/61457570959@46.19.209.14) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61457570959@46.19.209.14) State INIT going to sleep
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_ROUTING (Cur 8 Tot 79035)
2022-09-20 10:42:09.251115 [DEBUG] switch_channel.c:2249 (sofia/default/61457570959@46.19.209.14) Callstate Change DOWN -> RINGING
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61457570959@46.19.209.14) State ROUTING
2022-09-20 10:42:09.251115 [DEBUG] mod_sofia.c:143 sofia/default/61457570959@46.19.209.14 SOFIA ROUTING
2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:236 sofia/default/61457570959@46.19.209.14 Standard ROUTING
2022-09-20 10:42:09.251115 [INFO] mod_dialplan_xml.c:637 Processing 61457570959 <61457570959>->61390084207 in context default
2022-09-20 10:42:09.251115 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c813d690 Connected.
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '61390084207' limit 1
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '61390084207' AND status=0 limit 1
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '46.19.209.14' limit 1
2022-09-20 10:42:09.251115 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 61457570959 / 61457570959
2022-09-20 10:42:09.251115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61390084207" LIMIT 1
2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 714761424818]
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "714761424818" AND deleted = 0 limit 1
2022-09-20 10:42:09.251115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61390084207" LIMIT 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="61390084207" AND A.accountid = '851' limit 1
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61390084207
2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61390084207" LIMIT 1
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="61390084207" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^61390084207.*' OR patterns = '^6139008420.*' OR patterns = '^613900842.*' OR patterns = '^61390084.*' OR patterns = '^6139008.*' OR patterns = '^613900.*' OR patterns = '^61390.*' OR patterns = '^6139.*' OR patterns = '^613.*' OR patterns = '^61.*' OR patterns = '^6.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '61390084207' OR number = '6139008420' OR number = '613900842' OR number = '61390084' OR number = '6139008' OR number = '613900' OR number = '61390' OR number = '6139' OR number = '613' OR number = '61' OR number = '6' OR number ='--') OR (number = '61390084207*' OR number = '6139008420*' OR number = '613900842*' OR number = '61390084*' OR number = '6139008*' OR number = '613900*' OR number = '61390*' OR number = '6139*' OR number = '613*' OR number = '61*' OR number = '6*' OR number ='--') OR (number = '61457570959' OR number = '6145757095' OR number = '614575709' OR number = '61457570' OR number = '6145757' OR number = '614575' OR number = '61457' OR number = '6145' OR number = '614' OR number = '61' OR number = '6' OR number ='--') OR (number = '61457570959*' OR number = '6145757095*' OR number = '614575709*' OR number = '61457570*' OR number = '6145757*' OR number = '614575*' OR number = '61457*' OR number = '6145*' OR number = '614*' OR number = '61*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '61390084207' OR routing_prefix = '6139008420' OR routing_prefix = '613900842' OR routing_prefix = '61390084' OR routing_prefix = '6139008' OR routing_prefix = '613900' OR routing_prefix = '61390' OR routing_prefix = '6139' OR routing_prefix = '613' OR routing_prefix = '61' OR routing_prefix = '6' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....61390084207
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="61390084207" LIMIT 1
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13183
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Melbourne Landline
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 12
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:09.271112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....61457570959
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....61457570959
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:09.271112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="61390084207">
<condition field="destination_number" expression="61390084207">
<action application="set" data="effective_destination_number=61390084207"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:42:09"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:13183|CODE:^61390084207.*|DESTINATION:Melbourne Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:12|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=61457570959"/>
<action application="set" data="original_caller_id_number=61457570959"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=61457570959"/>
<action application="set" data="effective_caller_id_number=61457570959"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14"/>
<action application="export" data="call_type=2"/>
<action application="set" data="calltype=DIRECT-IP"/>
<action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/61390084207@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:42:09.271112 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c813d690 released.
Dialplan: sofia/default/61457570959@46.19.209.14 parsing [default->61390084207] continue=false
Dialplan: sofia/default/61457570959@46.19.209.14 Regex (PASS) [61390084207] destination_number(61390084207) =~ /61390084207/ break=on-false
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_destination_number=61390084207)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_account=851)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_rate=0.00000)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_increment=60)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/61457570959@46.19.209.14 Action nibblebill(heartbeat 60)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(callstart=2022-09-20 07:42:09)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(account_id=851)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(parent_id=0)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(entity_id=0)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(call_processed=internal)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(call_direction=inbound)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(accountname=default)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(origination_rates_did=ID:13183|CODE:^61390084207.*|DESTINATION:Melbourne Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:12|ACCID:851)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(origination_rates=0)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(original_caller_id_name=61457570959)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(original_caller_id_number=61457570959)
Dialplan: sofia/default/61457570959@46.19.209.14 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/61457570959@46.19.209.14 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_caller_id_name=61457570959)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_caller_id_number=61457570959)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(receiver_accid=851)
Dialplan: sofia/default/61457570959@46.19.209.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/61457570959@46.19.209.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/61457570959@46.19.209.14 Action export(presence_data=x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14)
Dialplan: sofia/default/61457570959@46.19.209.14 Action export(call_type=2)
Dialplan: sofia/default/61457570959@46.19.209.14 Action set(calltype=DIRECT-IP)
Dialplan: sofia/default/61457570959@46.19.209.14 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/61390084207@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:286 (sofia/default/61457570959@46.19.209.14) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61457570959@46.19.209.14) State ROUTING going to sleep
2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_EXECUTE (Cur 8 Tot 79035)
2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61457570959@46.19.209.14) State EXECUTE
2022-09-20 10:42:09.271112 [DEBUG] mod_sofia.c:198 sofia/default/61457570959@46.19.209.14 SOFIA EXECUTE
2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:328 sofia/default/61457570959@46.19.209.14 Standard EXECUTE
EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_destination_number=61390084207)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [effective_destination_number]=[61390084207]
EXECUTE sofia/default/61457570959@46.19.209.14 set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_account=851)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_account]=[851]
EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_rate=0.00000)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_rate]=[0.00000]
EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_increment=60)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_increment]=[60]
EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_minimum=0.00000)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_minimum]=[0.00000]
EXECUTE sofia/default/61457570959@46.19.209.14 nibblebill(heartbeat 60)
2022-09-20 10:42:09.271112 [WARNING] switch_core_session.c:1605 sofia/default/61457570959@46.19.209.14 using scheduler due to bypass media or media is not established.
2022-09-20 10:42:09.271112 [DEBUG] switch_scheduler.c:249 Added task 12615 switch_core_session_sched_heartbeat (bb65e90c-38b7-11ed-b74a-ef396ca3ea52) to run at 1663659789
EXECUTE sofia/default/61457570959@46.19.209.14 set(callstart=2022-09-20 07:42:09)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [callstart]=[2022-09-20 07:42:09]
EXECUTE sofia/default/61457570959@46.19.209.14 set(hangup_after_bridge=true)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [hangup_after_bridge]=[true]
EXECUTE sofia/default/61457570959@46.19.209.14 set(continue_on_fail=TRUE)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [continue_on_fail]=[TRUE]
EXECUTE sofia/default/61457570959@46.19.209.14 set(account_id=851)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [account_id]=[851]
EXECUTE sofia/default/61457570959@46.19.209.14 set(parent_id=0)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [parent_id]=[0]
EXECUTE sofia/default/61457570959@46.19.209.14 set(entity_id=0)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [entity_id]=[0]
EXECUTE sofia/default/61457570959@46.19.209.14 set(call_processed=internal)
2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [call_processed]=[internal]
EXECUTE sofia/default/61457570959@46.19.209.14 set(call_direction=inbound)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [call_direction]=[inbound]
EXECUTE sofia/default/61457570959@46.19.209.14 set(accountname=default)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [accountname]=[default]
EXECUTE sofia/default/61457570959@46.19.209.14 set(filename1=astpp.pbx.lua)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/61457570959@46.19.209.14 set(origination_rates_did=ID:13183|CODE:^61390084207.*|DESTINATION:Melbourne Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:12|ACCID:851)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [origination_rates_did]=[ID:13183|CODE:^61390084207.*|DESTINATION:Melbourne Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:12|ACCID:851]
EXECUTE sofia/default/61457570959@46.19.209.14 set(origination_rates=0)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [origination_rates]=[0]
EXECUTE sofia/default/61457570959@46.19.209.14 set(original_caller_id_name=61457570959)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [original_caller_id_name]=[61457570959]
EXECUTE sofia/default/61457570959@46.19.209.14 set(original_caller_id_number=61457570959)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [original_caller_id_number]=[61457570959]
EXECUTE sofia/default/61457570959@46.19.209.14 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:42:09.291115 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:42:09.291115 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
EXECUTE sofia/default/61457570959@46.19.209.14 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:42:09.291115 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:42:09.291115 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_caller_id_name=61457570959)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [effective_caller_id_name]=[61457570959]
EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_caller_id_number=61457570959)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [effective_caller_id_number]=[61457570959]
EXECUTE sofia/default/61457570959@46.19.209.14 set(receiver_accid=851)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [receiver_accid]=[851]
EXECUTE sofia/default/61457570959@46.19.209.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/61457570959@46.19.209.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/61457570959@46.19.209.14 export(presence_data=x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14)
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14]
EXECUTE sofia/default/61457570959@46.19.209.14 export(call_type=2)
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
EXECUTE sofia/default/61457570959@46.19.209.14 set(calltype=DIRECT-IP)
2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [calltype]=[DIRECT-IP]
EXECUTE sofia/default/61457570959@46.19.209.14 bridge([leg_timeout=30]sofia/default/61390084207@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1250 sofia/default/61457570959@46.19.209.14 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1250 sofia/default/61457570959@46.19.209.14 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1250 sofia/default/61457570959@46.19.209.14 EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14] to event
2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1250 sofia/default/61457570959@46.19.209.14 EXPORTING[export_vars] [call_type]=[2] to event
2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:42:09.291115 [NOTICE] switch_channel.c:1104 New Channel sofia/default/61390084207@35.205.116.118 [bb6cd21c-38b7-11ed-b76f-ef396ca3ea52]
2022-09-20 10:42:09.291115 [DEBUG] mod_sofia.c:4819 (sofia/default/61390084207@35.205.116.118) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:2963 sofia/default/61390084207@35.205.116.118 Setting leg timeout to 30
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_INIT (Cur 9 Tot 79036)
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61390084207@35.205.116.118) State INIT
2022-09-20 10:42:09.291115 [DEBUG] mod_sofia.c:90 sofia/default/61390084207@35.205.116.118 SOFIA INIT
2022-09-20 10:42:09.291115 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/61390084207@35.205.116.118
2022-09-20 10:42:09.291115 [DEBUG] sofia_glue.c:1295 sofia/default/61390084207@35.205.116.118 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663642591 1663642592 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 17138 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:40 sofia/default/61390084207@35.205.116.118 Standard INIT
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:48 (sofia/default/61390084207@35.205.116.118) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61390084207@35.205.116.118) State INIT going to sleep
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_ROUTING (Cur 9 Tot 79036)
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61390084207@35.205.116.118) State ROUTING
2022-09-20 10:42:09.291115 [DEBUG] mod_sofia.c:143 sofia/default/61390084207@35.205.116.118 SOFIA ROUTING
2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:67 (sofia/default/61390084207@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61390084207@35.205.116.118) State ROUTING going to sleep
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 9 Tot 79036)
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:662 (sofia/default/61390084207@35.205.116.118) State CONSUME_MEDIA
2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:662 (sofia/default/61390084207@35.205.116.118) State CONSUME_MEDIA going to sleep
2022-09-20 10:42:09.291115 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [calling][0]
2022-09-20 10:42:09.571119 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [209@89.46.223.193] from ip 31.6.10.16
2022-09-20 10:42:09.691110 [WARNING] sofia_reg.c:2906 Can't find user [318@89.46.223.193] from 128.90.194.227
You must define a domain called '89.46.223.193' in your directory and add a user with the id="318" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:09.691110 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [318@89.46.223.193] from ip 128.90.194.227
2022-09-20 10:42:09.691110 [WARNING] sofia_reg.c:2906 Can't find user [209@89.46.223.193] from 31.6.10.16
You must define a domain called '89.46.223.193' in your directory and add a user with the id="209" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:09.691110 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [209@89.46.223.193] from ip 31.6.10.16
2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [completing][200]
2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=root 294076698 294076698 IN IP4 132.145.241.24
s=Asterisk PBX 13.29.2
c=IN IP4 132.145.241.24
t=0 0
m=audio 17062 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [ready][200]
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/61390084207@35.205.116.118 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:42:09.871113 [DEBUG] switch_core_codec.c:111 sofia/default/61390084207@35.205.116.118 Original read codec set to PCMU:0
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4767 sofia/default/61390084207@35.205.116.118 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/61390084207@35.205.116.118] 89.46.223.193 port 17138 -> 132.145.241.24 port 17062 codec: 0 ms: 20
2022-09-20 10:42:09.871113 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7180 sofia/default/61390084207@35.205.116.118 Set 2833 dtmf send payload to 101
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7187 sofia/default/61390084207@35.205.116.118 Set 2833 dtmf receive payload to 101
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7210 sofia/default/61390084207@35.205.116.118 Set rtp dtmf delay to 40
2022-09-20 10:42:09.871113 [NOTICE] sofia.c:8218 Channel [sofia/default/61390084207@35.205.116.118] has been answered
2022-09-20 10:42:09.871113 [DEBUG] switch_channel.c:3773 (sofia/default/61390084207@35.205.116.118) Callstate Change DOWN -> ACTIVE
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/61457570959@46.19.209.14] 89.46.223.193 port 19866 -> 46.19.209.78 port 13760 codec: 0 ms: 20
2022-09-20 10:42:09.871113 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7180 sofia/default/61457570959@46.19.209.14 Set 2833 dtmf send payload to 101
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7187 sofia/default/61457570959@46.19.209.14 Set 2833 dtmf receive payload to 101
2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:7210 sofia/default/61457570959@46.19.209.14 Set rtp dtmf delay to 40
2022-09-20 10:42:09.871113 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/61457570959@46.19.209.14:
v=0
o=FreeSWITCH 1663639863 1663639864 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19866 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:42:09.871113 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/61457570959@46.19.209.14] has been answered
EXECUTE sofia/default/61457570959@46.19.209.14 sched_hangup(+10800 normal_clearing)
2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [completed][200]
2022-09-20 10:42:09.871113 [DEBUG] switch_scheduler.c:249 Added task 12616 switch_ivr_schedule_hangup (bb65e90c-38b7-11ed-b74a-ef396ca3ea52) to run at 1663670529
2022-09-20 10:42:09.871113 [DEBUG] switch_channel.c:3773 (sofia/default/61457570959@46.19.209.14) Callstate Change RINGING -> ACTIVE
2022-09-20 10:42:09.871113 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/61390084207@35.205.116.118]
2022-09-20 10:42:09.871113 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/61390084207@35.205.116.118) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-09-20 10:42:09.871113 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_EXCHANGE_MEDIA (Cur 9 Tot 79036)
2022-09-20 10:42:09.871113 [DEBUG] switch_core_state_machine.c:653 (sofia/default/61390084207@35.205.116.118) State EXCHANGE_MEDIA
2022-09-20 10:42:09.871113 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
2022-09-20 10:42:10.051113 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [307@89.46.223.193] from ip 128.90.117.246
2022-09-20 10:42:10.311112 [WARNING] sofia_reg.c:2906 Can't find user [307@89.46.223.193] from 128.90.117.246
You must define a domain called '89.46.223.193' in your directory and add a user with the id="307" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:10.311112 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [307@89.46.223.193] from ip 128.90.117.246
2022-09-20 10:42:10.351112 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2022-09-20 10:42:10.411114 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [ready][200]
2022-09-20 10:42:11.051121 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+818090110851@203.60.13.98 [bc797412-38b7-11ed-b77a-ef396ca3ea52]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_NEW (Cur 10 Tot 79037)
2022-09-20 10:42:11.051121 [DEBUG] sofia.c:9873 sofia/default/+818090110851@203.60.13.98 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:42:11.051121 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=PortaSIP 1027970953303666882 1 IN IP4 203.60.13.99
s=DIDXL
t=0 0
m=audio 47984 RTP/AVP 8 0 18 101
c=IN IP4 203.60.13.99
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+818090110851@203.60.13.98 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:42:11.051121 [DEBUG] switch_core_codec.c:111 sofia/default/+818090110851@203.60.13.98 Original read codec set to PCMA:8
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4767 sofia/default/+818090110851@203.60.13.98 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_INIT (Cur 10 Tot 79037)
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
2022-09-20 10:42:11.051121 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+818090110851@203.60.13.98) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT going to sleep
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_ROUTING (Cur 10 Tot 79037)
2022-09-20 10:42:11.051121 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
2022-09-20 10:42:11.051121 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
2022-09-20 10:42:11.051121 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
2022-09-20 10:42:11.051121 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c813d690 Connected.
2022-09-20 10:42:11.051121 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:42:11.051121 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:42:11.051121 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:42:11.051121 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
2022-09-20 10:42:11.051121 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '81345655200' limit 1
2022-09-20 10:42:11.051121 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '81345655200' AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '203.60.13.98' limit 1
2022-09-20 10:42:11.071120 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +818090110851 / +818090110851
2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" AND deleted = 0 limit 1
2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="81345655200" AND A.accountid = '851' limit 1
2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="81345655200" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^81345655200.*' OR patterns = '^8134565520.*' OR patterns = '^813456552.*' OR patterns = '^81345655.*' OR patterns = '^8134565.*' OR patterns = '^813456.*' OR patterns = '^81345.*' OR patterns = '^8134.*' OR patterns = '^813.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '81345655200' OR number = '8134565520' OR number = '813456552' OR number = '81345655' OR number = '8134565' OR number = '813456' OR number = '81345' OR number = '8134' OR number = '813' OR number = '81' OR number = '8' OR number ='--') OR (number = '81345655200*' OR number = '8134565520*' OR number = '813456552*' OR number = '81345655*' OR number = '8134565*' OR number = '813456*' OR number = '81345*' OR number = '8134*' OR number = '813*' OR number = '81*' OR number = '8*' OR number ='--') OR (number = '+818090110851' OR number = '+81809011085' OR number = '+8180901108' OR number = '+818090110' OR number = '+81809011' OR number = '+8180901' OR number = '+818090' OR number = '+81809' OR number = '+8180' OR number = '+818' OR number = '+81' OR number = '+8' OR number = '+' OR number ='--') OR (number = '+818090110851*' OR number = '+81809011085*' OR number = '+8180901108*' OR number = '+818090110*' OR number = '+81809011*' OR number = '+8180901*' OR number = '+818090*' OR number = '+81809*' OR number = '+8180*' OR number = '+818*' OR number = '+81*' OR number = '+8*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '81345655200' OR routing_prefix = '8134565520' OR routing_prefix = '813456552' OR routing_prefix = '81345655' OR routing_prefix = '8134565' OR routing_prefix = '813456' OR routing_prefix = '81345' OR routing_prefix = '8134' OR routing_prefix = '813' OR routing_prefix = '81' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:42:11.091129 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:42:11.091129 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:11.091129 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:11.091129 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="81345655200">
<condition field="destination_number" expression="81345655200">
<action application="set" data="effective_destination_number=81345655200"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:42:11"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=+818090110851"/>
<action application="set" data="original_caller_id_number=+818090110851"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=+818090110851"/>
<action application="set" data="effective_caller_id_number=+818090110851"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
<action application="export" data="call_type=2"/>
<action application="set" data="calltype=DIRECT-IP"/>
<action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:42:11.091129 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c813d690 released.
Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:42:11)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+818090110851@203.60.13.98) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING going to sleep
2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_EXECUTE (Cur 10 Tot 79037)
2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
2022-09-20 10:42:11.091129 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
2022-09-20 10:42:11.091129 [WARNING] switch_core_session.c:1605 sofia/default/+818090110851@203.60.13.98 using scheduler due to bypass media or media is not established.
2022-09-20 10:42:11.091129 [DEBUG] switch_scheduler.c:249 Added task 12617 switch_core_session_sched_heartbeat (bc797412-38b7-11ed-b77a-ef396ca3ea52) to run at 1663659791
EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:42:11)
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [callstart]=[2022-09-20 07:42:11]
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:02
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.250000 so far)
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates_did]=[ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:42:11.091129 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.147500)
2022-09-20 10:42:11.111112 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:42:11.111112 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:42:11.111112 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
EXECUTE sofia/default/+818090110851@203.60.13.98 bridge([leg_timeout=30]sofia/default/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98] to event
2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [call_type]=[2] to event
2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:42:11.111112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/81345655200@35.205.116.118 [bc824b14-38b7-11ed-b79f-ef396ca3ea52]
2022-09-20 10:42:11.111112 [DEBUG] mod_sofia.c:4819 (sofia/default/81345655200@35.205.116.118) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:2963 sofia/default/81345655200@35.205.116.118 Setting leg timeout to 30
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_INIT (Cur 11 Tot 79038)
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
2022-09-20 10:42:11.111112 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
2022-09-20 10:42:11.111112 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/81345655200@35.205.116.118
2022-09-20 10:42:11.111112 [DEBUG] sofia_glue.c:1295 sofia/default/81345655200@35.205.116.118 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663642661 1663642662 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 17070 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:48 (sofia/default/81345655200@35.205.116.118) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT going to sleep
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_ROUTING (Cur 11 Tot 79038)
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
2022-09-20 10:42:11.111112 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:67 (sofia/default/81345655200@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING going to sleep
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 11 Tot 79038)
2022-09-20 10:42:11.111112 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA going to sleep
2022-09-20 10:42:11.571110 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
2022-09-20 10:42:11.571110 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
2022-09-20 10:42:11.571110 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
2022-09-20 10:42:11.591160 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:42:11.591160 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:42:11.611116 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
2022-09-20 10:42:16.331601 [NOTICE] sofia.c:1012 Hangup sofia/default/61390084207@35.205.116.118 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-09-20 10:42:16.331601 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/61390084207@35.205.116.118]
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:653 (sofia/default/61390084207@35.205.116.118) State EXCHANGE_MEDIA going to sleep
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_HANGUP (Cur 11 Tot 79038)
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:850 (sofia/default/61390084207@35.205.116.118) Callstate Change ACTIVE -> HANGUP
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61390084207@35.205.116.118) State HANGUP
2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:438 Channel sofia/default/61390084207@35.205.116.118 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:60 sofia/default/61390084207@35.205.116.118 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61390084207@35.205.116.118) State HANGUP going to sleep
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:619 (sofia/default/61390084207@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61390084207@35.205.116.118) Running State Change CS_REPORTING (Cur 11 Tot 79038)
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61390084207@35.205.116.118) State REPORTING
2022-09-20 10:42:16.331601 [INFO] mod_json_cdr.c:271 Process [bb6cd21c-38b7-11ed-b76f-ef396ca3ea52.cdr.json]
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:174 sofia/default/61390084207@35.205.116.118 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61390084207@35.205.116.118) State REPORTING going to sleep
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:610 (sofia/default/61390084207@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:16.331601 [DEBUG] switch_core_session.c:1665 Session 79036 (sofia/default/61390084207@35.205.116.118) Locked, Waiting on external entities
2022-09-20 10:42:16.331601 [DEBUG] switch_ivr_bridge.c:706 sofia/default/61390084207@35.205.116.118 ending bridge by request from write function
2022-09-20 10:42:16.331601 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/61457570959@46.19.209.14]
2022-09-20 10:42:16.331601 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/61457570959@46.19.209.14 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:42:16.331601 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
2022-09-20 10:42:16.331601 [NOTICE] switch_core_session.c:1683 Session 79036 (sofia/default/61390084207@35.205.116.118) Ended
2022-09-20 10:42:16.331601 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/61390084207@35.205.116.118 [CS_DESTROY]
2022-09-20 10:42:16.331601 [DEBUG] switch_core_session.c:2815 sofia/default/61457570959@46.19.209.14 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61457570959@46.19.209.14) State EXECUTE going to sleep
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_HANGUP (Cur 10 Tot 79038)
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:741 (sofia/default/61390084207@35.205.116.118) Running State Change CS_DESTROY (Cur 10 Tot 79038)
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61390084207@35.205.116.118) State DESTROY
2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:343 sofia/default/61390084207@35.205.116.118 SOFIA DESTROY
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:181 sofia/default/61390084207@35.205.116.118 Standard DESTROY
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61390084207@35.205.116.118) State DESTROY going to sleep
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:850 (sofia/default/61457570959@46.19.209.14) Callstate Change ACTIVE -> HANGUP
2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61457570959@46.19.209.14) State HANGUP
2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:432 sofia/default/61457570959@46.19.209.14 Overriding SIP cause 480 with 200 from the other leg
2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:438 Channel sofia/default/61457570959@46.19.209.14 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/61457570959@46.19.209.14
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:42:16.331601 [INFO] mod_nibblebill.c:565 Beginning new billing on bb65e90c-38b7-11ed-b74a-ef396ca3ea52
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:573 6 seconds passed since last bill time of 2022-09-20 10:42:09
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 851 (Call: bb65e90c-38b7-11ed-b74a-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='851']
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='851']
2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:42:16.371110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:60 sofia/default/61457570959@46.19.209.14 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61457570959@46.19.209.14) State HANGUP going to sleep
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:619 (sofia/default/61457570959@46.19.209.14) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/61457570959@46.19.209.14) Running State Change CS_REPORTING (Cur 10 Tot 79038)
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61457570959@46.19.209.14) State REPORTING
2022-09-20 10:42:16.371110 [INFO] mod_json_cdr.c:271 Process [bb65e90c-38b7-11ed-b74a-ef396ca3ea52.cdr.json]
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:174 sofia/default/61457570959@46.19.209.14 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61457570959@46.19.209.14) State REPORTING going to sleep
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:610 (sofia/default/61457570959@46.19.209.14) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:16.371110 [DEBUG] switch_core_session.c:1665 Session 79035 (sofia/default/61457570959@46.19.209.14) Locked, Waiting on external entities
2022-09-20 10:42:16.371110 [NOTICE] switch_core_session.c:1683 Session 79035 (sofia/default/61457570959@46.19.209.14) Ended
2022-09-20 10:42:16.371110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/61457570959@46.19.209.14 [CS_DESTROY]
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:741 (sofia/default/61457570959@46.19.209.14) Running State Change CS_DESTROY (Cur 9 Tot 79038)
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61457570959@46.19.209.14) State DESTROY
2022-09-20 10:42:16.371110 [DEBUG] mod_sofia.c:343 sofia/default/61457570959@46.19.209.14 SOFIA DESTROY
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:181 sofia/default/61457570959@46.19.209.14 Standard DESTROY
2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61457570959@46.19.209.14) State DESTROY going to sleep
2022-09-20 10:42:16.591113 [DEBUG] switch_scheduler.c:144 Deleting task 12615 switch_core_session_sched_heartbeat (bb65e90c-38b7-11ed-b74a-ef396ca3ea52)
2022-09-20 10:42:16.591113 [DEBUG] switch_scheduler.c:144 Deleting task 12616 switch_ivr_schedule_hangup (bb65e90c-38b7-11ed-b74a-ef396ca3ea52)
2022-09-20 10:42:18.711111 [WARNING] switch_core_state_machine.c:687 bb0caaae-38b7-11ed-b747-ef396ca3ea52 sofia/default/trunk_1@89.46.223.193 Abandoned
2022-09-20 10:42:18.711111 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/trunk_1@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE]
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/trunk_1@89.46.223.193) Running State Change CS_HANGUP (Cur 9 Tot 79038)
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/trunk_1@89.46.223.193) Callstate Change DOWN -> HANGUP
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/trunk_1@89.46.223.193) State HANGUP
2022-09-20 10:42:18.711111 [DEBUG] mod_sofia.c:438 Channel sofia/default/trunk_1@89.46.223.193 hanging up, cause: WRONG_CALL_STATE
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:60 sofia/default/trunk_1@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/trunk_1@89.46.223.193) State HANGUP going to sleep
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/trunk_1@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/trunk_1@89.46.223.193) Running State Change CS_REPORTING (Cur 9 Tot 79038)
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/trunk_1@89.46.223.193) State REPORTING
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:174 sofia/default/trunk_1@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/trunk_1@89.46.223.193) State REPORTING going to sleep
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:610 (sofia/default/trunk_1@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:18.711111 [DEBUG] switch_core_session.c:1665 Session 79034 (sofia/default/trunk_1@89.46.223.193) Locked, Waiting on external entities
2022-09-20 10:42:18.711111 [NOTICE] switch_core_session.c:1683 Session 79034 (sofia/default/trunk_1@89.46.223.193) Ended
2022-09-20 10:42:18.711111 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/trunk_1@89.46.223.193 [CS_DESTROY]
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:741 (sofia/default/trunk_1@89.46.223.193) Running State Change CS_DESTROY (Cur 8 Tot 79038)
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/trunk_1@89.46.223.193) State DESTROY
2022-09-20 10:42:18.711111 [DEBUG] mod_sofia.c:343 sofia/default/trunk_1@89.46.223.193 SOFIA DESTROY
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:181 sofia/default/trunk_1@89.46.223.193 Standard DESTROY
2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/trunk_1@89.46.223.193) State DESTROY going to sleep
2022-09-20 10:42:20.211137 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [340@89.46.223.193] from ip 209.160.123.36
2022-09-20 10:42:20.491111 [WARNING] sofia_reg.c:2906 Can't find user [340@89.46.223.193] from 209.160.123.36
You must define a domain called '89.46.223.193' in your directory and add a user with the id="340" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:20.491111 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [340@89.46.223.193] from ip 209.160.123.36
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:12
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.253333 so far)
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.144170)
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:573 50 seconds passed since last bill time of 2022-09-20 10:41:39
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 1179 (Call: 3930215a-38b7-11ed-b53b-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:22
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.256667 so far)
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.140840)
2022-09-20 10:42:31.431119 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [121@89.46.223.193] from ip 128.90.140.36
2022-09-20 10:42:31.451119 [WARNING] sofia_reg.c:2906 Can't find user [121@89.46.223.193] from 128.90.140.36
You must define a domain called '89.46.223.193' in your directory and add a user with the id="121" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:31.451119 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [121@89.46.223.193] from ip 128.90.140.36
2022-09-20 10:42:33.731153 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [151@89.46.223.193] from ip 192.64.4.112
2022-09-20 10:42:33.991170 [WARNING] sofia_reg.c:2906 Can't find user [151@89.46.223.193] from 192.64.4.112
You must define a domain called '89.46.223.193' in your directory and add a user with the id="151" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:33.991170 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [151@89.46.223.193] from ip 192.64.4.112
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:573 53 seconds passed since last bill time of 2022-09-20 10:41:40
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 1179 (Call: ff223cc0-38b4-11ed-aa69-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
2022-09-20 10:42:36.711110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [321@89.46.223.193] from ip 31.6.23.101
2022-09-20 10:42:36.731115 [WARNING] sofia_reg.c:2906 Can't find user [321@89.46.223.193] from 31.6.23.101
You must define a domain called '89.46.223.193' in your directory and add a user with the id="321" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:36.731115 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [321@89.46.223.193] from ip 31.6.23.101
2022-09-20 10:42:39.471110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [257@89.46.223.193] from ip 128.90.106.122
2022-09-20 10:42:39.671114 [WARNING] sofia_reg.c:2906 Can't find user [257@89.46.223.193] from 128.90.106.122
You must define a domain called '89.46.223.193' in your directory and add a user with the id="257" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:39.671114 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [257@89.46.223.193] from ip 128.90.106.122
2022-09-20 10:42:39.971110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [test@89.46.223.193] from ip 20.234.200.13
2022-09-20 10:42:40.171112 [WARNING] sofia_reg.c:2906 Can't find user [test@89.46.223.193] from 20.234.200.13
You must define a domain called '89.46.223.193' in your directory and add a user with the id="test" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:40.171112 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [test@89.46.223.193] from ip 20.234.200.13
2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:32
2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.260000 so far)
2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:42:41.111112 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:41.111112 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.137510)
2022-09-20 10:42:42.011111 [NOTICE] switch_ivr_originate.c:327 Hangup sofia/default/81345655200@35.205.116.118 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 79038)
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/81345655200@35.205.116.118) Callstate Change RINGING -> HANGUP
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
2022-09-20 10:42:42.011111 [DEBUG] mod_sofia.c:438 Channel sofia/default/81345655200@35.205.116.118 hanging up, cause: ALLOTTED_TIMEOUT
2022-09-20 10:42:42.011111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:60 sofia/default/81345655200@35.205.116.118 Standard HANGUP, cause: ALLOTTED_TIMEOUT
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP going to sleep
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/81345655200@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 79038)
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
2022-09-20 10:42:42.011111 [INFO] mod_json_cdr.c:271 Process [bc824b14-38b7-11ed-b79f-ef396ca3ea52.cdr.json]
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:174 sofia/default/81345655200@35.205.116.118 Standard REPORTING, cause: ALLOTTED_TIMEOUT
2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING going to sleep
2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:610 (sofia/default/81345655200@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:42.031109 [DEBUG] switch_core_session.c:1665 Session 79038 (sofia/default/81345655200@35.205.116.118) Locked, Waiting on external entities
2022-09-20 10:42:42.031109 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
2022-09-20 10:42:42.031109 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ALLOTTED_TIMEOUT
2022-09-20 10:42:42.031109 [NOTICE] switch_core_state_machine.c:385 sofia/default/+818090110851@203.60.13.98 has executed the last dialplan instruction, hanging up.
2022-09-20 10:42:42.031109 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/+818090110851@203.60.13.98 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:42:42.031109 [NOTICE] switch_core_session.c:1683 Session 79038 (sofia/default/81345655200@35.205.116.118) Ended
2022-09-20 10:42:42.031109 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:741 (sofia/default/81345655200@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 79038)
2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
2022-09-20 10:42:42.031109 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY going to sleep
2022-09-20 10:42:42.091111 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE going to sleep
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_HANGUP (Cur 7 Tot 79038)
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+818090110851@203.60.13.98) Callstate Change RINGING -> HANGUP
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
2022-09-20 10:42:42.091111 [DEBUG] mod_sofia.c:438 Channel sofia/default/+818090110851@203.60.13.98 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:42:42.091111 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:60 sofia/default/+818090110851@203.60.13.98 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP going to sleep
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+818090110851@203.60.13.98) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_REPORTING (Cur 7 Tot 79038)
2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
2022-09-20 10:42:42.091111 [INFO] mod_json_cdr.c:271 Process [bc797412-38b7-11ed-b77a-ef396ca3ea52.cdr.json]
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:174 sofia/default/+818090110851@203.60.13.98 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING going to sleep
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+818090110851@203.60.13.98) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:42:42.111108 [DEBUG] switch_core_session.c:1665 Session 79037 (sofia/default/+818090110851@203.60.13.98) Locked, Waiting on external entities
2022-09-20 10:42:42.111108 [NOTICE] switch_core_session.c:1683 Session 79037 (sofia/default/+818090110851@203.60.13.98) Ended
2022-09-20 10:42:42.111108 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_DESTROY (Cur 6 Tot 79038)
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
2022-09-20 10:42:42.111108 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY going to sleep
2022-09-20 10:42:42.591120 [DEBUG] switch_scheduler.c:144 Deleting task 12617 switch_core_session_sched_heartbeat (bc797412-38b7-11ed-b77a-ef396ca3ea52)
2022-09-20 10:42:43.091176 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [199@89.46.223.193] from ip 103.17.197.136
2022-09-20 10:42:44.151112 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [188@89.46.223.193] from ip 128.90.159.97
2022-09-20 10:42:44.171110 [WARNING] sofia_reg.c:2906 Can't find user [188@89.46.223.193] from 128.90.159.97
You must define a domain called '89.46.223.193' in your directory and add a user with the id="188" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:44.171110 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [188@89.46.223.193] from ip 128.90.159.97
2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:42
2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.263333 so far)
2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:42:51.111113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:42:51.111113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.134180)
2022-09-20 10:42:52.831110 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+818090110851@203.60.13.98 [d5622e1a-38b7-11ed-b7b2-ef396ca3ea52]
2022-09-20 10:42:52.831110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_NEW (Cur 7 Tot 79039)
2022-09-20 10:42:52.831110 [DEBUG] sofia.c:9873 sofia/default/+818090110851@203.60.13.98 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:42:52.831110 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=PortaSIP 1196462542445705516 1 IN IP4 203.60.13.99
s=DIDXL
t=0 0
m=audio 11080 RTP/AVP 8 0 18 101
c=IN IP4 203.60.13.99
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+818090110851@203.60.13.98 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:42:52.851107 [DEBUG] switch_core_codec.c:111 sofia/default/+818090110851@203.60.13.98 Original read codec set to PCMA:8
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4767 sofia/default/+818090110851@203.60.13.98 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_INIT (Cur 7 Tot 79039)
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
2022-09-20 10:42:52.851107 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+818090110851@203.60.13.98) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT going to sleep
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_ROUTING (Cur 7 Tot 79039)
2022-09-20 10:42:52.851107 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
2022-09-20 10:42:52.851107 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
2022-09-20 10:42:52.851107 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
2022-09-20 10:42:52.851107 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '81345655200' limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '81345655200' AND status=0 limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '203.60.13.98' limit 1
2022-09-20 10:42:52.851107 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +818090110851 / +818090110851
2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" AND deleted = 0 limit 1
2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="81345655200" AND A.accountid = '851' limit 1
2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="81345655200" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^81345655200.*' OR patterns = '^8134565520.*' OR patterns = '^813456552.*' OR patterns = '^81345655.*' OR patterns = '^8134565.*' OR patterns = '^813456.*' OR patterns = '^81345.*' OR patterns = '^8134.*' OR patterns = '^813.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '81345655200' OR number = '8134565520' OR number = '813456552' OR number = '81345655' OR number = '8134565' OR number = '813456' OR number = '81345' OR number = '8134' OR number = '813' OR number = '81' OR number = '8' OR number ='--') OR (number = '81345655200*' OR number = '8134565520*' OR number = '813456552*' OR number = '81345655*' OR number = '8134565*' OR number = '813456*' OR number = '81345*' OR number = '8134*' OR number = '813*' OR number = '81*' OR number = '8*' OR number ='--') OR (number = '+818090110851' OR number = '+81809011085' OR number = '+8180901108' OR number = '+818090110' OR number = '+81809011' OR number = '+8180901' OR number = '+818090' OR number = '+81809' OR number = '+8180' OR number = '+818' OR number = '+81' OR number = '+8' OR number = '+' OR number ='--') OR (number = '+818090110851*' OR number = '+81809011085*' OR number = '+8180901108*' OR number = '+818090110*' OR number = '+81809011*' OR number = '+8180901*' OR number = '+818090*' OR number = '+81809*' OR number = '+8180*' OR number = '+818*' OR number = '+81*' OR number = '+8*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '81345655200' OR routing_prefix = '8134565520' OR routing_prefix = '813456552' OR routing_prefix = '81345655' OR routing_prefix = '8134565' OR routing_prefix = '813456' OR routing_prefix = '81345' OR routing_prefix = '8134' OR routing_prefix = '813' OR routing_prefix = '81' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:52.871114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:42:52.871114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="81345655200">
<condition field="destination_number" expression="81345655200">
<action application="set" data="effective_destination_number=81345655200"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:42:52"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=+818090110851"/>
<action application="set" data="original_caller_id_number=+818090110851"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=+818090110851"/>
<action application="set" data="effective_caller_id_number=+818090110851"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
<action application="export" data="call_type=2"/>
<action application="set" data="calltype=DIRECT-IP"/>
<action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:42:52.871114 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:42:52)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+818090110851@203.60.13.98) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING going to sleep
2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_EXECUTE (Cur 7 Tot 79039)
2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
2022-09-20 10:42:52.871114 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
2022-09-20 10:42:52.871114 [WARNING] switch_core_session.c:1605 sofia/default/+818090110851@203.60.13.98 using scheduler due to bypass media or media is not established.
2022-09-20 10:42:52.871114 [DEBUG] switch_scheduler.c:249 Added task 12618 switch_core_session_sched_heartbeat (d5622e1a-38b7-11ed-b7b2-ef396ca3ea52) to run at 1663659832
EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:42:52)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [callstart]=[2022-09-20 07:42:52]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates_did]=[ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:42:52.871114 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:42:52.891169 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:42:52.891169 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:42:52.891169 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
EXECUTE sofia/default/+818090110851@203.60.13.98 bridge([leg_timeout=30]sofia/default/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98] to event
2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [call_type]=[2] to event
2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:42:52.891169 [NOTICE] switch_channel.c:1104 New Channel sofia/default/81345655200@35.205.116.118 [d56909b0-38b7-11ed-b7d7-ef396ca3ea52]
2022-09-20 10:42:52.891169 [DEBUG] mod_sofia.c:4819 (sofia/default/81345655200@35.205.116.118) State Change CS_NEW -> CS_INIT
2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:2963 sofia/default/81345655200@35.205.116.118 Setting leg timeout to 30
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 79040)
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
2022-09-20 10:42:52.891169 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
2022-09-20 10:42:52.891169 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/81345655200@35.205.116.118
2022-09-20 10:42:52.891169 [DEBUG] sofia_glue.c:1295 sofia/default/81345655200@35.205.116.118 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663640682 1663640683 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19090 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:48 (sofia/default/81345655200@35.205.116.118) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT going to sleep
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 79040)
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
2022-09-20 10:42:52.891169 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:67 (sofia/default/81345655200@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING going to sleep
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79040)
2022-09-20 10:42:52.891169 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA going to sleep
2022-09-20 10:42:53.271156 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [336@89.46.223.193] from ip 45.254.253.64
2022-09-20 10:42:53.331110 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
2022-09-20 10:42:53.331110 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
2022-09-20 10:42:53.331110 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
2022-09-20 10:42:53.331110 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:42:53.331110 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
2022-09-20 10:42:53.331110 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:42:53.751112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/4@89.46.223.193 [d5ebeb46-38b7-11ed-b7dc-ef396ca3ea52]
2022-09-20 10:42:53.751112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4@89.46.223.193) Running State Change CS_NEW (Cur 9 Tot 79041)
2022-09-20 10:42:53.751112 [DEBUG] sofia.c:9873 sofia/default/4@89.46.223.193 receiving invite from 193.107.216.98:63772 version: 1.6.20 64bit
2022-09-20 10:42:53.751112 [DEBUG] sofia.c:10044 IP 193.107.216.98 Rejected by acl "default". Falling back to Digest auth.
2022-09-20 10:42:53.751112 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [100440016159946039@89.46.223.193] from ip 193.107.216.98
2022-09-20 10:42:53.751112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/4@89.46.223.193) State NEW
2022-09-20 10:42:53.751112 [DEBUG] sofia.c:2334 detaching session d5ebeb46-38b7-11ed-b7dc-ef396ca3ea52
2022-09-20 10:42:53.891158 [WARNING] sofia_reg.c:2906 Can't find user [336@89.46.223.193] from 45.254.253.64
You must define a domain called '89.46.223.193' in your directory and add a user with the id="336" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:53.891158 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [336@89.46.223.193] from ip 45.254.253.64
2022-09-20 10:42:58.191405 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [115@89.46.223.193] from ip 128.90.167.144
2022-09-20 10:42:58.271236 [WARNING] sofia_reg.c:2906 Can't find user [115@89.46.223.193] from 128.90.167.144
You must define a domain called '89.46.223.193' in your directory and add a user with the id="115" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:58.271236 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [115@89.46.223.193] from ip 128.90.167.144
2022-09-20 10:42:58.291112 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [144@89.46.223.193] from ip 128.90.192.191
2022-09-20 10:42:58.651112 [WARNING] sofia_reg.c:2906 Can't find user [144@89.46.223.193] from 128.90.192.191
You must define a domain called '89.46.223.193' in your directory and add a user with the id="144" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:42:58.651112 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [144@89.46.223.193] from ip 128.90.192.191
2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:42:52
2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.266667 so far)
2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:01.391430 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:01.391430 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.130850)
2022-09-20 10:43:03.791157 [WARNING] switch_core_state_machine.c:687 d5ebeb46-38b7-11ed-b7dc-ef396ca3ea52 sofia/default/4@89.46.223.193 Abandoned
2022-09-20 10:43:03.791157 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/4@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE]
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4@89.46.223.193) Running State Change CS_HANGUP (Cur 9 Tot 79041)
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4@89.46.223.193) Callstate Change DOWN -> HANGUP
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4@89.46.223.193) State HANGUP
2022-09-20 10:43:03.791157 [DEBUG] mod_sofia.c:438 Channel sofia/default/4@89.46.223.193 hanging up, cause: WRONG_CALL_STATE
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:60 sofia/default/4@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4@89.46.223.193) State HANGUP going to sleep
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:619 (sofia/default/4@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:584 (sofia/default/4@89.46.223.193) Running State Change CS_REPORTING (Cur 9 Tot 79041)
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4@89.46.223.193) State REPORTING
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:174 sofia/default/4@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4@89.46.223.193) State REPORTING going to sleep
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:610 (sofia/default/4@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:03.791157 [DEBUG] switch_core_session.c:1665 Session 79041 (sofia/default/4@89.46.223.193) Locked, Waiting on external entities
2022-09-20 10:43:03.791157 [NOTICE] switch_core_session.c:1683 Session 79041 (sofia/default/4@89.46.223.193) Ended
2022-09-20 10:43:03.791157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4@89.46.223.193 [CS_DESTROY]
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:741 (sofia/default/4@89.46.223.193) Running State Change CS_DESTROY (Cur 8 Tot 79041)
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4@89.46.223.193) State DESTROY
2022-09-20 10:43:03.791157 [DEBUG] mod_sofia.c:343 sofia/default/4@89.46.223.193 SOFIA DESTROY
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:181 sofia/default/4@89.46.223.193 Standard DESTROY
2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4@89.46.223.193) State DESTROY going to sleep
2022-09-20 10:43:03.811113 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [244@89.46.223.193] from ip 128.90.148.47
2022-09-20 10:43:03.811113 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [355@89.46.223.193] from ip 128.90.109.140
2022-09-20 10:43:03.831116 [WARNING] sofia_reg.c:2906 Can't find user [244@89.46.223.193] from 128.90.148.47
You must define a domain called '89.46.223.193' in your directory and add a user with the id="244" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:03.851111 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [244@89.46.223.193] from ip 128.90.148.47
2022-09-20 10:43:04.271116 [WARNING] sofia_reg.c:2906 Can't find user [355@89.46.223.193] from 128.90.109.140
You must define a domain called '89.46.223.193' in your directory and add a user with the id="355" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:04.271116 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [355@89.46.223.193] from ip 128.90.109.140
2022-09-20 10:43:04.391225 [NOTICE] sofia.c:1012 Hangup sofia/default/442031501307@212.199.161.206 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/442031501307@212.199.161.206]
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:653 (sofia/default/442031501307@212.199.161.206) State EXCHANGE_MEDIA going to sleep
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442031501307@212.199.161.206) Running State Change CS_HANGUP (Cur 8 Tot 79041)
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:850 (sofia/default/442031501307@212.199.161.206) Callstate Change ACTIVE -> HANGUP
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442031501307@212.199.161.206) State HANGUP
2022-09-20 10:43:04.391225 [DEBUG] mod_sofia.c:438 Channel sofia/default/442031501307@212.199.161.206 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:60 sofia/default/442031501307@212.199.161.206 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442031501307@212.199.161.206) State HANGUP going to sleep
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:619 (sofia/default/442031501307@212.199.161.206) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442031501307@212.199.161.206) Running State Change CS_REPORTING (Cur 8 Tot 79041)
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442031501307@212.199.161.206) State REPORTING
2022-09-20 10:43:04.391225 [INFO] mod_json_cdr.c:271 Process [3937f24a-38b7-11ed-b560-ef396ca3ea52.cdr.json]
2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:706 sofia/default/442031501307@212.199.161.206 ending bridge by request from write function
2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/442078316170@185.240.140.33]
2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:1712 sofia/default/442031501307@212.199.161.206 skip receive message [UNBRIDGE] (channel is hungup already)
2022-09-20 10:43:04.391225 [NOTICE] switch_ivr_bridge.c:1764 Hangup sofia/default/442078316170@185.240.140.33 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:43:04.391225 [DEBUG] mod_hash.c:297 Usage for CPS_97237449191_CPS_user_97237449191 is now 1
2022-09-20 10:43:04.391225 [DEBUG] switch_core_session.c:2815 sofia/default/442078316170@185.240.140.33 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:650 (sofia/default/442078316170@185.240.140.33) State EXECUTE going to sleep
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442078316170@185.240.140.33) Running State Change CS_HANGUP (Cur 8 Tot 79041)
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:850 (sofia/default/442078316170@185.240.140.33) Callstate Change ACTIVE -> HANGUP
2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442078316170@185.240.140.33) State HANGUP
2022-09-20 10:43:04.391225 [DEBUG] mod_sofia.c:432 sofia/default/442078316170@185.240.140.33 Overriding SIP cause 480 with 200 from the other leg
2022-09-20 10:43:04.391225 [DEBUG] mod_sofia.c:438 Channel sofia/default/442078316170@185.240.140.33 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/442078316170@185.240.140.33
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:573 25 seconds passed since last bill time of 2022-09-20 10:42:39
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 1179 (Call: 3930215a-38b7-11ed-b53b-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:174 sofia/default/442031501307@212.199.161.206 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442031501307@212.199.161.206) State REPORTING going to sleep
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:610 (sofia/default/442031501307@212.199.161.206) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_session.c:1665 Session 79015 (sofia/default/442031501307@212.199.161.206) Locked, Waiting on external entities
2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1683 Session 79015 (sofia/default/442031501307@212.199.161.206) Ended
2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442031501307@212.199.161.206 [CS_DESTROY]
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:741 (sofia/default/442031501307@212.199.161.206) Running State Change CS_DESTROY (Cur 7 Tot 79041)
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442031501307@212.199.161.206) State DESTROY
2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:343 sofia/default/442031501307@212.199.161.206 SOFIA DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:181 sofia/default/442031501307@212.199.161.206 Standard DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442031501307@212.199.161.206) State DESTROY going to sleep
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:60 sofia/default/442078316170@185.240.140.33 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442078316170@185.240.140.33) State HANGUP going to sleep
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:619 (sofia/default/442078316170@185.240.140.33) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:584 (sofia/default/442078316170@185.240.140.33) Running State Change CS_REPORTING (Cur 7 Tot 79041)
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442078316170@185.240.140.33) State REPORTING
2022-09-20 10:43:04.411368 [INFO] mod_json_cdr.c:271 Process [3930215a-38b7-11ed-b53b-ef396ca3ea52.cdr.json]
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:174 sofia/default/442078316170@185.240.140.33 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442078316170@185.240.140.33) State REPORTING going to sleep
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:610 (sofia/default/442078316170@185.240.140.33) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_session.c:1665 Session 79014 (sofia/default/442078316170@185.240.140.33) Locked, Waiting on external entities
2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1683 Session 79014 (sofia/default/442078316170@185.240.140.33) Ended
2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442078316170@185.240.140.33 [CS_DESTROY]
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:741 (sofia/default/442078316170@185.240.140.33) Running State Change CS_DESTROY (Cur 6 Tot 79041)
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442078316170@185.240.140.33) State DESTROY
2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:343 sofia/default/442078316170@185.240.140.33 SOFIA DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:181 sofia/default/442078316170@185.240.140.33 Standard DESTROY
2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442078316170@185.240.140.33) State DESTROY going to sleep
2022-09-20 10:43:04.871108 [DEBUG] switch_scheduler.c:144 Deleting task 12603 switch_core_session_sched_heartbeat (3930215a-38b7-11ed-b53b-ef396ca3ea52)
2022-09-20 10:43:04.871108 [DEBUG] switch_scheduler.c:144 Deleting task 12604 switch_ivr_schedule_hangup (3930215a-38b7-11ed-b53b-ef396ca3ea52)
2022-09-20 10:43:04.971115 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'Encrypt' for [107@89.46.223.193] from ip 45.93.16.133
2022-09-20 10:43:05.051120 [WARNING] sofia_reg.c:2906 Can't find user [107@89.46.223.193] from 45.93.16.133
You must define a domain called '89.46.223.193' in your directory and add a user with the id="107" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:05.051120 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'Encrypt' for [107@89.46.223.193] from ip 45.93.16.133
2022-09-20 10:43:08.571114 [NOTICE] switch_channel.c:1104 New Channel sofia/default/anonymous@pstn.twilio.com [dec36dc0-38b7-11ed-b7e9-ef396ca3ea52]
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_NEW (Cur 7 Tot 79042)
2022-09-20 10:43:08.571114 [DEBUG] sofia.c:9873 sofia/default/anonymous@pstn.twilio.com receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:43:08.571114 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [received][100]
2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=root 601152533 601152533 IN IP4 172.18.222.183
s=Twilio Media Gateway
c=IN IP4 52.215.127.240
t=0 0
m=audio 12858 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/anonymous@pstn.twilio.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:43:08.571114 [DEBUG] switch_core_codec.c:111 sofia/default/anonymous@pstn.twilio.com Original read codec set to PCMU:0
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4767 sofia/default/anonymous@pstn.twilio.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7507 (sofia/default/anonymous@pstn.twilio.com) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/anonymous@pstn.twilio.com) State NEW
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_INIT (Cur 7 Tot 79042)
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT
2022-09-20 10:43:08.571114 [DEBUG] mod_sofia.c:90 sofia/default/anonymous@pstn.twilio.com SOFIA INIT
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:40 sofia/default/anonymous@pstn.twilio.com Standard INIT
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:48 (sofia/default/anonymous@pstn.twilio.com) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT going to sleep
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_ROUTING (Cur 7 Tot 79042)
2022-09-20 10:43:08.571114 [DEBUG] switch_channel.c:2249 (sofia/default/anonymous@pstn.twilio.com) Callstate Change DOWN -> RINGING
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
2022-09-20 10:43:08.571114 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
2022-09-20 10:43:08.571114 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17742769824>->+447588708043 in context default
2022-09-20 10:43:08.571114 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:08.571114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : +447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '+447588708043' limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+447588708043' AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
2022-09-20 10:43:08.591114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : anonymous / anonymous
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 273681788501]
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "273681788501" AND deleted = 0 limit 1
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="+447588708043" AND A.accountid = '851' limit 1
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="447588708043" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^+447588708043.*' OR patterns = '^+44758870804.*' OR patterns = '^+4475887080.*' OR patterns = '^+447588708.*' OR patterns = '^+44758870.*' OR patterns = '^+4475887.*' OR patterns = '^+447588.*' OR patterns = '^+44758.*' OR patterns = '^+4475.*' OR patterns = '^+447.*' OR patterns = '^+44.*' OR patterns = '^+4.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '+447588708043' OR number = '+44758870804' OR number = '+4475887080' OR number = '+447588708' OR number = '+44758870' OR number = '+4475887' OR number = '+447588' OR number = '+44758' OR number = '+4475' OR number = '+447' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+447588708043*' OR number = '+44758870804*' OR number = '+4475887080*' OR number = '+447588708*' OR number = '+44758870*' OR number = '+4475887*' OR number = '+447588*' OR number = '+44758*' OR number = '+4475*' OR number = '+447*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--') OR (number = 'anonymous' OR number = 'anonymou' OR number = 'anonymo' OR number = 'anonym' OR number = 'anony' OR number = 'anon' OR number = 'ano' OR number = 'an' OR number = 'a' OR number ='--') OR (number = 'anonymous*' OR number = 'anonymou*' OR number = 'anonymo*' OR number = 'anonym*' OR number = 'anony*' OR number = 'anon*' OR number = 'ano*' OR number = 'an*' OR number = 'a*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+447588708043' OR routing_prefix = '+44758870804' OR routing_prefix = '+4475887080' OR routing_prefix = '+447588708' OR routing_prefix = '+44758870' OR routing_prefix = '+4475887' OR routing_prefix = '+447588' OR routing_prefix = '+44758' OR routing_prefix = '+4475' OR routing_prefix = '+447' OR routing_prefix = '+44' OR routing_prefix = '+4' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:43:08.611110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13287
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:43:08.611110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:08.611110 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:08.611110 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4
2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="447588708043">
<condition field="destination_number" expression="\+447588708043">
<action application="set" data="effective_destination_number=\+447588708043"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:43:08"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=anonymous"/>
<action application="set" data="original_caller_id_number=anonymous"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=259715977962"/>
<action application="set" data="caller_did_account_id=851"/>
<action application="set" data="did_cost=0.00000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="transfer" data="972546322423 XML default"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:08.611110 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->447588708043] continue=false
Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [447588708043] destination_number(+447588708043) =~ /\+447588708043/ break=on-false
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=\+447588708043)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=60)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 60)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:08)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=259715977962)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default)
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:286 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 7 Tot 79042)
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
2022-09-20 10:43:08.611110 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=\+447588708043)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[\+447588708043]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.00000)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=60)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[60]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0.00000)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 60)
2022-09-20 10:43:08.611110 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:08.611110 [DEBUG] switch_scheduler.c:249 Added task 12619 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52) to run at 1663659848
EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:08)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2022-09-20 07:43:08]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=0)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:43:08.611110 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:43:08.611110 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:43:08.611110 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:43:08.611110 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(receiver_accid=851)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193)
2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(call_type=4)
2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[4]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountcode=259715977962)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[259715977962]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=851)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [caller_did_account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_cost]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_connectcost]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0)
2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default)
2022-09-20 10:43:08.611110 [DEBUG] switch_ivr.c:2165 (sofia/default/anonymous@pstn.twilio.com) State Change CS_EXECUTE -> CS_ROUTING
2022-09-20 10:43:08.611110 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
2022-09-20 10:43:08.611110 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/anonymous@pstn.twilio.com to XML[972546322423@default]
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_ROUTING (Cur 7 Tot 79042)
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
2022-09-20 10:43:08.611110 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
2022-09-20 10:43:08.611110 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17742769824>->972546322423 in context default
2022-09-20 10:43:08.631165 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '972546322423' limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '972546322423' AND status=0 limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
2022-09-20 10:43:08.631165 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : anonymous / anonymous
2022-09-20 10:43:08.631165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [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 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="972546322423" AND domains.domain="Voicespin802.newsip.israelnumber.com" limit 1
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 259715977962]
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^972546322423.*' OR blocked_patterns = '^97254632242.*' OR blocked_patterns = '^9725463224.*' OR blocked_patterns = '^972546322.*' OR blocked_patterns = '^97254632.*' OR blocked_patterns = '^9725463.*' OR blocked_patterns = '^972546.*' OR blocked_patterns = '^97254.*' OR blocked_patterns = '^9725.*' OR blocked_patterns = '^972.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 851 limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="972546322423" AND A.accountid = '851' limit 1
2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423
2022-09-20 10:43:08.631165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [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 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="972546322423" AND domains.domain="Voicespin802.newsip.israelnumber.com" limit 1
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="972546322423" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^972546322423.*' OR patterns = '^97254632242.*' OR patterns = '^9725463224.*' OR patterns = '^972546322.*' OR patterns = '^97254632.*' OR patterns = '^9725463.*' OR patterns = '^972546.*' OR patterns = '^97254.*' OR patterns = '^9725.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '972546322423' OR number = '97254632242' OR number = '9725463224' OR number = '972546322' OR number = '97254632' OR number = '9725463' OR number = '972546' OR number = '97254' OR number = '9725' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '972546322423*' OR number = '97254632242*' OR number = '9725463224*' OR number = '972546322*' OR number = '97254632*' OR number = '9725463*' OR number = '972546*' OR number = '97254*' OR number = '9725*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = 'anonymous' OR number = 'anonymou' OR number = 'anonymo' OR number = 'anonym' OR number = 'anony' OR number = 'anon' OR number = 'ano' OR number = 'an' OR number = 'a' OR number ='--') OR (number = 'anonymous*' OR number = 'anonymou*' OR number = 'anonymo*' OR number = 'anonym*' OR number = 'anony*' OR number = 'anon*' OR number = 'ano*' OR number = 'an*' OR number = 'a*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '972546322423' OR routing_prefix = '97254632242' OR routing_prefix = '9725463224' OR routing_prefix = '972546322' OR routing_prefix = '97254632' OR routing_prefix = '9725463' OR routing_prefix = '972546' OR routing_prefix = '97254' OR routing_prefix = '9725' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=851) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35562119
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.1825
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : IsraelMobile
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.1825
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35562119
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=23 ORDER by id asc
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (27,71) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15957053
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile Orange
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 71
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Voicetrading
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : Voicetrading2
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3489
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : VoicetradingGREY
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 22293245
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ISRAEL - MOBILE
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3489) AND status=0 limit 1
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
2022-09-20 10:43:08.671118 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
2022-09-20 10:43:08.671118 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="972546322423">
<condition field="destination_number" expression="972546322423">
<action application="set" data="effective_destination_number=972546322423"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.1825"/>
<action application="set" data="nibble_increment=10"/>
<action application="set" data="nibble_minimum=0"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2022-09-20 07:43:08"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851"/>
<action application="set" data="original_caller_id_name=anonymous"/>
<action application="set" data="original_caller_id_number=anonymous"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489"/>
<action application="set" data="trunk_id=71"/>
<action application="set" data="provider_id=3489"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35562119"/>
<action application="export" data="presence_data=trunk_id=71"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193"/>
<action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017"/>
<action application="set" data="trunk_id=27"/>
<action application="set" data="provider_id=1017"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35562119"/>
<action application="export" data="presence_data=trunk_id=27"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.193"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:08.671118 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false
Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.1825)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=10)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 10)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:08)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=71)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=3489)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=71)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.193)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:286 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 7 Tot 79042)
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
2022-09-20 10:43:08.671118 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:08.671118 [DEBUG] switch_scheduler.c:249 Added task 12620 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52) to run at 1663659798
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423)
2022-09-20 10:43:08.671118 [DEBUG] switch_scheduler.c:144 Deleting task 12619 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972546322423]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.1825)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.1825]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=10)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[10]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 10)
2022-09-20 10:43:08.671118 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:08.671118 [DEBUG] switch_scheduler.c:249 Added task 12621 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52) to run at 1663659798
2022-09-20 10:43:08.671118 [DEBUG] switch_scheduler.c:144 Deleting task 12620 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52)
EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:08)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2022-09-20 07:43:08]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:43:08.671118 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:43:08.671118 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:43:08.671118 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:43:08.671118 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 2/4 for the last 1 seconds
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [termination_rates]=[ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(trunk_id=71)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[71]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(provider_id=3489)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[3489]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(rate_flag=0)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=35562119)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [force_trunk_flag]=[35562119]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=71)
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=71]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(intcall=0)
2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193)
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193]
EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [call_type]=[4] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.193] to event
2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:43:08.671118 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [ded1a822-38b7-11ed-b836-ef396ca3ea52]
2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_INIT (Cur 8 Tot 79043)
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
2022-09-20 10:43:08.671118 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/972546322423
2022-09-20 10:43:08.671118 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641540 1663641541 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 18248 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_ROUTING (Cur 8 Tot 79043)
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79043)
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
2022-09-20 10:43:08.671118 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:02
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.270000 so far)
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.127520)
2022-09-20 10:43:13.191111 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [136@89.46.223.193] from ip 31.6.18.236
2022-09-20 10:43:13.271117 [WARNING] sofia_reg.c:2906 Can't find user [136@89.46.223.193] from 31.6.18.236
You must define a domain called '89.46.223.193' in your directory and add a user with the id="136" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:13.271117 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [136@89.46.223.193] from ip 31.6.18.236
2022-09-20 10:43:14.211109 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [296@89.46.223.193] from ip 128.90.167.40
2022-09-20 10:43:14.251122 [WARNING] sofia_reg.c:2906 Can't find user [296@89.46.223.193] from 128.90.167.40
You must define a domain called '89.46.223.193' in your directory and add a user with the id="296" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:14.251122 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [296@89.46.223.193] from ip 128.90.167.40
2022-09-20 10:43:18.151163 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [212@89.46.223.193] from ip 128.90.103.103
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:18.191112 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [370@89.46.223.193] from ip 128.90.119.161
2022-09-20 10:43:18.331111 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [264@89.46.223.193] from ip 128.90.107.26
2022-09-20 10:43:18.411111 [WARNING] sofia_reg.c:2906 Can't find user [370@89.46.223.193] from 128.90.119.161
You must define a domain called '89.46.223.193' in your directory and add a user with the id="370" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:18.411111 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [370@89.46.223.193] from ip 128.90.119.161
2022-09-20 10:43:18.531112 [WARNING] sofia_reg.c:2906 Can't find user [264@89.46.223.193] from 128.90.107.26
You must define a domain called '89.46.223.193' in your directory and add a user with the id="264" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:18.531112 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [264@89.46.223.193] from ip 128.90.107.26
2022-09-20 10:43:18.751162 [WARNING] sofia_reg.c:2906 Can't find user [212@89.46.223.193] from 128.90.103.103
You must define a domain called '89.46.223.193' in your directory and add a user with the id="212" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:18.751162 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [212@89.46.223.193] from ip 128.90.103.103
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:12
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.273333 so far)
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.124190)
2022-09-20 10:43:23.011111 [NOTICE] switch_ivr_originate.c:327 Hangup sofia/default/81345655200@35.205.116.118 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
2022-09-20 10:43:23.011111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 79043)
2022-09-20 10:43:23.011111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/81345655200@35.205.116.118) Callstate Change RINGING -> HANGUP
2022-09-20 10:43:23.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
2022-09-20 10:43:23.011111 [DEBUG] mod_sofia.c:438 Channel sofia/default/81345655200@35.205.116.118 hanging up, cause: ALLOTTED_TIMEOUT
2022-09-20 10:43:23.031110 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:60 sofia/default/81345655200@35.205.116.118 Standard HANGUP, cause: ALLOTTED_TIMEOUT
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP going to sleep
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:619 (sofia/default/81345655200@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 79043)
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
2022-09-20 10:43:23.031110 [INFO] mod_json_cdr.c:271 Process [d56909b0-38b7-11ed-b7d7-ef396ca3ea52.cdr.json]
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:174 sofia/default/81345655200@35.205.116.118 Standard REPORTING, cause: ALLOTTED_TIMEOUT
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING going to sleep
2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:610 (sofia/default/81345655200@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:23.031110 [DEBUG] switch_core_session.c:1665 Session 79040 (sofia/default/81345655200@35.205.116.118) Locked, Waiting on external entities
2022-09-20 10:43:23.031110 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
2022-09-20 10:43:23.031110 [NOTICE] switch_core_session.c:1683 Session 79040 (sofia/default/81345655200@35.205.116.118) Ended
2022-09-20 10:43:23.031110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:741 (sofia/default/81345655200@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 79043)
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
2022-09-20 10:43:23.051109 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY going to sleep
2022-09-20 10:43:23.051109 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ALLOTTED_TIMEOUT
2022-09-20 10:43:23.051109 [NOTICE] switch_core_state_machine.c:385 sofia/default/+818090110851@203.60.13.98 has executed the last dialplan instruction, hanging up.
2022-09-20 10:43:23.051109 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/+818090110851@203.60.13.98 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:43:23.051109 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE going to sleep
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_HANGUP (Cur 7 Tot 79043)
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+818090110851@203.60.13.98) Callstate Change RINGING -> HANGUP
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
2022-09-20 10:43:23.051109 [DEBUG] mod_sofia.c:438 Channel sofia/default/+818090110851@203.60.13.98 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:43:23.051109 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:60 sofia/default/+818090110851@203.60.13.98 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP going to sleep
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+818090110851@203.60.13.98) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_REPORTING (Cur 7 Tot 79043)
2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
2022-09-20 10:43:23.051109 [INFO] mod_json_cdr.c:271 Process [d5622e1a-38b7-11ed-b7b2-ef396ca3ea52.cdr.json]
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:174 sofia/default/+818090110851@203.60.13.98 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING going to sleep
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+818090110851@203.60.13.98) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:23.111110 [DEBUG] switch_core_session.c:1665 Session 79039 (sofia/default/+818090110851@203.60.13.98) Locked, Waiting on external entities
2022-09-20 10:43:23.111110 [NOTICE] switch_core_session.c:1683 Session 79039 (sofia/default/+818090110851@203.60.13.98) Ended
2022-09-20 10:43:23.111110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_DESTROY (Cur 6 Tot 79043)
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
2022-09-20 10:43:23.111110 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY going to sleep
2022-09-20 10:43:23.151666 [DEBUG] switch_scheduler.c:144 Deleting task 12618 switch_core_session_sched_heartbeat (d5622e1a-38b7-11ed-b7b2-ef396ca3ea52)
2022-09-20 10:43:23.531122 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [224@89.46.223.193] from ip 128.90.115.240
2022-09-20 10:43:23.731115 [WARNING] sofia_reg.c:2906 Can't find user [224@89.46.223.193] from 128.90.115.240
You must define a domain called '89.46.223.193' in your directory and add a user with the id="224" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:23.731115 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [224@89.46.223.193] from ip 128.90.115.240
2022-09-20 10:43:23.831110 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487]
2022-09-20 10:43:23.831110 [NOTICE] sofia.c:8273 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL]
2022-09-20 10:43:23.851112 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
2022-09-20 10:43:23.871111 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2022-09-20 10:43:23.871111 [DEBUG] switch_ivr_originate.c:3837 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_HANGUP (Cur 6 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:432 sofia/default/972546322423 Overriding SIP cause 487 with 487 from the other leg
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/972546322423
2022-09-20 10:43:23.871111 [DEBUG] switch_core_session.c:2815 sofia/default/anonymous@pstn.twilio.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_HANGUP (Cur 6 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_REPORTING (Cur 6 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> HANGUP
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:438 Channel sofia/default/anonymous@pstn.twilio.com hanging up, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
2022-09-20 10:43:23.871111 [INFO] mod_json_cdr.c:271 Process [ded1a822-38b7-11ed-b836-ef396ca3ea52.cdr.json]
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:60 sofia/default/anonymous@pstn.twilio.com Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/anonymous@pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_REPORTING (Cur 6 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING
2022-09-20 10:43:23.871111 [INFO] mod_json_cdr.c:271 Process [dec36dc0-38b7-11ed-b7e9-ef396ca3ea52.cdr.json]
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_session.c:1665 Session 79043 (sofia/default/972546322423) Locked, Waiting on external entities
2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1683 Session 79043 (sofia/default/972546322423) Ended
2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:741 (sofia/default/972546322423) Running State Change CS_DESTROY (Cur 5 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:174 sofia/default/anonymous@pstn.twilio.com Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING going to sleep
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:610 (sofia/default/anonymous@pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_session.c:1665 Session 79042 (sofia/default/anonymous@pstn.twilio.com) Locked, Waiting on external entities
2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1683 Session 79042 (sofia/default/anonymous@pstn.twilio.com) Ended
2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/anonymous@pstn.twilio.com [CS_DESTROY]
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:741 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_DESTROY (Cur 4 Tot 79043)
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY
2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:343 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:181 sofia/default/anonymous@pstn.twilio.com Standard DESTROY
2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY going to sleep
2022-09-20 10:43:24.171114 [DEBUG] switch_scheduler.c:144 Deleting task 12621 switch_core_session_sched_heartbeat (dec36dc0-38b7-11ed-b7e9-ef396ca3ea52)
2022-09-20 10:43:25.011112 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [900@89.46.223.193] from ip 45.254.247.254
2022-09-20 10:43:25.531110 [WARNING] sofia_reg.c:2906 Can't find user [900@89.46.223.193] from 45.254.247.254
You must define a domain called '89.46.223.193' in your directory and add a user with the id="900" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:25.531110 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [900@89.46.223.193] from ip 45.254.247.254
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:22
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.276667 so far)
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.120860)
2022-09-20 10:43:32.231114 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [231@89.46.223.193] from ip 128.90.117.21
2022-09-20 10:43:32.471151 [WARNING] sofia_reg.c:2906 Can't find user [231@89.46.223.193] from 128.90.117.21
You must define a domain called '89.46.223.193' in your directory and add a user with the id="231" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:32.471151 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [231@89.46.223.193] from ip 128.90.117.21
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:573 53 seconds passed since last bill time of 2022-09-20 10:42:40
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:590 Billing $0.000000 to 1179 (Call: ff223cc0-38b4-11ed-aa69-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
2022-09-20 10:43:34.451114 [NOTICE] switch_channel.c:1104 New Channel sofia/default/anonymous@pstn.twilio.com [ee2f9860-38b7-11ed-b84a-ef396ca3ea52]
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_NEW (Cur 5 Tot 79044)
2022-09-20 10:43:34.451114 [DEBUG] sofia.c:9873 sofia/default/anonymous@pstn.twilio.com receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:43:34.451114 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [received][100]
2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=root 142933842 142933842 IN IP4 172.18.225.245
s=Twilio Media Gateway
c=IN IP4 52.215.127.225
t=0 0
m=audio 10962 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/anonymous@pstn.twilio.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:43:34.451114 [DEBUG] switch_core_codec.c:111 sofia/default/anonymous@pstn.twilio.com Original read codec set to PCMU:0
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4767 sofia/default/anonymous@pstn.twilio.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7507 (sofia/default/anonymous@pstn.twilio.com) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/anonymous@pstn.twilio.com) State NEW
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_INIT (Cur 5 Tot 79044)
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT
2022-09-20 10:43:34.451114 [DEBUG] mod_sofia.c:90 sofia/default/anonymous@pstn.twilio.com SOFIA INIT
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:40 sofia/default/anonymous@pstn.twilio.com Standard INIT
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:48 (sofia/default/anonymous@pstn.twilio.com) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT going to sleep
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_ROUTING (Cur 5 Tot 79044)
2022-09-20 10:43:34.451114 [DEBUG] switch_channel.c:2249 (sofia/default/anonymous@pstn.twilio.com) Callstate Change DOWN -> RINGING
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
2022-09-20 10:43:34.451114 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
2022-09-20 10:43:34.451114 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17657343750>->+447588708043 in context default
2022-09-20 10:43:34.451114 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:34.451114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:34.451114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:34.451114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:34.451114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : +447588708043
2022-09-20 10:43:34.451114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '+447588708043' limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '+447588708043' AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : anonymous / anonymous
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 273681788501]
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "273681788501" AND deleted = 0 limit 1
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="+447588708043" AND A.accountid = '851' limit 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....+447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="447588708043" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^+447588708043.*' OR patterns = '^+44758870804.*' OR patterns = '^+4475887080.*' OR patterns = '^+447588708.*' OR patterns = '^+44758870.*' OR patterns = '^+4475887.*' OR patterns = '^+447588.*' OR patterns = '^+44758.*' OR patterns = '^+4475.*' OR patterns = '^+447.*' OR patterns = '^+44.*' OR patterns = '^+4.*' OR patterns = '^+.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '+447588708043' OR number = '+44758870804' OR number = '+4475887080' OR number = '+447588708' OR number = '+44758870' OR number = '+4475887' OR number = '+447588' OR number = '+44758' OR number = '+4475' OR number = '+447' OR number = '+44' OR number = '+4' OR number = '+' OR number ='--') OR (number = '+447588708043*' OR number = '+44758870804*' OR number = '+4475887080*' OR number = '+447588708*' OR number = '+44758870*' OR number = '+4475887*' OR number = '+447588*' OR number = '+44758*' OR number = '+4475*' OR number = '+447*' OR number = '+44*' OR number = '+4*' OR number = '+*' OR number ='--') OR (number = 'anonymous' OR number = 'anonymou' OR number = 'anonymo' OR number = 'anonym' OR number = 'anony' OR number = 'anon' OR number = 'ano' OR number = 'an' OR number = 'a' OR number ='--') OR (number = 'anonymous*' OR number = 'anonymou*' OR number = 'anonymo*' OR number = 'anonym*' OR number = 'anony*' OR number = 'anon*' OR number = 'ano*' OR number = 'an*' OR number = 'a*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '+447588708043' OR routing_prefix = '+44758870804' OR routing_prefix = '+4475887080' OR routing_prefix = '+447588708' OR routing_prefix = '+44758870' OR routing_prefix = '+4475887' OR routing_prefix = '+447588' OR routing_prefix = '+44758' OR routing_prefix = '+4475' OR routing_prefix = '+447' OR routing_prefix = '+44' OR routing_prefix = '+4' OR routing_prefix = '+' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....447588708043
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="447588708043" LIMIT 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13287
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="447588708043">
<condition field="destination_number" expression="\+447588708043">
<action application="set" data="effective_destination_number=\+447588708043"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:43:34"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=anonymous"/>
<action application="set" data="original_caller_id_number=anonymous"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192"/>
<action application="export" data="call_type=4"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="accountcode=259715977962"/>
<action application="set" data="caller_did_account_id=851"/>
<action application="set" data="did_cost=0.00000"/>
<action application="set" data="did_connectcost=0.00000"/>
<action application="set" data="origination_rates_did=0"/>
<action application="transfer" data="972546322423 XML default"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:34.471511 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->447588708043] continue=false
Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [447588708043] destination_number(+447588708043) =~ /\+447588708043/ break=on-false
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=\+447588708043)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=60)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 60)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:34)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=259715977962)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default)
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:286 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 5 Tot 79044)
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
2022-09-20 10:43:34.471511 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=\+447588708043)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[\+447588708043]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.00000)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=60)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[60]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0.00000)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 60)
2022-09-20 10:43:34.471511 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:34.471511 [DEBUG] switch_scheduler.c:249 Added task 12622 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52) to run at 1663659874
EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:34)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2022-09-20 07:43:34]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[ID:13287|CODE:^447588708043.*|DESTINATION:Mobile Voice|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:4|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:200|ACCID:851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=0)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:43:34.471511 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:43:34.471511 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:43:34.471511 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:43:34.471511 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(receiver_accid=851)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192)
2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(call_type=4)
2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[4]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountcode=259715977962)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[259715977962]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=851)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [caller_did_account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_cost]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_connectcost]=[0.00000]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0)
2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default)
2022-09-20 10:43:34.471511 [DEBUG] switch_ivr.c:2165 (sofia/default/anonymous@pstn.twilio.com) State Change CS_EXECUTE -> CS_ROUTING
2022-09-20 10:43:34.471511 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
2022-09-20 10:43:34.471511 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/anonymous@pstn.twilio.com to XML[972546322423@default]
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_ROUTING (Cur 5 Tot 79044)
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
2022-09-20 10:43:34.471511 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
2022-09-20 10:43:34.471511 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17657343750>->972546322423 in context default
2022-09-20 10:43:34.471511 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '972546322423' limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '972546322423' AND status=0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'pstn.twilio.com' limit 1
2022-09-20 10:43:34.511111 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : anonymous / anonymous
2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [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 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="972546322423" AND domains.domain="Voicespin802.newsip.israelnumber.com" limit 1
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 259715977962]
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^972546322423.*' OR blocked_patterns = '^97254632242.*' OR blocked_patterns = '^9725463224.*' OR blocked_patterns = '^972546322.*' OR blocked_patterns = '^97254632.*' OR blocked_patterns = '^9725463.*' OR blocked_patterns = '^972546.*' OR blocked_patterns = '^97254.*' OR blocked_patterns = '^9725.*' OR blocked_patterns = '^972.*' OR blocked_patterns = '^97.*' OR blocked_patterns = '^9.*' OR blocked_patterns ='--') AND accountid = 851 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="972546322423" AND A.accountid = '851' limit 1
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423
2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="972546322423" LIMIT 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [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 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="972546322423" AND domains.domain="Voicespin802.newsip.israelnumber.com" limit 1
2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="972546322423" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^972546322423.*' OR patterns = '^97254632242.*' OR patterns = '^9725463224.*' OR patterns = '^972546322.*' OR patterns = '^97254632.*' OR patterns = '^9725463.*' OR patterns = '^972546.*' OR patterns = '^97254.*' OR patterns = '^9725.*' OR patterns = '^972.*' OR patterns = '^97.*' OR patterns = '^9.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '972546322423' OR number = '97254632242' OR number = '9725463224' OR number = '972546322' OR number = '97254632' OR number = '9725463' OR number = '972546' OR number = '97254' OR number = '9725' OR number = '972' OR number = '97' OR number = '9' OR number ='--') OR (number = '972546322423*' OR number = '97254632242*' OR number = '9725463224*' OR number = '972546322*' OR number = '97254632*' OR number = '9725463*' OR number = '972546*' OR number = '97254*' OR number = '9725*' OR number = '972*' OR number = '97*' OR number = '9*' OR number ='--') OR (number = 'anonymous' OR number = 'anonymou' OR number = 'anonymo' OR number = 'anonym' OR number = 'anony' OR number = 'anon' OR number = 'ano' OR number = 'an' OR number = 'a' OR number ='--') OR (number = 'anonymous*' OR number = 'anonymou*' OR number = 'anonymo*' OR number = 'anonym*' OR number = 'anony*' OR number = 'anon*' OR number = 'ano*' OR number = 'an*' OR number = 'a*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '972546322423' OR routing_prefix = '97254632242' OR routing_prefix = '9725463224' OR routing_prefix = '972546322' OR routing_prefix = '97254632' OR routing_prefix = '9725463' OR routing_prefix = '972546' OR routing_prefix = '97254' OR routing_prefix = '9725' OR routing_prefix = '972' OR routing_prefix = '97' OR routing_prefix = '9' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=851) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35562119
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.1825
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : IsraelMobile
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:43:34.531122 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.1825
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35562119
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :0
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=23 ORDER by id asc
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^972546322423.*' OR pattern = '^97254632242.*' OR pattern = '^9725463224.*' OR pattern = '^972546322.*' OR pattern = '^97254632.*' OR pattern = '^9725463.*' OR pattern = '^972546.*' OR pattern = '^97254.*' OR pattern = '^9725.*' OR pattern = '^972.*' OR pattern = '^97.*' OR pattern = '^9.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (27,71) ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15957053
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile Orange
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 71
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Voicetrading
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : Voicetrading2
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3489
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : VoicetradingGREY
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 22293245
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ISRAEL - MOBILE
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 3489) AND status=0 limit 1
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 1017) AND status=0 limit 1
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="972546322423">
<condition field="destination_number" expression="972546322423">
<action application="set" data="effective_destination_number=972546322423"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.1825"/>
<action application="set" data="nibble_increment=10"/>
<action application="set" data="nibble_minimum=0"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2022-09-20 07:43:34"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851"/>
<action application="set" data="original_caller_id_name=anonymous"/>
<action application="set" data="original_caller_id_number=anonymous"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489"/>
<action application="set" data="trunk_id=71"/>
<action application="set" data="provider_id=3489"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35562119"/>
<action application="export" data="presence_data=trunk_id=71"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192"/>
<action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060"/>
<action application="set" data="effective_caller_id_name=anonymous"/>
<action application="set" data="effective_caller_id_number=anonymous"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017"/>
<action application="set" data="trunk_id=27"/>
<action application="set" data="provider_id=1017"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35562119"/>
<action application="export" data="presence_data=trunk_id=27"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.192"/>
<action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:34.531122 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false
Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.1825)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=10)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 10)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:34)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=71)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=3489)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=71)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(termination_rates=ID:22293245|CODE:^97254.*|DESTINATION:ISRAEL - MOBILE|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.09350|INC:1|INITIALBLOCK:1|TRUNK:27|PROVIDER:1017)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||high_telia_prime_1-1 // ^97254.* // ISRAEL - MOBILE // 0.09350 // trunk_id=27|||STD|||54.171.127.192)
Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:286 (sofia/default/anonymous@pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING going to sleep
2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_EXECUTE (Cur 5 Tot 79044)
2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
2022-09-20 10:43:34.531122 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
2022-09-20 10:43:34.531122 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:34.531122 [DEBUG] switch_scheduler.c:249 Added task 12623 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52) to run at 1663659824
2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423)
2022-09-20 10:43:34.531122 [DEBUG] switch_scheduler.c:144 Deleting task 12622 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972546322423]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.1825)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.1825]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=10)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[10]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 10)
2022-09-20 10:43:34.531122 [WARNING] switch_core_session.c:1605 sofia/default/anonymous@pstn.twilio.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:34.531122 [DEBUG] switch_scheduler.c:249 Added task 12624 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52) to run at 1663659824
2022-09-20 10:43:34.531122 [DEBUG] switch_scheduler.c:144 Deleting task 12623 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52)
EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:34)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [callstart]=[2022-09-20 07:43:34]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[ID:35562119|CODE:^9725.*|DESTINATION:IsraelMobile|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:|COST:0.1825|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:851]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:43:34.531122 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:43:34.531122 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:43:34.551150 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:43:34.551150 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 2/4 for the last 1 seconds
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(termination_rates=ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [termination_rates]=[ID:15957053|CODE:^97254.*|DESTINATION:Israel Mobile Orange|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.01662|INC:1|INITIALBLOCK:1|TRUNK:71|PROVIDER:3489]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(trunk_id=71)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[71]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(provider_id=3489)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[3489]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(rate_flag=0)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=35562119)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [force_trunk_flag]=[35562119]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=71)
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=71]
EXECUTE sofia/default/anonymous@pstn.twilio.com set(intcall=0)
2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0]
EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192)
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192]
EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [call_type]=[4] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:43:34.551150 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [ee3de6ea-38b7-11ed-b897-ef396ca3ea52]
2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_INIT (Cur 6 Tot 79045)
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
2022-09-20 10:43:34.551150 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/972546322423
2022-09-20 10:43:34.551150 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641874 1663641875 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 17940 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_ROUTING (Cur 6 Tot 79045)
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_CONSUME_MEDIA (Cur 6 Tot 79045)
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
2022-09-20 10:43:34.551150 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
2022-09-20 10:43:34.711110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [286@89.46.223.193] from ip 128.90.117.100
2022-09-20 10:43:35.151113 [WARNING] sofia_reg.c:2906 Can't find user [286@89.46.223.193] from 128.90.117.100
You must define a domain called '89.46.223.193' in your directory and add a user with the id="286" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:35.151113 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [286@89.46.223.193] from ip 128.90.117.100
2022-09-20 10:43:36.571115 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [166@89.46.223.193] from ip 128.90.108.237
2022-09-20 10:43:36.851127 [WARNING] sofia_reg.c:2906 Can't find user [166@89.46.223.193] from 128.90.108.237
You must define a domain called '89.46.223.193' in your directory and add a user with the id="166" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:36.851127 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [166@89.46.223.193] from ip 128.90.108.237
2022-09-20 10:43:38.231122 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [173@89.46.223.193] from ip 178.208.176.52
2022-09-20 10:43:38.251114 [WARNING] sofia_reg.c:2906 Can't find user [173@89.46.223.193] from 178.208.176.52
You must define a domain called '89.46.223.193' in your directory and add a user with the id="173" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:38.251114 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [173@89.46.223.193] from ip 178.208.176.52
2022-09-20 10:43:40.111112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/+818090110851@203.60.13.98 [f18e4eac-38b7-11ed-b8a1-ef396ca3ea52]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_NEW (Cur 7 Tot 79046)
2022-09-20 10:43:40.111112 [DEBUG] sofia.c:9873 sofia/default/+818090110851@203.60.13.98 receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:43:40.111112 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=PortaSIP 3888879532351605735 1 IN IP4 203.60.13.101
s=DIDXL
t=0 0
m=audio 27994 RTP/AVP 8 0 18 101
c=IN IP4 203.60.13.101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/+818090110851@203.60.13.98 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:43:40.111112 [DEBUG] switch_core_codec.c:111 sofia/default/+818090110851@203.60.13.98 Original read codec set to PCMA:8
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4767 sofia/default/+818090110851@203.60.13.98 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_INIT (Cur 7 Tot 79046)
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
2022-09-20 10:43:40.111112 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:48 (sofia/default/+818090110851@203.60.13.98) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT going to sleep
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_ROUTING (Cur 7 Tot 79046)
2022-09-20 10:43:40.111112 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
2022-09-20 10:43:40.111112 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
2022-09-20 10:43:40.111112 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
2022-09-20 10:43:40.111112 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '81345655200' limit 1
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '81345655200' AND status=0 limit 1
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = '203.60.13.98' limit 1
2022-09-20 10:43:40.111112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : +818090110851 / +818090110851
2022-09-20 10:43:40.111112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "594905904039" AND deleted = 0 limit 1
2022-09-20 10:43:40.111112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "259715977962" AND deleted = 0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="81345655200" AND A.accountid = '851' limit 1
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="81345655200" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^81345655200.*' OR patterns = '^8134565520.*' OR patterns = '^813456552.*' OR patterns = '^81345655.*' OR patterns = '^8134565.*' OR patterns = '^813456.*' OR patterns = '^81345.*' OR patterns = '^8134.*' OR patterns = '^813.*' OR patterns = '^81.*' OR patterns = '^8.*' OR patterns ='--') AND accountid = 851 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '81345655200' OR number = '8134565520' OR number = '813456552' OR number = '81345655' OR number = '8134565' OR number = '813456' OR number = '81345' OR number = '8134' OR number = '813' OR number = '81' OR number = '8' OR number ='--') OR (number = '81345655200*' OR number = '8134565520*' OR number = '813456552*' OR number = '81345655*' OR number = '8134565*' OR number = '813456*' OR number = '81345*' OR number = '8134*' OR number = '813*' OR number = '81*' OR number = '8*' OR number ='--') OR (number = '+818090110851' OR number = '+81809011085' OR number = '+8180901108' OR number = '+818090110' OR number = '+81809011' OR number = '+8180901' OR number = '+818090' OR number = '+81809' OR number = '+8180' OR number = '+818' OR number = '+81' OR number = '+8' OR number = '+' OR number ='--') OR (number = '+818090110851*' OR number = '+81809011085*' OR number = '+8180901108*' OR number = '+818090110*' OR number = '+81809011*' OR number = '+8180901*' OR number = '+818090*' OR number = '+81809*' OR number = '+8180*' OR number = '+818*' OR number = '+81*' OR number = '+8*' OR number = '+*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '81345655200' OR routing_prefix = '8134565520' OR routing_prefix = '813456552' OR routing_prefix = '81345655' OR routing_prefix = '8134565' OR routing_prefix = '813456' OR routing_prefix = '81345' OR routing_prefix = '8134' OR routing_prefix = '813' OR routing_prefix = '81' OR routing_prefix = '8' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....81345655200
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="81345655200" LIMIT 1
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 851 AND status= '0' LIMIT 1
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "851" AND deleted = 0 limit 1
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:40.131164 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
2022-09-20 10:43:40.131164 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="81345655200">
<condition field="destination_number" expression="81345655200">
<action application="set" data="effective_destination_number=81345655200"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=851"/>
<action application="set" data="nibble_rate=0.00000"/>
<action application="set" data="nibble_increment=60"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 60"/>
<action application="set" data="callstart=2022-09-20 07:43:40"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=851"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=inbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851"/>
<action application="set" data="origination_rates=0"/>
<action application="set" data="original_caller_id_name=+818090110851"/>
<action application="set" data="original_caller_id_number=+818090110851"/>
<action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
<action application="set" data="effective_caller_id_name=+818090110851"/>
<action application="set" data="effective_caller_id_number=+818090110851"/>
<action application="set" data="receiver_accid=851"/>
<action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
<action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
<action application="export" data="call_type=2"/>
<action application="set" data="calltype=DIRECT-IP"/>
<action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:40.131164 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:43:40)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
Dialplan: sofia/default/+818090110851@203.60.13.98 Action bridge([leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:286 (sofia/default/+818090110851@203.60.13.98) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING going to sleep
2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_EXECUTE (Cur 7 Tot 79046)
2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
2022-09-20 10:43:40.131164 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
2022-09-20 10:43:40.131164 [WARNING] switch_core_session.c:1605 sofia/default/+818090110851@203.60.13.98 using scheduler due to bypass media or media is not established.
2022-09-20 10:43:40.131164 [DEBUG] switch_scheduler.c:249 Added task 12625 switch_core_session_sched_heartbeat (f18e4eac-38b7-11ed-b8a1-ef396ca3ea52) to run at 1663659880
EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:43:40)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [callstart]=[2022-09-20 07:43:40]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates_did=ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates_did]=[ID:6381|CODE:^81345655200.*|DESTINATION:Tokyo Landline|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:2|COST:0.00000|INC:60|INITIALBLOCK:60|RATEGROUP:0|MARKUP:0|CI:97|ACCID:851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [original_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
2022-09-20 10:43:40.151116 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
2022-09-20 10:43:40.151116 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
2022-09-20 10:43:40.151116 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
2022-09-20 10:43:40.151116 [DEBUG] mod_hash.c:198 Usage for CPS_259715977962_CPS_user_259715977962 is now 1/4 for the last 1 seconds
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_name]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_caller_id_number]=[+818090110851]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98]
EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
EXECUTE sofia/default/+818090110851@203.60.13.98 bridge([leg_timeout=30]sofia/default/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98] to event
2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1250 sofia/default/+818090110851@203.60.13.98 EXPORTING[export_vars] [call_type]=[2] to event
2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:43:40.151116 [NOTICE] switch_channel.c:1104 New Channel sofia/default/81345655200@35.205.116.118 [f194a108-38b7-11ed-b8c6-ef396ca3ea52]
2022-09-20 10:43:40.151116 [DEBUG] mod_sofia.c:4819 (sofia/default/81345655200@35.205.116.118) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:2963 sofia/default/81345655200@35.205.116.118 Setting leg timeout to 30
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_INIT (Cur 8 Tot 79047)
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
2022-09-20 10:43:40.151116 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
2022-09-20 10:43:40.151116 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/81345655200@35.205.116.118
2022-09-20 10:43:40.151116 [DEBUG] sofia_glue.c:1295 sofia/default/81345655200@35.205.116.118 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641094 1663641095 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 18726 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:48 (sofia/default/81345655200@35.205.116.118) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT going to sleep
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_ROUTING (Cur 8 Tot 79047)
2022-09-20 10:43:40.151116 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
2022-09-20 10:43:40.151116 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:67 (sofia/default/81345655200@35.205.116.118) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING going to sleep
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79047)
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA going to sleep
2022-09-20 10:43:40.731117 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
2022-09-20 10:43:40.731117 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
2022-09-20 10:43:40.731117 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
2022-09-20 10:43:40.731117 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:43:40.731117 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
2022-09-20 10:43:40.731117 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:32
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.280000 so far)
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.117530)
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:46.411113 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [108@89.46.223.193] from ip 128.90.63.185
2022-09-20 10:43:46.431117 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [386@89.46.223.193] from ip 128.90.162.175
2022-09-20 10:43:46.551117 [WARNING] sofia_reg.c:2906 Can't find user [108@89.46.223.193] from 128.90.63.185
You must define a domain called '89.46.223.193' in your directory and add a user with the id="108" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:46.551117 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [108@89.46.223.193] from ip 128.90.63.185
2022-09-20 10:43:46.631114 [WARNING] sofia_reg.c:2906 Can't find user [386@89.46.223.193] from 128.90.162.175
You must define a domain called '89.46.223.193' in your directory and add a user with the id="386" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:46.631114 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [386@89.46.223.193] from ip 128.90.162.175
2022-09-20 10:43:46.871113 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [369@89.46.223.193] from ip 31.6.18.135
2022-09-20 10:43:47.171114 [WARNING] sofia_reg.c:2906 Can't find user [369@89.46.223.193] from 31.6.18.135
You must define a domain called '89.46.223.193' in your directory and add a user with the id="369" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:47.171114 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [369@89.46.223.193] from ip 31.6.18.135
2022-09-20 10:43:50.991117 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [200@89.46.223.193] from ip 31.6.10.16
2022-09-20 10:43:51.111114 [WARNING] sofia_reg.c:2906 Can't find user [200@89.46.223.193] from 31.6.10.16
You must define a domain called '89.46.223.193' in your directory and add a user with the id="200" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:51.111114 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [200@89.46.223.193] from ip 31.6.10.16
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:42
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.283333 so far)
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.114200)
2022-09-20 10:43:51.471114 [NOTICE] switch_channel.c:1104 New Channel sofia/default/1020@89.46.223.193 [f8556edc-38b7-11ed-b8d2-ef396ca3ea52]
2022-09-20 10:43:51.471114 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1020@89.46.223.193) Running State Change CS_NEW (Cur 9 Tot 79048)
2022-09-20 10:43:51.471114 [DEBUG] sofia.c:9873 sofia/default/1020@89.46.223.193 receiving invite from 45.93.16.155:51020 version: 1.6.20 64bit
2022-09-20 10:43:51.471114 [DEBUG] sofia.c:10044 IP 45.93.16.155 Rejected by acl "default". Falling back to Digest auth.
2022-09-20 10:43:51.471114 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [9000444442037697960@89.46.223.193] from ip 45.93.16.155
2022-09-20 10:43:51.471114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/1020@89.46.223.193) State NEW
2022-09-20 10:43:51.471114 [DEBUG] sofia.c:2334 detaching session f8556edc-38b7-11ed-b8d2-ef396ca3ea52
2022-09-20 10:43:53.331114 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [308@89.46.223.193] from ip 128.90.117.246
2022-09-20 10:43:53.391169 [NOTICE] switch_channel.c:1104 New Channel sofia/default/-8946223193@89.46.223.193 [f979c77c-38b7-11ed-b8d5-ef396ca3ea52]
2022-09-20 10:43:53.391169 [DEBUG] switch_core_state_machine.c:584 (sofia/default/-8946223193@89.46.223.193) Running State Change CS_NEW (Cur 10 Tot 79049)
2022-09-20 10:43:53.391169 [DEBUG] sofia.c:9873 sofia/default/-8946223193@89.46.223.193 receiving invite from 146.70.88.246:61536 version: 1.6.20 64bit
2022-09-20 10:43:53.391169 [DEBUG] sofia.c:10044 IP 146.70.88.246 Rejected by acl "default". Falling back to Digest auth.
2022-09-20 10:43:53.391169 [WARNING] sofia_reg.c:1792 SIP auth challenge (INVITE) on sofia profile 'default' for [-972592575740@89.46.223.193] from ip 146.70.88.246
2022-09-20 10:43:53.391169 [DEBUG] switch_core_state_machine.c:603 (sofia/default/-8946223193@89.46.223.193) State NEW
2022-09-20 10:43:53.391169 [DEBUG] sofia.c:2334 detaching session f979c77c-38b7-11ed-b8d5-ef396ca3ea52
2022-09-20 10:43:53.591624 [WARNING] sofia_reg.c:2906 Can't find user [308@89.46.223.193] from 128.90.117.246
You must define a domain called '89.46.223.193' in your directory and add a user with the id="308" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:43:53.591624 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [308@89.46.223.193] from ip 128.90.117.246
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:54.731112 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [terminated][408]
2022-09-20 10:43:54.731112 [NOTICE] sofia.c:8273 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_HANGUP (Cur 10 Tot 79049)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_REPORTING (Cur 10 Tot 79049)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
2022-09-20 10:43:54.731112 [INFO] mod_json_cdr.c:271 Process [ee3de6ea-38b7-11ed-b897-ef396ca3ea52.cdr.json]
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:54.731112 [DEBUG] switch_core_session.c:1665 Session 79045 (sofia/default/972546322423) Locked, Waiting on external entities
2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
2022-09-20 10:43:54.731112 [NOTICE] switch_core_session.c:1683 Session 79045 (sofia/default/972546322423) Ended
2022-09-20 10:43:54.731112 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:741 (sofia/default/972546322423) Running State Change CS_DESTROY (Cur 9 Tot 79049)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
2022-09-20 10:43:54.731112 [INFO] mod_dptools.c:3436 Originate Failed. Cause: RECOVERY_ON_TIMER_EXPIRE
EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [domain_name]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [sip_to_host]=[Voicespin802.newsip.israelnumber.com] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [call_type]=[4] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_channel.c:1250 sofia/default/anonymous@pstn.twilio.com EXPORTING[export_vars] [presence_data]=[x|||Voicespin(259715977962)|||^9725.* // IsraelMobile // 0.1825 // trunk_id=0|||VoicetradingGREY // ^97254.* // Israel Mobile Orange // 0.01662 // trunk_id=71|||STD|||54.171.127.192] to event
2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:43:54.731112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [fa474e9a-38b7-11ed-b8dc-ef396ca3ea52]
2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_INIT (Cur 10 Tot 79050)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
2022-09-20 10:43:54.731112 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/972546322423
2022-09-20 10:43:54.731112 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663640942 1663640943 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 18892 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_ROUTING (Cur 10 Tot 79050)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 79050)
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
2022-09-20 10:43:54.731112 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
2022-09-20 10:43:57.731112 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487]
2022-09-20 10:43:57.731112 [NOTICE] sofia.c:8273 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL]
2022-09-20 10:43:57.731112 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
2022-09-20 10:43:57.751115 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2022-09-20 10:43:57.751115 [DEBUG] switch_ivr_originate.c:3837 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_HANGUP (Cur 10 Tot 79050)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:432 sofia/default/972546322423 Overriding SIP cause 487 with 487 from the other leg
2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.751115 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/972546322423
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972546322423) Running State Change CS_REPORTING (Cur 10 Tot 79050)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_session.c:2815 sofia/default/anonymous@pstn.twilio.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE going to sleep
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_HANGUP (Cur 10 Tot 79050)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> HANGUP
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP
2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:432 sofia/default/anonymous@pstn.twilio.com Overriding SIP cause 487 with 408 from the other leg
2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:438 Channel sofia/default/anonymous@pstn.twilio.com hanging up, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.751115 [INFO] mod_json_cdr.c:271 Process [fa474e9a-38b7-11ed-b8dc-ef396ca3ea52.cdr.json]
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:60 sofia/default/anonymous@pstn.twilio.com Standard HANGUP, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP going to sleep
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/anonymous@pstn.twilio.com) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_REPORTING (Cur 10 Tot 79050)
2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING
2022-09-20 10:43:57.771114 [INFO] mod_json_cdr.c:271 Process [ee2f9860-38b7-11ed-b84a-ef396ca3ea52.cdr.json]
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_session.c:1665 Session 79050 (sofia/default/972546322423) Locked, Waiting on external entities
2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1683 Session 79050 (sofia/default/972546322423) Ended
2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:741 (sofia/default/972546322423) Running State Change CS_DESTROY (Cur 9 Tot 79050)
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
2022-09-20 10:43:57.771114 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:174 sofia/default/anonymous@pstn.twilio.com Standard REPORTING, cause: ORIGINATOR_CANCEL
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING going to sleep
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:610 (sofia/default/anonymous@pstn.twilio.com) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_session.c:1665 Session 79044 (sofia/default/anonymous@pstn.twilio.com) Locked, Waiting on external entities
2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1683 Session 79044 (sofia/default/anonymous@pstn.twilio.com) Ended
2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/anonymous@pstn.twilio.com [CS_DESTROY]
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:741 (sofia/default/anonymous@pstn.twilio.com) Running State Change CS_DESTROY (Cur 8 Tot 79050)
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY
2022-09-20 10:43:57.771114 [DEBUG] mod_sofia.c:343 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:181 sofia/default/anonymous@pstn.twilio.com Standard DESTROY
2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY going to sleep
2022-09-20 10:43:58.051171 [NOTICE] switch_channel.c:1104 New Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com [fc40217c-38b7-11ed-b8e0-ef396ca3ea52]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Running State Change CS_NEW (Cur 9 Tot 79051)
2022-09-20 10:43:58.051171 [DEBUG] sofia.c:9873 sofia/default/097406629@Rachash3186.newsip.israelnumber.com receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:43:58.051171 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [received][100]
2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 20563 20563 IN IP4 192.168.1.15
s=SDP data
c=IN IP4 84.95.206.106
t=0 0
m=audio 10248 RTP/AVP 0 8 18 9 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/097406629@Rachash3186.newsip.israelnumber.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:43:58.051171 [DEBUG] switch_core_codec.c:111 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Original read codec set to PCMU:0
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4767 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7507 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:603 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State NEW
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Running State Change CS_INIT (Cur 9 Tot 79051)
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:627 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State INIT
2022-09-20 10:43:58.051171 [DEBUG] mod_sofia.c:90 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA INIT
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:40 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard INIT
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:48 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:627 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State INIT going to sleep
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:584 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Running State Change CS_ROUTING (Cur 9 Tot 79051)
2022-09-20 10:43:58.051171 [DEBUG] switch_channel.c:2249 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:643 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State ROUTING
2022-09-20 10:43:58.051171 [DEBUG] mod_sofia.c:143 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA ROUTING
2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:236 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard ROUTING
2022-09-20 10:43:58.051171 [INFO] mod_dialplan_xml.c:637 Processing 097406629 <097406629>->0507533015 in context default
2022-09-20 10:43:58.051171 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0507533015
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0507533015' limit 1
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0507533015' AND status=0 limit 1
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'Rachash3186.newsip.israelnumber.com' limit 1
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0507533015' and account_id = '3541' and status=0 LIMIT 1
2022-09-20 10:43:58.051171 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 097406629 / 097406629
2022-09-20 10:43:58.051171 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0507533015" LIMIT 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [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 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="0507533015" AND domains.domain="Rachash3186.newsip.israelnumber.com" limit 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 348030485868]
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "348030485868" AND deleted = 0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^0507533015.*' OR blocked_patterns = '^050753301.*' OR blocked_patterns = '^05075330.*' OR blocked_patterns = '^0507533.*' OR blocked_patterns = '^050753.*' OR blocked_patterns = '^05075.*' OR blocked_patterns = '^0507.*' OR blocked_patterns = '^050.*' OR blocked_patterns = '^05.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 3541 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="0507533015" AND A.accountid = '3541' limit 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0507533015
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="0507533015" LIMIT 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [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 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="0507533015" AND domains.domain="Rachash3186.newsip.israelnumber.com" limit 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0507533015" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^0507533015.*' OR patterns = '^050753301.*' OR patterns = '^05075330.*' OR patterns = '^0507533.*' OR patterns = '^050753.*' OR patterns = '^05075.*' OR patterns = '^0507.*' OR patterns = '^050.*' OR patterns = '^05.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 3541 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '0507533015' OR number = '050753301' OR number = '05075330' OR number = '0507533' OR number = '050753' OR number = '05075' OR number = '0507' OR number = '050' OR number = '05' OR number = '0' OR number ='--') OR (number = '0507533015*' OR number = '050753301*' OR number = '05075330*' OR number = '0507533*' OR number = '050753*' OR number = '05075*' OR number = '0507*' OR number = '050*' OR number = '05*' OR number = '0*' OR number ='--') OR (number = '097406629' OR number = '09740662' OR number = '0974066' OR number = '097406' OR number = '09740' OR number = '0974' OR number = '097' OR number = '09' OR number = '0' OR number ='--') OR (number = '097406629*' OR number = '09740662*' OR number = '0974066*' OR number = '097406*' OR number = '09740*' OR number = '0974*' OR number = '097*' OR number = '09*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0507533015' OR routing_prefix = '050753301' OR routing_prefix = '05075330' OR routing_prefix = '0507533' OR routing_prefix = '050753' OR routing_prefix = '05075' OR routing_prefix = '0507' OR routing_prefix = '050' OR routing_prefix = '05' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3541
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 348030485868
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 14.1142
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^0507533015.*' OR pattern = '^050753301.*' OR pattern = '^05075330.*' OR pattern = '^0507533.*' OR pattern = '^050753.*' OR pattern = '^05075.*' OR pattern = '^0507.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=3541) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731561
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.04000
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Israel Mobile
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3541
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your14.1142 balance Accountid 3541 !!!
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 3541
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.04000
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731561
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :15
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^0507533015.*' OR pattern = '^050753301.*' OR pattern = '^05075330.*' OR pattern = '^0507533.*' OR pattern = '^050753.*' OR pattern = '^05075.*' OR pattern = '^0507.*' OR pattern = '^050.*' OR pattern = '^05.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (15) ORDER by FIELD(TR.trunk_id,15),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453047
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^05.*
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^05.*
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 05
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9725
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 3541 AND status= '0' LIMIT 1
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 901) AND status=0 limit 1
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :05/9725.....0507533015
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0507533015
2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 972507533015
2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="0507533015">
<condition field="destination_number" expression="0507533015">
<action application="set" data="effective_destination_number=0507533015"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=3541"/>
<action application="set" data="nibble_rate=0.04000"/>
<action application="set" data="nibble_increment=10"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2022-09-20 07:43:58"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=3541"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:35731561|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:3541"/>
<action application="set" data="original_caller_id_name=097406629"/>
<action application="set" data="original_caller_id_number=097406629"/>
<action application="limit" data="db 348030485868 user_348030485868 4 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=097406629"/>
<action application="set" data="effective_caller_id_number=097406629"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:9453047|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02340|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901"/>
<action application="set" data="trunk_id=15"/>
<action application="set" data="provider_id=901"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35731561"/>
<action application="export" data="presence_data=trunk_id=15"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/972507533015;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/972507533015;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/972507533015;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:43:58.071115 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com parsing [default->0507533015] continue=false
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Regex (PASS) [0507533015] destination_number(0507533015) =~ /0507533015/ break=on-false
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_destination_number=0507533015)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_account=3541)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_rate=0.04000)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_increment=10)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action nibblebill(heartbeat 10)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(callstart=2022-09-20 07:43:58)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(account_id=3541)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(parent_id=0)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(entity_id=0)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(call_processed=internal)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(call_direction=outbound)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(accountname=default)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(origination_rates=ID:35731561|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:3541)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(original_caller_id_name=097406629)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(original_caller_id_number=097406629)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action limit(db 348030485868 user_348030485868 4 !SWITCH_CONGESTION)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action limit(hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(is_recording=1)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(media_bug_answer_req=true)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(RECORD_STEREO=true)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(record_sample_rate=8000)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_caller_id_name=097406629)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_caller_id_number=097406629)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(calltype=STANDARD)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(termination_rates=ID:9453047|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02340|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(trunk_id=15)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(provider_id=901)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(rate_flag=0)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(force_trunk_flag=35731561)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(intcall=0)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(presence_data=x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/972507533015;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/972507533015;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/972507533015;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:286 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State ROUTING going to sleep
2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Running State Change CS_EXECUTE (Cur 9 Tot 79051)
2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:650 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State EXECUTE
2022-09-20 10:43:58.071115 [DEBUG] mod_sofia.c:198 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA EXECUTE
2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:328 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard EXECUTE
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_destination_number=0507533015)
2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [effective_destination_number]=[0507533015]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_account=3541)
2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_account]=[3541]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_rate=0.04000)
2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_rate]=[0.04000]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_increment=10)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_increment]=[10]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_minimum=0.00000)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_minimum]=[0.00000]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com nibblebill(heartbeat 10)
2022-09-20 10:43:58.091109 [WARNING] switch_core_session.c:1605 sofia/default/097406629@Rachash3186.newsip.israelnumber.com using scheduler due to bypass media or media is not established.
2022-09-20 10:43:58.091109 [DEBUG] switch_scheduler.c:249 Added task 12626 switch_core_session_sched_heartbeat (fc40217c-38b7-11ed-b8e0-ef396ca3ea52) to run at 1663659848
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(callstart=2022-09-20 07:43:58)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [callstart]=[2022-09-20 07:43:58]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(hangup_after_bridge=true)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(continue_on_fail=TRUE)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(account_id=3541)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [account_id]=[3541]
2022-09-20 10:43:58.091109 [DEBUG] switch_scheduler.c:144 Deleting task 12624 switch_core_session_sched_heartbeat (ee2f9860-38b7-11ed-b84a-ef396ca3ea52)
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(parent_id=0)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [parent_id]=[0]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(entity_id=0)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [entity_id]=[0]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(call_processed=internal)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [call_processed]=[internal]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(call_direction=outbound)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [call_direction]=[outbound]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(accountname=default)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [accountname]=[default]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(origination_rates=ID:35731561|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:3541)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [origination_rates]=[ID:35731561|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:3541]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(original_caller_id_name=097406629)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [original_caller_id_name]=[097406629]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(original_caller_id_number=097406629)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [original_caller_id_number]=[097406629]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com limit(db 348030485868 user_348030485868 4 !SWITCH_CONGESTION)
2022-09-20 10:43:58.091109 [DEBUG] switch_limit.c:126 incr called: 348030485868_user_348030485868 max:4, interval:0
2022-09-20 10:43:58.091109 [DEBUG] mod_db.c:194 Usage for 348030485868_user_348030485868 is now 2/4
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com limit(hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION)
2022-09-20 10:43:58.091109 [DEBUG] switch_limit.c:126 incr called: CPS_348030485868_CPS_user_348030485868 max:3, interval:1
2022-09-20 10:43:58.091109 [DEBUG] mod_hash.c:198 Usage for CPS_348030485868_CPS_user_348030485868 is now 1/3 for the last 1 seconds
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(is_recording=1)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(media_bug_answer_req=true)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(RECORD_STEREO=true)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(record_sample_rate=8000)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(execute_on_answer=record_session /var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_caller_id_name=097406629)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [effective_caller_id_name]=[097406629]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_caller_id_number=097406629)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [effective_caller_id_number]=[097406629]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(calltype=STANDARD)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [calltype]=[STANDARD]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(termination_rates=ID:9453047|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02340|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [termination_rates]=[ID:9453047|CODE:^05.*|DESTINATION:Israel Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.02340|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(trunk_id=15)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [trunk_id]=[15]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(provider_id=901)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [provider_id]=[901]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(rate_flag=0)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [rate_flag]=[0]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(force_trunk_flag=35731561)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [force_trunk_flag]=[35731561]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(presence_data=trunk_id=15)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(intcall=0)
2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [intcall]=[0]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(presence_data=x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/972507533015;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1250 sofia/default/097406629@Rachash3186.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Rachash(348030485868)|||^05.* // Israel Mobile // 0.04000 // trunk_id=15|||hallotrunk // ^05.* // Israel Mobile // 0.02340 // trunk_id=15|||STD|||84.95.206.106] to event
2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:43:58.091109 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972507533015 [fc464cc8-38b7-11ed-b90c-ef396ca3ea52]
2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:4819 (sofia/default/972507533015) State Change CS_NEW -> CS_INIT
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972507533015) Running State Change CS_INIT (Cur 10 Tot 79052)
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972507533015) State INIT
2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:90 sofia/default/972507533015 SOFIA INIT
2022-09-20 10:43:58.091109 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/972507533015
2022-09-20 10:43:58.091109 [DEBUG] sofia_glue.c:1295 sofia/default/972507533015 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641088 1663641089 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 18750 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:40 sofia/default/972507533015 Standard INIT
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972507533015) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972507533015) State INIT going to sleep
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972507533015) Running State Change CS_ROUTING (Cur 10 Tot 79052)
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972507533015) State ROUTING
2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:143 sofia/default/972507533015 SOFIA ROUTING
2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972507533015) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972507533015) State ROUTING going to sleep
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972507533015) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 79052)
2022-09-20 10:43:58.091109 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [calling][0]
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972507533015) State CONSUME_MEDIA
2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972507533015) State CONSUME_MEDIA going to sleep
2022-09-20 10:43:58.311116 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [proceeding][183]
2022-09-20 10:43:58.311116 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 1663659838 1663659838 IN IP4 185.23.172.34
s=-
c=IN IP4 185.23.172.34
t=0 0
m=audio 43502 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=silenceSupp:off - - - -
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/972507533015 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:43:58.311116 [DEBUG] switch_core_codec.c:111 sofia/default/972507533015 Original read codec set to PCMA:8
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4767 sofia/default/972507533015 Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/972507533015] 89.46.223.193 port 18750 -> 185.23.172.34 port 43502 codec: 8 ms: 20
2022-09-20 10:43:58.311116 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7180 sofia/default/972507533015 Set 2833 dtmf send payload to 101
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7187 sofia/default/972507533015 Set 2833 dtmf receive payload to 101
2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7210 sofia/default/972507533015 Set rtp dtmf delay to 40
2022-09-20 10:43:58.311116 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/972507533015!
2022-09-20 10:43:58.311116 [DEBUG] switch_channel.c:3474 (sofia/default/972507533015) Callstate Change DOWN -> EARLY
2022-09-20 10:43:58.331108 [INFO] switch_ivr_originate.c:3654 Sending early media
2022-09-20 10:43:58.331108 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/default/097406629@Rachash3186.newsip.israelnumber.com] 89.46.223.193 port 19288 -> 84.95.206.106 port 10248 codec: 0 ms: 20
2022-09-20 10:43:58.331108 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2022-09-20 10:43:58.331108 [DEBUG] switch_core_media.c:7180 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Set 2833 dtmf send payload to 101
2022-09-20 10:43:58.331108 [DEBUG] switch_core_media.c:7187 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Set 2833 dtmf receive payload to 101
2022-09-20 10:43:58.331108 [DEBUG] switch_core_media.c:7210 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Set rtp dtmf delay to 40
2022-09-20 10:43:58.331108 [DEBUG] mod_sofia.c:2364 Ring SDP:
v=0
o=FreeSWITCH 1663640550 1663640551 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19288 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:43:58.331108 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/097406629@Rachash3186.newsip.israelnumber.com!
2022-09-20 10:43:58.331108 [DEBUG] switch_channel.c:3474 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change RINGING -> EARLY
2022-09-20 10:43:58.331108 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/972507533015]
2022-09-20 10:43:58.331108 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [early][183]
2022-09-20 10:43:58.331108 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/972507533015) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
2022-09-20 10:43:58.331108 [DEBUG] switch_core_state_machine.c:584 (sofia/default/972507533015) Running State Change CS_EXCHANGE_MEDIA (Cur 10 Tot 79052)
2022-09-20 10:43:58.331108 [DEBUG] switch_core_state_machine.c:653 (sofia/default/972507533015) State EXCHANGE_MEDIA
2022-09-20 10:43:58.331108 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
2022-09-20 10:43:58.591178 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2022-09-20 10:43:58.891120 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:43:52
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.286667 so far)
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.110870)
2022-09-20 10:44:01.531279 [WARNING] switch_core_state_machine.c:687 f8556edc-38b7-11ed-b8d2-ef396ca3ea52 sofia/default/1020@89.46.223.193 Abandoned
2022-09-20 10:44:01.531279 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/1020@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE]
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1020@89.46.223.193) Running State Change CS_HANGUP (Cur 10 Tot 79052)
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:850 (sofia/default/1020@89.46.223.193) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1020@89.46.223.193) State HANGUP
2022-09-20 10:44:01.531279 [DEBUG] mod_sofia.c:438 Channel sofia/default/1020@89.46.223.193 hanging up, cause: WRONG_CALL_STATE
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:60 sofia/default/1020@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1020@89.46.223.193) State HANGUP going to sleep
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:619 (sofia/default/1020@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:584 (sofia/default/1020@89.46.223.193) Running State Change CS_REPORTING (Cur 10 Tot 79052)
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1020@89.46.223.193) State REPORTING
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:174 sofia/default/1020@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1020@89.46.223.193) State REPORTING going to sleep
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:610 (sofia/default/1020@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:01.531279 [DEBUG] switch_core_session.c:1665 Session 79048 (sofia/default/1020@89.46.223.193) Locked, Waiting on external entities
2022-09-20 10:44:01.531279 [NOTICE] switch_core_session.c:1683 Session 79048 (sofia/default/1020@89.46.223.193) Ended
2022-09-20 10:44:01.531279 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/1020@89.46.223.193 [CS_DESTROY]
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:741 (sofia/default/1020@89.46.223.193) Running State Change CS_DESTROY (Cur 9 Tot 79052)
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1020@89.46.223.193) State DESTROY
2022-09-20 10:44:01.531279 [DEBUG] mod_sofia.c:343 sofia/default/1020@89.46.223.193 SOFIA DESTROY
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:181 sofia/default/1020@89.46.223.193 Standard DESTROY
2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1020@89.46.223.193) State DESTROY going to sleep
2022-09-20 10:44:02.251117 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [341@89.46.223.193] from ip 209.160.123.36
2022-09-20 10:44:02.591122 [WARNING] sofia_reg.c:2906 Can't find user [341@89.46.223.193] from 209.160.123.36
You must define a domain called '89.46.223.193' in your directory and add a user with the id="341" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:44:02.591122 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [341@89.46.223.193] from ip 209.160.123.36
2022-09-20 10:44:03.431136 [WARNING] switch_core_state_machine.c:687 f979c77c-38b7-11ed-b8d5-ef396ca3ea52 sofia/default/-8946223193@89.46.223.193 Abandoned
2022-09-20 10:44:03.431136 [NOTICE] switch_core_state_machine.c:690 Hangup sofia/default/-8946223193@89.46.223.193 [CS_NEW] [WRONG_CALL_STATE]
2022-09-20 10:44:03.431136 [DEBUG] switch_core_state_machine.c:584 (sofia/default/-8946223193@89.46.223.193) Running State Change CS_HANGUP (Cur 9 Tot 79052)
2022-09-20 10:44:03.431136 [DEBUG] switch_core_state_machine.c:850 (sofia/default/-8946223193@89.46.223.193) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:03.431136 [DEBUG] switch_core_state_machine.c:852 (sofia/default/-8946223193@89.46.223.193) State HANGUP
2022-09-20 10:44:03.431136 [DEBUG] mod_sofia.c:438 Channel sofia/default/-8946223193@89.46.223.193 hanging up, cause: WRONG_CALL_STATE
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:60 sofia/default/-8946223193@89.46.223.193 Standard HANGUP, cause: WRONG_CALL_STATE
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/-8946223193@89.46.223.193) State HANGUP going to sleep
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/-8946223193@89.46.223.193) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:584 (sofia/default/-8946223193@89.46.223.193) Running State Change CS_REPORTING (Cur 9 Tot 79052)
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/-8946223193@89.46.223.193) State REPORTING
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:174 sofia/default/-8946223193@89.46.223.193 Standard REPORTING, cause: WRONG_CALL_STATE
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/-8946223193@89.46.223.193) State REPORTING going to sleep
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:610 (sofia/default/-8946223193@89.46.223.193) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:03.451115 [DEBUG] switch_core_session.c:1665 Session 79049 (sofia/default/-8946223193@89.46.223.193) Locked, Waiting on external entities
2022-09-20 10:44:03.451115 [NOTICE] switch_core_session.c:1683 Session 79049 (sofia/default/-8946223193@89.46.223.193) Ended
2022-09-20 10:44:03.451115 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/-8946223193@89.46.223.193 [CS_DESTROY]
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:741 (sofia/default/-8946223193@89.46.223.193) Running State Change CS_DESTROY (Cur 8 Tot 79052)
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/-8946223193@89.46.223.193) State DESTROY
2022-09-20 10:44:03.451115 [DEBUG] mod_sofia.c:343 sofia/default/-8946223193@89.46.223.193 SOFIA DESTROY
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:181 sofia/default/-8946223193@89.46.223.193 Standard DESTROY
2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/-8946223193@89.46.223.193) State DESTROY going to sleep
2022-09-20 10:44:04.831112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [004b34aa-38b8-11ed-b913-ef396ca3ea52]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_NEW (Cur 9 Tot 79053)
2022-09-20 10:44:04.831112 [DEBUG] sofia.c:9873 sofia/default/5445479315@theservice2584.newsip.israelnumber.com receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:44:04.831112 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7084 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com entering state [received][100]
2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 20135 20135 IN IP4 192.168.1.48
s=SDP data
c=IN IP4 213.8.118.14
t=0 0
m=audio 10388 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5445479315@theservice2584.newsip.israelnumber.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:44:04.831112 [DEBUG] switch_core_codec.c:111 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Original read codec set to PCMU:0
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4767 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7507 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State NEW
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_INIT (Cur 9 Tot 79053)
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT
2022-09-20 10:44:04.831112 [DEBUG] mod_sofia.c:90 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA INIT
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:40 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard INIT
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT going to sleep
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_ROUTING (Cur 9 Tot 79053)
2022-09-20 10:44:04.831112 [DEBUG] switch_channel.c:2249 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING
2022-09-20 10:44:04.831112 [DEBUG] mod_sofia.c:143 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA ROUTING
2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:236 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard ROUTING
2022-09-20 10:44:04.831112 [INFO] mod_dialplan_xml.c:637 Processing SHARON <5445479315>->036740319 in context default
2022-09-20 10:44:04.831112 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:44:04.831112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:44:04.831112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '036740319' limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '036740319' AND status=0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'theservice2584.newsip.israelnumber.com' limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '036740319' and account_id = '2881' and status=0 LIMIT 1
2022-09-20 10:44:04.851112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 039707070 / 039707070
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="97236740319" LIMIT 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [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 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="036740319" AND domains.domain="theservice2584.newsip.israelnumber.com" limit 1
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 615524607932]
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "615524607932" AND deleted = 0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^036740319.*' OR blocked_patterns = '^03674031.*' OR blocked_patterns = '^0367403.*' OR blocked_patterns = '^036740.*' OR blocked_patterns = '^03674.*' OR blocked_patterns = '^0367.*' OR blocked_patterns = '^036.*' OR blocked_patterns = '^03.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 2881 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="036740319" AND A.accountid = '2881' limit 1
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="97236740319" LIMIT 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [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 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="036740319" AND domains.domain="theservice2584.newsip.israelnumber.com" limit 1
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="97236740319" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^036740319.*' OR patterns = '^03674031.*' OR patterns = '^0367403.*' OR patterns = '^036740.*' OR patterns = '^03674.*' OR patterns = '^0367.*' OR patterns = '^036.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2881 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '036740319' OR number = '03674031' OR number = '0367403' OR number = '036740' OR number = '03674' OR number = '0367' OR number = '036' OR number = '03' OR number = '0' OR number ='--') OR (number = '036740319*' OR number = '03674031*' OR number = '0367403*' OR number = '036740*' OR number = '03674*' OR number = '0367*' OR number = '036*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '039707070' OR number = '03970707' OR number = '0397070' OR number = '039707' OR number = '03970' OR number = '0397' OR number = '039' OR number = '03' OR number = '0' OR number ='--') OR (number = '039707070*' OR number = '03970707*' OR number = '0397070*' OR number = '039707*' OR number = '03970*' OR number = '0397*' OR number = '039*' OR number = '03*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '036740319' OR routing_prefix = '03674031' OR routing_prefix = '0367403' OR routing_prefix = '036740' OR routing_prefix = '03674' OR routing_prefix = '0367' OR routing_prefix = '036' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2881
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 615524607932
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 39.74463
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^036740319.*' OR pattern = '^03674031.*' OR pattern = '^0367403.*' OR pattern = '^036740.*' OR pattern = '^03674.*' OR pattern = '^0367.*' OR pattern = '^036.*' OR pattern = '^03.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=2881) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731541
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.02000
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tel Aviv
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2881
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your39.74463 balance Accountid 2881 !!!
2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 2881
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.02000
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731541
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :15
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^036740319.*' OR pattern = '^03674031.*' OR pattern = '^0367403.*' OR pattern = '^036740.*' OR pattern = '^03674.*' OR pattern = '^0367.*' OR pattern = '^036.*' OR pattern = '^03.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (15) ORDER by FIELD(TR.trunk_id,15),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453043
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^03.*
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Tel Aviv
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^03.*
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 03
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9723
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2881 AND status= '0' LIMIT 1
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 901) AND status=0 limit 1
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :03/9723.....036740319
2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="036740319">
<condition field="destination_number" expression="036740319">
<action application="set" data="effective_destination_number=036740319"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=2881"/>
<action application="set" data="nibble_rate=0.02000"/>
<action application="set" data="nibble_increment=10"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2022-09-20 07:44:04"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=2881"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881"/>
<action application="set" data="original_caller_id_name=039707070"/>
<action application="set" data="original_caller_id_number=039707070"/>
<action application="limit" data="db 615524607932 user_615524607932 4 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=039707070"/>
<action application="set" data="effective_caller_id_number=039707070"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901"/>
<action application="set" data="trunk_id=15"/>
<action application="set" data="provider_id=901"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35731541"/>
<action application="export" data="presence_data=trunk_id=15"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:44:04.873197 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com parsing [default->036740319] continue=false
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Regex (PASS) [036740319] destination_number(036740319) =~ /036740319/ break=on-false
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_destination_number=036740319)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_account=2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_rate=0.02000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_increment=10)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action nibblebill(heartbeat 10)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(callstart=2022-09-20 07:44:04)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(account_id=2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(parent_id=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(entity_id=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_processed=internal)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_direction=outbound)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(accountname=default)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_name=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_number=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(is_recording=1)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(media_bug_answer_req=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(RECORD_STEREO=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(record_sample_rate=8000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_name=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_number=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(calltype=STANDARD)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(trunk_id=15)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(provider_id=901)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(rate_flag=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(force_trunk_flag=35731541)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(intcall=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:286 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING going to sleep
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_EXECUTE (Cur 9 Tot 79053)
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE
2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:198 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA EXECUTE
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:328 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard EXECUTE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_destination_number=036740319)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_destination_number]=[036740319]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_account=2881)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_account]=[2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_rate=0.02000)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_rate]=[0.02000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_increment=10)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_increment]=[10]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_minimum=0.00000)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_minimum]=[0.00000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com nibblebill(heartbeat 10)
2022-09-20 10:44:04.873197 [WARNING] switch_core_session.c:1605 sofia/default/5445479315@theservice2584.newsip.israelnumber.com using scheduler due to bypass media or media is not established.
2022-09-20 10:44:04.873197 [DEBUG] switch_scheduler.c:249 Added task 12627 switch_core_session_sched_heartbeat (004b34aa-38b8-11ed-b913-ef396ca3ea52) to run at 1663659854
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(callstart=2022-09-20 07:44:04)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [callstart]=[2022-09-20 07:44:04]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(hangup_after_bridge=true)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(continue_on_fail=TRUE)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(account_id=2881)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [account_id]=[2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(parent_id=0)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [parent_id]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(entity_id=0)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [entity_id]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_processed=internal)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_processed]=[internal]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_direction=outbound)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_direction]=[outbound]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(accountname=default)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [accountname]=[default]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [origination_rates]=[ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_name=039707070)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [original_caller_id_name]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_number=039707070)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [original_caller_id_number]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
2022-09-20 10:44:04.873197 [DEBUG] switch_limit.c:126 incr called: 615524607932_user_615524607932 max:4, interval:0
2022-09-20 10:44:04.873197 [DEBUG] mod_db.c:194 Usage for 615524607932_user_615524607932 is now 1/4
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
2022-09-20 10:44:04.873197 [DEBUG] switch_limit.c:126 incr called: CPS_615524607932_CPS_user_615524607932 max:2, interval:1
2022-09-20 10:44:04.873197 [DEBUG] mod_hash.c:198 Usage for CPS_615524607932_CPS_user_615524607932 is now 1/2 for the last 1 seconds
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(is_recording=1)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(media_bug_answer_req=true)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(RECORD_STEREO=true)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(record_sample_rate=8000)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(execute_on_answer=record_session /var/www/html/astpp/playlist/example/media/recordings/004b34aa-38b8-11ed-b913-ef396ca3ea52.wav)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/004b34aa-38b8-11ed-b913-ef396ca3ea52.wav]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_name=039707070)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_caller_id_name]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_number=039707070)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_caller_id_number]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(calltype=STANDARD)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [calltype]=[STANDARD]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [termination_rates]=[ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(trunk_id=15)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [trunk_id]=[15]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(provider_id=901)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [provider_id]=[901]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(rate_flag=0)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [rate_flag]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(force_trunk_flag=35731541)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [force_trunk_flag]=[35731541]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=trunk_id=15)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(intcall=0)
2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [intcall]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/004b34aa-38b8-11ed-b913-ef396ca3ea52.wav] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:04.873197 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [005263c4-38b8-11ed-b93f-ef396ca3ea52]
2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 10 Tot 79054)
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:04.873197 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:04.873197 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663639872 1663639873 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19972 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 10 Tot 79054)
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 79054)
2022-09-20 10:44:04.873197 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:05.411109 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
2022-09-20 10:44:05.411109 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 10 Tot 79054)
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:05.411109 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 10 Tot 79054)
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:05.411109 [INFO] mod_json_cdr.c:271 Process [005263c4-38b8-11ed-b93f-ef396ca3ea52.cdr.json]
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:05.411109 [DEBUG] switch_core_session.c:1665 Session 79054 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:05.431108 [NOTICE] switch_core_session.c:1683 Session 79054 (sofia/default/97236740319) Ended
2022-09-20 10:44:05.431108 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 9 Tot 79054)
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:05.431108 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/004b34aa-38b8-11ed-b913-ef396ca3ea52.wav] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:05.431108 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [00a56cc2-38b8-11ed-b947-ef396ca3ea52]
2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 10 Tot 79055)
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:05.431108 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:05.431108 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641811 1663641812 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 18034 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 10 Tot 79055)
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 79055)
2022-09-20 10:44:05.431108 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:05.771113 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
2022-09-20 10:44:05.771113 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 10 Tot 79055)
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:05.771113 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 10 Tot 79055)
2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:05.771113 [INFO] mod_json_cdr.c:271 Process [00a56cc2-38b8-11ed-b947-ef396ca3ea52.cdr.json]
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:05.791150 [DEBUG] switch_core_session.c:1665 Session 79055 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:05.791150 [NOTICE] switch_core_session.c:1683 Session 79055 (sofia/default/97236740319) Ended
2022-09-20 10:44:05.791150 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 9 Tot 79055)
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:05.791150 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/004b34aa-38b8-11ed-b913-ef396ca3ea52.wav] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:05.791150 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [00dcfcb4-38b8-11ed-b94f-ef396ca3ea52]
2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 10 Tot 79056)
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:05.791150 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:05.791150 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663641911 1663641912 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 17934 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 10 Tot 79056)
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 79056)
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:05.791150 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:05.931467 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][486]
2022-09-20 10:44:05.931467 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [USER_BUSY]
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 10 Tot 79056)
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:05.931467 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: USER_BUSY
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: USER_BUSY
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 10 Tot 79056)
2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:05.931467 [INFO] mod_json_cdr.c:271 Process [00dcfcb4-38b8-11ed-b94f-ef396ca3ea52.cdr.json]
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: USER_BUSY
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:05.971113 [DEBUG] switch_core_session.c:1665 Session 79056 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:05.971113 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-09-20 10:44:05.971113 [NOTICE] switch_core_session.c:1683 Session 79056 (sofia/default/97236740319) Ended
2022-09-20 10:44:05.971113 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 9 Tot 79056)
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:05.971113 [INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_BUSY
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:05.971113 [NOTICE] switch_core_state_machine.c:385 sofia/default/5445479315@theservice2584.newsip.israelnumber.com has executed the last dialplan instruction, hanging up.
2022-09-20 10:44:05.971113 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:44:05.971113 [DEBUG] mod_hash.c:297 Usage for CPS_615524607932_CPS_user_615524607932 is now 0
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE going to sleep
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_HANGUP (Cur 9 Tot 79056)
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change RINGING -> HANGUP
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP
2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:432 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Overriding SIP cause 480 with 486 from the other leg
2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:438 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com hanging up, cause: NORMAL_CLEARING
2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 2881
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:518 Not billing 2881 - call is not in answered state
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:523 Comparing 39.744630 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:60 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP going to sleep
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_REPORTING (Cur 9 Tot 79056)
2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING
2022-09-20 10:44:05.971113 [INFO] mod_json_cdr.c:271 Process [004b34aa-38b8-11ed-b913-ef396ca3ea52.cdr.json]
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:174 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING going to sleep
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:05.991115 [DEBUG] switch_core_session.c:1665 Session 79053 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Locked, Waiting on external entities
2022-09-20 10:44:05.991115 [NOTICE] switch_core_session.c:1683 Session 79053 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Ended
2022-09-20 10:44:05.991115 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_DESTROY]
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_DESTROY (Cur 8 Tot 79056)
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY
2022-09-20 10:44:05.991115 [DEBUG] mod_sofia.c:343 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA DESTROY
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:181 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard DESTROY
2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY going to sleep
2022-09-20 10:44:06.371257 [DEBUG] switch_scheduler.c:144 Deleting task 12627 switch_core_session_sched_heartbeat (004b34aa-38b8-11ed-b913-ef396ca3ea52)
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.04000 per minute to account 3541
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:518 Not billing 3541 - call is not in answered state
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.110870)
2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:523 Comparing 14.110870 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:44:11.011111 [NOTICE] switch_ivr_originate.c:327 Hangup sofia/default/81345655200@35.205.116.118 [CS_CONSUME_MEDIA] [ALLOTTED_TIMEOUT]
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_HANGUP (Cur 8 Tot 79056)
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/81345655200@35.205.116.118) Callstate Change RINGING -> HANGUP
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
2022-09-20 10:44:11.011111 [DEBUG] mod_sofia.c:438 Channel sofia/default/81345655200@35.205.116.118 hanging up, cause: ALLOTTED_TIMEOUT
2022-09-20 10:44:11.011111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:60 sofia/default/81345655200@35.205.116.118 Standard HANGUP, cause: ALLOTTED_TIMEOUT
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP going to sleep
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/81345655200@35.205.116.118) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/81345655200@35.205.116.118) Running State Change CS_REPORTING (Cur 8 Tot 79056)
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
2022-09-20 10:44:11.011111 [INFO] mod_json_cdr.c:271 Process [f194a108-38b7-11ed-b8c6-ef396ca3ea52.cdr.json]
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:174 sofia/default/81345655200@35.205.116.118 Standard REPORTING, cause: ALLOTTED_TIMEOUT
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING going to sleep
2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:610 (sofia/default/81345655200@35.205.116.118) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:11.011111 [DEBUG] switch_core_session.c:1665 Session 79047 (sofia/default/81345655200@35.205.116.118) Locked, Waiting on external entities
2022-09-20 10:44:11.031119 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
2022-09-20 10:44:11.031119 [NOTICE] switch_core_session.c:1683 Session 79047 (sofia/default/81345655200@35.205.116.118) Ended
2022-09-20 10:44:11.031119 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:741 (sofia/default/81345655200@35.205.116.118) Running State Change CS_DESTROY (Cur 7 Tot 79056)
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
2022-09-20 10:44:11.031119 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY going to sleep
2022-09-20 10:44:11.031119 [INFO] mod_dptools.c:3436 Originate Failed. Cause: ALLOTTED_TIMEOUT
2022-09-20 10:44:11.031119 [NOTICE] switch_core_state_machine.c:385 sofia/default/+818090110851@203.60.13.98 has executed the last dialplan instruction, hanging up.
2022-09-20 10:44:11.031119 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/+818090110851@203.60.13.98 [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:44:11.031119 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE going to sleep
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_HANGUP (Cur 7 Tot 79056)
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:850 (sofia/default/+818090110851@203.60.13.98) Callstate Change RINGING -> HANGUP
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
2022-09-20 10:44:11.031119 [DEBUG] mod_sofia.c:438 Channel sofia/default/+818090110851@203.60.13.98 hanging up, cause: NORMAL_CLEARING
2022-09-20 10:44:11.031119 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:523 Comparing 15758.594250 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:60 sofia/default/+818090110851@203.60.13.98 Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP going to sleep
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:619 (sofia/default/+818090110851@203.60.13.98) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:584 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_REPORTING (Cur 7 Tot 79056)
2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
2022-09-20 10:44:11.031119 [INFO] mod_json_cdr.c:271 Process [f18e4eac-38b7-11ed-b8a1-ef396ca3ea52.cdr.json]
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:174 sofia/default/+818090110851@203.60.13.98 Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING going to sleep
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:610 (sofia/default/+818090110851@203.60.13.98) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:11.051369 [DEBUG] switch_core_session.c:1665 Session 79046 (sofia/default/+818090110851@203.60.13.98) Locked, Waiting on external entities
2022-09-20 10:44:11.051369 [NOTICE] switch_core_session.c:1683 Session 79046 (sofia/default/+818090110851@203.60.13.98) Ended
2022-09-20 10:44:11.051369 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:741 (sofia/default/+818090110851@203.60.13.98) Running State Change CS_DESTROY (Cur 6 Tot 79056)
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
2022-09-20 10:44:11.051369 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY going to sleep
2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:44:11.371114 [DEBUG] switch_scheduler.c:144 Deleting task 12625 switch_core_session_sched_heartbeat (f18e4eac-38b7-11ed-b8a1-ef396ca3ea52)
2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:573 8 seconds passed since last bill time of 2022-09-20 10:44:02
2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:590 Billing $0.003333 to 3541 (Call: f7f89588-38b5-11ed-ae9a-ef396ca3ea52 / 0.290000 so far)
2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
2022-09-20 10:44:11.431109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:44:11.431109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.107540)
2022-09-20 10:44:12.811111 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [122@89.46.223.193] from ip 128.90.140.36
2022-09-20 10:44:12.831121 [WARNING] sofia_reg.c:2906 Can't find user [122@89.46.223.193] from 128.90.140.36
You must define a domain called '89.46.223.193' in your directory and add a user with the id="122" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:44:12.831121 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [122@89.46.223.193] from ip 128.90.140.36
2022-09-20 10:44:14.191112 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'Encrypt' for [109@89.46.223.193] from ip 45.93.16.133
2022-09-20 10:44:14.271199 [WARNING] sofia_reg.c:2906 Can't find user [109@89.46.223.193] from 45.93.16.133
You must define a domain called '89.46.223.193' in your directory and add a user with the id="109" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:44:14.271199 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'Encrypt' for [109@89.46.223.193] from ip 45.93.16.133
2022-09-20 10:44:16.111112 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [completing][200]
2022-09-20 10:44:16.111112 [DEBUG] sofia.c:7091 Duplicate SDP
v=0
o=- 1663659838 1663659838 IN IP4 185.23.172.34
s=-
c=IN IP4 185.23.172.34
t=0 0
m=audio 43502 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=silenceSupp:off - - - -
2022-09-20 10:44:16.131116 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [ready][200]
2022-09-20 10:44:16.131116 [NOTICE] sofia.c:8159 Channel [sofia/default/972507533015] has been answered
EXECUTE sofia/default/972507533015 record_session(/var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav)
2022-09-20 10:44:16.151111 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/972507533015
2022-09-20 10:44:16.151111 [DEBUG] switch_channel.c:3773 (sofia/default/972507533015) Callstate Change EARLY -> ACTIVE
2022-09-20 10:44:16.151111 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/default/097406629@Rachash3186.newsip.israelnumber.com.
2022-09-20 10:44:16.151111 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/097406629@Rachash3186.newsip.israelnumber.com:
v=0
o=FreeSWITCH 1663640550 1663640552 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19288 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:16.151111 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/097406629@Rachash3186.newsip.israelnumber.com] has been answered
2022-09-20 10:44:16.151111 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [completed][200]
EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com record_session(/var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav)
2022-09-20 10:44:16.151111 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2022-09-20 10:44:16.171136 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/097406629@Rachash3186.newsip.israelnumber.com
2022-09-20 10:44:16.171136 [DEBUG] switch_channel.c:3773 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change EARLY -> ACTIVE
2022-09-20 10:44:16.171136 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2022-09-20 10:44:16.191202 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2022-09-20 10:44:16.191202 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
2022-09-20 10:44:16.211109 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2022-09-20 10:44:16.211109 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
2022-09-20 10:44:16.271109 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [ready][200]
2022-09-20 10:44:16.871110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [152@89.46.223.193] from ip 192.64.4.112
2022-09-20 10:44:16.951124 [NOTICE] switch_channel.c:1104 New Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [07857aaa-38b8-11ed-b95a-ef396ca3ea52]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_NEW (Cur 7 Tot 79057)
2022-09-20 10:44:16.951124 [DEBUG] sofia.c:9873 sofia/default/5445479315@theservice2584.newsip.israelnumber.com receiving invite from 136.243.196.198:5060 version: 1.6.20 64bit
2022-09-20 10:44:16.951124 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7084 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com entering state [received][100]
2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7094 Remote SDP:
v=0
o=- 20136 20136 IN IP4 192.168.1.48
s=SDP data
c=IN IP4 213.8.118.14
t=0 0
m=audio 10390 RTP/AVP 9 0 8 18 101
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4504 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4449 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:3061 Set Codec sofia/default/5445479315@theservice2584.newsip.israelnumber.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-09-20 10:44:16.951124 [DEBUG] switch_core_codec.c:111 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Original read codec set to PCMU:0
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4767 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7507 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State NEW
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_INIT (Cur 7 Tot 79057)
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT
2022-09-20 10:44:16.951124 [DEBUG] mod_sofia.c:90 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA INIT
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:40 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard INIT
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:48 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT going to sleep
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_ROUTING (Cur 7 Tot 79057)
2022-09-20 10:44:16.951124 [DEBUG] switch_channel.c:2249 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING
2022-09-20 10:44:16.951124 [DEBUG] mod_sofia.c:143 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA ROUTING
2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:236 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard ROUTING
2022-09-20 10:44:16.951124 [INFO] mod_dialplan_xml.c:637 Processing SHARON <5445479315>->036740319 in context default
2022-09-20 10:44:16.951124 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 036740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '036740319' limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '036740319' AND status=0 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE domain = 'theservice2584.newsip.israelnumber.com' limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Functions] [GET_queue_INFO] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '036740319' and account_id = '2881' and status=0 LIMIT 1
2022-09-20 10:44:16.971226 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number : 039707070 / 039707070
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="97236740319" LIMIT 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [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 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="036740319" AND domains.domain="theservice2584.newsip.israelnumber.com" limit 1
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 615524607932]
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "615524607932" AND deleted = 0 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^036740319.*' OR blocked_patterns = '^03674031.*' OR blocked_patterns = '^0367403.*' OR blocked_patterns = '^036740.*' OR blocked_patterns = '^03674.*' OR blocked_patterns = '^0367.*' OR blocked_patterns = '^036.*' OR blocked_patterns = '^03.*' OR blocked_patterns = '^0.*' OR blocked_patterns ='--') AND accountid = 2881 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="036740319" AND A.accountid = '2881' limit 1
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.buy_minutes,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="97236740319" LIMIT 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [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 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="036740319" AND domains.domain="theservice2584.newsip.israelnumber.com" limit 1
2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 13 AND status=0 limit 1
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"+/*,03/9723,073/97273,09/9729,02/9722,04/9724,077/97277".....97236740319
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="97236740319" AND (accountid = 0 OR status = 1) LIMIT 1
2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate FROM localization WHERE id = 5 AND status=0 limit 1
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^036740319.*' OR patterns = '^03674031.*' OR patterns = '^0367403.*' OR patterns = '^036740.*' OR patterns = '^03674.*' OR patterns = '^0367.*' OR patterns = '^036.*' OR patterns = '^03.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 2881 ORDER BY LENGTH(PKGPTR.patterns) DESC
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '036740319' OR number = '03674031' OR number = '0367403' OR number = '036740' OR number = '03674' OR number = '0367' OR number = '036' OR number = '03' OR number = '0' OR number ='--') OR (number = '036740319*' OR number = '03674031*' OR number = '0367403*' OR number = '036740*' OR number = '03674*' OR number = '0367*' OR number = '036*' OR number = '03*' OR number = '0*' OR number ='--') OR (number = '039707070' OR number = '03970707' OR number = '0397070' OR number = '039707' OR number = '03970' OR number = '0397' OR number = '039' OR number = '03' OR number = '0' OR number ='--') OR (number = '039707070*' OR number = '03970707*' OR number = '0397070*' OR number = '039707*' OR number = '03970*' OR number = '0397*' OR number = '039*' OR number = '03*' OR number = '0*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '036740319' OR routing_prefix = '03674031' OR routing_prefix = '0367403' OR routing_prefix = '036740' OR routing_prefix = '03674' OR routing_prefix = '0367' OR routing_prefix = '036' OR routing_prefix = '03' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2881
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 615524607932
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 39.74463
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^036740319.*' OR pattern = '^03674031.*' OR pattern = '^0367403.*' OR pattern = '^036740.*' OR pattern = '^03674.*' OR pattern = '^0367.*' OR pattern = '^036.*' OR pattern = '^03.*' OR pattern = '^0.*' OR pattern ='--') AND status = 0 AND (pricelist_id = 23 OR accountid=2881) ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC LIMIT 1
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731541
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.02000
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tel Aviv
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2881
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your39.74463 balance Accountid 2881 !!!
2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 2881
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.02000
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731541
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id :15
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^036740319.*' OR pattern = '^03674031.*' OR pattern = '^0367403.*' OR pattern = '^036740.*' OR pattern = '^03674.*' OR pattern = '^0367.*' OR pattern = '^036.*' OR pattern = '^03.*' OR pattern = '^0.*' OR pattern ='--') AND TR.status = 0 AND TR.trunk_id IN (15) ORDER by FIELD(TR.trunk_id,15),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453043
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^03.*
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Tel Aviv
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^03.*
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 03
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9723
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 2881 AND status= '0' LIMIT 1
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 23 AND status = 0
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate FROM localization WHERE id=(SELECT localization_id from accounts where id = 901) AND status=0 limit 1
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :03/9723.....036740319
2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] 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="036740319">
<condition field="destination_number" expression="036740319">
<action application="set" data="effective_destination_number=036740319"/>
<action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
<action application="set" data="nibble_account=2881"/>
<action application="set" data="nibble_rate=0.02000"/>
<action application="set" data="nibble_increment=10"/>
<action application="set" data="nibble_minimum=0.00000"/>
<action application="nibblebill" data="heartbeat 10"/>
<action application="set" data="callstart=2022-09-20 07:44:16"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=TRUE"/>
<action application="set" data="account_id=2881"/>
<action application="set" data="parent_id=0"/>
<action application="set" data="entity_id=0"/>
<action application="set" data="call_processed=internal"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="accountname=default"/>
<action application="set" data="filename1=astpp.pbx.lua"/>
<action application="set" data="origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881"/>
<action application="set" data="original_caller_id_name=039707070"/>
<action application="set" data="original_caller_id_number=039707070"/>
<action application="limit" data="db 615524607932 user_615524607932 4 !SWITCH_CONGESTION"/>
<action application="limit" data="hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION"/>
<action application="export" data="is_recording=1"/>
<action application="export" data="media_bug_answer_req=true"/>
<action application="export" data="RECORD_STEREO=true"/>
<action application="export" data="record_sample_rate=8000"/>
<action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
<action application="set" data="effective_caller_id_name=039707070"/>
<action application="set" data="effective_caller_id_number=039707070"/>
<action application="set" data="calltype=STANDARD"/>
<action application="set" data="termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901"/>
<action application="set" data="trunk_id=15"/>
<action application="set" data="provider_id=901"/>
<action application="set" data="rate_flag=0"/>
<action application="set" data="force_trunk_flag=35731541"/>
<action application="export" data="presence_data=trunk_id=15"/>
<action application="set" data="intcall=0"/>
<action application="export" data="presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060"/>
<action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060"/>
</condition>
</extension>
</context>
</document>
2022-09-20 10:44:16.991110 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com parsing [default->036740319] continue=false
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Regex (PASS) [036740319] destination_number(036740319) =~ /036740319/ break=on-false
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_destination_number=036740319)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_account=2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_rate=0.02000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_increment=10)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action nibblebill(heartbeat 10)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(callstart=2022-09-20 07:44:16)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(hangup_after_bridge=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(account_id=2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(parent_id=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(entity_id=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_processed=internal)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_direction=outbound)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(accountname=default)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_name=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_number=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(is_recording=1)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(media_bug_answer_req=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(RECORD_STEREO=true)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(record_sample_rate=8000)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_name=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_number=039707070)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(calltype=STANDARD)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(trunk_id=15)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(provider_id=901)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(rate_flag=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(force_trunk_flag=35731541)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(intcall=0)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060)
Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:286 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_ROUTING -> CS_EXECUTE
2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING going to sleep
2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_EXECUTE (Cur 7 Tot 79057)
2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE
2022-09-20 10:44:16.991110 [DEBUG] mod_sofia.c:198 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA EXECUTE
2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:328 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard EXECUTE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_destination_number=036740319)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_destination_number]=[036740319]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [execute_on_answer]=[sched_hangup +10800 normal_clearing]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_account=2881)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_account]=[2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_rate=0.02000)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_rate]=[0.02000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_increment=10)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_increment]=[10]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_minimum=0.00000)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_minimum]=[0.00000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com nibblebill(heartbeat 10)
2022-09-20 10:44:16.991110 [WARNING] switch_core_session.c:1605 sofia/default/5445479315@theservice2584.newsip.israelnumber.com using scheduler due to bypass media or media is not established.
2022-09-20 10:44:16.991110 [DEBUG] switch_scheduler.c:249 Added task 12628 switch_core_session_sched_heartbeat (07857aaa-38b8-11ed-b95a-ef396ca3ea52) to run at 1663659866
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(callstart=2022-09-20 07:44:16)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [callstart]=[2022-09-20 07:44:16]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(hangup_after_bridge=true)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [hangup_after_bridge]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(continue_on_fail=TRUE)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [continue_on_fail]=[TRUE]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(account_id=2881)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [account_id]=[2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(parent_id=0)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [parent_id]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(entity_id=0)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [entity_id]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_processed=internal)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_processed]=[internal]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_direction=outbound)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_direction]=[outbound]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(accountname=default)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [accountname]=[default]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(origination_rates=ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [origination_rates]=[ID:35731541|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02000|INC:10|INITIALBLOCK:30|RATEGROUP:23|MARKUP:0|CI:0|ACCID:2881]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_name=039707070)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [original_caller_id_name]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_number=039707070)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [original_caller_id_number]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
2022-09-20 10:44:16.991110 [DEBUG] switch_limit.c:126 incr called: 615524607932_user_615524607932 max:4, interval:0
2022-09-20 10:44:16.991110 [DEBUG] mod_db.c:194 Usage for 615524607932_user_615524607932 is now 1/4
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
2022-09-20 10:44:16.991110 [DEBUG] switch_limit.c:126 incr called: CPS_615524607932_CPS_user_615524607932 max:2, interval:1
2022-09-20 10:44:16.991110 [DEBUG] mod_hash.c:198 Usage for CPS_615524607932_CPS_user_615524607932 is now 1/2 for the last 1 seconds
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(is_recording=1)
2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(media_bug_answer_req=true)
2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(RECORD_STEREO=true)
2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(record_sample_rate=8000)
2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(execute_on_answer=record_session /var/www/html/astpp/playlist/example/media/recordings/07857aaa-38b8-11ed-b95a-ef396ca3ea52.wav)
2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/07857aaa-38b8-11ed-b95a-ef396ca3ea52.wav]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_name=039707070)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_caller_id_name]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_number=039707070)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_caller_id_number]=[039707070]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(calltype=STANDARD)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [calltype]=[STANDARD]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(termination_rates=ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [termination_rates]=[ID:9453043|CODE:^03.*|DESTINATION:Tel Aviv|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00870|INC:1|INITIALBLOCK:1|TRUNK:15|PROVIDER:901]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(trunk_id=15)
2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [trunk_id]=[15]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(provider_id=901)
2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [provider_id]=[901]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(rate_flag=0)
2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [rate_flag]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(force_trunk_flag=35731541)
2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [force_trunk_flag]=[35731541]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=trunk_id=15)
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(intcall=0)
2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [intcall]=[0]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14)
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14]
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/07857aaa-38b8-11ed-b95a-ef396ca3ea52.wav] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:17.011126 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [078c4394-38b8-11ed-b986-ef396ca3ea52]
2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 8 Tot 79058)
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:17.011126 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:17.011126 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663640267 1663640268 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19590 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 8 Tot 79058)
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79058)
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:17.011126 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:17.111120 [WARNING] sofia_reg.c:2906 Can't find user [152@89.46.223.193] from 192.64.4.112
You must define a domain called '89.46.223.193' in your directory and add a user with the id="152" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:44:17.111120 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [152@89.46.223.193] from ip 192.64.4.112
2022-09-20 10:44:17.391110 [WARNING] sofia_reg.c:1792 SIP auth challenge (REGISTER) on sofia profile 'default' for [322@89.46.223.193] from ip 31.6.23.101
2022-09-20 10:44:17.391110 [WARNING] sofia_reg.c:2906 Can't find user [322@89.46.223.193] from 31.6.23.101
You must define a domain called '89.46.223.193' in your directory and add a user with the id="322" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
2022-09-20 10:44:17.391110 [WARNING] sofia_reg.c:1737 SIP auth failure (REGISTER) on sofia profile 'default' for [322@89.46.223.193] from ip 31.6.23.101
2022-09-20 10:44:17.551111 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
2022-09-20 10:44:17.551111 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 8 Tot 79058)
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:17.551111 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 8 Tot 79058)
2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:17.551111 [INFO] mod_json_cdr.c:271 Process [078c4394-38b8-11ed-b986-ef396ca3ea52.cdr.json]
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:17.571123 [DEBUG] switch_core_session.c:1665 Session 79058 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:17.571123 [NOTICE] switch_core_session.c:1683 Session 79058 (sofia/default/97236740319) Ended
2022-09-20 10:44:17.571123 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 7 Tot 79058)
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:17.571123 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/07857aaa-38b8-11ed-b95a-ef396ca3ea52.wav] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:17.571123 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [07e27520-38b8-11ed-b991-ef396ca3ea52]
2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 8 Tot 79059)
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:17.571123 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:17.571123 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663642841 1663642842 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 17016 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 8 Tot 79059)
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79059)
2022-09-20 10:44:17.571123 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:17.811110 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
2022-09-20 10:44:17.811110 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 8 Tot 79059)
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 8 Tot 79059)
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:17.811110 [INFO] mod_json_cdr.c:271 Process [07e27520-38b8-11ed-b991-ef396ca3ea52.cdr.json]
2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
2022-09-20 10:44:17.811110 [INFO] mod_dptools.c:3436 Originate Failed. Cause: NORMAL_TEMPORARY_FAILURE
EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060)
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:17.811110 [DEBUG] switch_core_session.c:1665 Session 79059 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:17.811110 [NOTICE] switch_core_session.c:1683 Session 79059 (sofia/default/97236740319) Ended
2022-09-20 10:44:17.811110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [is_recording]=[1] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [media_bug_answer_req]=[true] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [RECORD_STEREO]=[true] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [record_sample_rate]=[8000] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [execute_on_answer]=[record_session /var/www/html/astpp/playlist/example/media/recordings/07857aaa-38b8-11ed-b95a-ef396ca3ea52.wav] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_channel.c:1250 sofia/default/5445479315@theservice2584.newsip.israelnumber.com EXPORTING[export_vars] [presence_data]=[x|||Theservice(615524607932)|||^03.* // Tel Aviv // 0.02000 // trunk_id=15|||hallotrunk // ^03.* // Tel Aviv // 0.00870 // trunk_id=15|||STD|||213.8.118.14] to event
2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 7 Tot 79059)
2022-09-20 10:44:17.811110 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [08078a90-38b8-11ed-b999-ef396ca3ea52]
2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_INIT (Cur 8 Tot 79060)
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
2022-09-20 10:44:17.811110 [DEBUG] sofia_glue.c:1264 sip:136.243.196.198:5060 Setting proxy route to sofia/default/97236740319
2022-09-20 10:44:17.811110 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20 64bit
Local SDP:
v=0
o=FreeSWITCH 1663640565 1663640566 IN IP4 89.46.223.193
s=FreeSWITCH
c=IN IP4 89.46.223.193
t=0 0
m=audio 19292 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_ROUTING (Cur 8 Tot 79060)
2022-09-20 10:44:17.811110 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_CONSUME_MEDIA (Cur 8 Tot 79060)
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
2022-09-20 10:44:17.971112 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][486]
2022-09-20 10:44:17.971112 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [USER_BUSY]
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_HANGUP (Cur 8 Tot 79060)
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
2022-09-20 10:44:17.971112 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: USER_BUSY
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: USER_BUSY
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:584 (sofia/default/97236740319) Running State Change CS_REPORTING (Cur 8 Tot 79060)
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
2022-09-20 10:44:17.971112 [INFO] mod_json_cdr.c:271 Process [08078a90-38b8-11ed-b999-ef396ca3ea52.cdr.json]
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: USER_BUSY
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:17.971112 [DEBUG] switch_core_session.c:1665 Session 79060 (sofia/default/97236740319) Locked, Waiting on external entities
2022-09-20 10:44:17.991116 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
2022-09-20 10:44:17.991116 [NOTICE] switch_core_session.c:1683 Session 79060 (sofia/default/97236740319) Ended
2022-09-20 10:44:17.991116 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:741 (sofia/default/97236740319) Running State Change CS_DESTROY (Cur 7 Tot 79060)
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
2022-09-20 10:44:17.991116 [INFO] mod_dptools.c:3436 Originate Failed. Cause: USER_BUSY
2022-09-20 10:44:17.991116 [NOTICE] switch_core_state_machine.c:385 sofia/default/5445479315@theservice2584.newsip.israelnumber.com has executed the last dialplan instruction, hanging up.
2022-09-20 10:44:17.991116 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_EXECUTE] [NORMAL_CLEARING]
2022-09-20 10:44:17.991116 [DEBUG] mod_hash.c:297 Usage for CPS_615524607932_CPS_user_615524607932 is now 0
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE going to sleep
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_HANGUP (Cur 7 Tot 79060)
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:850 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change RINGING -> HANGUP
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP
2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:432 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Overriding SIP cause 480 with 486 from the other leg
2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:438 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com hanging up, cause: NORMAL_CLEARING
2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 2881
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:518 Not billing 2881 - call is not in answered state
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:523 Comparing 39.744630 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:60 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard HANGUP, cause: NORMAL_CLEARING
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP going to sleep
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:619 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_HANGUP -> CS_REPORTING
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:584 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_REPORTING (Cur 7 Tot 79060)
2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING
2022-09-20 10:44:17.991116 [INFO] mod_json_cdr.c:271 Process [07857aaa-38b8-11ed-b95a-ef396ca3ea52.cdr.json]
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:174 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard REPORTING, cause: NORMAL_CLEARING
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING going to sleep
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:610 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_REPORTING -> CS_DESTROY
2022-09-20 10:44:18.011118 [DEBUG] switch_core_session.c:1665 Session 79057 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Locked, Waiting on external entities
2022-09-20 10:44:18.011118 [NOTICE] switch_core_session.c:1683 Session 79057 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Ended
2022-09-20 10:44:18.011118 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_DESTROY]
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:741 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Running State Change CS_DESTROY (Cur 6 Tot 79060)
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY
2022-09-20 10:44:18.011118 [DEBUG] mod_sofia.c:343 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA DESTROY
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:181 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard DESTROY
2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY going to sleep
2022-09-20 10:44:18.491111 [DEBUG] switch_scheduler.c:144 Deleting task 12628 switch_core_session_sched_heartbeat (07857aaa-38b8-11ed-b95a-ef396ca3ea52)
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.04000 per minute to account 3541
2022-09-20 10:44:18.491111 [INFO] mod_nibblebill.c:565 Beginning new billing on fc40217c-38b7-11ed-b8e0-ef396ca3ea52
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:573 2 seconds passed since last bill time of 2022-09-20 10:44:16
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:590 Billing $0.006667 to 3541 (Call: fc40217c-38b7-11ed-b8e0-ef396ca3ea52 / 0.000000 so far)
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:395 Doing update query
[UPDATE accounts SET balance=balance- 0.006667 WHERE id='3541']
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
[SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.100870)