From Dhruvil, 2 Years ago, written in HTML5.
- view diff
Embed
  1. 2022-09-20 10:42:00.031112 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
  2. 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)
  3. 2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
  4. 2022-09-20 10:42:00.031112 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
  5. 2022-09-20 10:42:00.031112 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
  6. 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
  7. 2022-09-20 10:42:00.031112 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  8. 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.
  9. 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]
  10. 2022-09-20 10:42:00.051119 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
  11. 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
  12. 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)
  13. 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
  14. 2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
  15. 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
  16. 2022-09-20 10:42:00.051119 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  17. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  18. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  19. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  20. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  21. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  22. 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
  23. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  24. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  25. 2022-09-20 10:42:00.051119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  26. 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
  27. 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
  28. 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
  29. 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)
  30. 2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
  31. 2022-09-20 10:42:00.051119 [INFO] mod_json_cdr.c:271 Process [a3a93c42-38b7-11ed-b703-ef396ca3ea52.cdr.json]
  32. 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
  33. 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
  34. 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
  35. 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
  36. 2022-09-20 10:42:00.051119 [NOTICE] switch_core_session.c:1683 Session 79032 (sofia/default/+818090110851@203.60.13.98) Ended
  37. 2022-09-20 10:42:00.051119 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
  38. 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)
  39. 2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
  40. 2022-09-20 10:42:00.051119 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
  41. 2022-09-20 10:42:00.051119 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
  42. 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
  43. 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)
  44. 2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  45. 2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  46. 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
  47. 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)
  48. 2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:395 Doing update query
  49. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  50. 2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  51. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  52. 2022-09-20 10:42:01.471117 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.150830)
  53. 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
  54. 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
  55. You must define a domain called '89.46.223.193' in your directory and add a user with the id="385" attribute
  56. and you must configure your device to use the proper domain in it's authentication credentials.
  57. 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
  58. 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
  59. 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
  60. You must define a domain called '89.46.223.193' in your directory and add a user with the id="107" attribute
  61. and you must configure your device to use the proper domain in it's authentication credentials.
  62. 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
  63. 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]
  64. 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)
  65. 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
  66. 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.
  67. 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
  68. 2022-09-20 10:42:08.651117 [DEBUG] switch_core_state_machine.c:603 (sofia/default/trunk_1@89.46.223.193) State NEW
  69. 2022-09-20 10:42:08.651117 [DEBUG] sofia.c:2334 detaching session bb0caaae-38b7-11ed-b747-ef396ca3ea52
  70. 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
  71. 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]
  72. 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)
  73. 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
  74. 2022-09-20 10:42:09.251115 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  75. 2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [received][100]
  76. 2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7094 Remote SDP:
  77. v=0
  78. o=didww-sbc 2055578407 2055578407 IN IP4 46.19.209.78
  79. s=didww-sbc
  80. t=0 0
  81. m=audio 13760 RTP/AVP 0 8 18 4 101
  82. c=IN IP4 46.19.209.78
  83. a=rtpmap:0 PCMU/8000
  84. a=rtpmap:8 PCMA/8000
  85. a=rtpmap:18 G729/8000
  86. a=fmtp:18 annexb=no
  87. a=rtpmap:4 G723/8000
  88. a=rtpmap:101 telephone-event/8000
  89. a=ptime:20
  90.  
  91. 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]
  92. 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]
  93. 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
  94. 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]
  95. 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
  96. 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]
  97. 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]
  98. 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]
  99. 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]
  100. 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]
  101. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  102. 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
  103. 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
  104. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  105. 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
  106. 2022-09-20 10:42:09.251115 [DEBUG] sofia.c:7507 (sofia/default/61457570959@46.19.209.14) State Change CS_NEW -> CS_INIT
  107. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:603 (sofia/default/61457570959@46.19.209.14) State NEW
  108. 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)
  109. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61457570959@46.19.209.14) State INIT
  110. 2022-09-20 10:42:09.251115 [DEBUG] mod_sofia.c:90 sofia/default/61457570959@46.19.209.14 SOFIA INIT
  111. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:40 sofia/default/61457570959@46.19.209.14 Standard INIT
  112. 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
  113. 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
  114. 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)
  115. 2022-09-20 10:42:09.251115 [DEBUG] switch_channel.c:2249 (sofia/default/61457570959@46.19.209.14) Callstate Change DOWN -> RINGING
  116. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61457570959@46.19.209.14) State ROUTING
  117. 2022-09-20 10:42:09.251115 [DEBUG] mod_sofia.c:143 sofia/default/61457570959@46.19.209.14 SOFIA ROUTING
  118. 2022-09-20 10:42:09.251115 [DEBUG] switch_core_state_machine.c:236 sofia/default/61457570959@46.19.209.14 Standard ROUTING
  119. 2022-09-20 10:42:09.251115 [INFO] mod_dialplan_xml.c:637 Processing 61457570959 <61457570959>->61390084207 in context default
  120. 2022-09-20 10:42:09.251115 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c813d690 Connected.
  121. 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')
  122. 2022-09-20 10:42:09.251115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  123. 2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  124. 2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 61390084207
  125. 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
  126. 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
  127. 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
  128. 2022-09-20 10:42:09.251115 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  129. 2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 61457570959 / 61457570959
  130. 2022-09-20 10:42:09.251115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  141. 2022-09-20 10:42:09.251115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 714761424818]
  142. 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
  143. 2022-09-20 10:42:09.251115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 61390084207
  156. 2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  167. 2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  178. 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
  179. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  180. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  181. 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
  182. 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
  183. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  184. 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
  185. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  186. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  187. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  188. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  189. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  190. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  191. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  192. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  193. 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
  194. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  195. 2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  206. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  207. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13183
  208. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  209. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  210. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  211. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Melbourne Landline
  212. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 12
  213. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  214. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  215. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  216. 2022-09-20 10:42:09.271112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  217. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  218. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  219. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  220. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  221. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  222. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  223. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  224. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  225. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  226. 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
  227. 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
  228. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  229. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  230. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  231. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  232. 2022-09-20 10:42:09.271112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  233. 2022-09-20 10:42:09.271112 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  234. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....61457570959
  235. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....61457570959
  236. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  237. 2022-09-20 10:42:09.271112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  238. 2022-09-20 10:42:09.271112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  239. 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"?>
  240. <document type="freeswitch/xml">
  241. <section name="dialplan" description="ASTPP Dialplan">
  242. <context name="default">
  243. <extension name="61390084207">
  244. <condition field="destination_number" expression="61390084207">
  245. <action application="set" data="effective_destination_number=61390084207"/>
  246. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  247. <action application="set" data="nibble_account=851"/>
  248. <action application="set" data="nibble_rate=0.00000"/>
  249. <action application="set" data="nibble_increment=60"/>
  250. <action application="set" data="nibble_minimum=0.00000"/>
  251. <action application="nibblebill" data="heartbeat 60"/>
  252. <action application="set" data="callstart=2022-09-20 07:42:09"/>
  253. <action application="set" data="hangup_after_bridge=true"/>
  254. <action application="set" data="continue_on_fail=TRUE"/>
  255. <action application="set" data="account_id=851"/>
  256. <action application="set" data="parent_id=0"/>
  257. <action application="set" data="entity_id=0"/>
  258. <action application="set" data="call_processed=internal"/>
  259. <action application="set" data="call_direction=inbound"/>
  260. <action application="set" data="accountname=default"/>
  261. <action application="set" data="filename1=astpp.pbx.lua"/>
  262. <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"/>
  263. <action application="set" data="origination_rates=0"/>
  264. <action application="set" data="original_caller_id_name=61457570959"/>
  265. <action application="set" data="original_caller_id_number=61457570959"/>
  266. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  267. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  268. <action application="set" data="effective_caller_id_name=61457570959"/>
  269. <action application="set" data="effective_caller_id_number=61457570959"/>
  270. <action application="set" data="receiver_accid=851"/>
  271. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  272. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  273. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14"/>
  274. <action application="export" data="call_type=2"/>
  275. <action application="set" data="calltype=DIRECT-IP"/>
  276. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/61390084207@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
  277. </condition>
  278. </extension>
  279. </context>
  280. </document>
  281. 2022-09-20 10:42:09.271112 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c813d690 released.
  282. Dialplan: sofia/default/61457570959@46.19.209.14 parsing [default->61390084207] continue=false
  283. Dialplan: sofia/default/61457570959@46.19.209.14 Regex (PASS) [61390084207] destination_number(61390084207) =~ /61390084207/ break=on-false
  284. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_destination_number=61390084207)
  285. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  286. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_account=851)
  287. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_rate=0.00000)
  288. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_increment=60)
  289. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(nibble_minimum=0.00000)
  290. Dialplan: sofia/default/61457570959@46.19.209.14 Action nibblebill(heartbeat 60)
  291. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(callstart=2022-09-20 07:42:09)
  292. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(hangup_after_bridge=true)
  293. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(continue_on_fail=TRUE)
  294. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(account_id=851)
  295. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(parent_id=0)
  296. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(entity_id=0)
  297. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(call_processed=internal)
  298. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(call_direction=inbound)
  299. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(accountname=default)
  300. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(filename1=astpp.pbx.lua)
  301. 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)
  302. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(origination_rates=0)
  303. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(original_caller_id_name=61457570959)
  304. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(original_caller_id_number=61457570959)
  305. Dialplan: sofia/default/61457570959@46.19.209.14 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  306. Dialplan: sofia/default/61457570959@46.19.209.14 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  307. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_caller_id_name=61457570959)
  308. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(effective_caller_id_number=61457570959)
  309. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(receiver_accid=851)
  310. Dialplan: sofia/default/61457570959@46.19.209.14 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  311. Dialplan: sofia/default/61457570959@46.19.209.14 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  312. 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)
  313. Dialplan: sofia/default/61457570959@46.19.209.14 Action export(call_type=2)
  314. Dialplan: sofia/default/61457570959@46.19.209.14 Action set(calltype=DIRECT-IP)
  315. 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)
  316. 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
  317. 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
  318. 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)
  319. 2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:650 (sofia/default/61457570959@46.19.209.14) State EXECUTE
  320. 2022-09-20 10:42:09.271112 [DEBUG] mod_sofia.c:198 sofia/default/61457570959@46.19.209.14 SOFIA EXECUTE
  321. 2022-09-20 10:42:09.271112 [DEBUG] switch_core_state_machine.c:328 sofia/default/61457570959@46.19.209.14 Standard EXECUTE
  322. EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_destination_number=61390084207)
  323. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [effective_destination_number]=[61390084207]
  324. EXECUTE sofia/default/61457570959@46.19.209.14 set(execute_on_answer=sched_hangup +10800 normal_clearing)
  325. 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]
  326. EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_account=851)
  327. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_account]=[851]
  328. EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_rate=0.00000)
  329. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_rate]=[0.00000]
  330. EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_increment=60)
  331. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_increment]=[60]
  332. EXECUTE sofia/default/61457570959@46.19.209.14 set(nibble_minimum=0.00000)
  333. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [nibble_minimum]=[0.00000]
  334. EXECUTE sofia/default/61457570959@46.19.209.14 nibblebill(heartbeat 60)
  335. 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.
  336. 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
  337. EXECUTE sofia/default/61457570959@46.19.209.14 set(callstart=2022-09-20 07:42:09)
  338. 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]
  339. EXECUTE sofia/default/61457570959@46.19.209.14 set(hangup_after_bridge=true)
  340. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [hangup_after_bridge]=[true]
  341. EXECUTE sofia/default/61457570959@46.19.209.14 set(continue_on_fail=TRUE)
  342. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [continue_on_fail]=[TRUE]
  343. EXECUTE sofia/default/61457570959@46.19.209.14 set(account_id=851)
  344. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [account_id]=[851]
  345. EXECUTE sofia/default/61457570959@46.19.209.14 set(parent_id=0)
  346. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [parent_id]=[0]
  347. EXECUTE sofia/default/61457570959@46.19.209.14 set(entity_id=0)
  348. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [entity_id]=[0]
  349. EXECUTE sofia/default/61457570959@46.19.209.14 set(call_processed=internal)
  350. 2022-09-20 10:42:09.271112 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [call_processed]=[internal]
  351. EXECUTE sofia/default/61457570959@46.19.209.14 set(call_direction=inbound)
  352. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [call_direction]=[inbound]
  353. EXECUTE sofia/default/61457570959@46.19.209.14 set(accountname=default)
  354. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [accountname]=[default]
  355. EXECUTE sofia/default/61457570959@46.19.209.14 set(filename1=astpp.pbx.lua)
  356. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [filename1]=[astpp.pbx.lua]
  357. 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)
  358. 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]
  359. EXECUTE sofia/default/61457570959@46.19.209.14 set(origination_rates=0)
  360. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [origination_rates]=[0]
  361. EXECUTE sofia/default/61457570959@46.19.209.14 set(original_caller_id_name=61457570959)
  362. 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]
  363. EXECUTE sofia/default/61457570959@46.19.209.14 set(original_caller_id_number=61457570959)
  364. 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]
  365. EXECUTE sofia/default/61457570959@46.19.209.14 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  366. 2022-09-20 10:42:09.291115 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  367. 2022-09-20 10:42:09.291115 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
  368. EXECUTE sofia/default/61457570959@46.19.209.14 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  369. 2022-09-20 10:42:09.291115 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  370. 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
  371. EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_caller_id_name=61457570959)
  372. 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]
  373. EXECUTE sofia/default/61457570959@46.19.209.14 set(effective_caller_id_number=61457570959)
  374. 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]
  375. EXECUTE sofia/default/61457570959@46.19.209.14 set(receiver_accid=851)
  376. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [receiver_accid]=[851]
  377. EXECUTE sofia/default/61457570959@46.19.209.14 export(domain_name=Voicespin802.newsip.israelnumber.com)
  378. 2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  379. EXECUTE sofia/default/61457570959@46.19.209.14 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  380. 2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  381. EXECUTE sofia/default/61457570959@46.19.209.14 export(presence_data=x|||Voicespin(259715977962)|||^61390084207.* // Melbourne Landline // 0.00000||||||DID|||46.19.209.14)
  382. 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]
  383. EXECUTE sofia/default/61457570959@46.19.209.14 export(call_type=2)
  384. 2022-09-20 10:42:09.291115 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  385. EXECUTE sofia/default/61457570959@46.19.209.14 set(calltype=DIRECT-IP)
  386. 2022-09-20 10:42:09.291115 [DEBUG] mod_dptools.c:1548 SET sofia/default/61457570959@46.19.209.14 [calltype]=[DIRECT-IP]
  387. 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)
  388. 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
  389. 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
  390. 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
  391. 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
  392. 2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  393. 2022-09-20 10:42:09.291115 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  394. 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]
  395. 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
  396. 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
  397. 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)
  398. 2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:627 (sofia/default/61390084207@35.205.116.118) State INIT
  399. 2022-09-20 10:42:09.291115 [DEBUG] mod_sofia.c:90 sofia/default/61390084207@35.205.116.118 SOFIA INIT
  400. 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
  401. 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
  402. Local SDP:
  403. v=0
  404. o=FreeSWITCH 1663642591 1663642592 IN IP4 89.46.223.193
  405. s=FreeSWITCH
  406. c=IN IP4 89.46.223.193
  407. t=0 0
  408. m=audio 17138 RTP/AVP 0 101
  409. a=rtpmap:0 PCMU/8000
  410. a=rtpmap:101 telephone-event/8000
  411. a=fmtp:101 0-16
  412. a=ptime:20
  413. a=sendrecv
  414.  
  415. 2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:40 sofia/default/61390084207@35.205.116.118 Standard INIT
  416. 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
  417. 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
  418. 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)
  419. 2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:643 (sofia/default/61390084207@35.205.116.118) State ROUTING
  420. 2022-09-20 10:42:09.291115 [DEBUG] mod_sofia.c:143 sofia/default/61390084207@35.205.116.118 SOFIA ROUTING
  421. 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
  422. 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
  423. 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)
  424. 2022-09-20 10:42:09.291115 [DEBUG] switch_core_state_machine.c:662 (sofia/default/61390084207@35.205.116.118) State CONSUME_MEDIA
  425. 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
  426. 2022-09-20 10:42:09.291115 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [calling][0]
  427. 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
  428. 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
  429. You must define a domain called '89.46.223.193' in your directory and add a user with the id="318" attribute
  430. and you must configure your device to use the proper domain in it's authentication credentials.
  431. 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
  432. 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
  433. You must define a domain called '89.46.223.193' in your directory and add a user with the id="209" attribute
  434. and you must configure your device to use the proper domain in it's authentication credentials.
  435. 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
  436. 2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [completing][200]
  437. 2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7094 Remote SDP:
  438. v=0
  439. o=root 294076698 294076698 IN IP4 132.145.241.24
  440. s=Asterisk PBX 13.29.2
  441. c=IN IP4 132.145.241.24
  442. t=0 0
  443. m=audio 17062 RTP/AVP 0 101
  444. a=rtpmap:0 PCMU/8000
  445. a=rtpmap:101 telephone-event/8000
  446. a=fmtp:101 0-16
  447. a=ptime:20
  448. a=maxptime:150
  449.  
  450. 2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61390084207@35.205.116.118 entering state [ready][200]
  451. 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]
  452. 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
  453. 2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  454. 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
  455. 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
  456. 2022-09-20 10:42:09.871113 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  457. 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
  458. 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
  459. 2022-09-20 10:42:09.871113 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  460. 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
  461. 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
  462. 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
  463. 2022-09-20 10:42:09.871113 [NOTICE] sofia.c:8218 Channel [sofia/default/61390084207@35.205.116.118] has been answered
  464. 2022-09-20 10:42:09.871113 [DEBUG] switch_channel.c:3773 (sofia/default/61390084207@35.205.116.118) Callstate Change DOWN -> ACTIVE
  465. 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
  466. 2022-09-20 10:42:09.871113 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  467. 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
  468. 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
  469. 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
  470. 2022-09-20 10:42:09.871113 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/61457570959@46.19.209.14:
  471. v=0
  472. o=FreeSWITCH 1663639863 1663639864 IN IP4 89.46.223.193
  473. s=FreeSWITCH
  474. c=IN IP4 89.46.223.193
  475. t=0 0
  476. m=audio 19866 RTP/AVP 0 101
  477. a=rtpmap:0 PCMU/8000
  478. a=rtpmap:101 telephone-event/8000
  479. a=fmtp:101 0-16
  480. a=ptime:20
  481. a=sendrecv
  482.  
  483. 2022-09-20 10:42:09.871113 [NOTICE] switch_ivr_originate.c:3647 Channel [sofia/default/61457570959@46.19.209.14] has been answered
  484. EXECUTE sofia/default/61457570959@46.19.209.14 sched_hangup(+10800 normal_clearing)
  485. 2022-09-20 10:42:09.871113 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [completed][200]
  486. 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
  487. 2022-09-20 10:42:09.871113 [DEBUG] switch_channel.c:3773 (sofia/default/61457570959@46.19.209.14) Callstate Change RINGING -> ACTIVE
  488. 2022-09-20 10:42:09.871113 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/61390084207@35.205.116.118]
  489. 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
  490. 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)
  491. 2022-09-20 10:42:09.871113 [DEBUG] switch_core_state_machine.c:653 (sofia/default/61390084207@35.205.116.118) State EXCHANGE_MEDIA
  492. 2022-09-20 10:42:09.871113 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  493. 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
  494. 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
  495. You must define a domain called '89.46.223.193' in your directory and add a user with the id="307" attribute
  496. and you must configure your device to use the proper domain in it's authentication credentials.
  497. 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
  498. 2022-09-20 10:42:10.351112 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  499. 2022-09-20 10:42:10.411114 [DEBUG] sofia.c:7084 Channel sofia/default/61457570959@46.19.209.14 entering state [ready][200]
  500. 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]
  501. 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)
  502. 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
  503. 2022-09-20 10:42:11.051121 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  504. 2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
  505. 2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7094 Remote SDP:
  506. v=0
  507. o=PortaSIP 1027970953303666882 1 IN IP4 203.60.13.99
  508. s=DIDXL
  509. t=0 0
  510. m=audio 47984 RTP/AVP 8 0 18 101
  511. c=IN IP4 203.60.13.99
  512. a=rtpmap:8 PCMA/8000
  513. a=rtpmap:0 PCMU/8000
  514. a=rtpmap:18 G729/8000
  515. a=fmtp:18 annexb=no
  516. a=rtpmap:101 telephone-event/8000
  517. a=fmtp:101 0-16
  518. a=ptime:20
  519. a=maxptime:150
  520.  
  521. 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]
  522. 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
  523. 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]
  524. 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]
  525. 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]
  526. 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
  527. 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]
  528. 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]
  529. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  530. 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
  531. 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
  532. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  533. 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
  534. 2022-09-20 10:42:11.051121 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
  535. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
  536. 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)
  537. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
  538. 2022-09-20 10:42:11.051121 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
  539. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
  540. 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
  541. 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
  542. 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)
  543. 2022-09-20 10:42:11.051121 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
  544. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
  545. 2022-09-20 10:42:11.051121 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
  546. 2022-09-20 10:42:11.051121 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
  547. 2022-09-20 10:42:11.051121 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
  548. 2022-09-20 10:42:11.051121 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c813d690 Connected.
  549. 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')
  550. 2022-09-20 10:42:11.051121 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  551. 2022-09-20 10:42:11.051121 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  552. 2022-09-20 10:42:11.051121 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
  553. 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
  554. 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
  555. 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
  556. 2022-09-20 10:42:11.071120 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  557. 2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +818090110851 / +818090110851
  558. 2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  559. 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
  560. 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
  561. 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
  562. 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
  563. 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
  564. 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
  565. 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
  566. 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
  567. 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
  568. 2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  569. 2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
  570. 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
  571. 2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  572. 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
  573. 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
  574. 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
  575. 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
  576. 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
  577. 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
  578. 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
  579. 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
  580. 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
  581. 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
  582. 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
  583. 2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
  584. 2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  585. 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
  586. 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
  587. 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
  588. 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
  589. 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
  590. 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
  591. 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
  592. 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
  593. 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
  594. 2022-09-20 10:42:11.071120 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  595. 2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  596. 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
  597. 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
  598. 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
  599. 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
  600. 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
  601. 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
  602. 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
  603. 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
  604. 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
  605. 2022-09-20 10:42:11.071120 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  606. 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
  607. 2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  608. 2022-09-20 10:42:11.071120 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  609. 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
  610. 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
  611. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  612. 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
  613. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  614. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  615. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  616. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  617. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  618. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  619. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  620. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  621. 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
  622. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  623. 2022-09-20 10:42:11.091129 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  624. 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
  625. 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
  626. 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
  627. 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
  628. 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
  629. 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
  630. 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
  631. 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
  632. 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
  633. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  634. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  635. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
  636. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  637. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  638. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  639. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
  640. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
  641. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  642. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  643. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  644. 2022-09-20 10:42:11.091129 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  645. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  646. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  647. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  648. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  649. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  650. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  651. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  652. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  653. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  654. 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
  655. 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
  656. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  657. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  658. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  659. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  660. 2022-09-20 10:42:11.091129 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  661. 2022-09-20 10:42:11.091129 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  662. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  663. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  664. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  665. 2022-09-20 10:42:11.091129 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  666. 2022-09-20 10:42:11.091129 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  667. 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"?>
  668. <document type="freeswitch/xml">
  669. <section name="dialplan" description="ASTPP Dialplan">
  670. <context name="default">
  671. <extension name="81345655200">
  672. <condition field="destination_number" expression="81345655200">
  673. <action application="set" data="effective_destination_number=81345655200"/>
  674. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  675. <action application="set" data="nibble_account=851"/>
  676. <action application="set" data="nibble_rate=0.00000"/>
  677. <action application="set" data="nibble_increment=60"/>
  678. <action application="set" data="nibble_minimum=0.00000"/>
  679. <action application="nibblebill" data="heartbeat 60"/>
  680. <action application="set" data="callstart=2022-09-20 07:42:11"/>
  681. <action application="set" data="hangup_after_bridge=true"/>
  682. <action application="set" data="continue_on_fail=TRUE"/>
  683. <action application="set" data="account_id=851"/>
  684. <action application="set" data="parent_id=0"/>
  685. <action application="set" data="entity_id=0"/>
  686. <action application="set" data="call_processed=internal"/>
  687. <action application="set" data="call_direction=inbound"/>
  688. <action application="set" data="accountname=default"/>
  689. <action application="set" data="filename1=astpp.pbx.lua"/>
  690. <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"/>
  691. <action application="set" data="origination_rates=0"/>
  692. <action application="set" data="original_caller_id_name=+818090110851"/>
  693. <action application="set" data="original_caller_id_number=+818090110851"/>
  694. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  695. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  696. <action application="set" data="effective_caller_id_name=+818090110851"/>
  697. <action application="set" data="effective_caller_id_number=+818090110851"/>
  698. <action application="set" data="receiver_accid=851"/>
  699. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  700. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  701. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
  702. <action application="export" data="call_type=2"/>
  703. <action application="set" data="calltype=DIRECT-IP"/>
  704. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
  705. </condition>
  706. </extension>
  707. </context>
  708. </document>
  709. 2022-09-20 10:42:11.091129 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c813d690 released.
  710. Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
  711. Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
  712. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
  713. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  714. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
  715. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
  716. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
  717. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
  718. Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
  719. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:42:11)
  720. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
  721. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
  722. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
  723. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
  724. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
  725. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
  726. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
  727. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
  728. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
  729. 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)
  730. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
  731. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
  732. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
  733. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  734. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  735. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
  736. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
  737. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
  738. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  739. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  740. 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)
  741. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
  742. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
  743. 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)
  744. 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
  745. 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
  746. 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)
  747. 2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
  748. 2022-09-20 10:42:11.091129 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
  749. 2022-09-20 10:42:11.091129 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
  750. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
  751. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
  752. EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
  753. 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]
  754. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
  755. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
  756. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
  757. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
  758. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
  759. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
  760. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
  761. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
  762. EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
  763. 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.
  764. 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
  765. EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:42:11)
  766. 2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  767. 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]
  768. 2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  769. 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
  770. 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)
  771. 2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:395 Doing update query
  772. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  773. EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
  774. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
  775. EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
  776. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
  777. EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
  778. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
  779. EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
  780. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
  781. EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
  782. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
  783. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
  784. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
  785. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
  786. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
  787. EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
  788. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
  789. EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
  790. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
  791. 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)
  792. 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]
  793. EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
  794. 2022-09-20 10:42:11.091129 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
  795. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
  796. 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]
  797. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
  798. 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]
  799. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  800. 2022-09-20 10:42:11.091129 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  801. 2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  802. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  803. 2022-09-20 10:42:11.091129 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.147500)
  804. 2022-09-20 10:42:11.111112 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
  805. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  806. 2022-09-20 10:42:11.111112 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  807. 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
  808. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
  809. 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]
  810. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
  811. 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]
  812. EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
  813. 2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
  814. EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
  815. 2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  816. EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  817. 2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  818. EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
  819. 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]
  820. EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
  821. 2022-09-20 10:42:11.111112 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  822. EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
  823. 2022-09-20 10:42:11.111112 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
  824. 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)
  825. 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
  826. 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
  827. 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
  828. 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
  829. 2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  830. 2022-09-20 10:42:11.111112 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  831. 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]
  832. 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
  833. 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
  834. 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)
  835. 2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
  836. 2022-09-20 10:42:11.111112 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
  837. 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
  838. 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
  839. Local SDP:
  840. v=0
  841. o=FreeSWITCH 1663642661 1663642662 IN IP4 89.46.223.193
  842. s=FreeSWITCH
  843. c=IN IP4 89.46.223.193
  844. t=0 0
  845. m=audio 17070 RTP/AVP 8 101
  846. a=rtpmap:8 PCMA/8000
  847. a=rtpmap:101 telephone-event/8000
  848. a=fmtp:101 0-16
  849. a=ptime:20
  850. a=sendrecv
  851.  
  852. 2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
  853. 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
  854. 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
  855. 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)
  856. 2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
  857. 2022-09-20 10:42:11.111112 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
  858. 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
  859. 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
  860. 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)
  861. 2022-09-20 10:42:11.111112 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
  862. 2022-09-20 10:42:11.111112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
  863. 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
  864. 2022-09-20 10:42:11.571110 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
  865. 2022-09-20 10:42:11.571110 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
  866. 2022-09-20 10:42:11.571110 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
  867. 2022-09-20 10:42:11.591160 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
  868. 2022-09-20 10:42:11.591160 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
  869. 2022-09-20 10:42:11.611116 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
  870. 2022-09-20 10:42:16.331601 [NOTICE] sofia.c:1012 Hangup sofia/default/61390084207@35.205.116.118 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  871. 2022-09-20 10:42:16.331601 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/61390084207@35.205.116.118]
  872. 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
  873. 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)
  874. 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
  875. 2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61390084207@35.205.116.118) State HANGUP
  876. 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
  877. 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
  878. 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
  879. 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
  880. 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)
  881. 2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61390084207@35.205.116.118) State REPORTING
  882. 2022-09-20 10:42:16.331601 [INFO] mod_json_cdr.c:271 Process [bb6cd21c-38b7-11ed-b76f-ef396ca3ea52.cdr.json]
  883. 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
  884. 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
  885. 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
  886. 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
  887. 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
  888. 2022-09-20 10:42:16.331601 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/61457570959@46.19.209.14]
  889. 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]
  890. 2022-09-20 10:42:16.331601 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
  891. 2022-09-20 10:42:16.331601 [NOTICE] switch_core_session.c:1683 Session 79036 (sofia/default/61390084207@35.205.116.118) Ended
  892. 2022-09-20 10:42:16.331601 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/61390084207@35.205.116.118 [CS_DESTROY]
  893. 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)
  894. 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
  895. 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)
  896. 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)
  897. 2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61390084207@35.205.116.118) State DESTROY
  898. 2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:343 sofia/default/61390084207@35.205.116.118 SOFIA DESTROY
  899. 2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:181 sofia/default/61390084207@35.205.116.118 Standard DESTROY
  900. 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
  901. 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
  902. 2022-09-20 10:42:16.331601 [DEBUG] switch_core_state_machine.c:852 (sofia/default/61457570959@46.19.209.14) State HANGUP
  903. 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
  904. 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
  905. 2022-09-20 10:42:16.331601 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/61457570959@46.19.209.14
  906. 2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  907. 2022-09-20 10:42:16.331601 [INFO] mod_nibblebill.c:565 Beginning new billing on bb65e90c-38b7-11ed-b74a-ef396ca3ea52
  908. 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
  909. 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)
  910. 2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:395 Doing update query
  911. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='851']
  912. 2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:395 Doing update query
  913. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='851']
  914. 2022-09-20 10:42:16.331601 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  915. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  916. 2022-09-20 10:42:16.371110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  917. 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
  918. 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
  919. 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
  920. 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)
  921. 2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/61457570959@46.19.209.14) State REPORTING
  922. 2022-09-20 10:42:16.371110 [INFO] mod_json_cdr.c:271 Process [bb65e90c-38b7-11ed-b74a-ef396ca3ea52.cdr.json]
  923. 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
  924. 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
  925. 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
  926. 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
  927. 2022-09-20 10:42:16.371110 [NOTICE] switch_core_session.c:1683 Session 79035 (sofia/default/61457570959@46.19.209.14) Ended
  928. 2022-09-20 10:42:16.371110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/61457570959@46.19.209.14 [CS_DESTROY]
  929. 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)
  930. 2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/61457570959@46.19.209.14) State DESTROY
  931. 2022-09-20 10:42:16.371110 [DEBUG] mod_sofia.c:343 sofia/default/61457570959@46.19.209.14 SOFIA DESTROY
  932. 2022-09-20 10:42:16.371110 [DEBUG] switch_core_state_machine.c:181 sofia/default/61457570959@46.19.209.14 Standard DESTROY
  933. 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
  934. 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)
  935. 2022-09-20 10:42:16.591113 [DEBUG] switch_scheduler.c:144 Deleting task 12616 switch_ivr_schedule_hangup (bb65e90c-38b7-11ed-b74a-ef396ca3ea52)
  936. 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
  937. 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]
  938. 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)
  939. 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
  940. 2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/trunk_1@89.46.223.193) State HANGUP
  941. 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
  942. 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
  943. 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
  944. 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
  945. 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)
  946. 2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/trunk_1@89.46.223.193) State REPORTING
  947. 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
  948. 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
  949. 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
  950. 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
  951. 2022-09-20 10:42:18.711111 [NOTICE] switch_core_session.c:1683 Session 79034 (sofia/default/trunk_1@89.46.223.193) Ended
  952. 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]
  953. 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)
  954. 2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/trunk_1@89.46.223.193) State DESTROY
  955. 2022-09-20 10:42:18.711111 [DEBUG] mod_sofia.c:343 sofia/default/trunk_1@89.46.223.193 SOFIA DESTROY
  956. 2022-09-20 10:42:18.711111 [DEBUG] switch_core_state_machine.c:181 sofia/default/trunk_1@89.46.223.193 Standard DESTROY
  957. 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
  958. 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
  959. 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
  960. You must define a domain called '89.46.223.193' in your directory and add a user with the id="340" attribute
  961. and you must configure your device to use the proper domain in it's authentication credentials.
  962. 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
  963. 2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  964. 2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  965. 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
  966. 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)
  967. 2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:395 Doing update query
  968. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  969. 2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  970. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  971. 2022-09-20 10:42:21.091110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.144170)
  972. 2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  973. 2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
  974. 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
  975. 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)
  976. 2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:395 Doing update query
  977. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
  978. 2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  979. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
  980. 2022-09-20 10:42:30.091115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
  981. 2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  982. 2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  983. 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
  984. 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)
  985. 2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:395 Doing update query
  986. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  987. 2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  988. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  989. 2022-09-20 10:42:31.091109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.140840)
  990. 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
  991. 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
  992. You must define a domain called '89.46.223.193' in your directory and add a user with the id="121" attribute
  993. and you must configure your device to use the proper domain in it's authentication credentials.
  994. 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
  995. 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
  996. 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
  997. You must define a domain called '89.46.223.193' in your directory and add a user with the id="151" attribute
  998. and you must configure your device to use the proper domain in it's authentication credentials.
  999. 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
  1000. 2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  1001. 2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
  1002. 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
  1003. 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)
  1004. 2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:395 Doing update query
  1005. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
  1006. 2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1007. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
  1008. 2022-09-20 10:42:34.091202 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
  1009. 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
  1010. 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
  1011. You must define a domain called '89.46.223.193' in your directory and add a user with the id="321" attribute
  1012. and you must configure your device to use the proper domain in it's authentication credentials.
  1013. 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
  1014. 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
  1015. 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
  1016. You must define a domain called '89.46.223.193' in your directory and add a user with the id="257" attribute
  1017. and you must configure your device to use the proper domain in it's authentication credentials.
  1018. 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
  1019. 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
  1020. 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
  1021. You must define a domain called '89.46.223.193' in your directory and add a user with the id="test" attribute
  1022. and you must configure your device to use the proper domain in it's authentication credentials.
  1023. 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
  1024. 2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  1025. 2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  1026. 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
  1027. 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)
  1028. 2022-09-20 10:42:41.091108 [DEBUG] mod_nibblebill.c:395 Doing update query
  1029. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  1030. 2022-09-20 10:42:41.111112 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1031. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  1032. 2022-09-20 10:42:41.111112 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.137510)
  1033. 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]
  1034. 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)
  1035. 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
  1036. 2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
  1037. 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
  1038. 2022-09-20 10:42:42.011111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
  1039. 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
  1040. 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
  1041. 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
  1042. 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)
  1043. 2022-09-20 10:42:42.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
  1044. 2022-09-20 10:42:42.011111 [INFO] mod_json_cdr.c:271 Process [bc824b14-38b7-11ed-b79f-ef396ca3ea52.cdr.json]
  1045. 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
  1046. 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
  1047. 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
  1048. 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
  1049. 2022-09-20 10:42:42.031109 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
  1050. 2022-09-20 10:42:42.031109 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  1051. 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.
  1052. 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]
  1053. 2022-09-20 10:42:42.031109 [NOTICE] switch_core_session.c:1683 Session 79038 (sofia/default/81345655200@35.205.116.118) Ended
  1054. 2022-09-20 10:42:42.031109 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
  1055. 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)
  1056. 2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
  1057. 2022-09-20 10:42:42.031109 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
  1058. 2022-09-20 10:42:42.031109 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
  1059. 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
  1060. 2022-09-20 10:42:42.091111 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
  1061. 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
  1062. 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)
  1063. 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
  1064. 2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
  1065. 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
  1066. 2022-09-20 10:42:42.091111 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  1067. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  1068. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  1069. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1070. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  1071. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  1072. 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
  1073. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1074. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  1075. 2022-09-20 10:42:42.091111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  1076. 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
  1077. 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
  1078. 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
  1079. 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)
  1080. 2022-09-20 10:42:42.091111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
  1081. 2022-09-20 10:42:42.091111 [INFO] mod_json_cdr.c:271 Process [bc797412-38b7-11ed-b77a-ef396ca3ea52.cdr.json]
  1082. 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
  1083. 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
  1084. 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
  1085. 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
  1086. 2022-09-20 10:42:42.111108 [NOTICE] switch_core_session.c:1683 Session 79037 (sofia/default/+818090110851@203.60.13.98) Ended
  1087. 2022-09-20 10:42:42.111108 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
  1088. 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)
  1089. 2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
  1090. 2022-09-20 10:42:42.111108 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
  1091. 2022-09-20 10:42:42.111108 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
  1092. 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
  1093. 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)
  1094. 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
  1095. 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
  1096. 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
  1097. You must define a domain called '89.46.223.193' in your directory and add a user with the id="188" attribute
  1098. and you must configure your device to use the proper domain in it's authentication credentials.
  1099. 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
  1100. 2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  1101. 2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  1102. 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
  1103. 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)
  1104. 2022-09-20 10:42:51.091112 [DEBUG] mod_nibblebill.c:395 Doing update query
  1105. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  1106. 2022-09-20 10:42:51.111113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1107. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  1108. 2022-09-20 10:42:51.111113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.134180)
  1109. 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]
  1110. 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)
  1111. 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
  1112. 2022-09-20 10:42:52.831110 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  1113. 2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
  1114. 2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7094 Remote SDP:
  1115. v=0
  1116. o=PortaSIP 1196462542445705516 1 IN IP4 203.60.13.99
  1117. s=DIDXL
  1118. t=0 0
  1119. m=audio 11080 RTP/AVP 8 0 18 101
  1120. c=IN IP4 203.60.13.99
  1121. a=rtpmap:8 PCMA/8000
  1122. a=rtpmap:0 PCMU/8000
  1123. a=rtpmap:18 G729/8000
  1124. a=fmtp:18 annexb=no
  1125. a=rtpmap:101 telephone-event/8000
  1126. a=fmtp:101 0-16
  1127. a=ptime:20
  1128. a=maxptime:150
  1129.  
  1130. 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]
  1131. 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
  1132. 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]
  1133. 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]
  1134. 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]
  1135. 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
  1136. 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]
  1137. 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]
  1138. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1139. 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
  1140. 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
  1141. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1142. 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
  1143. 2022-09-20 10:42:52.851107 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
  1144. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
  1145. 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)
  1146. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
  1147. 2022-09-20 10:42:52.851107 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
  1148. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
  1149. 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
  1150. 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
  1151. 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)
  1152. 2022-09-20 10:42:52.851107 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
  1153. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
  1154. 2022-09-20 10:42:52.851107 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
  1155. 2022-09-20 10:42:52.851107 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
  1156. 2022-09-20 10:42:52.851107 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
  1157. 2022-09-20 10:42:52.851107 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  1158. 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')
  1159. 2022-09-20 10:42:52.851107 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1160. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1161. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
  1162. 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
  1163. 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
  1164. 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
  1165. 2022-09-20 10:42:52.851107 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  1166. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +818090110851 / +818090110851
  1167. 2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1168. 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
  1169. 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
  1170. 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
  1171. 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
  1172. 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
  1173. 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
  1174. 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
  1175. 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
  1176. 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
  1177. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  1178. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
  1179. 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
  1180. 2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1181. 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
  1182. 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
  1183. 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
  1184. 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
  1185. 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
  1186. 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
  1187. 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
  1188. 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
  1189. 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
  1190. 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
  1191. 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
  1192. 2022-09-20 10:42:52.851107 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
  1193. 2022-09-20 10:42:52.851107 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1194. 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
  1195. 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
  1196. 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
  1197. 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
  1198. 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
  1199. 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
  1200. 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
  1201. 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
  1202. 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
  1203. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  1204. 2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1205. 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
  1206. 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
  1207. 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
  1208. 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
  1209. 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
  1210. 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
  1211. 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
  1212. 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
  1213. 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
  1214. 2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  1215. 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
  1216. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  1217. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  1218. 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
  1219. 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
  1220. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1221. 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
  1222. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1223. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  1224. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  1225. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  1226. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1227. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  1228. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1229. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1230. 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
  1231. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1232. 2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1233. 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
  1234. 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
  1235. 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
  1236. 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
  1237. 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
  1238. 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
  1239. 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
  1240. 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
  1241. 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
  1242. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  1243. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1244. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
  1245. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1246. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1247. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1248. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
  1249. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
  1250. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  1251. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1252. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  1253. 2022-09-20 10:42:52.871114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  1254. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  1255. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  1256. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  1257. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  1258. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  1259. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  1260. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  1261. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1262. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1263. 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
  1264. 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
  1265. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  1266. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  1267. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  1268. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1269. 2022-09-20 10:42:52.871114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1270. 2022-09-20 10:42:52.871114 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  1271. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  1272. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  1273. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1274. 2022-09-20 10:42:52.871114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1275. 2022-09-20 10:42:52.871114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  1276. 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"?>
  1277. <document type="freeswitch/xml">
  1278. <section name="dialplan" description="ASTPP Dialplan">
  1279. <context name="default">
  1280. <extension name="81345655200">
  1281. <condition field="destination_number" expression="81345655200">
  1282. <action application="set" data="effective_destination_number=81345655200"/>
  1283. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  1284. <action application="set" data="nibble_account=851"/>
  1285. <action application="set" data="nibble_rate=0.00000"/>
  1286. <action application="set" data="nibble_increment=60"/>
  1287. <action application="set" data="nibble_minimum=0.00000"/>
  1288. <action application="nibblebill" data="heartbeat 60"/>
  1289. <action application="set" data="callstart=2022-09-20 07:42:52"/>
  1290. <action application="set" data="hangup_after_bridge=true"/>
  1291. <action application="set" data="continue_on_fail=TRUE"/>
  1292. <action application="set" data="account_id=851"/>
  1293. <action application="set" data="parent_id=0"/>
  1294. <action application="set" data="entity_id=0"/>
  1295. <action application="set" data="call_processed=internal"/>
  1296. <action application="set" data="call_direction=inbound"/>
  1297. <action application="set" data="accountname=default"/>
  1298. <action application="set" data="filename1=astpp.pbx.lua"/>
  1299. <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"/>
  1300. <action application="set" data="origination_rates=0"/>
  1301. <action application="set" data="original_caller_id_name=+818090110851"/>
  1302. <action application="set" data="original_caller_id_number=+818090110851"/>
  1303. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  1304. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  1305. <action application="set" data="effective_caller_id_name=+818090110851"/>
  1306. <action application="set" data="effective_caller_id_number=+818090110851"/>
  1307. <action application="set" data="receiver_accid=851"/>
  1308. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  1309. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  1310. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
  1311. <action application="export" data="call_type=2"/>
  1312. <action application="set" data="calltype=DIRECT-IP"/>
  1313. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
  1314. </condition>
  1315. </extension>
  1316. </context>
  1317. </document>
  1318. 2022-09-20 10:42:52.871114 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  1319. Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
  1320. Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
  1321. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
  1322. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  1323. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
  1324. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
  1325. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
  1326. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
  1327. Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
  1328. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:42:52)
  1329. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
  1330. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
  1331. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
  1332. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
  1333. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
  1334. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
  1335. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
  1336. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
  1337. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
  1338. 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)
  1339. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
  1340. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
  1341. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
  1342. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  1343. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  1344. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
  1345. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
  1346. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
  1347. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  1348. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1349. 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)
  1350. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
  1351. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
  1352. 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)
  1353. 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
  1354. 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
  1355. 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)
  1356. 2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
  1357. 2022-09-20 10:42:52.871114 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
  1358. 2022-09-20 10:42:52.871114 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
  1359. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
  1360. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
  1361. EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
  1362. 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]
  1363. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
  1364. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
  1365. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
  1366. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
  1367. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
  1368. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
  1369. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
  1370. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
  1371. EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
  1372. 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.
  1373. 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
  1374. EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:42:52)
  1375. 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]
  1376. EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
  1377. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
  1378. EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
  1379. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
  1380. EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
  1381. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
  1382. EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
  1383. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
  1384. EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
  1385. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
  1386. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
  1387. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
  1388. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
  1389. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
  1390. EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
  1391. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
  1392. EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
  1393. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
  1394. 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)
  1395. 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]
  1396. EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
  1397. 2022-09-20 10:42:52.871114 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
  1398. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
  1399. 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]
  1400. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
  1401. 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]
  1402. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  1403. 2022-09-20 10:42:52.871114 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  1404. 2022-09-20 10:42:52.891169 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
  1405. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  1406. 2022-09-20 10:42:52.891169 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  1407. 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
  1408. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
  1409. 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]
  1410. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
  1411. 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]
  1412. EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
  1413. 2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
  1414. EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
  1415. 2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  1416. EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1417. 2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  1418. EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
  1419. 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]
  1420. EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
  1421. 2022-09-20 10:42:52.891169 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  1422. EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
  1423. 2022-09-20 10:42:52.891169 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
  1424. 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)
  1425. 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
  1426. 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
  1427. 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
  1428. 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
  1429. 2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  1430. 2022-09-20 10:42:52.891169 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  1431. 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]
  1432. 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
  1433. 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
  1434. 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)
  1435. 2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
  1436. 2022-09-20 10:42:52.891169 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
  1437. 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
  1438. 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
  1439. Local SDP:
  1440. v=0
  1441. o=FreeSWITCH 1663640682 1663640683 IN IP4 89.46.223.193
  1442. s=FreeSWITCH
  1443. c=IN IP4 89.46.223.193
  1444. t=0 0
  1445. m=audio 19090 RTP/AVP 8 101
  1446. a=rtpmap:8 PCMA/8000
  1447. a=rtpmap:101 telephone-event/8000
  1448. a=fmtp:101 0-16
  1449. a=ptime:20
  1450. a=sendrecv
  1451.  
  1452. 2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
  1453. 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
  1454. 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
  1455. 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)
  1456. 2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
  1457. 2022-09-20 10:42:52.891169 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
  1458. 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
  1459. 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
  1460. 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)
  1461. 2022-09-20 10:42:52.891169 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
  1462. 2022-09-20 10:42:52.891169 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
  1463. 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
  1464. 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
  1465. 2022-09-20 10:42:53.331110 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
  1466. 2022-09-20 10:42:53.331110 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
  1467. 2022-09-20 10:42:53.331110 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
  1468. 2022-09-20 10:42:53.331110 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
  1469. 2022-09-20 10:42:53.331110 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
  1470. 2022-09-20 10:42:53.331110 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
  1471. 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]
  1472. 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)
  1473. 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
  1474. 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.
  1475. 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
  1476. 2022-09-20 10:42:53.751112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/4@89.46.223.193) State NEW
  1477. 2022-09-20 10:42:53.751112 [DEBUG] sofia.c:2334 detaching session d5ebeb46-38b7-11ed-b7dc-ef396ca3ea52
  1478. 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
  1479. You must define a domain called '89.46.223.193' in your directory and add a user with the id="336" attribute
  1480. and you must configure your device to use the proper domain in it's authentication credentials.
  1481. 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
  1482. 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
  1483. 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
  1484. You must define a domain called '89.46.223.193' in your directory and add a user with the id="115" attribute
  1485. and you must configure your device to use the proper domain in it's authentication credentials.
  1486. 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
  1487. 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
  1488. 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
  1489. You must define a domain called '89.46.223.193' in your directory and add a user with the id="144" attribute
  1490. and you must configure your device to use the proper domain in it's authentication credentials.
  1491. 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
  1492. 2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  1493. 2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  1494. 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
  1495. 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)
  1496. 2022-09-20 10:43:01.351439 [DEBUG] mod_nibblebill.c:395 Doing update query
  1497. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  1498. 2022-09-20 10:43:01.391430 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1499. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  1500. 2022-09-20 10:43:01.391430 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.130850)
  1501. 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
  1502. 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]
  1503. 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)
  1504. 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
  1505. 2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:852 (sofia/default/4@89.46.223.193) State HANGUP
  1506. 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
  1507. 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
  1508. 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
  1509. 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
  1510. 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)
  1511. 2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:938 (sofia/default/4@89.46.223.193) State REPORTING
  1512. 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
  1513. 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
  1514. 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
  1515. 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
  1516. 2022-09-20 10:43:03.791157 [NOTICE] switch_core_session.c:1683 Session 79041 (sofia/default/4@89.46.223.193) Ended
  1517. 2022-09-20 10:43:03.791157 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/4@89.46.223.193 [CS_DESTROY]
  1518. 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)
  1519. 2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:751 (sofia/default/4@89.46.223.193) State DESTROY
  1520. 2022-09-20 10:43:03.791157 [DEBUG] mod_sofia.c:343 sofia/default/4@89.46.223.193 SOFIA DESTROY
  1521. 2022-09-20 10:43:03.791157 [DEBUG] switch_core_state_machine.c:181 sofia/default/4@89.46.223.193 Standard DESTROY
  1522. 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
  1523. 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
  1524. 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
  1525. 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
  1526. You must define a domain called '89.46.223.193' in your directory and add a user with the id="244" attribute
  1527. and you must configure your device to use the proper domain in it's authentication credentials.
  1528. 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
  1529. 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
  1530. You must define a domain called '89.46.223.193' in your directory and add a user with the id="355" attribute
  1531. and you must configure your device to use the proper domain in it's authentication credentials.
  1532. 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
  1533. 2022-09-20 10:43:04.391225 [NOTICE] sofia.c:1012 Hangup sofia/default/442031501307@212.199.161.206 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1534. 2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/442031501307@212.199.161.206]
  1535. 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
  1536. 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)
  1537. 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
  1538. 2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442031501307@212.199.161.206) State HANGUP
  1539. 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
  1540. 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
  1541. 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
  1542. 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
  1543. 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)
  1544. 2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442031501307@212.199.161.206) State REPORTING
  1545. 2022-09-20 10:43:04.391225 [INFO] mod_json_cdr.c:271 Process [3937f24a-38b7-11ed-b560-ef396ca3ea52.cdr.json]
  1546. 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
  1547. 2022-09-20 10:43:04.391225 [DEBUG] switch_ivr_bridge.c:787 BRIDGE THREAD DONE [sofia/default/442078316170@185.240.140.33]
  1548. 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)
  1549. 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]
  1550. 2022-09-20 10:43:04.391225 [DEBUG] mod_hash.c:297 Usage for CPS_97237449191_CPS_user_97237449191 is now 1
  1551. 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)
  1552. 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
  1553. 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)
  1554. 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
  1555. 2022-09-20 10:43:04.391225 [DEBUG] switch_core_state_machine.c:852 (sofia/default/442078316170@185.240.140.33) State HANGUP
  1556. 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
  1557. 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
  1558. 2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:491 Sending BYE to sofia/default/442078316170@185.240.140.33
  1559. 2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
  1560. 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
  1561. 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)
  1562. 2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:395 Doing update query
  1563. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
  1564. 2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:395 Doing update query
  1565. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
  1566. 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
  1567. 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
  1568. 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
  1569. 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
  1570. 2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1683 Session 79015 (sofia/default/442031501307@212.199.161.206) Ended
  1571. 2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442031501307@212.199.161.206 [CS_DESTROY]
  1572. 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)
  1573. 2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442031501307@212.199.161.206) State DESTROY
  1574. 2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:343 sofia/default/442031501307@212.199.161.206 SOFIA DESTROY
  1575. 2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:181 sofia/default/442031501307@212.199.161.206 Standard DESTROY
  1576. 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
  1577. 2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1578. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
  1579. 2022-09-20 10:43:04.411368 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
  1580. 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
  1581. 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
  1582. 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
  1583. 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)
  1584. 2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:938 (sofia/default/442078316170@185.240.140.33) State REPORTING
  1585. 2022-09-20 10:43:04.411368 [INFO] mod_json_cdr.c:271 Process [3930215a-38b7-11ed-b53b-ef396ca3ea52.cdr.json]
  1586. 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
  1587. 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
  1588. 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
  1589. 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
  1590. 2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1683 Session 79014 (sofia/default/442078316170@185.240.140.33) Ended
  1591. 2022-09-20 10:43:04.411368 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/442078316170@185.240.140.33 [CS_DESTROY]
  1592. 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)
  1593. 2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:751 (sofia/default/442078316170@185.240.140.33) State DESTROY
  1594. 2022-09-20 10:43:04.411368 [DEBUG] mod_sofia.c:343 sofia/default/442078316170@185.240.140.33 SOFIA DESTROY
  1595. 2022-09-20 10:43:04.411368 [DEBUG] switch_core_state_machine.c:181 sofia/default/442078316170@185.240.140.33 Standard DESTROY
  1596. 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
  1597. 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)
  1598. 2022-09-20 10:43:04.871108 [DEBUG] switch_scheduler.c:144 Deleting task 12604 switch_ivr_schedule_hangup (3930215a-38b7-11ed-b53b-ef396ca3ea52)
  1599. 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
  1600. 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
  1601. You must define a domain called '89.46.223.193' in your directory and add a user with the id="107" attribute
  1602. and you must configure your device to use the proper domain in it's authentication credentials.
  1603. 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
  1604. 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]
  1605. 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)
  1606. 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
  1607. 2022-09-20 10:43:08.571114 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  1608. 2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [received][100]
  1609. 2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7094 Remote SDP:
  1610. v=0
  1611. o=root 601152533 601152533 IN IP4 172.18.222.183
  1612. s=Twilio Media Gateway
  1613. c=IN IP4 52.215.127.240
  1614. t=0 0
  1615. m=audio 12858 RTP/AVP 0 8 101
  1616. a=rtpmap:0 PCMU/8000
  1617. a=rtpmap:8 PCMA/8000
  1618. a=rtpmap:101 telephone-event/8000
  1619. a=fmtp:101 0-16
  1620. a=ptime:20
  1621. a=maxptime:20
  1622.  
  1623. 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]
  1624. 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]
  1625. 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
  1626. 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]
  1627. 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
  1628. 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]
  1629. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  1630. 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
  1631. 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
  1632. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  1633. 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
  1634. 2022-09-20 10:43:08.571114 [DEBUG] sofia.c:7507 (sofia/default/anonymous@pstn.twilio.com) State Change CS_NEW -> CS_INIT
  1635. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/anonymous@pstn.twilio.com) State NEW
  1636. 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)
  1637. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT
  1638. 2022-09-20 10:43:08.571114 [DEBUG] mod_sofia.c:90 sofia/default/anonymous@pstn.twilio.com SOFIA INIT
  1639. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:40 sofia/default/anonymous@pstn.twilio.com Standard INIT
  1640. 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
  1641. 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
  1642. 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)
  1643. 2022-09-20 10:43:08.571114 [DEBUG] switch_channel.c:2249 (sofia/default/anonymous@pstn.twilio.com) Callstate Change DOWN -> RINGING
  1644. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
  1645. 2022-09-20 10:43:08.571114 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
  1646. 2022-09-20 10:43:08.571114 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
  1647. 2022-09-20 10:43:08.571114 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17742769824>->+447588708043 in context default
  1648. 2022-09-20 10:43:08.571114 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  1649. 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')
  1650. 2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1651. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1652. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : +447588708043
  1653. 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
  1654. 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
  1655. 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
  1656. 2022-09-20 10:43:08.591114 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  1657. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : anonymous / anonymous
  1658. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1659. 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
  1660. 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
  1661. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  1662. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  1663. 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
  1664. 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
  1665. 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
  1666. 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
  1667. 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
  1668. 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
  1669. 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
  1670. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  1671. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 273681788501]
  1672. 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
  1673. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1674. 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
  1675. 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
  1676. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  1677. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  1678. 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
  1679. 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
  1680. 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
  1681. 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
  1682. 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
  1683. 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
  1684. 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
  1685. 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
  1686. 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
  1687. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +447588708043
  1688. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1689. 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
  1690. 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
  1691. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  1692. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  1693. 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
  1694. 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
  1695. 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
  1696. 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
  1697. 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
  1698. 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
  1699. 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
  1700. 2022-09-20 10:43:08.591114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  1701. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1702. 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
  1703. 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
  1704. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  1705. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  1706. 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
  1707. 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
  1708. 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
  1709. 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
  1710. 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
  1711. 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
  1712. 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
  1713. 2022-09-20 10:43:08.591114 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  1714. 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
  1715. 2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  1716. 2022-09-20 10:43:08.591114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  1717. 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
  1718. 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
  1719. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  1720. 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
  1721. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  1722. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  1723. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  1724. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  1725. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  1726. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  1727. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  1728. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  1729. 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
  1730. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  1731. 2022-09-20 10:43:08.611110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1732. 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
  1733. 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
  1734. 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
  1735. 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
  1736. 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
  1737. 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
  1738. 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
  1739. 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
  1740. 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
  1741. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  1742. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  1743. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13287
  1744. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  1745. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  1746. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  1747. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  1748. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  1749. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  1750. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  1751. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  1752. 2022-09-20 10:43:08.611110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  1753. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  1754. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  1755. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  1756. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  1757. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  1758. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  1759. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  1760. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  1761. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  1762. 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
  1763. 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
  1764. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  1765. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  1766. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  1767. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1768. 2022-09-20 10:43:08.611110 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1769. 2022-09-20 10:43:08.611110 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  1770. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
  1771. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
  1772. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  1773. 2022-09-20 10:43:08.611110 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  1774. 2022-09-20 10:43:08.611110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4
  1775. 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"?>
  1776. <document type="freeswitch/xml">
  1777. <section name="dialplan" description="ASTPP Dialplan">
  1778. <context name="default">
  1779. <extension name="447588708043">
  1780. <condition field="destination_number" expression="\+447588708043">
  1781. <action application="set" data="effective_destination_number=\+447588708043"/>
  1782. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  1783. <action application="set" data="nibble_account=851"/>
  1784. <action application="set" data="nibble_rate=0.00000"/>
  1785. <action application="set" data="nibble_increment=60"/>
  1786. <action application="set" data="nibble_minimum=0.00000"/>
  1787. <action application="nibblebill" data="heartbeat 60"/>
  1788. <action application="set" data="callstart=2022-09-20 07:43:08"/>
  1789. <action application="set" data="hangup_after_bridge=true"/>
  1790. <action application="set" data="continue_on_fail=TRUE"/>
  1791. <action application="set" data="account_id=851"/>
  1792. <action application="set" data="parent_id=0"/>
  1793. <action application="set" data="entity_id=0"/>
  1794. <action application="set" data="call_processed=internal"/>
  1795. <action application="set" data="call_direction=inbound"/>
  1796. <action application="set" data="accountname=default"/>
  1797. <action application="set" data="filename1=astpp.pbx.lua"/>
  1798. <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"/>
  1799. <action application="set" data="origination_rates=0"/>
  1800. <action application="set" data="original_caller_id_name=anonymous"/>
  1801. <action application="set" data="original_caller_id_number=anonymous"/>
  1802. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  1803. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  1804. <action application="set" data="effective_caller_id_name=anonymous"/>
  1805. <action application="set" data="effective_caller_id_number=anonymous"/>
  1806. <action application="set" data="receiver_accid=851"/>
  1807. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  1808. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  1809. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193"/>
  1810. <action application="export" data="call_type=4"/>
  1811. <action application="set" data="calltype=STANDARD"/>
  1812. <action application="set" data="accountcode=259715977962"/>
  1813. <action application="set" data="caller_did_account_id=851"/>
  1814. <action application="set" data="did_cost=0.00000"/>
  1815. <action application="set" data="did_connectcost=0.00000"/>
  1816. <action application="set" data="origination_rates_did=0"/>
  1817. <action application="transfer" data="972546322423 XML default"/>
  1818. </condition>
  1819. </extension>
  1820. </context>
  1821. </document>
  1822. 2022-09-20 10:43:08.611110 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  1823. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->447588708043] continue=false
  1824. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [447588708043] destination_number(+447588708043) =~ /\+447588708043/ break=on-false
  1825. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=\+447588708043)
  1826. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  1827. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
  1828. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.00000)
  1829. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=60)
  1830. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0.00000)
  1831. Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 60)
  1832. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:08)
  1833. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  1834. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  1835. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
  1836. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  1837. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  1838. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  1839. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound)
  1840. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  1841. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  1842. 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)
  1843. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0)
  1844. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
  1845. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
  1846. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  1847. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  1848. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  1849. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  1850. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=851)
  1851. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  1852. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1853. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193)
  1854. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4)
  1855. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  1856. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=259715977962)
  1857. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=851)
  1858. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000)
  1859. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000)
  1860. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0)
  1861. Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default)
  1862. 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
  1863. 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
  1864. 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)
  1865. 2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  1866. 2022-09-20 10:43:08.611110 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  1867. 2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  1868. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=\+447588708043)
  1869. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[\+447588708043]
  1870. EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  1871. 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]
  1872. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
  1873. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
  1874. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.00000)
  1875. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.00000]
  1876. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=60)
  1877. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[60]
  1878. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0.00000)
  1879. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0.00000]
  1880. EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 60)
  1881. 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.
  1882. 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
  1883. EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:08)
  1884. 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]
  1885. EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  1886. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  1887. EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  1888. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  1889. EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
  1890. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
  1891. EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  1892. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  1893. EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  1894. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  1895. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  1896. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  1897. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound)
  1898. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound]
  1899. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  1900. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  1901. EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  1902. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  1903. 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)
  1904. 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]
  1905. EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=0)
  1906. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0]
  1907. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
  1908. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
  1909. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
  1910. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
  1911. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  1912. 2022-09-20 10:43:08.611110 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  1913. 2022-09-20 10:43:08.611110 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
  1914. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  1915. 2022-09-20 10:43:08.611110 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  1916. 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
  1917. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
  1918. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
  1919. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
  1920. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
  1921. EXECUTE sofia/default/anonymous@pstn.twilio.com set(receiver_accid=851)
  1922. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[851]
  1923. EXECUTE sofia/default/anonymous@pstn.twilio.com export(domain_name=Voicespin802.newsip.israelnumber.com)
  1924. 2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  1925. EXECUTE sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  1926. 2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  1927. EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.193)
  1928. 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]
  1929. EXECUTE sofia/default/anonymous@pstn.twilio.com export(call_type=4)
  1930. 2022-09-20 10:43:08.611110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[4]
  1931. EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  1932. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  1933. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountcode=259715977962)
  1934. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[259715977962]
  1935. EXECUTE sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=851)
  1936. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [caller_did_account_id]=[851]
  1937. EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000)
  1938. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_cost]=[0.00000]
  1939. EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000)
  1940. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_connectcost]=[0.00000]
  1941. EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0)
  1942. 2022-09-20 10:43:08.611110 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[0]
  1943. EXECUTE sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default)
  1944. 2022-09-20 10:43:08.611110 [DEBUG] switch_ivr.c:2165 (sofia/default/anonymous@pstn.twilio.com) State Change CS_EXECUTE -> CS_ROUTING
  1945. 2022-09-20 10:43:08.611110 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
  1946. 2022-09-20 10:43:08.611110 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/anonymous@pstn.twilio.com to XML[972546322423@default]
  1947. 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
  1948. 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)
  1949. 2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
  1950. 2022-09-20 10:43:08.611110 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
  1951. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  1952. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  1953. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1954. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  1955. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  1956. 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
  1957. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  1958. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  1959. 2022-09-20 10:43:08.611110 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  1960. 2022-09-20 10:43:08.611110 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
  1961. 2022-09-20 10:43:08.611110 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17742769824>->972546322423 in context default
  1962. 2022-09-20 10:43:08.631165 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  1963. 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')
  1964. 2022-09-20 10:43:08.631165 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1965. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  1966. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 972546322423
  1967. 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
  1968. 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
  1969. 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
  1970. 2022-09-20 10:43:08.631165 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  1971. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : anonymous / anonymous
  1972. 2022-09-20 10:43:08.631165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1973. 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
  1974. 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
  1975. 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
  1976. 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
  1977. 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
  1978. 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
  1979. 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
  1980. 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
  1981. 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
  1982. 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
  1983. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  1984. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 259715977962]
  1985. 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
  1986. 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
  1987. 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
  1988. 2022-09-20 10:43:08.631165 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423
  1989. 2022-09-20 10:43:08.631165 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  1990. 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
  1991. 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
  1992. 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
  1993. 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
  1994. 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
  1995. 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
  1996. 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
  1997. 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
  1998. 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
  1999. 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
  2000. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  2001. 2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2002. 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
  2003. 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
  2004. 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
  2005. 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
  2006. 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
  2007. 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
  2008. 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
  2009. 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
  2010. 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
  2011. 2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  2012. 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
  2013. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2014. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2015. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2016. 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
  2017. 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
  2018. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2019. 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
  2020. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2021. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  2022. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  2023. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  2024. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2025. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  2026. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2027. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2028. 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
  2029. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  2030. 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
  2031. 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
  2032. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  2033. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2034. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35562119
  2035. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
  2036. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2037. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.1825
  2038. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : IsraelMobile
  2039. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  2040. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  2041. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  2042. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  2043. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2044. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  2045. 2022-09-20 10:43:08.651134 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  2046. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  2047. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.1825
  2048. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  2049. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0
  2050. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
  2051. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
  2052. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  2053. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35562119
  2054. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  2055. 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
  2056. 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
  2057. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  2058. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2059. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15957053
  2060. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
  2061. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile Orange
  2062. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2063. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2064. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
  2065. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2066. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2067. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 71
  2068. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Voicetrading
  2069. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2070. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : Voicetrading2
  2071. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3489
  2072. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2073. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : VoicetradingGREY
  2074. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2075. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2076. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 22293245
  2077. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
  2078. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ISRAEL - MOBILE
  2079. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2080. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2081. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
  2082. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2083. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2084. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27
  2085. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  2086. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  2087. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  2088. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  2089. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  2090. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1
  2091. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  2092. 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
  2093. 2022-09-20 10:43:08.651134 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  2094. 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
  2095. 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
  2096. 2022-09-20 10:43:08.651134 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  2097. 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
  2098. 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
  2099. 2022-09-20 10:43:08.671118 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  2100. 2022-09-20 10:43:08.671118 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  2101. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2102. <document type="freeswitch/xml">
  2103. <section name="dialplan" description="ASTPP Dialplan">
  2104. <context name="default">
  2105. <extension name="972546322423">
  2106. <condition field="destination_number" expression="972546322423">
  2107. <action application="set" data="effective_destination_number=972546322423"/>
  2108. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  2109. <action application="set" data="nibble_account=851"/>
  2110. <action application="set" data="nibble_rate=0.1825"/>
  2111. <action application="set" data="nibble_increment=10"/>
  2112. <action application="set" data="nibble_minimum=0"/>
  2113. <action application="nibblebill" data="heartbeat 10"/>
  2114. <action application="set" data="callstart=2022-09-20 07:43:08"/>
  2115. <action application="set" data="hangup_after_bridge=true"/>
  2116. <action application="set" data="continue_on_fail=TRUE"/>
  2117. <action application="set" data="account_id=851"/>
  2118. <action application="set" data="parent_id=0"/>
  2119. <action application="set" data="entity_id=0"/>
  2120. <action application="set" data="call_processed=internal"/>
  2121. <action application="set" data="call_direction=outbound"/>
  2122. <action application="set" data="accountname=default"/>
  2123. <action application="set" data="filename1=astpp.pbx.lua"/>
  2124. <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"/>
  2125. <action application="set" data="original_caller_id_name=anonymous"/>
  2126. <action application="set" data="original_caller_id_number=anonymous"/>
  2127. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  2128. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  2129.  
  2130. <action application="set" data="effective_caller_id_name=anonymous"/>
  2131. <action application="set" data="effective_caller_id_number=anonymous"/>
  2132. <action application="set" data="calltype=STANDARD"/>
  2133. <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"/>
  2134. <action application="set" data="trunk_id=71"/>
  2135. <action application="set" data="provider_id=3489"/>
  2136. <action application="set" data="rate_flag=0"/>
  2137. <action application="set" data="force_trunk_flag=35562119"/>
  2138. <action application="export" data="presence_data=trunk_id=71"/>
  2139. <action application="set" data="intcall=0"/>
  2140. <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"/>
  2141. <action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060"/>
  2142. <action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060"/>
  2143. <action application="set" data="effective_caller_id_name=anonymous"/>
  2144. <action application="set" data="effective_caller_id_number=anonymous"/>
  2145. <action application="set" data="calltype=STANDARD"/>
  2146. <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"/>
  2147. <action application="set" data="trunk_id=27"/>
  2148. <action application="set" data="provider_id=1017"/>
  2149. <action application="set" data="rate_flag=0"/>
  2150. <action application="set" data="force_trunk_flag=35562119"/>
  2151. <action application="export" data="presence_data=trunk_id=27"/>
  2152. <action application="set" data="intcall=0"/>
  2153. <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"/>
  2154. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060"/>
  2155. </condition>
  2156. </extension>
  2157. </context>
  2158. </document>
  2159. 2022-09-20 10:43:08.671118 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  2160. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false
  2161. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false
  2162. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423)
  2163. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  2164. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
  2165. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.1825)
  2166. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=10)
  2167. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0)
  2168. Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 10)
  2169. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:08)
  2170. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  2171. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  2172. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
  2173. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  2174. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  2175. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  2176. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound)
  2177. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  2178. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  2179. 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)
  2180. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
  2181. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
  2182. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  2183. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  2184. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  2185. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  2186. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  2187. 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)
  2188. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=71)
  2189. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=3489)
  2190. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  2191. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
  2192. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=71)
  2193. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  2194. 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)
  2195. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
  2196. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
  2197. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  2198. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  2199. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  2200. 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)
  2201. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27)
  2202. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017)
  2203. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  2204. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
  2205. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27)
  2206. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  2207. 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)
  2208. 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)
  2209. 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
  2210. 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
  2211. 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)
  2212. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  2213. 2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  2214. 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.
  2215. 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
  2216. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  2217. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423)
  2218. 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)
  2219. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972546322423]
  2220. EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  2221. 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]
  2222. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
  2223. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
  2224. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.1825)
  2225. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.1825]
  2226. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=10)
  2227. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[10]
  2228. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0)
  2229. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0]
  2230. EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 10)
  2231. 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.
  2232. 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
  2233. 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)
  2234. EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:08)
  2235. 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]
  2236. EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  2237. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  2238. EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  2239. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  2240. EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
  2241. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
  2242. EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  2243. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  2244. EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  2245. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  2246. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  2247. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  2248. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound)
  2249. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound]
  2250. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  2251. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  2252. EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  2253. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  2254. 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)
  2255. 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]
  2256. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
  2257. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
  2258. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
  2259. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
  2260. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  2261. 2022-09-20 10:43:08.671118 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  2262. 2022-09-20 10:43:08.671118 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
  2263. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  2264. 2022-09-20 10:43:08.671118 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  2265. 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
  2266. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
  2267. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
  2268. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
  2269. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
  2270. EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  2271. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  2272. 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)
  2273. 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]
  2274. EXECUTE sofia/default/anonymous@pstn.twilio.com set(trunk_id=71)
  2275. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[71]
  2276. EXECUTE sofia/default/anonymous@pstn.twilio.com set(provider_id=3489)
  2277. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[3489]
  2278. EXECUTE sofia/default/anonymous@pstn.twilio.com set(rate_flag=0)
  2279. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0]
  2280. EXECUTE sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=35562119)
  2281. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [force_trunk_flag]=[35562119]
  2282. EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=71)
  2283. 2022-09-20 10:43:08.671118 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=71]
  2284. EXECUTE sofia/default/anonymous@pstn.twilio.com set(intcall=0)
  2285. 2022-09-20 10:43:08.671118 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0]
  2286. 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)
  2287. 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]
  2288. EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
  2289. 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
  2290. 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
  2291. 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
  2292. 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
  2293. 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
  2294. 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
  2295. 2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  2296. 2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  2297. 2022-09-20 10:43:08.671118 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [ded1a822-38b7-11ed-b836-ef396ca3ea52]
  2298. 2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
  2299. 2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
  2300. 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)
  2301. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
  2302. 2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
  2303. 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
  2304. 2022-09-20 10:43:08.671118 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20  64bit
  2305. Local SDP:
  2306. v=0
  2307. o=FreeSWITCH 1663641540 1663641541 IN IP4 89.46.223.193
  2308. s=FreeSWITCH
  2309. c=IN IP4 89.46.223.193
  2310. t=0 0
  2311. m=audio 18248 RTP/AVP 0 101
  2312. a=rtpmap:0 PCMU/8000
  2313. a=rtpmap:101 telephone-event/8000
  2314. a=fmtp:101 0-16
  2315. a=ptime:20
  2316. a=sendrecv
  2317.  
  2318. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
  2319. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
  2320. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
  2321. 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)
  2322. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
  2323. 2022-09-20 10:43:08.671118 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
  2324. 2022-09-20 10:43:08.671118 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  2325. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
  2326. 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)
  2327. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
  2328. 2022-09-20 10:43:08.671118 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
  2329. 2022-09-20 10:43:08.671118 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
  2330. 2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  2331. 2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  2332. 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
  2333. 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)
  2334. 2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:395 Doing update query
  2335. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  2336. 2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2337. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  2338. 2022-09-20 10:43:11.171112 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.127520)
  2339. 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
  2340. 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
  2341. You must define a domain called '89.46.223.193' in your directory and add a user with the id="136" attribute
  2342. and you must configure your device to use the proper domain in it's authentication credentials.
  2343. 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
  2344. 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
  2345. 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
  2346. You must define a domain called '89.46.223.193' in your directory and add a user with the id="296" attribute
  2347. and you must configure your device to use the proper domain in it's authentication credentials.
  2348. 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
  2349. 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
  2350. 2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  2351. 2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
  2352. 2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  2353. 2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2354. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2355. 2022-09-20 10:43:18.171113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2356. 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
  2357. 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
  2358. 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
  2359. 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
  2360. You must define a domain called '89.46.223.193' in your directory and add a user with the id="370" attribute
  2361. and you must configure your device to use the proper domain in it's authentication credentials.
  2362. 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
  2363. 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
  2364. You must define a domain called '89.46.223.193' in your directory and add a user with the id="264" attribute
  2365. and you must configure your device to use the proper domain in it's authentication credentials.
  2366. 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
  2367. 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
  2368. You must define a domain called '89.46.223.193' in your directory and add a user with the id="212" attribute
  2369. and you must configure your device to use the proper domain in it's authentication credentials.
  2370. 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
  2371. 2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  2372. 2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  2373. 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
  2374. 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)
  2375. 2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:395 Doing update query
  2376. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  2377. 2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2378. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  2379. 2022-09-20 10:43:21.171111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.124190)
  2380. 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]
  2381. 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)
  2382. 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
  2383. 2022-09-20 10:43:23.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
  2384. 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
  2385. 2022-09-20 10:43:23.031110 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
  2386. 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
  2387. 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
  2388. 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
  2389. 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)
  2390. 2022-09-20 10:43:23.031110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
  2391. 2022-09-20 10:43:23.031110 [INFO] mod_json_cdr.c:271 Process [d56909b0-38b7-11ed-b7d7-ef396ca3ea52.cdr.json]
  2392. 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
  2393. 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
  2394. 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
  2395. 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
  2396. 2022-09-20 10:43:23.031110 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
  2397. 2022-09-20 10:43:23.031110 [NOTICE] switch_core_session.c:1683 Session 79040 (sofia/default/81345655200@35.205.116.118) Ended
  2398. 2022-09-20 10:43:23.031110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
  2399. 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)
  2400. 2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
  2401. 2022-09-20 10:43:23.051109 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
  2402. 2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
  2403. 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
  2404. 2022-09-20 10:43:23.051109 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  2405. 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.
  2406. 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]
  2407. 2022-09-20 10:43:23.051109 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
  2408. 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
  2409. 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)
  2410. 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
  2411. 2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
  2412. 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
  2413. 2022-09-20 10:43:23.051109 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  2414. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  2415. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  2416. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2417. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2418. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2419. 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
  2420. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2421. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2422. 2022-09-20 10:43:23.051109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2423. 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
  2424. 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
  2425. 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
  2426. 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)
  2427. 2022-09-20 10:43:23.051109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
  2428. 2022-09-20 10:43:23.051109 [INFO] mod_json_cdr.c:271 Process [d5622e1a-38b7-11ed-b7b2-ef396ca3ea52.cdr.json]
  2429. 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
  2430. 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
  2431. 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
  2432. 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
  2433. 2022-09-20 10:43:23.111110 [NOTICE] switch_core_session.c:1683 Session 79039 (sofia/default/+818090110851@203.60.13.98) Ended
  2434. 2022-09-20 10:43:23.111110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
  2435. 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)
  2436. 2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
  2437. 2022-09-20 10:43:23.111110 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
  2438. 2022-09-20 10:43:23.111110 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
  2439. 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
  2440. 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)
  2441. 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
  2442. 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
  2443. You must define a domain called '89.46.223.193' in your directory and add a user with the id="224" attribute
  2444. and you must configure your device to use the proper domain in it's authentication credentials.
  2445. 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
  2446. 2022-09-20 10:43:23.831110 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487]
  2447. 2022-09-20 10:43:23.831110 [NOTICE] sofia.c:8273 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL]
  2448. 2022-09-20 10:43:23.851112 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
  2449. 2022-09-20 10:43:23.871111 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  2450. 2022-09-20 10:43:23.871111 [DEBUG] switch_ivr_originate.c:3837 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  2451. 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)
  2452. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
  2453. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
  2454. 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
  2455. 2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL
  2456. 2022-09-20 10:43:23.871111 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ORIGINATOR_CANCEL
  2457. 2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/972546322423
  2458. 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)
  2459. 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
  2460. 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)
  2461. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2462. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
  2463. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
  2464. 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)
  2465. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> HANGUP
  2466. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP
  2467. 2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:438 Channel sofia/default/anonymous@pstn.twilio.com hanging up, cause: ORIGINATOR_CANCEL
  2468. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
  2469. 2022-09-20 10:43:23.871111 [INFO] mod_json_cdr.c:271 Process [ded1a822-38b7-11ed-b836-ef396ca3ea52.cdr.json]
  2470. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
  2471. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  2472. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2473. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2474. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2475. 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
  2476. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2477. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2478. 2022-09-20 10:43:23.871111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2479. 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
  2480. 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
  2481. 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
  2482. 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)
  2483. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING
  2484. 2022-09-20 10:43:23.871111 [INFO] mod_json_cdr.c:271 Process [dec36dc0-38b7-11ed-b7e9-ef396ca3ea52.cdr.json]
  2485. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2486. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
  2487. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
  2488. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_session.c:1665 Session 79043 (sofia/default/972546322423) Locked, Waiting on external entities
  2489. 2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1683 Session 79043 (sofia/default/972546322423) Ended
  2490. 2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
  2491. 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)
  2492. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
  2493. 2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
  2494. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
  2495. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
  2496. 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
  2497. 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
  2498. 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
  2499. 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
  2500. 2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1683 Session 79042 (sofia/default/anonymous@pstn.twilio.com) Ended
  2501. 2022-09-20 10:43:23.871111 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/anonymous@pstn.twilio.com [CS_DESTROY]
  2502. 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)
  2503. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY
  2504. 2022-09-20 10:43:23.871111 [DEBUG] mod_sofia.c:343 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY
  2505. 2022-09-20 10:43:23.871111 [DEBUG] switch_core_state_machine.c:181 sofia/default/anonymous@pstn.twilio.com Standard DESTROY
  2506. 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
  2507. 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)
  2508. 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
  2509. 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
  2510. You must define a domain called '89.46.223.193' in your directory and add a user with the id="900" attribute
  2511. and you must configure your device to use the proper domain in it's authentication credentials.
  2512. 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
  2513. 2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  2514. 2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  2515. 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
  2516. 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)
  2517. 2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:395 Doing update query
  2518. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  2519. 2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2520. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  2521. 2022-09-20 10:43:31.171111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.120860)
  2522. 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
  2523. 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
  2524. You must define a domain called '89.46.223.193' in your directory and add a user with the id="231" attribute
  2525. and you must configure your device to use the proper domain in it's authentication credentials.
  2526. 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
  2527. 2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  2528. 2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 1179
  2529. 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
  2530. 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)
  2531. 2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:395 Doing update query
  2532. [UPDATE accounts SET balance=balance- 0.000000 WHERE id='1179']
  2533. 2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2534. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='1179']
  2535. 2022-09-20 10:43:34.171114 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 1179 (balance = 38.622170)
  2536. 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]
  2537. 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)
  2538. 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
  2539. 2022-09-20 10:43:34.451114 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  2540. 2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [received][100]
  2541. 2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7094 Remote SDP:
  2542. v=0
  2543. o=root 142933842 142933842 IN IP4 172.18.225.245
  2544. s=Twilio Media Gateway
  2545. c=IN IP4 52.215.127.225
  2546. t=0 0
  2547. m=audio 10962 RTP/AVP 0 8 101
  2548. a=rtpmap:0 PCMU/8000
  2549. a=rtpmap:8 PCMA/8000
  2550. a=rtpmap:101 telephone-event/8000
  2551. a=fmtp:101 0-16
  2552. a=ptime:20
  2553. a=maxptime:20
  2554.  
  2555. 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]
  2556. 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]
  2557. 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
  2558. 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]
  2559. 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
  2560. 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]
  2561. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  2562. 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
  2563. 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
  2564. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  2565. 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
  2566. 2022-09-20 10:43:34.451114 [DEBUG] sofia.c:7507 (sofia/default/anonymous@pstn.twilio.com) State Change CS_NEW -> CS_INIT
  2567. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/anonymous@pstn.twilio.com) State NEW
  2568. 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)
  2569. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:627 (sofia/default/anonymous@pstn.twilio.com) State INIT
  2570. 2022-09-20 10:43:34.451114 [DEBUG] mod_sofia.c:90 sofia/default/anonymous@pstn.twilio.com SOFIA INIT
  2571. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:40 sofia/default/anonymous@pstn.twilio.com Standard INIT
  2572. 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
  2573. 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
  2574. 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)
  2575. 2022-09-20 10:43:34.451114 [DEBUG] switch_channel.c:2249 (sofia/default/anonymous@pstn.twilio.com) Callstate Change DOWN -> RINGING
  2576. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
  2577. 2022-09-20 10:43:34.451114 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
  2578. 2022-09-20 10:43:34.451114 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
  2579. 2022-09-20 10:43:34.451114 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17657343750>->+447588708043 in context default
  2580. 2022-09-20 10:43:34.451114 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  2581. 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')
  2582. 2022-09-20 10:43:34.451114 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2583. 2022-09-20 10:43:34.451114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2584. 2022-09-20 10:43:34.451114 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : +447588708043
  2585. 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
  2586. 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
  2587. 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
  2588. 2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  2589. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : anonymous / anonymous
  2590. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2591. 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
  2592. 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
  2593. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  2594. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  2595. 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
  2596. 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
  2597. 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
  2598. 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
  2599. 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
  2600. 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
  2601. 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
  2602. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  2603. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 273681788501]
  2604. 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
  2605. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2606. 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
  2607. 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
  2608. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  2609. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  2610. 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
  2611. 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
  2612. 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
  2613. 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
  2614. 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
  2615. 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
  2616. 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
  2617. 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
  2618. 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
  2619. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : +447588708043
  2620. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2621. 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
  2622. 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
  2623. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  2624. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  2625. 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
  2626. 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
  2627. 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
  2628. 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
  2629. 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
  2630. 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
  2631. 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
  2632. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  2633. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2634. 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
  2635. 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
  2636. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : +447588708043
  2637. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 447588708043
  2638. 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
  2639. 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
  2640. 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
  2641. 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
  2642. 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
  2643. 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
  2644. 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
  2645. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  2646. 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
  2647. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  2648. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  2649. 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
  2650. 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
  2651. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2652. 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
  2653. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2654. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  2655. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  2656. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  2657. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2658. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  2659. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2660. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2661. 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
  2662. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  2663. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2664. 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
  2665. 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
  2666. 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
  2667. 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
  2668. 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
  2669. 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
  2670. 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
  2671. 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
  2672. 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
  2673. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  2674. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2675. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 13287
  2676. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2677. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2678. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  2679. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Mobile Voice
  2680. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 200
  2681. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  2682. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2683. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  2684. 2022-09-20 10:43:34.471511 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  2685. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  2686. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  2687. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  2688. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  2689. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  2690. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  2691. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  2692. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  2693. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  2694. 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
  2695. 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
  2696. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  2697. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  2698. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  2699. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  2700. 2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  2701. 2022-09-20 10:43:34.471511 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  2702. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
  2703. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....anonymous
  2704. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  2705. 2022-09-20 10:43:34.471511 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  2706. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_4
  2707. 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"?>
  2708. <document type="freeswitch/xml">
  2709. <section name="dialplan" description="ASTPP Dialplan">
  2710. <context name="default">
  2711. <extension name="447588708043">
  2712. <condition field="destination_number" expression="\+447588708043">
  2713. <action application="set" data="effective_destination_number=\+447588708043"/>
  2714. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  2715. <action application="set" data="nibble_account=851"/>
  2716. <action application="set" data="nibble_rate=0.00000"/>
  2717. <action application="set" data="nibble_increment=60"/>
  2718. <action application="set" data="nibble_minimum=0.00000"/>
  2719. <action application="nibblebill" data="heartbeat 60"/>
  2720. <action application="set" data="callstart=2022-09-20 07:43:34"/>
  2721. <action application="set" data="hangup_after_bridge=true"/>
  2722. <action application="set" data="continue_on_fail=TRUE"/>
  2723. <action application="set" data="account_id=851"/>
  2724. <action application="set" data="parent_id=0"/>
  2725. <action application="set" data="entity_id=0"/>
  2726. <action application="set" data="call_processed=internal"/>
  2727. <action application="set" data="call_direction=inbound"/>
  2728. <action application="set" data="accountname=default"/>
  2729. <action application="set" data="filename1=astpp.pbx.lua"/>
  2730. <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"/>
  2731. <action application="set" data="origination_rates=0"/>
  2732. <action application="set" data="original_caller_id_name=anonymous"/>
  2733. <action application="set" data="original_caller_id_number=anonymous"/>
  2734. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  2735. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  2736. <action application="set" data="effective_caller_id_name=anonymous"/>
  2737. <action application="set" data="effective_caller_id_number=anonymous"/>
  2738. <action application="set" data="receiver_accid=851"/>
  2739. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  2740. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  2741. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192"/>
  2742. <action application="export" data="call_type=4"/>
  2743. <action application="set" data="calltype=STANDARD"/>
  2744. <action application="set" data="accountcode=259715977962"/>
  2745. <action application="set" data="caller_did_account_id=851"/>
  2746. <action application="set" data="did_cost=0.00000"/>
  2747. <action application="set" data="did_connectcost=0.00000"/>
  2748. <action application="set" data="origination_rates_did=0"/>
  2749. <action application="transfer" data="972546322423 XML default"/>
  2750. </condition>
  2751. </extension>
  2752. </context>
  2753. </document>
  2754. 2022-09-20 10:43:34.471511 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  2755. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->447588708043] continue=false
  2756. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [447588708043] destination_number(+447588708043) =~ /\+447588708043/ break=on-false
  2757. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=\+447588708043)
  2758. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  2759. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
  2760. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.00000)
  2761. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=60)
  2762. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0.00000)
  2763. Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 60)
  2764. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:34)
  2765. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  2766. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  2767. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
  2768. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  2769. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  2770. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  2771. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=inbound)
  2772. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  2773. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  2774. 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)
  2775. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates=0)
  2776. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
  2777. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
  2778. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  2779. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  2780. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  2781. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  2782. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(receiver_accid=851)
  2783. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  2784. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  2785. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192)
  2786. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(call_type=4)
  2787. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  2788. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountcode=259715977962)
  2789. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(caller_did_account_id=851)
  2790. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_cost=0.00000)
  2791. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(did_connectcost=0.00000)
  2792. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(origination_rates_did=0)
  2793. Dialplan: sofia/default/anonymous@pstn.twilio.com Action transfer(972546322423 XML default)
  2794. 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
  2795. 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
  2796. 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)
  2797. 2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  2798. 2022-09-20 10:43:34.471511 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  2799. 2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  2800. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=\+447588708043)
  2801. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[\+447588708043]
  2802. EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  2803. 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]
  2804. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
  2805. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
  2806. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.00000)
  2807. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.00000]
  2808. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=60)
  2809. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[60]
  2810. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0.00000)
  2811. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0.00000]
  2812. EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 60)
  2813. 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.
  2814. 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
  2815. EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:34)
  2816. 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]
  2817. EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  2818. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  2819. EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  2820. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  2821. EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
  2822. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
  2823. EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  2824. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  2825. EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  2826. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  2827. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  2828. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  2829. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=inbound)
  2830. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[inbound]
  2831. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  2832. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  2833. EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  2834. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  2835. 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)
  2836. 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]
  2837. EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates=0)
  2838. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates]=[0]
  2839. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
  2840. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
  2841. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
  2842. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
  2843. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  2844. 2022-09-20 10:43:34.471511 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  2845. 2022-09-20 10:43:34.471511 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
  2846. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  2847. 2022-09-20 10:43:34.471511 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  2848. 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
  2849. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
  2850. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
  2851. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
  2852. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
  2853. EXECUTE sofia/default/anonymous@pstn.twilio.com set(receiver_accid=851)
  2854. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [receiver_accid]=[851]
  2855. EXECUTE sofia/default/anonymous@pstn.twilio.com export(domain_name=Voicespin802.newsip.israelnumber.com)
  2856. 2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  2857. EXECUTE sofia/default/anonymous@pstn.twilio.com export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  2858. 2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  2859. EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=x|||Voicespin(259715977962)|||^447588708043.* // Mobile Voice // 0.00000||||||DID|||54.171.127.192)
  2860. 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]
  2861. EXECUTE sofia/default/anonymous@pstn.twilio.com export(call_type=4)
  2862. 2022-09-20 10:43:34.471511 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[4]
  2863. EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  2864. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  2865. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountcode=259715977962)
  2866. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountcode]=[259715977962]
  2867. EXECUTE sofia/default/anonymous@pstn.twilio.com set(caller_did_account_id=851)
  2868. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [caller_did_account_id]=[851]
  2869. EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_cost=0.00000)
  2870. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_cost]=[0.00000]
  2871. EXECUTE sofia/default/anonymous@pstn.twilio.com set(did_connectcost=0.00000)
  2872. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [did_connectcost]=[0.00000]
  2873. EXECUTE sofia/default/anonymous@pstn.twilio.com set(origination_rates_did=0)
  2874. 2022-09-20 10:43:34.471511 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [origination_rates_did]=[0]
  2875. EXECUTE sofia/default/anonymous@pstn.twilio.com transfer(972546322423 XML default)
  2876. 2022-09-20 10:43:34.471511 [DEBUG] switch_ivr.c:2165 (sofia/default/anonymous@pstn.twilio.com) State Change CS_EXECUTE -> CS_ROUTING
  2877. 2022-09-20 10:43:34.471511 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
  2878. 2022-09-20 10:43:34.471511 [NOTICE] switch_ivr.c:2172 Transfer sofia/default/anonymous@pstn.twilio.com to XML[972546322423@default]
  2879. 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
  2880. 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)
  2881. 2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:643 (sofia/default/anonymous@pstn.twilio.com) State ROUTING
  2882. 2022-09-20 10:43:34.471511 [DEBUG] mod_sofia.c:143 sofia/default/anonymous@pstn.twilio.com SOFIA ROUTING
  2883. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  2884. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  2885. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2886. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2887. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2888. 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
  2889. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  2890. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  2891. 2022-09-20 10:43:34.471511 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  2892. 2022-09-20 10:43:34.471511 [DEBUG] switch_core_state_machine.c:236 sofia/default/anonymous@pstn.twilio.com Standard ROUTING
  2893. 2022-09-20 10:43:34.471511 [INFO] mod_dialplan_xml.c:637 Processing Anonymous <+17657343750>->972546322423 in context default
  2894. 2022-09-20 10:43:34.471511 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  2895. 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')
  2896. 2022-09-20 10:43:34.471511 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  2897. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  2898. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 972546322423
  2899. 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
  2900. 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
  2901. 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
  2902. 2022-09-20 10:43:34.511111 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  2903. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : anonymous / anonymous
  2904. 2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2905. 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
  2906. 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
  2907. 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
  2908. 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
  2909. 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
  2910. 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
  2911. 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
  2912. 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
  2913. 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
  2914. 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
  2915. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  2916. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 259715977962]
  2917. 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
  2918. 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
  2919. 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
  2920. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 972546322423
  2921. 2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2922. 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
  2923. 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
  2924. 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
  2925. 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
  2926. 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
  2927. 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
  2928. 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
  2929. 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
  2930. 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
  2931. 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
  2932. 2022-09-20 10:43:34.511111 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  2933. 2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  2934. 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
  2935. 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
  2936. 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
  2937. 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
  2938. 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
  2939. 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
  2940. 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
  2941. 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
  2942. 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
  2943. 2022-09-20 10:43:34.511111 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  2944. 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
  2945. 2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2946. 2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2947. 2022-09-20 10:43:34.511111 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....972546322423
  2948. 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
  2949. 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
  2950. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  2951. 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
  2952. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  2953. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  2954. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  2955. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  2956. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  2957. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  2958. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  2959. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  2960. 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
  2961. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  2962. 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
  2963. 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
  2964. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  2965. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  2966. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35562119
  2967. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0
  2968. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  2969. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.1825
  2970. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : IsraelMobile
  2971. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  2972. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  2973. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 0
  2974. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  2975. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  2976. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  2977. 2022-09-20 10:43:34.531122 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  2978. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  2979. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.1825
  2980. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  2981. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0
  2982. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
  2983. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
  2984. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  2985. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35562119
  2986. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :0
  2987. 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
  2988. 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
  2989. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  2990. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  2991. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 15957053
  2992. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
  2993. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile Orange
  2994. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  2995. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  2996. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
  2997. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  2998. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  2999. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 71
  3000. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Voicetrading
  3001. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3002. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : Voicetrading2
  3003. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 3489
  3004. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3005. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : VoicetradingGREY
  3006. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3007. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3008. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 22293245
  3009. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^97254.*
  3010. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : ISRAEL - MOBILE
  3011. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3012. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3013. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^97254.*
  3014. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 0
  3015. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 0
  3016. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 27
  3017. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : Telia_GW
  3018. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3019. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway :
  3020. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 1017
  3021. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3022. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : high_telia_prime_1-1
  3023. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  3024. 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
  3025. 2022-09-20 10:43:34.531122 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  3026. 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
  3027. 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
  3028. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  3029. 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
  3030. 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
  3031. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :0/0.....972546322423
  3032. 2022-09-20 10:43:34.531122 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  3033. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  3034. <document type="freeswitch/xml">
  3035. <section name="dialplan" description="ASTPP Dialplan">
  3036. <context name="default">
  3037. <extension name="972546322423">
  3038. <condition field="destination_number" expression="972546322423">
  3039. <action application="set" data="effective_destination_number=972546322423"/>
  3040. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  3041. <action application="set" data="nibble_account=851"/>
  3042. <action application="set" data="nibble_rate=0.1825"/>
  3043. <action application="set" data="nibble_increment=10"/>
  3044. <action application="set" data="nibble_minimum=0"/>
  3045. <action application="nibblebill" data="heartbeat 10"/>
  3046. <action application="set" data="callstart=2022-09-20 07:43:34"/>
  3047. <action application="set" data="hangup_after_bridge=true"/>
  3048. <action application="set" data="continue_on_fail=TRUE"/>
  3049. <action application="set" data="account_id=851"/>
  3050. <action application="set" data="parent_id=0"/>
  3051. <action application="set" data="entity_id=0"/>
  3052. <action application="set" data="call_processed=internal"/>
  3053. <action application="set" data="call_direction=outbound"/>
  3054. <action application="set" data="accountname=default"/>
  3055. <action application="set" data="filename1=astpp.pbx.lua"/>
  3056. <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"/>
  3057. <action application="set" data="original_caller_id_name=anonymous"/>
  3058. <action application="set" data="original_caller_id_number=anonymous"/>
  3059. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  3060. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  3061.  
  3062. <action application="set" data="effective_caller_id_name=anonymous"/>
  3063. <action application="set" data="effective_caller_id_number=anonymous"/>
  3064. <action application="set" data="calltype=STANDARD"/>
  3065. <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"/>
  3066. <action application="set" data="trunk_id=71"/>
  3067. <action application="set" data="provider_id=3489"/>
  3068. <action application="set" data="rate_flag=0"/>
  3069. <action application="set" data="force_trunk_flag=35562119"/>
  3070. <action application="export" data="presence_data=trunk_id=71"/>
  3071. <action application="set" data="intcall=0"/>
  3072. <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"/>
  3073. <action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060"/>
  3074. <action application="bridge" data="[leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060"/>
  3075. <action application="set" data="effective_caller_id_name=anonymous"/>
  3076. <action application="set" data="effective_caller_id_number=anonymous"/>
  3077. <action application="set" data="calltype=STANDARD"/>
  3078. <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"/>
  3079. <action application="set" data="trunk_id=27"/>
  3080. <action application="set" data="provider_id=1017"/>
  3081. <action application="set" data="rate_flag=0"/>
  3082. <action application="set" data="force_trunk_flag=35562119"/>
  3083. <action application="export" data="presence_data=trunk_id=27"/>
  3084. <action application="set" data="intcall=0"/>
  3085. <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"/>
  3086. <action application="bridge" data="[leg_timeout=0]sofia/gateway/Telia_GW/972546322423;fs_path=sip:136.243.196.198:5060"/>
  3087. </condition>
  3088. </extension>
  3089. </context>
  3090. </document>
  3091. 2022-09-20 10:43:34.531122 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  3092. Dialplan: sofia/default/anonymous@pstn.twilio.com parsing [default->972546322423] continue=false
  3093. Dialplan: sofia/default/anonymous@pstn.twilio.com Regex (PASS) [972546322423] destination_number(972546322423) =~ /972546322423/ break=on-false
  3094. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_destination_number=972546322423)
  3095. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  3096. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_account=851)
  3097. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_rate=0.1825)
  3098. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_increment=10)
  3099. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(nibble_minimum=0)
  3100. Dialplan: sofia/default/anonymous@pstn.twilio.com Action nibblebill(heartbeat 10)
  3101. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(callstart=2022-09-20 07:43:34)
  3102. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(hangup_after_bridge=true)
  3103. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(continue_on_fail=TRUE)
  3104. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(account_id=851)
  3105. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(parent_id=0)
  3106. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(entity_id=0)
  3107. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_processed=internal)
  3108. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(call_direction=outbound)
  3109. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(accountname=default)
  3110. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(filename1=astpp.pbx.lua)
  3111. 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)
  3112. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_name=anonymous)
  3113. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(original_caller_id_number=anonymous)
  3114. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  3115. Dialplan: sofia/default/anonymous@pstn.twilio.com Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  3116. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  3117. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  3118. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  3119. 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)
  3120. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=71)
  3121. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=3489)
  3122. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  3123. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
  3124. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=71)
  3125. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  3126. 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)
  3127. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
  3128. Dialplan: sofia/default/anonymous@pstn.twilio.com Action bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
  3129. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_name=anonymous)
  3130. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(effective_caller_id_number=anonymous)
  3131. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(calltype=STANDARD)
  3132. 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)
  3133. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(trunk_id=27)
  3134. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(provider_id=1017)
  3135. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(rate_flag=0)
  3136. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(force_trunk_flag=35562119)
  3137. Dialplan: sofia/default/anonymous@pstn.twilio.com Action export(presence_data=trunk_id=27)
  3138. Dialplan: sofia/default/anonymous@pstn.twilio.com Action set(intcall=0)
  3139. 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)
  3140. 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)
  3141. 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
  3142. 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
  3143. 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)
  3144. 2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:650 (sofia/default/anonymous@pstn.twilio.com) State EXECUTE
  3145. 2022-09-20 10:43:34.531122 [DEBUG] mod_sofia.c:198 sofia/default/anonymous@pstn.twilio.com SOFIA EXECUTE
  3146. 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.
  3147. 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
  3148. 2022-09-20 10:43:34.531122 [DEBUG] switch_core_state_machine.c:328 sofia/default/anonymous@pstn.twilio.com Standard EXECUTE
  3149. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_destination_number=972546322423)
  3150. 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)
  3151. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_destination_number]=[972546322423]
  3152. EXECUTE sofia/default/anonymous@pstn.twilio.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  3153. 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]
  3154. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_account=851)
  3155. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_account]=[851]
  3156. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_rate=0.1825)
  3157. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_rate]=[0.1825]
  3158. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_increment=10)
  3159. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_increment]=[10]
  3160. EXECUTE sofia/default/anonymous@pstn.twilio.com set(nibble_minimum=0)
  3161. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [nibble_minimum]=[0]
  3162. EXECUTE sofia/default/anonymous@pstn.twilio.com nibblebill(heartbeat 10)
  3163. 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.
  3164. 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
  3165. 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)
  3166. EXECUTE sofia/default/anonymous@pstn.twilio.com set(callstart=2022-09-20 07:43:34)
  3167. 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]
  3168. EXECUTE sofia/default/anonymous@pstn.twilio.com set(hangup_after_bridge=true)
  3169. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [hangup_after_bridge]=[true]
  3170. EXECUTE sofia/default/anonymous@pstn.twilio.com set(continue_on_fail=TRUE)
  3171. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [continue_on_fail]=[TRUE]
  3172. EXECUTE sofia/default/anonymous@pstn.twilio.com set(account_id=851)
  3173. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [account_id]=[851]
  3174. EXECUTE sofia/default/anonymous@pstn.twilio.com set(parent_id=0)
  3175. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [parent_id]=[0]
  3176. EXECUTE sofia/default/anonymous@pstn.twilio.com set(entity_id=0)
  3177. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [entity_id]=[0]
  3178. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_processed=internal)
  3179. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_processed]=[internal]
  3180. EXECUTE sofia/default/anonymous@pstn.twilio.com set(call_direction=outbound)
  3181. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [call_direction]=[outbound]
  3182. EXECUTE sofia/default/anonymous@pstn.twilio.com set(accountname=default)
  3183. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [accountname]=[default]
  3184. EXECUTE sofia/default/anonymous@pstn.twilio.com set(filename1=astpp.pbx.lua)
  3185. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [filename1]=[astpp.pbx.lua]
  3186. 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)
  3187. 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]
  3188. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_name=anonymous)
  3189. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_name]=[anonymous]
  3190. EXECUTE sofia/default/anonymous@pstn.twilio.com set(original_caller_id_number=anonymous)
  3191. 2022-09-20 10:43:34.531122 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [original_caller_id_number]=[anonymous]
  3192. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  3193. 2022-09-20 10:43:34.531122 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  3194. 2022-09-20 10:43:34.531122 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 1/20
  3195. EXECUTE sofia/default/anonymous@pstn.twilio.com limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  3196. 2022-09-20 10:43:34.551150 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  3197. 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
  3198. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_name=anonymous)
  3199. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_name]=[anonymous]
  3200. EXECUTE sofia/default/anonymous@pstn.twilio.com set(effective_caller_id_number=anonymous)
  3201. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [effective_caller_id_number]=[anonymous]
  3202. EXECUTE sofia/default/anonymous@pstn.twilio.com set(calltype=STANDARD)
  3203. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [calltype]=[STANDARD]
  3204. 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)
  3205. 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]
  3206. EXECUTE sofia/default/anonymous@pstn.twilio.com set(trunk_id=71)
  3207. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [trunk_id]=[71]
  3208. EXECUTE sofia/default/anonymous@pstn.twilio.com set(provider_id=3489)
  3209. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [provider_id]=[3489]
  3210. EXECUTE sofia/default/anonymous@pstn.twilio.com set(rate_flag=0)
  3211. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [rate_flag]=[0]
  3212. EXECUTE sofia/default/anonymous@pstn.twilio.com set(force_trunk_flag=35562119)
  3213. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [force_trunk_flag]=[35562119]
  3214. EXECUTE sofia/default/anonymous@pstn.twilio.com export(presence_data=trunk_id=71)
  3215. 2022-09-20 10:43:34.551150 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=71]
  3216. EXECUTE sofia/default/anonymous@pstn.twilio.com set(intcall=0)
  3217. 2022-09-20 10:43:34.551150 [DEBUG] mod_dptools.c:1548 SET sofia/default/anonymous@pstn.twilio.com [intcall]=[0]
  3218. 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)
  3219. 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]
  3220. EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading/972546322423;fs_path=sip:136.243.196.198:5060)
  3221. 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
  3222. 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
  3223. 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
  3224. 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
  3225. 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
  3226. 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
  3227. 2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3228. 2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3229. 2022-09-20 10:43:34.551150 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [ee3de6ea-38b7-11ed-b897-ef396ca3ea52]
  3230. 2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
  3231. 2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
  3232. 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)
  3233. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
  3234. 2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
  3235. 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
  3236. 2022-09-20 10:43:34.551150 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20  64bit
  3237. Local SDP:
  3238. v=0
  3239. o=FreeSWITCH 1663641874 1663641875 IN IP4 89.46.223.193
  3240. s=FreeSWITCH
  3241. c=IN IP4 89.46.223.193
  3242. t=0 0
  3243. m=audio 17940 RTP/AVP 0 101
  3244. a=rtpmap:0 PCMU/8000
  3245. a=rtpmap:101 telephone-event/8000
  3246. a=fmtp:101 0-16
  3247. a=ptime:20
  3248. a=sendrecv
  3249.  
  3250. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
  3251. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
  3252. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
  3253. 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)
  3254. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
  3255. 2022-09-20 10:43:34.551150 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
  3256. 2022-09-20 10:43:34.551150 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3257. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
  3258. 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)
  3259. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
  3260. 2022-09-20 10:43:34.551150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
  3261. 2022-09-20 10:43:34.551150 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
  3262. 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
  3263. 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
  3264. You must define a domain called '89.46.223.193' in your directory and add a user with the id="286" attribute
  3265. and you must configure your device to use the proper domain in it's authentication credentials.
  3266. 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
  3267. 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
  3268. 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
  3269. You must define a domain called '89.46.223.193' in your directory and add a user with the id="166" attribute
  3270. and you must configure your device to use the proper domain in it's authentication credentials.
  3271. 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
  3272. 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
  3273. 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
  3274. You must define a domain called '89.46.223.193' in your directory and add a user with the id="173" attribute
  3275. and you must configure your device to use the proper domain in it's authentication credentials.
  3276. 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
  3277. 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]
  3278. 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)
  3279. 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
  3280. 2022-09-20 10:43:40.111112 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  3281. 2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [received][100]
  3282. 2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7094 Remote SDP:
  3283. v=0
  3284. o=PortaSIP 3888879532351605735 1 IN IP4 203.60.13.101
  3285. s=DIDXL
  3286. t=0 0
  3287. m=audio 27994 RTP/AVP 8 0 18 101
  3288. c=IN IP4 203.60.13.101
  3289. a=rtpmap:8 PCMA/8000
  3290. a=rtpmap:0 PCMU/8000
  3291. a=rtpmap:18 G729/8000
  3292. a=fmtp:18 annexb=no
  3293. a=rtpmap:101 telephone-event/8000
  3294. a=fmtp:101 0-16
  3295. a=ptime:20
  3296. a=maxptime:150
  3297.  
  3298. 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]
  3299. 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
  3300. 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]
  3301. 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]
  3302. 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]
  3303. 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
  3304. 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]
  3305. 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]
  3306. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3307. 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
  3308. 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
  3309. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3310. 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
  3311. 2022-09-20 10:43:40.111112 [DEBUG] sofia.c:7507 (sofia/default/+818090110851@203.60.13.98) State Change CS_NEW -> CS_INIT
  3312. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/+818090110851@203.60.13.98) State NEW
  3313. 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)
  3314. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/+818090110851@203.60.13.98) State INIT
  3315. 2022-09-20 10:43:40.111112 [DEBUG] mod_sofia.c:90 sofia/default/+818090110851@203.60.13.98 SOFIA INIT
  3316. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:40 sofia/default/+818090110851@203.60.13.98 Standard INIT
  3317. 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
  3318. 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
  3319. 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)
  3320. 2022-09-20 10:43:40.111112 [DEBUG] switch_channel.c:2249 (sofia/default/+818090110851@203.60.13.98) Callstate Change DOWN -> RINGING
  3321. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/+818090110851@203.60.13.98) State ROUTING
  3322. 2022-09-20 10:43:40.111112 [DEBUG] mod_sofia.c:143 sofia/default/+818090110851@203.60.13.98 SOFIA ROUTING
  3323. 2022-09-20 10:43:40.111112 [DEBUG] switch_core_state_machine.c:236 sofia/default/+818090110851@203.60.13.98 Standard ROUTING
  3324. 2022-09-20 10:43:40.111112 [INFO] mod_dialplan_xml.c:637 Processing +818090110851 <+818090110851>->81345655200 in context default
  3325. 2022-09-20 10:43:40.111112 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  3326. 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')
  3327. 2022-09-20 10:43:40.111112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3328. 2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3329. 2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 81345655200
  3330. 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
  3331. 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
  3332. 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
  3333. 2022-09-20 10:43:40.111112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  3334. 2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : +818090110851 / +818090110851
  3335. 2022-09-20 10:43:40.111112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3336. 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
  3337. 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
  3338. 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
  3339. 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
  3340. 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
  3341. 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
  3342. 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
  3343. 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
  3344. 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
  3345. 2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : inbound
  3346. 2022-09-20 10:43:40.111112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 594905904039]
  3347. 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
  3348. 2022-09-20 10:43:40.111112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3349. 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
  3350. 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
  3351. 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
  3352. 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
  3353. 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
  3354. 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
  3355. 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
  3356. 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
  3357. 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
  3358. 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
  3359. 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
  3360. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 81345655200
  3361. 2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3362. 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
  3363. 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
  3364. 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
  3365. 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
  3366. 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
  3367. 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
  3368. 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
  3369. 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
  3370. 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
  3371. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : inbound
  3372. 2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3373. 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
  3374. 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
  3375. 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
  3376. 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
  3377. 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
  3378. 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
  3379. 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
  3380. 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
  3381. 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
  3382. 2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  3383. 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
  3384. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] call_direction :inbound
  3385. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_PACKAGE_INFO] DID_ACCOUNTID :851
  3386. 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
  3387. 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
  3388. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3389. 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
  3390. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3391. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 851
  3392. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 259715977962
  3393. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 5758.59425
  3394. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3395. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  3396. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3397. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3398. 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
  3399. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :inbound
  3400. 2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3401. 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
  3402. 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
  3403. 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
  3404. 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
  3405. 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
  3406. 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
  3407. 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
  3408. 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
  3409. 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
  3410. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: inbound
  3411. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3412. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 6381
  3413. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3414. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3415. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.00000
  3416. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tokyo Landline
  3417. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 97
  3418. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 851
  3419. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3420. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your5758.59425 balance Accountid 851 !!!
  3421. 2022-09-20 10:43:40.131164 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Call is free - assigning max length!!! :: 180
  3422. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 851
  3423. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.00000
  3424. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  3425. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  3426. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 60
  3427. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 60
  3428. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  3429. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] INB_FREE:TRUE
  3430. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] free_inbound:1
  3431. 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
  3432. 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
  3433. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML:851
  3434. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Userinfo XML:851
  3435. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] [userinfo] Actual CustomerInfo XML : 851
  3436. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  3437. 2022-09-20 10:43:40.131164 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  3438. 2022-09-20 10:43:40.131164 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  3439. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  3440. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"000/00".....+818090110851
  3441. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET domains] Query :SELECT * FROM domains WHERE accountid = 851 limit 1
  3442. 2022-09-20 10:43:40.131164 [WARNING] switch_cpp.cpp:1365 [ASTPP] [user_domain] user_domainVoicespin802.newsip.israelnumber.com
  3443. 2022-09-20 10:43:40.131164 [DEBUG] switch_cpp.cpp:1365 [ASTPP] custom_function_name:::::::::::::::::::::::::custom_inbound_2
  3444. 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"?>
  3445. <document type="freeswitch/xml">
  3446. <section name="dialplan" description="ASTPP Dialplan">
  3447. <context name="default">
  3448. <extension name="81345655200">
  3449. <condition field="destination_number" expression="81345655200">
  3450. <action application="set" data="effective_destination_number=81345655200"/>
  3451. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  3452. <action application="set" data="nibble_account=851"/>
  3453. <action application="set" data="nibble_rate=0.00000"/>
  3454. <action application="set" data="nibble_increment=60"/>
  3455. <action application="set" data="nibble_minimum=0.00000"/>
  3456. <action application="nibblebill" data="heartbeat 60"/>
  3457. <action application="set" data="callstart=2022-09-20 07:43:40"/>
  3458. <action application="set" data="hangup_after_bridge=true"/>
  3459. <action application="set" data="continue_on_fail=TRUE"/>
  3460. <action application="set" data="account_id=851"/>
  3461. <action application="set" data="parent_id=0"/>
  3462. <action application="set" data="entity_id=0"/>
  3463. <action application="set" data="call_processed=internal"/>
  3464. <action application="set" data="call_direction=inbound"/>
  3465. <action application="set" data="accountname=default"/>
  3466. <action application="set" data="filename1=astpp.pbx.lua"/>
  3467. <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"/>
  3468. <action application="set" data="origination_rates=0"/>
  3469. <action application="set" data="original_caller_id_name=+818090110851"/>
  3470. <action application="set" data="original_caller_id_number=+818090110851"/>
  3471. <action application="limit" data="db 259715977962 user_259715977962 20 !SWITCH_CONGESTION"/>
  3472. <action application="limit" data="hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION"/>
  3473. <action application="set" data="effective_caller_id_name=+818090110851"/>
  3474. <action application="set" data="effective_caller_id_number=+818090110851"/>
  3475. <action application="set" data="receiver_accid=851"/>
  3476. <action application="export" data="domain_name=Voicespin802.newsip.israelnumber.com"/>
  3477. <action application="export" data="sip_to_host=Voicespin802.newsip.israelnumber.com"/>
  3478. <action application="export" data="presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98"/>
  3479. <action application="export" data="call_type=2"/>
  3480. <action application="set" data="calltype=DIRECT-IP"/>
  3481. <action application="bridge" data="[leg_timeout=30]sofia/${sofia_profile_name}/81345655200@35.205.116.118;fs_path=sip:136.243.196.198:5060"/>
  3482. </condition>
  3483. </extension>
  3484. </context>
  3485. </document>
  3486. 2022-09-20 10:43:40.131164 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  3487. Dialplan: sofia/default/+818090110851@203.60.13.98 parsing [default->81345655200] continue=false
  3488. Dialplan: sofia/default/+818090110851@203.60.13.98 Regex (PASS) [81345655200] destination_number(81345655200) =~ /81345655200/ break=on-false
  3489. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_destination_number=81345655200)
  3490. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  3491. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_account=851)
  3492. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_rate=0.00000)
  3493. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_increment=60)
  3494. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(nibble_minimum=0.00000)
  3495. Dialplan: sofia/default/+818090110851@203.60.13.98 Action nibblebill(heartbeat 60)
  3496. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(callstart=2022-09-20 07:43:40)
  3497. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(hangup_after_bridge=true)
  3498. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(continue_on_fail=TRUE)
  3499. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(account_id=851)
  3500. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(parent_id=0)
  3501. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(entity_id=0)
  3502. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_processed=internal)
  3503. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(call_direction=inbound)
  3504. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(accountname=default)
  3505. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(filename1=astpp.pbx.lua)
  3506. 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)
  3507. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(origination_rates=0)
  3508. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_name=+818090110851)
  3509. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(original_caller_id_number=+818090110851)
  3510. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  3511. Dialplan: sofia/default/+818090110851@203.60.13.98 Action limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  3512. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_name=+818090110851)
  3513. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(effective_caller_id_number=+818090110851)
  3514. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(receiver_accid=851)
  3515. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(domain_name=Voicespin802.newsip.israelnumber.com)
  3516. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  3517. 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)
  3518. Dialplan: sofia/default/+818090110851@203.60.13.98 Action export(call_type=2)
  3519. Dialplan: sofia/default/+818090110851@203.60.13.98 Action set(calltype=DIRECT-IP)
  3520. 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)
  3521. 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
  3522. 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
  3523. 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)
  3524. 2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:650 (sofia/default/+818090110851@203.60.13.98) State EXECUTE
  3525. 2022-09-20 10:43:40.131164 [DEBUG] mod_sofia.c:198 sofia/default/+818090110851@203.60.13.98 SOFIA EXECUTE
  3526. 2022-09-20 10:43:40.131164 [DEBUG] switch_core_state_machine.c:328 sofia/default/+818090110851@203.60.13.98 Standard EXECUTE
  3527. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_destination_number=81345655200)
  3528. 2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [effective_destination_number]=[81345655200]
  3529. EXECUTE sofia/default/+818090110851@203.60.13.98 set(execute_on_answer=sched_hangup +10800 normal_clearing)
  3530. 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]
  3531. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_account=851)
  3532. 2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_account]=[851]
  3533. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_rate=0.00000)
  3534. 2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_rate]=[0.00000]
  3535. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_increment=60)
  3536. 2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_increment]=[60]
  3537. EXECUTE sofia/default/+818090110851@203.60.13.98 set(nibble_minimum=0.00000)
  3538. 2022-09-20 10:43:40.131164 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [nibble_minimum]=[0.00000]
  3539. EXECUTE sofia/default/+818090110851@203.60.13.98 nibblebill(heartbeat 60)
  3540. 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.
  3541. 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
  3542. EXECUTE sofia/default/+818090110851@203.60.13.98 set(callstart=2022-09-20 07:43:40)
  3543. 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]
  3544. EXECUTE sofia/default/+818090110851@203.60.13.98 set(hangup_after_bridge=true)
  3545. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [hangup_after_bridge]=[true]
  3546. EXECUTE sofia/default/+818090110851@203.60.13.98 set(continue_on_fail=TRUE)
  3547. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [continue_on_fail]=[TRUE]
  3548. EXECUTE sofia/default/+818090110851@203.60.13.98 set(account_id=851)
  3549. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [account_id]=[851]
  3550. EXECUTE sofia/default/+818090110851@203.60.13.98 set(parent_id=0)
  3551. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [parent_id]=[0]
  3552. EXECUTE sofia/default/+818090110851@203.60.13.98 set(entity_id=0)
  3553. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [entity_id]=[0]
  3554. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_processed=internal)
  3555. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_processed]=[internal]
  3556. EXECUTE sofia/default/+818090110851@203.60.13.98 set(call_direction=inbound)
  3557. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [call_direction]=[inbound]
  3558. EXECUTE sofia/default/+818090110851@203.60.13.98 set(accountname=default)
  3559. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [accountname]=[default]
  3560. EXECUTE sofia/default/+818090110851@203.60.13.98 set(filename1=astpp.pbx.lua)
  3561. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [filename1]=[astpp.pbx.lua]
  3562. 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)
  3563. 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]
  3564. EXECUTE sofia/default/+818090110851@203.60.13.98 set(origination_rates=0)
  3565. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [origination_rates]=[0]
  3566. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_name=+818090110851)
  3567. 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]
  3568. EXECUTE sofia/default/+818090110851@203.60.13.98 set(original_caller_id_number=+818090110851)
  3569. 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]
  3570. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(db 259715977962 user_259715977962 20 !SWITCH_CONGESTION)
  3571. 2022-09-20 10:43:40.151116 [DEBUG] switch_limit.c:126 incr called: 259715977962_user_259715977962 max:20, interval:0
  3572. 2022-09-20 10:43:40.151116 [DEBUG] mod_db.c:194 Usage for 259715977962_user_259715977962 is now 2/20
  3573. EXECUTE sofia/default/+818090110851@203.60.13.98 limit(hash CPS_259715977962 CPS_user_259715977962 4/1 !SWITCH_CONGESTION)
  3574. 2022-09-20 10:43:40.151116 [DEBUG] switch_limit.c:126 incr called: CPS_259715977962_CPS_user_259715977962 max:4, interval:1
  3575. 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
  3576. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_name=+818090110851)
  3577. 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]
  3578. EXECUTE sofia/default/+818090110851@203.60.13.98 set(effective_caller_id_number=+818090110851)
  3579. 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]
  3580. EXECUTE sofia/default/+818090110851@203.60.13.98 set(receiver_accid=851)
  3581. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [receiver_accid]=[851]
  3582. EXECUTE sofia/default/+818090110851@203.60.13.98 export(domain_name=Voicespin802.newsip.israelnumber.com)
  3583. 2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [domain_name]=[Voicespin802.newsip.israelnumber.com]
  3584. EXECUTE sofia/default/+818090110851@203.60.13.98 export(sip_to_host=Voicespin802.newsip.israelnumber.com)
  3585. 2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [sip_to_host]=[Voicespin802.newsip.israelnumber.com]
  3586. EXECUTE sofia/default/+818090110851@203.60.13.98 export(presence_data=x|||Voicespin(259715977962)|||^81345655200.* // Tokyo Landline // 0.00000||||||DID|||203.60.13.98)
  3587. 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]
  3588. EXECUTE sofia/default/+818090110851@203.60.13.98 export(call_type=2)
  3589. 2022-09-20 10:43:40.151116 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_type]=[2]
  3590. EXECUTE sofia/default/+818090110851@203.60.13.98 set(calltype=DIRECT-IP)
  3591. 2022-09-20 10:43:40.151116 [DEBUG] mod_dptools.c:1548 SET sofia/default/+818090110851@203.60.13.98 [calltype]=[DIRECT-IP]
  3592. 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)
  3593. 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
  3594. 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
  3595. 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
  3596. 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
  3597. 2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3598. 2022-09-20 10:43:40.151116 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3599. 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]
  3600. 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
  3601. 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
  3602. 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)
  3603. 2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:627 (sofia/default/81345655200@35.205.116.118) State INIT
  3604. 2022-09-20 10:43:40.151116 [DEBUG] mod_sofia.c:90 sofia/default/81345655200@35.205.116.118 SOFIA INIT
  3605. 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
  3606. 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
  3607. Local SDP:
  3608. v=0
  3609. o=FreeSWITCH 1663641094 1663641095 IN IP4 89.46.223.193
  3610. s=FreeSWITCH
  3611. c=IN IP4 89.46.223.193
  3612. t=0 0
  3613. m=audio 18726 RTP/AVP 8 101
  3614. a=rtpmap:8 PCMA/8000
  3615. a=rtpmap:101 telephone-event/8000
  3616. a=fmtp:101 0-16
  3617. a=ptime:20
  3618. a=sendrecv
  3619.  
  3620. 2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:40 sofia/default/81345655200@35.205.116.118 Standard INIT
  3621. 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
  3622. 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
  3623. 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)
  3624. 2022-09-20 10:43:40.151116 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [calling][0]
  3625. 2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:643 (sofia/default/81345655200@35.205.116.118) State ROUTING
  3626. 2022-09-20 10:43:40.151116 [DEBUG] mod_sofia.c:143 sofia/default/81345655200@35.205.116.118 SOFIA ROUTING
  3627. 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
  3628. 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
  3629. 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)
  3630. 2022-09-20 10:43:40.151116 [DEBUG] switch_core_state_machine.c:662 (sofia/default/81345655200@35.205.116.118) State CONSUME_MEDIA
  3631. 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
  3632. 2022-09-20 10:43:40.731117 [DEBUG] sofia.c:7084 Channel sofia/default/81345655200@35.205.116.118 entering state [proceeding][180]
  3633. 2022-09-20 10:43:40.731117 [NOTICE] sofia.c:7192 Ring-Ready sofia/default/81345655200@35.205.116.118!
  3634. 2022-09-20 10:43:40.731117 [DEBUG] switch_channel.c:3346 (sofia/default/81345655200@35.205.116.118) Callstate Change DOWN -> RINGING
  3635. 2022-09-20 10:43:40.731117 [NOTICE] mod_sofia.c:2273 Ring-Ready sofia/default/+818090110851@203.60.13.98!
  3636. 2022-09-20 10:43:40.731117 [DEBUG] sofia.c:7084 Channel sofia/default/+818090110851@203.60.13.98 entering state [early][180]
  3637. 2022-09-20 10:43:40.731117 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/default/+818090110851@203.60.13.98!
  3638. 2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  3639. 2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  3640. 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
  3641. 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)
  3642. 2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:395 Doing update query
  3643. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  3644. 2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3645. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  3646. 2022-09-20 10:43:41.151115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.117530)
  3647. 2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  3648. 2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
  3649. 2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  3650. 2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3651. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  3652. 2022-09-20 10:43:44.151158 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  3653. 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
  3654. 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
  3655. 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
  3656. 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
  3657. You must define a domain called '89.46.223.193' in your directory and add a user with the id="108" attribute
  3658. and you must configure your device to use the proper domain in it's authentication credentials.
  3659. 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
  3660. 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
  3661. You must define a domain called '89.46.223.193' in your directory and add a user with the id="386" attribute
  3662. and you must configure your device to use the proper domain in it's authentication credentials.
  3663. 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
  3664. 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
  3665. 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
  3666. You must define a domain called '89.46.223.193' in your directory and add a user with the id="369" attribute
  3667. and you must configure your device to use the proper domain in it's authentication credentials.
  3668. 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
  3669. 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
  3670. 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
  3671. You must define a domain called '89.46.223.193' in your directory and add a user with the id="200" attribute
  3672. and you must configure your device to use the proper domain in it's authentication credentials.
  3673. 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
  3674. 2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  3675. 2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  3676. 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
  3677. 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)
  3678. 2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:395 Doing update query
  3679. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  3680. 2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3681. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  3682. 2022-09-20 10:43:51.151116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.114200)
  3683. 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]
  3684. 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)
  3685. 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
  3686. 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.
  3687. 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
  3688. 2022-09-20 10:43:51.471114 [DEBUG] switch_core_state_machine.c:603 (sofia/default/1020@89.46.223.193) State NEW
  3689. 2022-09-20 10:43:51.471114 [DEBUG] sofia.c:2334 detaching session f8556edc-38b7-11ed-b8d2-ef396ca3ea52
  3690. 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
  3691. 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]
  3692. 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)
  3693. 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
  3694. 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.
  3695. 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
  3696. 2022-09-20 10:43:53.391169 [DEBUG] switch_core_state_machine.c:603 (sofia/default/-8946223193@89.46.223.193) State NEW
  3697. 2022-09-20 10:43:53.391169 [DEBUG] sofia.c:2334 detaching session f979c77c-38b7-11ed-b8d5-ef396ca3ea52
  3698. 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
  3699. You must define a domain called '89.46.223.193' in your directory and add a user with the id="308" attribute
  3700. and you must configure your device to use the proper domain in it's authentication credentials.
  3701. 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
  3702. 2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  3703. 2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
  3704. 2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  3705. 2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3706. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  3707. 2022-09-20 10:43:54.151198 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  3708. 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
  3709. 2022-09-20 10:43:54.731112 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [terminated][408]
  3710. 2022-09-20 10:43:54.731112 [NOTICE] sofia.c:8273 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [RECOVERY_ON_TIMER_EXPIRE]
  3711. 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)
  3712. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
  3713. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
  3714. 2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: RECOVERY_ON_TIMER_EXPIRE
  3715. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: RECOVERY_ON_TIMER_EXPIRE
  3716. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
  3717. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
  3718. 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)
  3719. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
  3720. 2022-09-20 10:43:54.731112 [INFO] mod_json_cdr.c:271 Process [ee3de6ea-38b7-11ed-b897-ef396ca3ea52.cdr.json]
  3721. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: RECOVERY_ON_TIMER_EXPIRE
  3722. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
  3723. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
  3724. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_session.c:1665 Session 79045 (sofia/default/972546322423) Locked, Waiting on external entities
  3725. 2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 102 [RECOVERY_ON_TIMER_EXPIRE]
  3726. 2022-09-20 10:43:54.731112 [NOTICE] switch_core_session.c:1683 Session 79045 (sofia/default/972546322423) Ended
  3727. 2022-09-20 10:43:54.731112 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
  3728. 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)
  3729. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
  3730. 2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
  3731. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
  3732. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
  3733. 2022-09-20 10:43:54.731112 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: RECOVERY_ON_TIMER_EXPIRE
  3734. EXECUTE sofia/default/anonymous@pstn.twilio.com bridge([leg_timeout=60]sofia/gateway/Voicetrading2/972546322423;fs_path=sip:136.243.196.198:5060)
  3735. 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
  3736. 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
  3737. 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
  3738. 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
  3739. 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
  3740. 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
  3741. 2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  3742. 2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  3743. 2022-09-20 10:43:54.731112 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972546322423 [fa474e9a-38b7-11ed-b8dc-ef396ca3ea52]
  3744. 2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:4819 (sofia/default/972546322423) State Change CS_NEW -> CS_INIT
  3745. 2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:2963 sofia/default/972546322423 Setting leg timeout to 60
  3746. 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)
  3747. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT
  3748. 2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:90 sofia/default/972546322423 SOFIA INIT
  3749. 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
  3750. 2022-09-20 10:43:54.731112 [DEBUG] sofia_glue.c:1295 sofia/default/972546322423 sending invite version: 1.6.20  64bit
  3751. Local SDP:
  3752. v=0
  3753. o=FreeSWITCH 1663640942 1663640943 IN IP4 89.46.223.193
  3754. s=FreeSWITCH
  3755. c=IN IP4 89.46.223.193
  3756. t=0 0
  3757. m=audio 18892 RTP/AVP 0 101
  3758. a=rtpmap:0 PCMU/8000
  3759. a=rtpmap:101 telephone-event/8000
  3760. a=fmtp:101 0-16
  3761. a=ptime:20
  3762. a=sendrecv
  3763.  
  3764. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:40 sofia/default/972546322423 Standard INIT
  3765. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972546322423) State Change CS_INIT -> CS_ROUTING
  3766. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972546322423) State INIT going to sleep
  3767. 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)
  3768. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING
  3769. 2022-09-20 10:43:54.731112 [DEBUG] mod_sofia.c:143 sofia/default/972546322423 SOFIA ROUTING
  3770. 2022-09-20 10:43:54.731112 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972546322423) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  3771. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972546322423) State ROUTING going to sleep
  3772. 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)
  3773. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA
  3774. 2022-09-20 10:43:54.731112 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972546322423) State CONSUME_MEDIA going to sleep
  3775. 2022-09-20 10:43:54.731112 [DEBUG] sofia.c:7084 Channel sofia/default/972546322423 entering state [calling][0]
  3776. 2022-09-20 10:43:57.731112 [DEBUG] sofia.c:7084 Channel sofia/default/anonymous@pstn.twilio.com entering state [terminated][487]
  3777. 2022-09-20 10:43:57.731112 [NOTICE] sofia.c:8273 Hangup sofia/default/anonymous@pstn.twilio.com [CS_EXECUTE] [ORIGINATOR_CANCEL]
  3778. 2022-09-20 10:43:57.731112 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 1
  3779. 2022-09-20 10:43:57.751115 [NOTICE] switch_ivr_originate.c:3612 Hangup sofia/default/972546322423 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
  3780. 2022-09-20 10:43:57.751115 [DEBUG] switch_ivr_originate.c:3837 Originate Cancelled by originator termination Cause: 487 [ORIGINATOR_CANCEL]
  3781. 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)
  3782. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/972546322423) Callstate Change DOWN -> HANGUP
  3783. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP
  3784. 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
  3785. 2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:438 Channel sofia/default/972546322423 hanging up, cause: ORIGINATOR_CANCEL
  3786. 2022-09-20 10:43:57.751115 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ORIGINATOR_CANCEL
  3787. 2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/972546322423
  3788. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:60 sofia/default/972546322423 Standard HANGUP, cause: ORIGINATOR_CANCEL
  3789. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/972546322423) State HANGUP going to sleep
  3790. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:619 (sofia/default/972546322423) State Change CS_HANGUP -> CS_REPORTING
  3791. 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)
  3792. 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)
  3793. 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
  3794. 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)
  3795. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING
  3796. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:850 (sofia/default/anonymous@pstn.twilio.com) Callstate Change RINGING -> HANGUP
  3797. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:852 (sofia/default/anonymous@pstn.twilio.com) State HANGUP
  3798. 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
  3799. 2022-09-20 10:43:57.751115 [DEBUG] mod_sofia.c:438 Channel sofia/default/anonymous@pstn.twilio.com hanging up, cause: ORIGINATOR_CANCEL
  3800. 2022-09-20 10:43:57.751115 [INFO] mod_json_cdr.c:271 Process [fa474e9a-38b7-11ed-b8dc-ef396ca3ea52.cdr.json]
  3801. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.1825 per minute to account 851
  3802. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  3803. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3804. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  3805. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  3806. 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
  3807. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  3808. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  3809. 2022-09-20 10:43:57.751115 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  3810. 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
  3811. 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
  3812. 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
  3813. 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)
  3814. 2022-09-20 10:43:57.751115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/anonymous@pstn.twilio.com) State REPORTING
  3815. 2022-09-20 10:43:57.771114 [INFO] mod_json_cdr.c:271 Process [ee2f9860-38b7-11ed-b84a-ef396ca3ea52.cdr.json]
  3816. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:174 sofia/default/972546322423 Standard REPORTING, cause: ORIGINATOR_CANCEL
  3817. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:938 (sofia/default/972546322423) State REPORTING going to sleep
  3818. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:610 (sofia/default/972546322423) State Change CS_REPORTING -> CS_DESTROY
  3819. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_session.c:1665 Session 79050 (sofia/default/972546322423) Locked, Waiting on external entities
  3820. 2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1683 Session 79050 (sofia/default/972546322423) Ended
  3821. 2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/972546322423 [CS_DESTROY]
  3822. 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)
  3823. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY
  3824. 2022-09-20 10:43:57.771114 [DEBUG] mod_sofia.c:343 sofia/default/972546322423 SOFIA DESTROY
  3825. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:181 sofia/default/972546322423 Standard DESTROY
  3826. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/972546322423) State DESTROY going to sleep
  3827. 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
  3828. 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
  3829. 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
  3830. 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
  3831. 2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1683 Session 79044 (sofia/default/anonymous@pstn.twilio.com) Ended
  3832. 2022-09-20 10:43:57.771114 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/anonymous@pstn.twilio.com [CS_DESTROY]
  3833. 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)
  3834. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:751 (sofia/default/anonymous@pstn.twilio.com) State DESTROY
  3835. 2022-09-20 10:43:57.771114 [DEBUG] mod_sofia.c:343 sofia/default/anonymous@pstn.twilio.com SOFIA DESTROY
  3836. 2022-09-20 10:43:57.771114 [DEBUG] switch_core_state_machine.c:181 sofia/default/anonymous@pstn.twilio.com Standard DESTROY
  3837. 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
  3838. 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]
  3839. 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)
  3840. 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
  3841. 2022-09-20 10:43:58.051171 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  3842. 2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [received][100]
  3843. 2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7094 Remote SDP:
  3844. v=0
  3845. o=- 20563 20563 IN IP4 192.168.1.15
  3846. s=SDP data
  3847. c=IN IP4 84.95.206.106
  3848. t=0 0
  3849. m=audio 10248 RTP/AVP 0 8 18 9 101
  3850. a=rtpmap:0 PCMU/8000
  3851. a=rtpmap:8 PCMA/8000
  3852. a=rtpmap:18 G729/8000
  3853. a=fmtp:18 annexb=no
  3854. a=rtpmap:9 G722/8000
  3855. a=rtpmap:101 telephone-event/8000
  3856. a=fmtp:101 0-15
  3857. a=ptime:20
  3858.  
  3859. 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]
  3860. 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]
  3861. 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
  3862. 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]
  3863. 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
  3864. 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]
  3865. 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]
  3866. 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]
  3867. 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]
  3868. 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]
  3869. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  3870. 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
  3871. 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
  3872. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  3873. 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
  3874. 2022-09-20 10:43:58.051171 [DEBUG] sofia.c:7507 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
  3875. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:603 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State NEW
  3876. 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)
  3877. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:627 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State INIT
  3878. 2022-09-20 10:43:58.051171 [DEBUG] mod_sofia.c:90 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA INIT
  3879. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:40 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard INIT
  3880. 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
  3881. 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
  3882. 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)
  3883. 2022-09-20 10:43:58.051171 [DEBUG] switch_channel.c:2249 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
  3884. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:643 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State ROUTING
  3885. 2022-09-20 10:43:58.051171 [DEBUG] mod_sofia.c:143 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA ROUTING
  3886. 2022-09-20 10:43:58.051171 [DEBUG] switch_core_state_machine.c:236 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard ROUTING
  3887. 2022-09-20 10:43:58.051171 [INFO] mod_dialplan_xml.c:637 Processing 097406629 <097406629>->0507533015 in context default
  3888. 2022-09-20 10:43:58.051171 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  3889. 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')
  3890. 2022-09-20 10:43:58.051171 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  3891. 2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  3892. 2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 0507533015
  3893. 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
  3894. 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
  3895. 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
  3896. 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
  3897. 2022-09-20 10:43:58.051171 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  3898. 2022-09-20 10:43:58.051171 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 097406629 / 097406629
  3899. 2022-09-20 10:43:58.051171 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3900. 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
  3901. 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
  3902. 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
  3903. 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
  3904. 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
  3905. 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
  3906. 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
  3907. 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
  3908. 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
  3909. 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
  3910. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  3911. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 348030485868]
  3912. 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
  3913. 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
  3914. 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
  3915. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0507533015
  3916. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3917. 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
  3918. 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
  3919. 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
  3920. 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
  3921. 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
  3922. 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
  3923. 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
  3924. 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
  3925. 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
  3926. 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
  3927. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  3928. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  3929. 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
  3930. 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
  3931. 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
  3932. 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
  3933. 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
  3934. 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
  3935. 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
  3936. 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
  3937. 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
  3938. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  3939. 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
  3940. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
  3941. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
  3942. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....0507533015
  3943. 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
  3944. 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
  3945. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  3946. 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
  3947. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  3948. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 3541
  3949. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 348030485868
  3950. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 14.1142
  3951. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  3952. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  3953. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  3954. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  3955. 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
  3956. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  3957. 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
  3958. 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
  3959. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  3960. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  3961. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731561
  3962. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3963. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  3964. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.04000
  3965. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Israel Mobile
  3966. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  3967. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 3541
  3968. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
  3969. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  3970. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  3971. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your14.1142 balance Accountid 3541 !!!
  3972. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  3973. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 3541
  3974. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.04000
  3975. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  3976. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  3977. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
  3978. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
  3979. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  3980. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731561
  3981. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :15
  3982. 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
  3983. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  3984. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  3985. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453047
  3986. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^05.*
  3987. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Israel Mobile
  3988. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  3989. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  3990. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^05.*
  3991. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 05
  3992. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9725
  3993. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
  3994. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
  3995. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  3996. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
  3997. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
  3998. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  3999. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
  4000. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4001. 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
  4002. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  4003. 2022-09-20 10:43:58.071115 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  4004. 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
  4005. 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
  4006. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :05/9725.....0507533015
  4007. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 0507533015
  4008. 2022-09-20 10:43:58.071115 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 972507533015
  4009. 2022-09-20 10:43:58.071115 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  4010. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4011. <document type="freeswitch/xml">
  4012. <section name="dialplan" description="ASTPP Dialplan">
  4013. <context name="default">
  4014. <extension name="0507533015">
  4015. <condition field="destination_number" expression="0507533015">
  4016. <action application="set" data="effective_destination_number=0507533015"/>
  4017. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  4018. <action application="set" data="nibble_account=3541"/>
  4019. <action application="set" data="nibble_rate=0.04000"/>
  4020. <action application="set" data="nibble_increment=10"/>
  4021. <action application="set" data="nibble_minimum=0.00000"/>
  4022. <action application="nibblebill" data="heartbeat 10"/>
  4023. <action application="set" data="callstart=2022-09-20 07:43:58"/>
  4024. <action application="set" data="hangup_after_bridge=true"/>
  4025. <action application="set" data="continue_on_fail=TRUE"/>
  4026. <action application="set" data="account_id=3541"/>
  4027. <action application="set" data="parent_id=0"/>
  4028. <action application="set" data="entity_id=0"/>
  4029. <action application="set" data="call_processed=internal"/>
  4030. <action application="set" data="call_direction=outbound"/>
  4031. <action application="set" data="accountname=default"/>
  4032. <action application="set" data="filename1=astpp.pbx.lua"/>
  4033. <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"/>
  4034. <action application="set" data="original_caller_id_name=097406629"/>
  4035. <action application="set" data="original_caller_id_number=097406629"/>
  4036. <action application="limit" data="db 348030485868 user_348030485868 4 !SWITCH_CONGESTION"/>
  4037. <action application="limit" data="hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION"/>
  4038.  
  4039. <action application="export" data="is_recording=1"/>
  4040. <action application="export" data="media_bug_answer_req=true"/>
  4041. <action application="export" data="RECORD_STEREO=true"/>
  4042. <action application="export" data="record_sample_rate=8000"/>
  4043. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  4044. <action application="set" data="effective_caller_id_name=097406629"/>
  4045. <action application="set" data="effective_caller_id_number=097406629"/>
  4046. <action application="set" data="calltype=STANDARD"/>
  4047. <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"/>
  4048. <action application="set" data="trunk_id=15"/>
  4049. <action application="set" data="provider_id=901"/>
  4050. <action application="set" data="rate_flag=0"/>
  4051. <action application="set" data="force_trunk_flag=35731561"/>
  4052. <action application="export" data="presence_data=trunk_id=15"/>
  4053. <action application="set" data="intcall=0"/>
  4054. <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"/>
  4055. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/972507533015;fs_path=sip:136.243.196.198:5060"/>
  4056. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/972507533015;fs_path=sip:136.243.196.198:5060"/>
  4057. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/972507533015;fs_path=sip:136.243.196.198:5060"/>
  4058. </condition>
  4059. </extension>
  4060. </context>
  4061. </document>
  4062. 2022-09-20 10:43:58.071115 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  4063. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com parsing [default->0507533015] continue=false
  4064. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Regex (PASS) [0507533015] destination_number(0507533015) =~ /0507533015/ break=on-false
  4065. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_destination_number=0507533015)
  4066. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  4067. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_account=3541)
  4068. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_rate=0.04000)
  4069. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_increment=10)
  4070. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
  4071. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action nibblebill(heartbeat 10)
  4072. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(callstart=2022-09-20 07:43:58)
  4073. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(hangup_after_bridge=true)
  4074. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
  4075. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(account_id=3541)
  4076. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(parent_id=0)
  4077. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(entity_id=0)
  4078. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(call_processed=internal)
  4079. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(call_direction=outbound)
  4080. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(accountname=default)
  4081. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
  4082. 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)
  4083. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(original_caller_id_name=097406629)
  4084. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(original_caller_id_number=097406629)
  4085. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action limit(db 348030485868 user_348030485868 4 !SWITCH_CONGESTION)
  4086. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action limit(hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION)
  4087. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(is_recording=1)
  4088. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(media_bug_answer_req=true)
  4089. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(RECORD_STEREO=true)
  4090. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(record_sample_rate=8000)
  4091. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  4092. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_caller_id_name=097406629)
  4093. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(effective_caller_id_number=097406629)
  4094. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(calltype=STANDARD)
  4095. 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)
  4096. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(trunk_id=15)
  4097. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(provider_id=901)
  4098. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(rate_flag=0)
  4099. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(force_trunk_flag=35731561)
  4100. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
  4101. Dialplan: sofia/default/097406629@Rachash3186.newsip.israelnumber.com Action set(intcall=0)
  4102. 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)
  4103. 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)
  4104. 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)
  4105. 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)
  4106. 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
  4107. 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
  4108. 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)
  4109. 2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:650 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) State EXECUTE
  4110. 2022-09-20 10:43:58.071115 [DEBUG] mod_sofia.c:198 sofia/default/097406629@Rachash3186.newsip.israelnumber.com SOFIA EXECUTE
  4111. 2022-09-20 10:43:58.071115 [DEBUG] switch_core_state_machine.c:328 sofia/default/097406629@Rachash3186.newsip.israelnumber.com Standard EXECUTE
  4112. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_destination_number=0507533015)
  4113. 2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [effective_destination_number]=[0507533015]
  4114. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  4115. 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]
  4116. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_account=3541)
  4117. 2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_account]=[3541]
  4118. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_rate=0.04000)
  4119. 2022-09-20 10:43:58.071115 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_rate]=[0.04000]
  4120. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_increment=10)
  4121. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_increment]=[10]
  4122. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(nibble_minimum=0.00000)
  4123. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [nibble_minimum]=[0.00000]
  4124. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com nibblebill(heartbeat 10)
  4125. 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.
  4126. 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
  4127. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(callstart=2022-09-20 07:43:58)
  4128. 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]
  4129. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(hangup_after_bridge=true)
  4130. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [hangup_after_bridge]=[true]
  4131. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(continue_on_fail=TRUE)
  4132. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [continue_on_fail]=[TRUE]
  4133. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(account_id=3541)
  4134. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [account_id]=[3541]
  4135. 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)
  4136. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(parent_id=0)
  4137. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [parent_id]=[0]
  4138. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(entity_id=0)
  4139. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [entity_id]=[0]
  4140. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(call_processed=internal)
  4141. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [call_processed]=[internal]
  4142. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(call_direction=outbound)
  4143. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [call_direction]=[outbound]
  4144. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(accountname=default)
  4145. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [accountname]=[default]
  4146. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
  4147. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
  4148. 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)
  4149. 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]
  4150. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(original_caller_id_name=097406629)
  4151. 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]
  4152. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(original_caller_id_number=097406629)
  4153. 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]
  4154. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com limit(db 348030485868 user_348030485868 4 !SWITCH_CONGESTION)
  4155. 2022-09-20 10:43:58.091109 [DEBUG] switch_limit.c:126 incr called: 348030485868_user_348030485868 max:4, interval:0
  4156. 2022-09-20 10:43:58.091109 [DEBUG] mod_db.c:194 Usage for 348030485868_user_348030485868 is now 2/4
  4157. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com limit(hash CPS_348030485868 CPS_user_348030485868 3/1 !SWITCH_CONGESTION)
  4158. 2022-09-20 10:43:58.091109 [DEBUG] switch_limit.c:126 incr called: CPS_348030485868_CPS_user_348030485868 max:3, interval:1
  4159. 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
  4160. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(is_recording=1)
  4161. 2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  4162. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(media_bug_answer_req=true)
  4163. 2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  4164. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(RECORD_STEREO=true)
  4165. 2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  4166. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(record_sample_rate=8000)
  4167. 2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  4168. 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)
  4169. 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]
  4170. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_caller_id_name=097406629)
  4171. 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]
  4172. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(effective_caller_id_number=097406629)
  4173. 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]
  4174. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(calltype=STANDARD)
  4175. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [calltype]=[STANDARD]
  4176. 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)
  4177. 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]
  4178. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(trunk_id=15)
  4179. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [trunk_id]=[15]
  4180. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(provider_id=901)
  4181. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [provider_id]=[901]
  4182. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(rate_flag=0)
  4183. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [rate_flag]=[0]
  4184. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(force_trunk_flag=35731561)
  4185. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [force_trunk_flag]=[35731561]
  4186. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com export(presence_data=trunk_id=15)
  4187. 2022-09-20 10:43:58.091109 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
  4188. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com set(intcall=0)
  4189. 2022-09-20 10:43:58.091109 [DEBUG] mod_dptools.c:1548 SET sofia/default/097406629@Rachash3186.newsip.israelnumber.com [intcall]=[0]
  4190. 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)
  4191. 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]
  4192. 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)
  4193. 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
  4194. 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
  4195. 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
  4196. 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
  4197. 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
  4198. 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
  4199. 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
  4200. 2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4201. 2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4202. 2022-09-20 10:43:58.091109 [NOTICE] switch_channel.c:1104 New Channel sofia/default/972507533015 [fc464cc8-38b7-11ed-b90c-ef396ca3ea52]
  4203. 2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:4819 (sofia/default/972507533015) State Change CS_NEW -> CS_INIT
  4204. 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)
  4205. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972507533015) State INIT
  4206. 2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:90 sofia/default/972507533015 SOFIA INIT
  4207. 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
  4208. 2022-09-20 10:43:58.091109 [DEBUG] sofia_glue.c:1295 sofia/default/972507533015 sending invite version: 1.6.20  64bit
  4209. Local SDP:
  4210. v=0
  4211. o=FreeSWITCH 1663641088 1663641089 IN IP4 89.46.223.193
  4212. s=FreeSWITCH
  4213. c=IN IP4 89.46.223.193
  4214. t=0 0
  4215. m=audio 18750 RTP/AVP 8 101
  4216. a=rtpmap:8 PCMA/8000
  4217. a=rtpmap:101 telephone-event/8000
  4218. a=fmtp:101 0-16
  4219. a=ptime:20
  4220. a=sendrecv
  4221.  
  4222. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:40 sofia/default/972507533015 Standard INIT
  4223. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:48 (sofia/default/972507533015) State Change CS_INIT -> CS_ROUTING
  4224. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:627 (sofia/default/972507533015) State INIT going to sleep
  4225. 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)
  4226. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972507533015) State ROUTING
  4227. 2022-09-20 10:43:58.091109 [DEBUG] mod_sofia.c:143 sofia/default/972507533015 SOFIA ROUTING
  4228. 2022-09-20 10:43:58.091109 [DEBUG] switch_ivr_originate.c:67 (sofia/default/972507533015) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4229. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:643 (sofia/default/972507533015) State ROUTING going to sleep
  4230. 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)
  4231. 2022-09-20 10:43:58.091109 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [calling][0]
  4232. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972507533015) State CONSUME_MEDIA
  4233. 2022-09-20 10:43:58.091109 [DEBUG] switch_core_state_machine.c:662 (sofia/default/972507533015) State CONSUME_MEDIA going to sleep
  4234. 2022-09-20 10:43:58.311116 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [proceeding][183]
  4235. 2022-09-20 10:43:58.311116 [DEBUG] sofia.c:7094 Remote SDP:
  4236. v=0
  4237. o=- 1663659838 1663659838 IN IP4 185.23.172.34
  4238. s=-
  4239. c=IN IP4 185.23.172.34
  4240. t=0 0
  4241. m=audio 43502 RTP/AVP 8 101
  4242. a=rtpmap:8 PCMA/8000
  4243. a=rtpmap:101 telephone-event/8000
  4244. a=fmtp:101 0-15
  4245. a=ptime:20
  4246. a=silenceSupp:off - - - -
  4247.  
  4248. 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]
  4249. 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
  4250. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4251. 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
  4252. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_codec.c:111 sofia/default/972507533015 Original read codec set to PCMA:8
  4253. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4254. 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
  4255. 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
  4256. 2022-09-20 10:43:58.311116 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4257. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7180 sofia/default/972507533015 Set 2833 dtmf send payload to 101
  4258. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7187 sofia/default/972507533015 Set 2833 dtmf receive payload to 101
  4259. 2022-09-20 10:43:58.311116 [DEBUG] switch_core_media.c:7210 sofia/default/972507533015 Set rtp dtmf delay to 40
  4260. 2022-09-20 10:43:58.311116 [NOTICE] sofia_media.c:92 Pre-Answer sofia/default/972507533015!
  4261. 2022-09-20 10:43:58.311116 [DEBUG] switch_channel.c:3474 (sofia/default/972507533015) Callstate Change DOWN -> EARLY
  4262. 2022-09-20 10:43:58.331108 [INFO] switch_ivr_originate.c:3654 Sending early media
  4263. 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
  4264. 2022-09-20 10:43:58.331108 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
  4265. 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
  4266. 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
  4267. 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
  4268. 2022-09-20 10:43:58.331108 [DEBUG] mod_sofia.c:2364 Ring SDP:
  4269. v=0
  4270. o=FreeSWITCH 1663640550 1663640551 IN IP4 89.46.223.193
  4271. s=FreeSWITCH
  4272. c=IN IP4 89.46.223.193
  4273. t=0 0
  4274. m=audio 19288 RTP/AVP 0 101
  4275. a=rtpmap:0 PCMU/8000
  4276. a=rtpmap:101 telephone-event/8000
  4277. a=fmtp:101 0-16
  4278. a=ptime:20
  4279. a=sendrecv
  4280.  
  4281. 2022-09-20 10:43:58.331108 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/default/097406629@Rachash3186.newsip.israelnumber.com!
  4282. 2022-09-20 10:43:58.331108 [DEBUG] switch_channel.c:3474 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change RINGING -> EARLY
  4283. 2022-09-20 10:43:58.331108 [DEBUG] switch_ivr_originate.c:3705 Originate Resulted in Success: [sofia/default/972507533015]
  4284. 2022-09-20 10:43:58.331108 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [early][183]
  4285. 2022-09-20 10:43:58.331108 [DEBUG] switch_ivr_bridge.c:1614 (sofia/default/972507533015) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  4286. 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)
  4287. 2022-09-20 10:43:58.331108 [DEBUG] switch_core_state_machine.c:653 (sofia/default/972507533015) State EXCHANGE_MEDIA
  4288. 2022-09-20 10:43:58.331108 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA
  4289. 2022-09-20 10:43:58.591178 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4290. 2022-09-20 10:43:58.891120 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  4291. 2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  4292. 2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  4293. 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
  4294. 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)
  4295. 2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:395 Doing update query
  4296. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  4297. 2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4298. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  4299. 2022-09-20 10:44:01.091116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.110870)
  4300. 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
  4301. 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]
  4302. 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)
  4303. 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
  4304. 2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:852 (sofia/default/1020@89.46.223.193) State HANGUP
  4305. 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
  4306. 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
  4307. 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
  4308. 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
  4309. 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)
  4310. 2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:938 (sofia/default/1020@89.46.223.193) State REPORTING
  4311. 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
  4312. 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
  4313. 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
  4314. 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
  4315. 2022-09-20 10:44:01.531279 [NOTICE] switch_core_session.c:1683 Session 79048 (sofia/default/1020@89.46.223.193) Ended
  4316. 2022-09-20 10:44:01.531279 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/1020@89.46.223.193 [CS_DESTROY]
  4317. 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)
  4318. 2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:751 (sofia/default/1020@89.46.223.193) State DESTROY
  4319. 2022-09-20 10:44:01.531279 [DEBUG] mod_sofia.c:343 sofia/default/1020@89.46.223.193 SOFIA DESTROY
  4320. 2022-09-20 10:44:01.531279 [DEBUG] switch_core_state_machine.c:181 sofia/default/1020@89.46.223.193 Standard DESTROY
  4321. 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
  4322. 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
  4323. 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
  4324. You must define a domain called '89.46.223.193' in your directory and add a user with the id="341" attribute
  4325. and you must configure your device to use the proper domain in it's authentication credentials.
  4326. 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
  4327. 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
  4328. 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]
  4329. 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)
  4330. 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
  4331. 2022-09-20 10:44:03.431136 [DEBUG] switch_core_state_machine.c:852 (sofia/default/-8946223193@89.46.223.193) State HANGUP
  4332. 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
  4333. 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
  4334. 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
  4335. 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
  4336. 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)
  4337. 2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:938 (sofia/default/-8946223193@89.46.223.193) State REPORTING
  4338. 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
  4339. 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
  4340. 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
  4341. 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
  4342. 2022-09-20 10:44:03.451115 [NOTICE] switch_core_session.c:1683 Session 79049 (sofia/default/-8946223193@89.46.223.193) Ended
  4343. 2022-09-20 10:44:03.451115 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/-8946223193@89.46.223.193 [CS_DESTROY]
  4344. 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)
  4345. 2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/-8946223193@89.46.223.193) State DESTROY
  4346. 2022-09-20 10:44:03.451115 [DEBUG] mod_sofia.c:343 sofia/default/-8946223193@89.46.223.193 SOFIA DESTROY
  4347. 2022-09-20 10:44:03.451115 [DEBUG] switch_core_state_machine.c:181 sofia/default/-8946223193@89.46.223.193 Standard DESTROY
  4348. 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
  4349. 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]
  4350. 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)
  4351. 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
  4352. 2022-09-20 10:44:04.831112 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  4353. 2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7084 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com entering state [received][100]
  4354. 2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7094 Remote SDP:
  4355. v=0
  4356. o=- 20135 20135 IN IP4 192.168.1.48
  4357. s=SDP data
  4358. c=IN IP4 213.8.118.14
  4359. t=0 0
  4360. m=audio 10388 RTP/AVP 9 0 8 18 101
  4361. a=rtpmap:9 G722/8000
  4362. a=rtpmap:0 PCMU/8000
  4363. a=rtpmap:8 PCMA/8000
  4364. a=rtpmap:18 G729/8000
  4365. a=fmtp:18 annexb=no
  4366. a=rtpmap:101 telephone-event/8000
  4367. a=fmtp:101 0-15
  4368. a=ptime:20
  4369.  
  4370. 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]
  4371. 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]
  4372. 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]
  4373. 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]
  4374. 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
  4375. 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]
  4376. 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
  4377. 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]
  4378. 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]
  4379. 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]
  4380. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  4381. 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
  4382. 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
  4383. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  4384. 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
  4385. 2022-09-20 10:44:04.831112 [DEBUG] sofia.c:7507 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
  4386. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State NEW
  4387. 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)
  4388. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT
  4389. 2022-09-20 10:44:04.831112 [DEBUG] mod_sofia.c:90 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA INIT
  4390. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:40 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard INIT
  4391. 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
  4392. 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
  4393. 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)
  4394. 2022-09-20 10:44:04.831112 [DEBUG] switch_channel.c:2249 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
  4395. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING
  4396. 2022-09-20 10:44:04.831112 [DEBUG] mod_sofia.c:143 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA ROUTING
  4397. 2022-09-20 10:44:04.831112 [DEBUG] switch_core_state_machine.c:236 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard ROUTING
  4398. 2022-09-20 10:44:04.831112 [INFO] mod_dialplan_xml.c:637 Processing SHARON <5445479315>->036740319 in context default
  4399. 2022-09-20 10:44:04.831112 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  4400. 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')
  4401. 2022-09-20 10:44:04.831112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  4402. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  4403. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 036740319
  4404. 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
  4405. 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
  4406. 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
  4407. 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
  4408. 2022-09-20 10:44:04.851112 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  4409. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 039707070 / 039707070
  4410. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  4411. 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
  4412. 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
  4413. 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
  4414. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  4415. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  4416. 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
  4417. 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
  4418. 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
  4419. 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
  4420. 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
  4421. 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
  4422. 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
  4423. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  4424. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 615524607932]
  4425. 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
  4426. 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
  4427. 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
  4428. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 036740319
  4429. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  4430. 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
  4431. 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
  4432. 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
  4433. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  4434. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  4435. 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
  4436. 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
  4437. 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
  4438. 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
  4439. 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
  4440. 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
  4441. 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
  4442. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  4443. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  4444. 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
  4445. 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
  4446. 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
  4447. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  4448. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  4449. 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
  4450. 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
  4451. 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
  4452. 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
  4453. 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
  4454. 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
  4455. 2022-09-20 10:44:04.851112 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  4456. 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
  4457. 2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  4458. 2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  4459. 2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  4460. 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
  4461. 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
  4462. 2022-09-20 10:44:04.851112 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  4463. 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
  4464. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  4465. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2881
  4466. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 615524607932
  4467. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 39.74463
  4468. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  4469. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  4470. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  4471. 2022-09-20 10:44:04.851112 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  4472. 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
  4473. 2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  4474. 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
  4475. 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
  4476. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  4477. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  4478. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731541
  4479. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4480. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  4481. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.02000
  4482. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tel Aviv
  4483. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  4484. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2881
  4485. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
  4486. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  4487. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  4488. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your39.74463 balance Accountid 2881 !!!
  4489. 2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  4490. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 2881
  4491. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.02000
  4492. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  4493. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  4494. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
  4495. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
  4496. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  4497. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731541
  4498. 2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :15
  4499. 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
  4500. 2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  4501. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  4502. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453043
  4503. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^03.*
  4504. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Tel Aviv
  4505. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  4506. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  4507. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^03.*
  4508. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 03
  4509. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9723
  4510. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
  4511. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
  4512. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  4513. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
  4514. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
  4515. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  4516. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
  4517. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  4518. 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
  4519. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  4520. 2022-09-20 10:44:04.873197 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  4521. 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
  4522. 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
  4523. 2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :03/9723.....036740319
  4524. 2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  4525. 2022-09-20 10:44:04.873197 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  4526. 2022-09-20 10:44:04.873197 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  4527. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  4528. <document type="freeswitch/xml">
  4529. <section name="dialplan" description="ASTPP Dialplan">
  4530. <context name="default">
  4531. <extension name="036740319">
  4532. <condition field="destination_number" expression="036740319">
  4533. <action application="set" data="effective_destination_number=036740319"/>
  4534. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  4535. <action application="set" data="nibble_account=2881"/>
  4536. <action application="set" data="nibble_rate=0.02000"/>
  4537. <action application="set" data="nibble_increment=10"/>
  4538. <action application="set" data="nibble_minimum=0.00000"/>
  4539. <action application="nibblebill" data="heartbeat 10"/>
  4540. <action application="set" data="callstart=2022-09-20 07:44:04"/>
  4541. <action application="set" data="hangup_after_bridge=true"/>
  4542. <action application="set" data="continue_on_fail=TRUE"/>
  4543. <action application="set" data="account_id=2881"/>
  4544. <action application="set" data="parent_id=0"/>
  4545. <action application="set" data="entity_id=0"/>
  4546. <action application="set" data="call_processed=internal"/>
  4547. <action application="set" data="call_direction=outbound"/>
  4548. <action application="set" data="accountname=default"/>
  4549. <action application="set" data="filename1=astpp.pbx.lua"/>
  4550. <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"/>
  4551. <action application="set" data="original_caller_id_name=039707070"/>
  4552. <action application="set" data="original_caller_id_number=039707070"/>
  4553. <action application="limit" data="db 615524607932 user_615524607932 4 !SWITCH_CONGESTION"/>
  4554. <action application="limit" data="hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION"/>
  4555.  
  4556. <action application="export" data="is_recording=1"/>
  4557. <action application="export" data="media_bug_answer_req=true"/>
  4558. <action application="export" data="RECORD_STEREO=true"/>
  4559. <action application="export" data="record_sample_rate=8000"/>
  4560. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  4561. <action application="set" data="effective_caller_id_name=039707070"/>
  4562. <action application="set" data="effective_caller_id_number=039707070"/>
  4563. <action application="set" data="calltype=STANDARD"/>
  4564. <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"/>
  4565. <action application="set" data="trunk_id=15"/>
  4566. <action application="set" data="provider_id=901"/>
  4567. <action application="set" data="rate_flag=0"/>
  4568. <action application="set" data="force_trunk_flag=35731541"/>
  4569. <action application="export" data="presence_data=trunk_id=15"/>
  4570. <action application="set" data="intcall=0"/>
  4571. <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"/>
  4572. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060"/>
  4573. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060"/>
  4574. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060"/>
  4575. </condition>
  4576. </extension>
  4577. </context>
  4578. </document>
  4579. 2022-09-20 10:44:04.873197 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  4580. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com parsing [default->036740319] continue=false
  4581. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Regex (PASS) [036740319] destination_number(036740319) =~ /036740319/ break=on-false
  4582. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_destination_number=036740319)
  4583. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  4584. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_account=2881)
  4585. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_rate=0.02000)
  4586. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_increment=10)
  4587. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
  4588. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action nibblebill(heartbeat 10)
  4589. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(callstart=2022-09-20 07:44:04)
  4590. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(hangup_after_bridge=true)
  4591. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
  4592. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(account_id=2881)
  4593. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(parent_id=0)
  4594. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(entity_id=0)
  4595. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_processed=internal)
  4596. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_direction=outbound)
  4597. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(accountname=default)
  4598. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
  4599. 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)
  4600. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_name=039707070)
  4601. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_number=039707070)
  4602. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
  4603. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
  4604. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(is_recording=1)
  4605. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(media_bug_answer_req=true)
  4606. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(RECORD_STEREO=true)
  4607. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(record_sample_rate=8000)
  4608. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  4609. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_name=039707070)
  4610. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_number=039707070)
  4611. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(calltype=STANDARD)
  4612. 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)
  4613. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(trunk_id=15)
  4614. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(provider_id=901)
  4615. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(rate_flag=0)
  4616. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(force_trunk_flag=35731541)
  4617. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
  4618. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(intcall=0)
  4619. 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)
  4620. 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)
  4621. 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)
  4622. 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)
  4623. 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
  4624. 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
  4625. 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)
  4626. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE
  4627. 2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:198 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA EXECUTE
  4628. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:328 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard EXECUTE
  4629. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_destination_number=036740319)
  4630. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_destination_number]=[036740319]
  4631. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  4632. 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]
  4633. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_account=2881)
  4634. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_account]=[2881]
  4635. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_rate=0.02000)
  4636. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_rate]=[0.02000]
  4637. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_increment=10)
  4638. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_increment]=[10]
  4639. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_minimum=0.00000)
  4640. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_minimum]=[0.00000]
  4641. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com nibblebill(heartbeat 10)
  4642. 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.
  4643. 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
  4644. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(callstart=2022-09-20 07:44:04)
  4645. 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]
  4646. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(hangup_after_bridge=true)
  4647. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [hangup_after_bridge]=[true]
  4648. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(continue_on_fail=TRUE)
  4649. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [continue_on_fail]=[TRUE]
  4650. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(account_id=2881)
  4651. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [account_id]=[2881]
  4652. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(parent_id=0)
  4653. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [parent_id]=[0]
  4654. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(entity_id=0)
  4655. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [entity_id]=[0]
  4656. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_processed=internal)
  4657. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_processed]=[internal]
  4658. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_direction=outbound)
  4659. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_direction]=[outbound]
  4660. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(accountname=default)
  4661. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [accountname]=[default]
  4662. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
  4663. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
  4664. 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)
  4665. 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]
  4666. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_name=039707070)
  4667. 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]
  4668. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_number=039707070)
  4669. 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]
  4670. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
  4671. 2022-09-20 10:44:04.873197 [DEBUG] switch_limit.c:126 incr called: 615524607932_user_615524607932 max:4, interval:0
  4672. 2022-09-20 10:44:04.873197 [DEBUG] mod_db.c:194 Usage for 615524607932_user_615524607932 is now 1/4
  4673. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
  4674. 2022-09-20 10:44:04.873197 [DEBUG] switch_limit.c:126 incr called: CPS_615524607932_CPS_user_615524607932 max:2, interval:1
  4675. 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
  4676. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(is_recording=1)
  4677. 2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  4678. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(media_bug_answer_req=true)
  4679. 2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  4680. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(RECORD_STEREO=true)
  4681. 2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  4682. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(record_sample_rate=8000)
  4683. 2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  4684. 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)
  4685. 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]
  4686. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_name=039707070)
  4687. 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]
  4688. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_number=039707070)
  4689. 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]
  4690. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(calltype=STANDARD)
  4691. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [calltype]=[STANDARD]
  4692. 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)
  4693. 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]
  4694. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(trunk_id=15)
  4695. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [trunk_id]=[15]
  4696. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(provider_id=901)
  4697. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [provider_id]=[901]
  4698. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(rate_flag=0)
  4699. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [rate_flag]=[0]
  4700. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(force_trunk_flag=35731541)
  4701. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [force_trunk_flag]=[35731541]
  4702. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=trunk_id=15)
  4703. 2022-09-20 10:44:04.873197 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
  4704. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(intcall=0)
  4705. 2022-09-20 10:44:04.873197 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [intcall]=[0]
  4706. 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)
  4707. 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]
  4708. 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)
  4709. 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
  4710. 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
  4711. 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
  4712. 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
  4713. 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
  4714. 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
  4715. 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
  4716. 2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4717. 2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4718. 2022-09-20 10:44:04.873197 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [005263c4-38b8-11ed-b93f-ef396ca3ea52]
  4719. 2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  4720. 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)
  4721. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  4722. 2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  4723. 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
  4724. 2022-09-20 10:44:04.873197 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  4725. Local SDP:
  4726. v=0
  4727. o=FreeSWITCH 1663639872 1663639873 IN IP4 89.46.223.193
  4728. s=FreeSWITCH
  4729. c=IN IP4 89.46.223.193
  4730. t=0 0
  4731. m=audio 19972 RTP/AVP 8 101
  4732. a=rtpmap:8 PCMA/8000
  4733. a=rtpmap:101 telephone-event/8000
  4734. a=fmtp:101 0-16
  4735. a=ptime:20
  4736. a=sendrecv
  4737.  
  4738. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  4739. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  4740. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  4741. 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)
  4742. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  4743. 2022-09-20 10:44:04.873197 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  4744. 2022-09-20 10:44:04.873197 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4745. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  4746. 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)
  4747. 2022-09-20 10:44:04.873197 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  4748. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  4749. 2022-09-20 10:44:04.873197 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  4750. 2022-09-20 10:44:05.411109 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
  4751. 2022-09-20 10:44:05.411109 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  4752. 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)
  4753. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  4754. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  4755. 2022-09-20 10:44:05.411109 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  4756. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  4757. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  4758. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  4759. 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)
  4760. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  4761. 2022-09-20 10:44:05.411109 [INFO] mod_json_cdr.c:271 Process [005263c4-38b8-11ed-b93f-ef396ca3ea52.cdr.json]
  4762. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  4763. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  4764. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  4765. 2022-09-20 10:44:05.411109 [DEBUG] switch_core_session.c:1665 Session 79054 (sofia/default/97236740319) Locked, Waiting on external entities
  4766. 2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  4767. 2022-09-20 10:44:05.431108 [NOTICE] switch_core_session.c:1683 Session 79054 (sofia/default/97236740319) Ended
  4768. 2022-09-20 10:44:05.431108 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  4769. 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)
  4770. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  4771. 2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  4772. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  4773. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  4774. 2022-09-20 10:44:05.431108 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  4775. 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)
  4776. 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
  4777. 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
  4778. 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
  4779. 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
  4780. 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
  4781. 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
  4782. 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
  4783. 2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4784. 2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4785. 2022-09-20 10:44:05.431108 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [00a56cc2-38b8-11ed-b947-ef396ca3ea52]
  4786. 2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  4787. 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)
  4788. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  4789. 2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  4790. 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
  4791. 2022-09-20 10:44:05.431108 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  4792. Local SDP:
  4793. v=0
  4794. o=FreeSWITCH 1663641811 1663641812 IN IP4 89.46.223.193
  4795. s=FreeSWITCH
  4796. c=IN IP4 89.46.223.193
  4797. t=0 0
  4798. m=audio 18034 RTP/AVP 8 101
  4799. a=rtpmap:8 PCMA/8000
  4800. a=rtpmap:101 telephone-event/8000
  4801. a=fmtp:101 0-16
  4802. a=ptime:20
  4803. a=sendrecv
  4804.  
  4805. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  4806. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  4807. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  4808. 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)
  4809. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  4810. 2022-09-20 10:44:05.431108 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  4811. 2022-09-20 10:44:05.431108 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4812. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  4813. 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)
  4814. 2022-09-20 10:44:05.431108 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  4815. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  4816. 2022-09-20 10:44:05.431108 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  4817. 2022-09-20 10:44:05.771113 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
  4818. 2022-09-20 10:44:05.771113 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  4819. 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)
  4820. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  4821. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  4822. 2022-09-20 10:44:05.771113 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  4823. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  4824. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  4825. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  4826. 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)
  4827. 2022-09-20 10:44:05.771113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  4828. 2022-09-20 10:44:05.771113 [INFO] mod_json_cdr.c:271 Process [00a56cc2-38b8-11ed-b947-ef396ca3ea52.cdr.json]
  4829. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  4830. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  4831. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  4832. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_session.c:1665 Session 79055 (sofia/default/97236740319) Locked, Waiting on external entities
  4833. 2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  4834. 2022-09-20 10:44:05.791150 [NOTICE] switch_core_session.c:1683 Session 79055 (sofia/default/97236740319) Ended
  4835. 2022-09-20 10:44:05.791150 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  4836. 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)
  4837. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  4838. 2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  4839. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  4840. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  4841. 2022-09-20 10:44:05.791150 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  4842. 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)
  4843. 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
  4844. 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
  4845. 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
  4846. 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
  4847. 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
  4848. 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
  4849. 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
  4850. 2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  4851. 2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  4852. 2022-09-20 10:44:05.791150 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [00dcfcb4-38b8-11ed-b94f-ef396ca3ea52]
  4853. 2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  4854. 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)
  4855. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  4856. 2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  4857. 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
  4858. 2022-09-20 10:44:05.791150 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  4859. Local SDP:
  4860. v=0
  4861. o=FreeSWITCH 1663641911 1663641912 IN IP4 89.46.223.193
  4862. s=FreeSWITCH
  4863. c=IN IP4 89.46.223.193
  4864. t=0 0
  4865. m=audio 17934 RTP/AVP 8 101
  4866. a=rtpmap:8 PCMA/8000
  4867. a=rtpmap:101 telephone-event/8000
  4868. a=fmtp:101 0-16
  4869. a=ptime:20
  4870. a=sendrecv
  4871.  
  4872. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  4873. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  4874. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  4875. 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)
  4876. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  4877. 2022-09-20 10:44:05.791150 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  4878. 2022-09-20 10:44:05.791150 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  4879. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  4880. 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)
  4881. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  4882. 2022-09-20 10:44:05.791150 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  4883. 2022-09-20 10:44:05.791150 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  4884. 2022-09-20 10:44:05.931467 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][486]
  4885. 2022-09-20 10:44:05.931467 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [USER_BUSY]
  4886. 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)
  4887. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  4888. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  4889. 2022-09-20 10:44:05.931467 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: USER_BUSY
  4890. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: USER_BUSY
  4891. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  4892. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  4893. 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)
  4894. 2022-09-20 10:44:05.931467 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  4895. 2022-09-20 10:44:05.931467 [INFO] mod_json_cdr.c:271 Process [00dcfcb4-38b8-11ed-b94f-ef396ca3ea52.cdr.json]
  4896. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: USER_BUSY
  4897. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  4898. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  4899. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_session.c:1665 Session 79056 (sofia/default/97236740319) Locked, Waiting on external entities
  4900. 2022-09-20 10:44:05.971113 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
  4901. 2022-09-20 10:44:05.971113 [NOTICE] switch_core_session.c:1683 Session 79056 (sofia/default/97236740319) Ended
  4902. 2022-09-20 10:44:05.971113 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  4903. 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)
  4904. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  4905. 2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  4906. 2022-09-20 10:44:05.971113 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_BUSY
  4907. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  4908. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  4909. 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.
  4910. 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]
  4911. 2022-09-20 10:44:05.971113 [DEBUG] mod_hash.c:297 Usage for CPS_615524607932_CPS_user_615524607932 is now 0
  4912. 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
  4913. 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)
  4914. 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
  4915. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP
  4916. 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
  4917. 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
  4918. 2022-09-20 10:44:05.971113 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  4919. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 2881
  4920. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:518 Not billing 2881 - call is not in answered state
  4921. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4922. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
  4923. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
  4924. 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
  4925. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4926. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
  4927. 2022-09-20 10:44:05.971113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
  4928. 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
  4929. 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
  4930. 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
  4931. 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)
  4932. 2022-09-20 10:44:05.971113 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING
  4933. 2022-09-20 10:44:05.971113 [INFO] mod_json_cdr.c:271 Process [004b34aa-38b8-11ed-b913-ef396ca3ea52.cdr.json]
  4934. 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
  4935. 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
  4936. 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
  4937. 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
  4938. 2022-09-20 10:44:05.991115 [NOTICE] switch_core_session.c:1683 Session 79053 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Ended
  4939. 2022-09-20 10:44:05.991115 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_DESTROY]
  4940. 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)
  4941. 2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY
  4942. 2022-09-20 10:44:05.991115 [DEBUG] mod_sofia.c:343 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA DESTROY
  4943. 2022-09-20 10:44:05.991115 [DEBUG] switch_core_state_machine.c:181 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard DESTROY
  4944. 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
  4945. 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)
  4946. 2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  4947. 2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.04000 per minute to account 3541
  4948. 2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:518 Not billing 3541 - call is not in answered state
  4949. 2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4950. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  4951. 2022-09-20 10:44:08.371113 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.110870)
  4952. 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
  4953. 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]
  4954. 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)
  4955. 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
  4956. 2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/81345655200@35.205.116.118) State HANGUP
  4957. 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
  4958. 2022-09-20 10:44:11.011111 [DEBUG] mod_sofia.c:502 Sending CANCEL to sofia/default/81345655200@35.205.116.118
  4959. 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
  4960. 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
  4961. 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
  4962. 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)
  4963. 2022-09-20 10:44:11.011111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/81345655200@35.205.116.118) State REPORTING
  4964. 2022-09-20 10:44:11.011111 [INFO] mod_json_cdr.c:271 Process [f194a108-38b7-11ed-b8c6-ef396ca3ea52.cdr.json]
  4965. 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
  4966. 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
  4967. 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
  4968. 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
  4969. 2022-09-20 10:44:11.031119 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 602 [ALLOTTED_TIMEOUT]
  4970. 2022-09-20 10:44:11.031119 [NOTICE] switch_core_session.c:1683 Session 79047 (sofia/default/81345655200@35.205.116.118) Ended
  4971. 2022-09-20 10:44:11.031119 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/81345655200@35.205.116.118 [CS_DESTROY]
  4972. 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)
  4973. 2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:751 (sofia/default/81345655200@35.205.116.118) State DESTROY
  4974. 2022-09-20 10:44:11.031119 [DEBUG] mod_sofia.c:343 sofia/default/81345655200@35.205.116.118 SOFIA DESTROY
  4975. 2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:181 sofia/default/81345655200@35.205.116.118 Standard DESTROY
  4976. 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
  4977. 2022-09-20 10:44:11.031119 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: ALLOTTED_TIMEOUT
  4978. 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.
  4979. 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]
  4980. 2022-09-20 10:44:11.031119 [DEBUG] mod_hash.c:297 Usage for CPS_259715977962_CPS_user_259715977962 is now 0
  4981. 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
  4982. 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)
  4983. 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
  4984. 2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:852 (sofia/default/+818090110851@203.60.13.98) State HANGUP
  4985. 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
  4986. 2022-09-20 10:44:11.031119 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 480
  4987. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 851
  4988. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:518 Not billing 851 - call is not in answered state
  4989. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4990. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  4991. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  4992. 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
  4993. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  4994. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='851']
  4995. 2022-09-20 10:44:11.031119 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 851 (balance = 15758.594250)
  4996. 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
  4997. 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
  4998. 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
  4999. 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)
  5000. 2022-09-20 10:44:11.031119 [DEBUG] switch_core_state_machine.c:938 (sofia/default/+818090110851@203.60.13.98) State REPORTING
  5001. 2022-09-20 10:44:11.031119 [INFO] mod_json_cdr.c:271 Process [f18e4eac-38b7-11ed-b8a1-ef396ca3ea52.cdr.json]
  5002. 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
  5003. 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
  5004. 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
  5005. 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
  5006. 2022-09-20 10:44:11.051369 [NOTICE] switch_core_session.c:1683 Session 79046 (sofia/default/+818090110851@203.60.13.98) Ended
  5007. 2022-09-20 10:44:11.051369 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/+818090110851@203.60.13.98 [CS_DESTROY]
  5008. 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)
  5009. 2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:751 (sofia/default/+818090110851@203.60.13.98) State DESTROY
  5010. 2022-09-20 10:44:11.051369 [DEBUG] mod_sofia.c:343 sofia/default/+818090110851@203.60.13.98 SOFIA DESTROY
  5011. 2022-09-20 10:44:11.051369 [DEBUG] switch_core_state_machine.c:181 sofia/default/+818090110851@203.60.13.98 Standard DESTROY
  5012. 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
  5013. 2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  5014. 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)
  5015. 2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 3541
  5016. 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
  5017. 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)
  5018. 2022-09-20 10:44:11.371114 [DEBUG] mod_nibblebill.c:395 Doing update query
  5019. [UPDATE accounts SET balance=balance- 0.003333 WHERE id='3541']
  5020. 2022-09-20 10:44:11.431109 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  5021. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  5022. 2022-09-20 10:44:11.431109 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.107540)
  5023. 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
  5024. 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
  5025. You must define a domain called '89.46.223.193' in your directory and add a user with the id="122" attribute
  5026. and you must configure your device to use the proper domain in it's authentication credentials.
  5027. 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
  5028. 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
  5029. 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
  5030. You must define a domain called '89.46.223.193' in your directory and add a user with the id="109" attribute
  5031. and you must configure your device to use the proper domain in it's authentication credentials.
  5032. 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
  5033. 2022-09-20 10:44:16.111112 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [completing][200]
  5034. 2022-09-20 10:44:16.111112 [DEBUG] sofia.c:7091 Duplicate SDP
  5035. v=0
  5036. o=- 1663659838 1663659838 IN IP4 185.23.172.34
  5037. s=-
  5038. c=IN IP4 185.23.172.34
  5039. t=0 0
  5040. m=audio 43502 RTP/AVP 8 101
  5041. a=rtpmap:8 PCMA/8000
  5042. a=rtpmap:101 telephone-event/8000
  5043. a=fmtp:101 0-15
  5044. a=ptime:20
  5045. a=silenceSupp:off - - - -
  5046.  
  5047. 2022-09-20 10:44:16.131116 [DEBUG] sofia.c:7084 Channel sofia/default/972507533015 entering state [ready][200]
  5048. 2022-09-20 10:44:16.131116 [NOTICE] sofia.c:8159 Channel [sofia/default/972507533015] has been answered
  5049. EXECUTE sofia/default/972507533015 record_session(/var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav)
  5050. 2022-09-20 10:44:16.151111 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/972507533015
  5051. 2022-09-20 10:44:16.151111 [DEBUG] switch_channel.c:3773 (sofia/default/972507533015) Callstate Change EARLY -> ACTIVE
  5052. 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.
  5053. 2022-09-20 10:44:16.151111 [DEBUG] mod_sofia.c:850 Local SDP sofia/default/097406629@Rachash3186.newsip.israelnumber.com:
  5054. v=0
  5055. o=FreeSWITCH 1663640550 1663640552 IN IP4 89.46.223.193
  5056. s=FreeSWITCH
  5057. c=IN IP4 89.46.223.193
  5058. t=0 0
  5059. m=audio 19288 RTP/AVP 0 101
  5060. a=rtpmap:0 PCMU/8000
  5061. a=rtpmap:101 telephone-event/8000
  5062. a=fmtp:101 0-16
  5063. a=ptime:20
  5064. a=sendrecv
  5065.  
  5066. 2022-09-20 10:44:16.151111 [NOTICE] switch_ivr_bridge.c:623 Channel [sofia/default/097406629@Rachash3186.newsip.israelnumber.com] has been answered
  5067. 2022-09-20 10:44:16.151111 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [completed][200]
  5068. EXECUTE sofia/default/097406629@Rachash3186.newsip.israelnumber.com record_session(/var/www/html/astpp/playlist/example/media/recordings/fc40217c-38b7-11ed-b8e0-ef396ca3ea52.wav)
  5069. 2022-09-20 10:44:16.151111 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
  5070. 2022-09-20 10:44:16.171136 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/default/097406629@Rachash3186.newsip.israelnumber.com
  5071. 2022-09-20 10:44:16.171136 [DEBUG] switch_channel.c:3773 (sofia/default/097406629@Rachash3186.newsip.israelnumber.com) Callstate Change EARLY -> ACTIVE
  5072. 2022-09-20 10:44:16.171136 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
  5073. 2022-09-20 10:44:16.191202 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5074. 2022-09-20 10:44:16.191202 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMA:8
  5075. 2022-09-20 10:44:16.211109 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
  5076. 2022-09-20 10:44:16.211109 [DEBUG] switch_core_io.c:448 Setting BUG Codec PCMU:0
  5077. 2022-09-20 10:44:16.271109 [DEBUG] sofia.c:7084 Channel sofia/default/097406629@Rachash3186.newsip.israelnumber.com entering state [ready][200]
  5078. 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
  5079. 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]
  5080. 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)
  5081. 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
  5082. 2022-09-20 10:44:16.951124 [DEBUG] sofia.c:9989 IP 136.243.196.198 Approved by acl "default[]". Access Granted.
  5083. 2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7084 Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com entering state [received][100]
  5084. 2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7094 Remote SDP:
  5085. v=0
  5086. o=- 20136 20136 IN IP4 192.168.1.48
  5087. s=SDP data
  5088. c=IN IP4 213.8.118.14
  5089. t=0 0
  5090. m=audio 10390 RTP/AVP 9 0 8 18 101
  5091. a=rtpmap:9 G722/8000
  5092. a=rtpmap:0 PCMU/8000
  5093. a=rtpmap:8 PCMA/8000
  5094. a=rtpmap:18 G729/8000
  5095. a=fmtp:18 annexb=no
  5096. a=rtpmap:101 telephone-event/8000
  5097. a=fmtp:101 0-15
  5098. a=ptime:20
  5099.  
  5100. 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]
  5101. 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]
  5102. 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]
  5103. 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]
  5104. 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
  5105. 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]
  5106. 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
  5107. 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]
  5108. 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]
  5109. 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]
  5110. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4365 Set telephone-event payload to 101@8000
  5111. 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
  5112. 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
  5113. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_media.c:4708 Set telephone-event payload to 101@8000
  5114. 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
  5115. 2022-09-20 10:44:16.951124 [DEBUG] sofia.c:7507 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State Change CS_NEW -> CS_INIT
  5116. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:603 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State NEW
  5117. 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)
  5118. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:627 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State INIT
  5119. 2022-09-20 10:44:16.951124 [DEBUG] mod_sofia.c:90 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA INIT
  5120. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:40 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard INIT
  5121. 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
  5122. 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
  5123. 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)
  5124. 2022-09-20 10:44:16.951124 [DEBUG] switch_channel.c:2249 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Callstate Change DOWN -> RINGING
  5125. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:643 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State ROUTING
  5126. 2022-09-20 10:44:16.951124 [DEBUG] mod_sofia.c:143 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA ROUTING
  5127. 2022-09-20 10:44:16.951124 [DEBUG] switch_core_state_machine.c:236 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard ROUTING
  5128. 2022-09-20 10:44:16.951124 [INFO] mod_dialplan_xml.c:637 Processing SHARON <5445479315>->036740319 in context default
  5129. 2022-09-20 10:44:16.951124 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f44c8107dd0 Connected.
  5130. 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')
  5131. 2022-09-20 10:44:16.971226 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  5132. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] blind_flag: 0
  5133. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Dialed number : 036740319
  5134. 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
  5135. 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
  5136. 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
  5137. 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
  5138. 2022-09-20 10:44:16.971226 [WARNING] switch_cpp.cpp:1365 [ASTPP] [FAXER] in custom Caller ID
  5139. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Caller Id name / number  : 039707070 / 039707070
  5140. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  5141. 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
  5142. 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
  5143. 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
  5144. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  5145. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  5146. 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
  5147. 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
  5148. 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
  5149. 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
  5150. 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
  5151. 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
  5152. 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
  5153. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Call direction : outbound
  5154. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Accountcode : 615524607932]
  5155. 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
  5156. 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
  5157. 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
  5158. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 036740319
  5159. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  5160. 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
  5161. 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
  5162. 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
  5163. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  5164. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  5165. 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
  5166. 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
  5167. 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
  5168. 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
  5169. 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
  5170. 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
  5171. 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
  5172. 2022-09-20 10:44:16.971226 [INFO] switch_cpp.cpp:1365 [ASTPP] [Dialplan] New Call direction : outbound
  5173. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] DID global translation id: 13
  5174. 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
  5175. 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
  5176. 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
  5177. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  5178. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  5179. 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
  5180. 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
  5181. 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
  5182. 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
  5183. 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
  5184. 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
  5185. 2022-09-20 10:44:16.971226 [NOTICE] switch_cpp.cpp:1365 [ASTPP] Localization Id: 5
  5186. 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
  5187. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  5188. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  5189. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :"00/*,+/*,+00/*".....036740319
  5190. 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
  5191. 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
  5192. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] Call Barring Status : -1
  5193. 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
  5194. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Account Information ===================
  5195. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] User id : 2881
  5196. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Account code : 615524607932
  5197. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Balance : 39.74463
  5198. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  5199. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Ratecard id : 23
  5200. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] CID Pool : 0
  5201. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================================================
  5202. 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
  5203. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_RATES] call_direction :outbound
  5204. 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
  5205. 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
  5206. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] call_direction:::::: outbound
  5207. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Rates Information ===================
  5208. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 35731541
  5209. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5210. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Includedseconds : 0
  5211. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Cost : 0.02000
  5212. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] comment : Tel Aviv
  5213. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Country Id : 0
  5214. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Accid : 2881
  5215. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk ID: 15
  5216. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Routing type:
  5217. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ================================================================
  5218. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Your39.74463 balance Accountid 2881 !!!
  5219. 2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [FIND_MAXLENGTH] Limiting call to config max length 180 mins!
  5220. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE ID 2881
  5221. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE RATE 0.02000
  5222. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE PROVIDER 0
  5223. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE CONNECT COST 0.00000
  5224. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INITIAL INC 30
  5225. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] NIBBLE INC 10
  5226. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Call Max length duration : 180 minutes
  5227. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [DIALPLAN] User Rate ID : 35731541
  5228. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_CARRIER_RATES]123131 Query rate_carrier_id  :15
  5229. 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
  5230. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [HYBRID_ROUTING]LCR with Cost in 2nd stage
  5231. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] =============== Termination Rates Information ===================
  5232. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ID : 9453043
  5233. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Code : ^03.*
  5234. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Destination : Tel Aviv
  5235. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Connectcost : 0.00000
  5236. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Free Seconds : 0
  5237. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Prefix : ^03.*
  5238. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Strip : 03
  5239. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Prepend : 9723
  5240. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Carrier id : 15
  5241. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] carrier_name : hallo
  5242. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] dialplan_variable :
  5243. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Failover gateway : tata3
  5244. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Vendor id : 901
  5245. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Max channels : 0
  5246. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] Trunk Name : hallotrunk
  5247. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] ========================END OF TERMINATION RATES=======================
  5248. 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
  5249. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] maxlength::::::::: 180
  5250. 2022-09-20 10:44:16.991110 [INFO] switch_cpp.cpp:1365 [ASTPP] [PBX] call_direction : outbound
  5251. 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
  5252. 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
  5253. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [GET_LOCALIZATION] Query :03/9723.....036740319
  5254. 2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 036740319
  5255. 2022-09-20 10:44:16.991110 [NOTICE] switch_cpp.cpp:1365 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 97236740319
  5256. 2022-09-20 10:44:16.991110 [DEBUG] switch_cpp.cpp:1365 [ASTPP] [Dialplan] Generated XML:
  5257. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  5258. <document type="freeswitch/xml">
  5259. <section name="dialplan" description="ASTPP Dialplan">
  5260. <context name="default">
  5261. <extension name="036740319">
  5262. <condition field="destination_number" expression="036740319">
  5263. <action application="set" data="effective_destination_number=036740319"/>
  5264. <action application="set" data="execute_on_answer=sched_hangup +10800 normal_clearing"/>
  5265. <action application="set" data="nibble_account=2881"/>
  5266. <action application="set" data="nibble_rate=0.02000"/>
  5267. <action application="set" data="nibble_increment=10"/>
  5268. <action application="set" data="nibble_minimum=0.00000"/>
  5269. <action application="nibblebill" data="heartbeat 10"/>
  5270. <action application="set" data="callstart=2022-09-20 07:44:16"/>
  5271. <action application="set" data="hangup_after_bridge=true"/>
  5272. <action application="set" data="continue_on_fail=TRUE"/>
  5273. <action application="set" data="account_id=2881"/>
  5274. <action application="set" data="parent_id=0"/>
  5275. <action application="set" data="entity_id=0"/>
  5276. <action application="set" data="call_processed=internal"/>
  5277. <action application="set" data="call_direction=outbound"/>
  5278. <action application="set" data="accountname=default"/>
  5279. <action application="set" data="filename1=astpp.pbx.lua"/>
  5280. <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"/>
  5281. <action application="set" data="original_caller_id_name=039707070"/>
  5282. <action application="set" data="original_caller_id_number=039707070"/>
  5283. <action application="limit" data="db 615524607932 user_615524607932 4 !SWITCH_CONGESTION"/>
  5284. <action application="limit" data="hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION"/>
  5285.  
  5286. <action application="export" data="is_recording=1"/>
  5287. <action application="export" data="media_bug_answer_req=true"/>
  5288. <action application="export" data="RECORD_STEREO=true"/>
  5289. <action application="export" data="record_sample_rate=8000"/>
  5290. <action application="export" data="execute_on_answer=record_session $${recordings_dir}/${uuid}.wav"/>
  5291. <action application="set" data="effective_caller_id_name=039707070"/>
  5292. <action application="set" data="effective_caller_id_number=039707070"/>
  5293. <action application="set" data="calltype=STANDARD"/>
  5294. <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"/>
  5295. <action application="set" data="trunk_id=15"/>
  5296. <action application="set" data="provider_id=901"/>
  5297. <action application="set" data="rate_flag=0"/>
  5298. <action application="set" data="force_trunk_flag=35731541"/>
  5299. <action application="export" data="presence_data=trunk_id=15"/>
  5300. <action application="set" data="intcall=0"/>
  5301. <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"/>
  5302. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/hallo/97236740319;fs_path=sip:136.243.196.198:5060"/>
  5303. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/tata3/97236740319;fs_path=sip:136.243.196.198:5060"/>
  5304. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/barak3/97236740319;fs_path=sip:136.243.196.198:5060"/>
  5305. </condition>
  5306. </extension>
  5307. </context>
  5308. </document>
  5309. 2022-09-20 10:44:16.991110 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f44c8107dd0 released.
  5310. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com parsing [default->036740319] continue=false
  5311. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Regex (PASS) [036740319] destination_number(036740319) =~ /036740319/ break=on-false
  5312. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_destination_number=036740319)
  5313. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(execute_on_answer=sched_hangup +10800 normal_clearing)
  5314. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_account=2881)
  5315. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_rate=0.02000)
  5316. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_increment=10)
  5317. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(nibble_minimum=0.00000)
  5318. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action nibblebill(heartbeat 10)
  5319. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(callstart=2022-09-20 07:44:16)
  5320. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(hangup_after_bridge=true)
  5321. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(continue_on_fail=TRUE)
  5322. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(account_id=2881)
  5323. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(parent_id=0)
  5324. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(entity_id=0)
  5325. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_processed=internal)
  5326. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(call_direction=outbound)
  5327. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(accountname=default)
  5328. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(filename1=astpp.pbx.lua)
  5329. 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)
  5330. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_name=039707070)
  5331. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(original_caller_id_number=039707070)
  5332. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
  5333. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
  5334. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(is_recording=1)
  5335. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(media_bug_answer_req=true)
  5336. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(RECORD_STEREO=true)
  5337. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(record_sample_rate=8000)
  5338. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(execute_on_answer=record_session $${recordings_dir}/${uuid}.wav)
  5339. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_name=039707070)
  5340. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(effective_caller_id_number=039707070)
  5341. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(calltype=STANDARD)
  5342. 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)
  5343. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(trunk_id=15)
  5344. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(provider_id=901)
  5345. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(rate_flag=0)
  5346. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(force_trunk_flag=35731541)
  5347. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action export(presence_data=trunk_id=15)
  5348. Dialplan: sofia/default/5445479315@theservice2584.newsip.israelnumber.com Action set(intcall=0)
  5349. 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)
  5350. 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)
  5351. 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)
  5352. 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)
  5353. 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
  5354. 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
  5355. 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)
  5356. 2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:650 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State EXECUTE
  5357. 2022-09-20 10:44:16.991110 [DEBUG] mod_sofia.c:198 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA EXECUTE
  5358. 2022-09-20 10:44:16.991110 [DEBUG] switch_core_state_machine.c:328 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard EXECUTE
  5359. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_destination_number=036740319)
  5360. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [effective_destination_number]=[036740319]
  5361. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(execute_on_answer=sched_hangup +10800 normal_clearing)
  5362. 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]
  5363. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_account=2881)
  5364. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_account]=[2881]
  5365. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_rate=0.02000)
  5366. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_rate]=[0.02000]
  5367. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_increment=10)
  5368. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_increment]=[10]
  5369. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(nibble_minimum=0.00000)
  5370. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [nibble_minimum]=[0.00000]
  5371. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com nibblebill(heartbeat 10)
  5372. 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.
  5373. 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
  5374. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(callstart=2022-09-20 07:44:16)
  5375. 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]
  5376. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(hangup_after_bridge=true)
  5377. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [hangup_after_bridge]=[true]
  5378. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(continue_on_fail=TRUE)
  5379. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [continue_on_fail]=[TRUE]
  5380. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(account_id=2881)
  5381. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [account_id]=[2881]
  5382. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(parent_id=0)
  5383. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [parent_id]=[0]
  5384. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(entity_id=0)
  5385. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [entity_id]=[0]
  5386. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_processed=internal)
  5387. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_processed]=[internal]
  5388. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(call_direction=outbound)
  5389. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [call_direction]=[outbound]
  5390. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(accountname=default)
  5391. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [accountname]=[default]
  5392. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(filename1=astpp.pbx.lua)
  5393. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [filename1]=[astpp.pbx.lua]
  5394. 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)
  5395. 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]
  5396. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_name=039707070)
  5397. 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]
  5398. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(original_caller_id_number=039707070)
  5399. 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]
  5400. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(db 615524607932 user_615524607932 4 !SWITCH_CONGESTION)
  5401. 2022-09-20 10:44:16.991110 [DEBUG] switch_limit.c:126 incr called: 615524607932_user_615524607932 max:4, interval:0
  5402. 2022-09-20 10:44:16.991110 [DEBUG] mod_db.c:194 Usage for 615524607932_user_615524607932 is now 1/4
  5403. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com limit(hash CPS_615524607932 CPS_user_615524607932 2/1 !SWITCH_CONGESTION)
  5404. 2022-09-20 10:44:16.991110 [DEBUG] switch_limit.c:126 incr called: CPS_615524607932_CPS_user_615524607932 max:2, interval:1
  5405. 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
  5406. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(is_recording=1)
  5407. 2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [is_recording]=[1]
  5408. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(media_bug_answer_req=true)
  5409. 2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [media_bug_answer_req]=[true]
  5410. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(RECORD_STEREO=true)
  5411. 2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [RECORD_STEREO]=[true]
  5412. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(record_sample_rate=8000)
  5413. 2022-09-20 10:44:16.991110 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [record_sample_rate]=[8000]
  5414. 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)
  5415. 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]
  5416. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_name=039707070)
  5417. 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]
  5418. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(effective_caller_id_number=039707070)
  5419. 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]
  5420. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(calltype=STANDARD)
  5421. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [calltype]=[STANDARD]
  5422. 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)
  5423. 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]
  5424. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(trunk_id=15)
  5425. 2022-09-20 10:44:16.991110 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [trunk_id]=[15]
  5426. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(provider_id=901)
  5427. 2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [provider_id]=[901]
  5428. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(rate_flag=0)
  5429. 2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [rate_flag]=[0]
  5430. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(force_trunk_flag=35731541)
  5431. 2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [force_trunk_flag]=[35731541]
  5432. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com export(presence_data=trunk_id=15)
  5433. 2022-09-20 10:44:17.011126 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [presence_data]=[trunk_id=15]
  5434. EXECUTE sofia/default/5445479315@theservice2584.newsip.israelnumber.com set(intcall=0)
  5435. 2022-09-20 10:44:17.011126 [DEBUG] mod_dptools.c:1548 SET sofia/default/5445479315@theservice2584.newsip.israelnumber.com [intcall]=[0]
  5436. 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)
  5437. 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]
  5438. 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)
  5439. 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
  5440. 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
  5441. 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
  5442. 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
  5443. 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
  5444. 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
  5445. 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
  5446. 2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5447. 2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5448. 2022-09-20 10:44:17.011126 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [078c4394-38b8-11ed-b986-ef396ca3ea52]
  5449. 2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  5450. 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)
  5451. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  5452. 2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  5453. 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
  5454. 2022-09-20 10:44:17.011126 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  5455. Local SDP:
  5456. v=0
  5457. o=FreeSWITCH 1663640267 1663640268 IN IP4 89.46.223.193
  5458. s=FreeSWITCH
  5459. c=IN IP4 89.46.223.193
  5460. t=0 0
  5461. m=audio 19590 RTP/AVP 8 101
  5462. a=rtpmap:8 PCMA/8000
  5463. a=rtpmap:101 telephone-event/8000
  5464. a=fmtp:101 0-16
  5465. a=ptime:20
  5466. a=sendrecv
  5467.  
  5468. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  5469. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  5470. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  5471. 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)
  5472. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  5473. 2022-09-20 10:44:17.011126 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  5474. 2022-09-20 10:44:17.011126 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5475. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  5476. 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)
  5477. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  5478. 2022-09-20 10:44:17.011126 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  5479. 2022-09-20 10:44:17.011126 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  5480. 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
  5481. You must define a domain called '89.46.223.193' in your directory and add a user with the id="152" attribute
  5482. and you must configure your device to use the proper domain in it's authentication credentials.
  5483. 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
  5484. 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
  5485. 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
  5486. You must define a domain called '89.46.223.193' in your directory and add a user with the id="322" attribute
  5487. and you must configure your device to use the proper domain in it's authentication credentials.
  5488. 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
  5489. 2022-09-20 10:44:17.551111 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
  5490. 2022-09-20 10:44:17.551111 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  5491. 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)
  5492. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  5493. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  5494. 2022-09-20 10:44:17.551111 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  5495. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  5496. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  5497. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  5498. 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)
  5499. 2022-09-20 10:44:17.551111 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  5500. 2022-09-20 10:44:17.551111 [INFO] mod_json_cdr.c:271 Process [078c4394-38b8-11ed-b986-ef396ca3ea52.cdr.json]
  5501. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  5502. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  5503. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  5504. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_session.c:1665 Session 79058 (sofia/default/97236740319) Locked, Waiting on external entities
  5505. 2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  5506. 2022-09-20 10:44:17.571123 [NOTICE] switch_core_session.c:1683 Session 79058 (sofia/default/97236740319) Ended
  5507. 2022-09-20 10:44:17.571123 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  5508. 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)
  5509. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  5510. 2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  5511. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  5512. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  5513. 2022-09-20 10:44:17.571123 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  5514. 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)
  5515. 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
  5516. 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
  5517. 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
  5518. 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
  5519. 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
  5520. 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
  5521. 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
  5522. 2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5523. 2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5524. 2022-09-20 10:44:17.571123 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [07e27520-38b8-11ed-b991-ef396ca3ea52]
  5525. 2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  5526. 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)
  5527. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  5528. 2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  5529. 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
  5530. 2022-09-20 10:44:17.571123 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  5531. Local SDP:
  5532. v=0
  5533. o=FreeSWITCH 1663642841 1663642842 IN IP4 89.46.223.193
  5534. s=FreeSWITCH
  5535. c=IN IP4 89.46.223.193
  5536. t=0 0
  5537. m=audio 17016 RTP/AVP 8 101
  5538. a=rtpmap:8 PCMA/8000
  5539. a=rtpmap:101 telephone-event/8000
  5540. a=fmtp:101 0-16
  5541. a=ptime:20
  5542. a=sendrecv
  5543.  
  5544. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  5545. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  5546. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  5547. 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)
  5548. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  5549. 2022-09-20 10:44:17.571123 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  5550. 2022-09-20 10:44:17.571123 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5551. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  5552. 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)
  5553. 2022-09-20 10:44:17.571123 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  5554. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  5555. 2022-09-20 10:44:17.571123 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  5556. 2022-09-20 10:44:17.811110 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][500]
  5557. 2022-09-20 10:44:17.811110 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]
  5558. 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)
  5559. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  5560. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  5561. 2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: NORMAL_TEMPORARY_FAILURE
  5562. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE
  5563. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  5564. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  5565. 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)
  5566. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  5567. 2022-09-20 10:44:17.811110 [INFO] mod_json_cdr.c:271 Process [07e27520-38b8-11ed-b991-ef396ca3ea52.cdr.json]
  5568. 2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 41 [NORMAL_TEMPORARY_FAILURE]
  5569. 2022-09-20 10:44:17.811110 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE
  5570. 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)
  5571. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE
  5572. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  5573. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  5574. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_session.c:1665 Session 79059 (sofia/default/97236740319) Locked, Waiting on external entities
  5575. 2022-09-20 10:44:17.811110 [NOTICE] switch_core_session.c:1683 Session 79059 (sofia/default/97236740319) Ended
  5576. 2022-09-20 10:44:17.811110 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  5577. 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
  5578. 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
  5579. 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
  5580. 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
  5581. 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
  5582. 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
  5583. 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
  5584. 2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:2142 Parsing global variables
  5585. 2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:2669 Parsing session specific variables
  5586. 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)
  5587. 2022-09-20 10:44:17.811110 [NOTICE] switch_channel.c:1104 New Channel sofia/default/97236740319 [08078a90-38b8-11ed-b999-ef396ca3ea52]
  5588. 2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:4819 (sofia/default/97236740319) State Change CS_NEW -> CS_INIT
  5589. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  5590. 2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  5591. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  5592. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  5593. 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)
  5594. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT
  5595. 2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:90 sofia/default/97236740319 SOFIA INIT
  5596. 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
  5597. 2022-09-20 10:44:17.811110 [DEBUG] sofia_glue.c:1295 sofia/default/97236740319 sending invite version: 1.6.20  64bit
  5598. Local SDP:
  5599. v=0
  5600. o=FreeSWITCH 1663640565 1663640566 IN IP4 89.46.223.193
  5601. s=FreeSWITCH
  5602. c=IN IP4 89.46.223.193
  5603. t=0 0
  5604. m=audio 19292 RTP/AVP 8 101
  5605. a=rtpmap:8 PCMA/8000
  5606. a=rtpmap:101 telephone-event/8000
  5607. a=fmtp:101 0-16
  5608. a=ptime:20
  5609. a=sendrecv
  5610.  
  5611. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:40 sofia/default/97236740319 Standard INIT
  5612. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:48 (sofia/default/97236740319) State Change CS_INIT -> CS_ROUTING
  5613. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:627 (sofia/default/97236740319) State INIT going to sleep
  5614. 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)
  5615. 2022-09-20 10:44:17.811110 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [calling][0]
  5616. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING
  5617. 2022-09-20 10:44:17.811110 [DEBUG] mod_sofia.c:143 sofia/default/97236740319 SOFIA ROUTING
  5618. 2022-09-20 10:44:17.811110 [DEBUG] switch_ivr_originate.c:67 (sofia/default/97236740319) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  5619. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:643 (sofia/default/97236740319) State ROUTING going to sleep
  5620. 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)
  5621. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA
  5622. 2022-09-20 10:44:17.811110 [DEBUG] switch_core_state_machine.c:662 (sofia/default/97236740319) State CONSUME_MEDIA going to sleep
  5623. 2022-09-20 10:44:17.971112 [DEBUG] sofia.c:7084 Channel sofia/default/97236740319 entering state [terminated][486]
  5624. 2022-09-20 10:44:17.971112 [NOTICE] sofia.c:8273 Hangup sofia/default/97236740319 [CS_CONSUME_MEDIA] [USER_BUSY]
  5625. 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)
  5626. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:850 (sofia/default/97236740319) Callstate Change DOWN -> HANGUP
  5627. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP
  5628. 2022-09-20 10:44:17.971112 [DEBUG] mod_sofia.c:438 Channel sofia/default/97236740319 hanging up, cause: USER_BUSY
  5629. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:60 sofia/default/97236740319 Standard HANGUP, cause: USER_BUSY
  5630. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:852 (sofia/default/97236740319) State HANGUP going to sleep
  5631. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:619 (sofia/default/97236740319) State Change CS_HANGUP -> CS_REPORTING
  5632. 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)
  5633. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING
  5634. 2022-09-20 10:44:17.971112 [INFO] mod_json_cdr.c:271 Process [08078a90-38b8-11ed-b999-ef396ca3ea52.cdr.json]
  5635. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:174 sofia/default/97236740319 Standard REPORTING, cause: USER_BUSY
  5636. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:938 (sofia/default/97236740319) State REPORTING going to sleep
  5637. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_state_machine.c:610 (sofia/default/97236740319) State Change CS_REPORTING -> CS_DESTROY
  5638. 2022-09-20 10:44:17.971112 [DEBUG] switch_core_session.c:1665 Session 79060 (sofia/default/97236740319) Locked, Waiting on external entities
  5639. 2022-09-20 10:44:17.991116 [DEBUG] switch_ivr_originate.c:3848 Originate Resulted in Error Cause: 17 [USER_BUSY]
  5640. 2022-09-20 10:44:17.991116 [NOTICE] switch_core_session.c:1683 Session 79060 (sofia/default/97236740319) Ended
  5641. 2022-09-20 10:44:17.991116 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/97236740319 [CS_DESTROY]
  5642. 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)
  5643. 2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY
  5644. 2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:343 sofia/default/97236740319 SOFIA DESTROY
  5645. 2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:181 sofia/default/97236740319 Standard DESTROY
  5646. 2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:751 (sofia/default/97236740319) State DESTROY going to sleep
  5647. 2022-09-20 10:44:17.991116 [INFO] mod_dptools.c:3436 Originate Failed.  Cause: USER_BUSY
  5648. 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.
  5649. 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]
  5650. 2022-09-20 10:44:17.991116 [DEBUG] mod_hash.c:297 Usage for CPS_615524607932_CPS_user_615524607932 is now 0
  5651. 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
  5652. 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)
  5653. 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
  5654. 2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:852 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State HANGUP
  5655. 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
  5656. 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
  5657. 2022-09-20 10:44:17.991116 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 486
  5658. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.02000 per minute to account 2881
  5659. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:518 Not billing 2881 - call is not in answered state
  5660. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  5661. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
  5662. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
  5663. 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
  5664. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  5665. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='2881']
  5666. 2022-09-20 10:44:17.991116 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 2881 (balance = 39.744630)
  5667. 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
  5668. 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
  5669. 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
  5670. 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)
  5671. 2022-09-20 10:44:17.991116 [DEBUG] switch_core_state_machine.c:938 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State REPORTING
  5672. 2022-09-20 10:44:17.991116 [INFO] mod_json_cdr.c:271 Process [07857aaa-38b8-11ed-b95a-ef396ca3ea52.cdr.json]
  5673. 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
  5674. 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
  5675. 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
  5676. 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
  5677. 2022-09-20 10:44:18.011118 [NOTICE] switch_core_session.c:1683 Session 79057 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) Ended
  5678. 2022-09-20 10:44:18.011118 [NOTICE] switch_core_session.c:1687 Close Channel sofia/default/5445479315@theservice2584.newsip.israelnumber.com [CS_DESTROY]
  5679. 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)
  5680. 2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:751 (sofia/default/5445479315@theservice2584.newsip.israelnumber.com) State DESTROY
  5681. 2022-09-20 10:44:18.011118 [DEBUG] mod_sofia.c:343 sofia/default/5445479315@theservice2584.newsip.israelnumber.com SOFIA DESTROY
  5682. 2022-09-20 10:44:18.011118 [DEBUG] switch_core_state_machine.c:181 sofia/default/5445479315@theservice2584.newsip.israelnumber.com Standard DESTROY
  5683. 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
  5684. 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)
  5685. 2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  5686. 2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.04000 per minute to account 3541
  5687. 2022-09-20 10:44:18.491111 [INFO] mod_nibblebill.c:565 Beginning new billing on fc40217c-38b7-11ed-b8e0-ef396ca3ea52
  5688. 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
  5689. 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)
  5690. 2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:395 Doing update query
  5691. [UPDATE accounts SET balance=balance- 0.006667 WHERE id='3541']
  5692. 2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:422 Doing lookup query
  5693. [SELECT if(allow_negative_balance=0,negative_balance+balance,balance) AS nibble_balance FROM accounts WHERE id='3541']
  5694. 2022-09-20 10:44:18.491111 [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 3541 (balance = 14.100870)
  5695.