From Thundering Rhinoceros, 2 Years ago, written in Plain Text.
- view diff
Embed
  1. 2022-01-04 07:38:19.102561 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/6974108809@voips.modulus.gr [02fdab24-2f1e-4aa2-9da7-4155740359c7]
  2. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_NEW (Cur 1 Tot 3311)
  3. 2022-01-04 07:38:19.102561 98.57% [INFO] sofia.c:10462 sofia/external_sip/6974108809@voips.modulus.gr receiving invite from 185.73.43.250:5060 version: 1.10.7 -release-19-883d2cb662 64bit call-id: 4c7136f13c06a0ae39e7d28f4af55d64@voips.modulus.gr
  4. 2022-01-04 07:38:19.102561 98.57% [DEBUG] sofia.c:10556 verifying acl "default" for ip/port 185.73.43.250:0.
  5. 2022-01-04 07:38:19.102561 98.57% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [received][100]
  6. 2022-01-04 07:38:19.102561 98.57% [DEBUG] sofia.c:7509 Remote SDP:
  7. v=0
  8. o=root 1917027256 1917027256 IN IP4 185.73.43.253
  9. s=modCOM v2 Media Gateway
  10. c=IN IP4 185.73.43.253
  11. t=0 0
  12. m=audio 40764 RTP/AVP 8 9 0 18 101
  13. a=rtpmap:8 PCMA/8000
  14. a=rtpmap:9 G722/8000
  15. a=rtpmap:0 PCMU/8000
  16. a=rtpmap:18 G729/8000
  17. a=fmtp:18 annexb=no
  18. a=rtpmap:101 telephone-event/8000
  19. a=fmtp:101 0-16
  20. a=rtcp:40765
  21. a=ptime:20
  22.  
  23. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  24. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  25. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  26. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  27. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  28. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  29. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1]
  30. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
  31. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1]
  32. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match
  33. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
  34. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:3870 Set Codec sofia/external_sip/6974108809@voips.modulus.gr PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  35. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_codec.c:111 sofia/external_sip/6974108809@voips.modulus.gr Original read codec set to PCMA:8
  36. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
  37. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_media.c:5973 sofia/external_sip/6974108809@voips.modulus.gr Set 2833 dtmf send payload to 101 recv payload to 101
  38. 2022-01-04 07:38:19.102561 98.57% [DEBUG] sofia.c:7933 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_NEW -> CS_INIT
  39. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:600 (sofia/external_sip/6974108809@voips.modulus.gr) State NEW
  40. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_INIT (Cur 1 Tot 3311)
  41. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT
  42. 2022-01-04 07:38:19.102561 98.57% [DEBUG] mod_sofia.c:97 sofia/external_sip/6974108809@voips.modulus.gr SOFIA INIT
  43. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/6974108809@voips.modulus.gr Standard INIT
  44. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_INIT -> CS_ROUTING
  45. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/6974108809@voips.modulus.gr) State INIT going to sleep
  46. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 3311)
  47. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_channel.c:2380 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change DOWN -> RINGING
  48. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  49. 2022-01-04 07:38:19.102561 98.57% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  50. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  51. 2022-01-04 07:38:19.102561 98.57% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2102202732 in context default
  52. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  53. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  54. 2022-01-04 07:38:19.102561 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  55. Event-Name: REQUEST_PARAMS
  56. Core-UUID: 7c1eed07-34ee-474f-964d-a5cb6e2e7c68
  57. FreeSWITCH-Hostname: billing
  58. FreeSWITCH-Switchname: billing
  59. FreeSWITCH-IPv4: 172.16.0.30
  60. FreeSWITCH-IPv6: %3A%3A1
  61. Event-Date-Local: 2022-01-04%2007%3A38%3A19
  62. Event-Date-GMT: Tue,%2004%20Jan%202022%2007%3A38%3A19%20GMT
  63. Event-Date-Timestamp: 1641281899102561
  64. Event-Calling-File: mod_dialplan_xml.c
  65. Event-Calling-Function: dialplan_xml_locate
  66. Event-Calling-Line-Number: 610
  67. Event-Sequence: 489842
  68. Channel-State: CS_ROUTING
  69. Channel-Call-State: RINGING
  70. Channel-State-Number: 2
  71. Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  72. Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  73. Call-Direction: inbound
  74. Presence-Call-Direction: inbound
  75. Channel-HIT-Dialplan: true
  76. Channel-Call-UUID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  77. Answer-State: ringing
  78. Channel-Read-Codec-Name: PCMA
  79. Channel-Read-Codec-Rate: 8000
  80. Channel-Read-Codec-Bit-Rate: 64000
  81. Channel-Write-Codec-Name: PCMA
  82. Channel-Write-Codec-Rate: 8000
  83. Channel-Write-Codec-Bit-Rate: 64000
  84. Caller-Direction: inbound
  85. Caller-Logical-Direction: inbound
  86. Caller-Username: 6974108809
  87. Caller-Dialplan: XML
  88. Caller-Caller-ID-Name: 6974108809
  89. Caller-Caller-ID-Number: 6974108809
  90. Caller-Orig-Caller-ID-Name: 6974108809
  91. Caller-Orig-Caller-ID-Number: 6974108809
  92. Caller-Network-Addr: 185.73.43.250
  93. Caller-ANI: 6974108809
  94. Caller-Destination-Number: 2102202732
  95. Caller-Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  96. Caller-Source: mod_sofia
  97. Caller-Context: default
  98. Caller-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  99. Caller-Profile-Index: 1
  100. Caller-Profile-Created-Time: 1641281899102561
  101. Caller-Channel-Created-Time: 1641281899102561
  102. Caller-Channel-Answered-Time: 0
  103. Caller-Channel-Progress-Time: 0
  104. Caller-Channel-Progress-Media-Time: 0
  105. Caller-Channel-Hangup-Time: 0
  106. Caller-Channel-Transfer-Time: 0
  107. Caller-Channel-Resurrect-Time: 0
  108. Caller-Channel-Bridged-Time: 0
  109. Caller-Channel-Last-Hold: 0
  110. Caller-Channel-Hold-Accum: 0
  111. Caller-Screen-Bit: false
  112. Caller-Privacy-Hide-Name: false
  113. Caller-Privacy-Hide-Number: false
  114. variable_direction: inbound
  115. variable_uuid: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  116. variable_session_id: 3311
  117. variable_sip_from_user: 6974108809
  118. variable_sip_from_uri: 6974108809%40voips.modulus.gr
  119. variable_sip_from_host: voips.modulus.gr
  120. variable_video_media_flow: disabled
  121. variable_text_media_flow: disabled
  122. variable_channel_name: sofia/external_sip/6974108809%40voips.modulus.gr
  123. variable_sip_call_id: 4c7136f13c06a0ae39e7d28f4af55d64%40voips.modulus.gr
  124. variable_sip_local_network_addr: 94.130.242.106
  125. variable_sip_network_ip: 185.73.43.250
  126. variable_sip_network_port: 5060
  127. variable_sip_invite_stamp: 1641281899102561
  128. variable_sip_received_ip: 185.73.43.250
  129. variable_sip_received_port: 5060
  130. variable_sip_via_protocol: udp
  131. variable_sip_from_user_stripped: 6974108809
  132. variable_sip_from_tag: as1e566196
  133. variable_sofia_profile_name: external_sip
  134. variable_sofia_profile_url: sip%3Amod_sofia%4094.130.242.106%3A6080
  135. variable_recovery_profile_name: external_sip
  136. variable_sip_Remote-Party-ID: %226974108809%22%20%3Csip%3A6974108809%40voips.modulus.gr%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  137. variable_sip_cid_type: rpid
  138. variable_sip_full_via: SIP/2.0/UDP%20185.73.43.250%3Bbranch%3Dz9hG4bK8111.fe32530c82ec87ae64002fab212ccb72.0
  139. variable_sip_full_from: %3Csip%3A6974108809%40voips.modulus.gr%3E%3Btag%3Das1e566196
  140. variable_sip_full_to: %3Csip%3A2102202732%40voips.modulus.gr%3E
  141. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  142. variable_sip_req_user: 2102202732
  143. variable_sip_req_uri: 2102202732%40voips.modulus.gr
  144. variable_sip_req_host: voips.modulus.gr
  145. variable_sip_to_user: 2102202732
  146. variable_sip_to_uri: 2102202732%40voips.modulus.gr
  147. variable_sip_to_host: voips.modulus.gr
  148. variable_sip_contact_user: btpsh-61d3a5e9-2953-77b46
  149. variable_sip_contact_uri: btpsh-61d3a5e9-2953-77b46%40185.73.43.250
  150. variable_sip_contact_host: 185.73.43.250
  151. variable_sip_user_agent: modCOM%20v2%20SIP%20Server
  152. variable_sip_via_host: 185.73.43.250
  153. variable_max_forwards: 68
  154. variable_sip_date_epoch_time: 1641281899
  155. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201917027256%201917027256%20IN%20IP4%20185.73.43.253%0D%0As%3DmodCOM%20v2%20Media%20Gateway%0D%0Ac%3DIN%20IP4%20185.73.43.253%0D%0At%3D0%200%0D%0Am%3Daudio%2040764%20RTP/AVP%208%209%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Drtcp%3A40765%0D%0Aa%3Dptime%3A20%0D%0A
  156. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  157. variable_rtp_use_codec_string: PCMA,OPUS,G729
  158. variable_remote_video_media_flow: inactive
  159. variable_remote_text_media_flow: inactive
  160. variable_remote_audio_media_flow: sendrecv
  161. variable_audio_media_flow: sendrecv
  162. variable_rtp_remote_audio_rtcp_port: 40765
  163. variable_remote_media_ip: 185.73.43.253
  164. variable_remote_media_port: 40764
  165. variable_rtp_audio_recv_pt: 8
  166. variable_rtp_use_codec_name: PCMA
  167. variable_rtp_use_codec_rate: 8000
  168. variable_rtp_use_codec_ptime: 20
  169. variable_rtp_use_codec_channels: 1
  170. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  171. variable_read_codec: PCMA
  172. variable_original_read_codec: PCMA
  173. variable_read_rate: 8000
  174. variable_original_read_rate: 8000
  175. variable_write_codec: PCMA
  176. variable_write_rate: 8000
  177. variable_dtmf_type: rfc2833
  178. variable_endpoint_disposition: RECEIVED
  179. variable_call_uuid: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  180. Hunt-Direction: inbound
  181. Hunt-Logical-Direction: inbound
  182. Hunt-Username: 6974108809
  183. Hunt-Dialplan: XML
  184. Hunt-Caller-ID-Name: 6974108809
  185. Hunt-Caller-ID-Number: 6974108809
  186. Hunt-Orig-Caller-ID-Name: 6974108809
  187. Hunt-Orig-Caller-ID-Number: 6974108809
  188. Hunt-Network-Addr: 185.73.43.250
  189. Hunt-ANI: 6974108809
  190. Hunt-Destination-Number: 2102202732
  191. Hunt-Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  192. Hunt-Source: mod_sofia
  193. Hunt-Context: default
  194. Hunt-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  195. Hunt-Profile-Index: 1
  196. Hunt-Profile-Created-Time: 1641281899102561
  197. Hunt-Channel-Created-Time: 1641281899102561
  198. Hunt-Channel-Answered-Time: 0
  199. Hunt-Channel-Progress-Time: 0
  200. Hunt-Channel-Progress-Media-Time: 0
  201. Hunt-Channel-Hangup-Time: 0
  202. Hunt-Channel-Transfer-Time: 0
  203. Hunt-Channel-Resurrect-Time: 0
  204. Hunt-Channel-Bridged-Time: 0
  205. Hunt-Channel-Last-Hold: 0
  206. Hunt-Channel-Hold-Accum: 0
  207. Hunt-Screen-Bit: false
  208. Hunt-Privacy-Hide-Name: false
  209. Hunt-Privacy-Hide-Number: false
  210.  
  211.  
  212. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  213. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  214. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  215. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  216. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2102202732
  217. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2102202732' AND status=0 limit 1
  218. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 6974108809 / 6974108809
  219. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [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.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 ="2102202732" LIMIT 1
  220. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2102202732" limit 1
  221. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  222. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.73.43.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "2102202732"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  223. 2022-01-04 07:38:19.102561 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  224. 2022-01-04 07:38:19.102561 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  225. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2102202732.*' OR blocked_patterns = '^210220273.*' OR blocked_patterns = '^21022027.*' OR blocked_patterns = '^2102202.*' OR blocked_patterns = '^210220.*' OR blocked_patterns = '^21022.*' OR blocked_patterns = '^2102.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 9 limit 1
  226. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2102202732" AND (accountid = 0 OR status = 1) LIMIT 1
  227. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  228. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  229. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  230. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2102202732
  231. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2102202732
  232. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302102202732
  233. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  234. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  235. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  236. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302102202732
  237. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [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 = '^302102202732.*' OR patterns = '^30210220273.*' OR patterns = '^3021022027.*' OR patterns = '^302102202.*' OR patterns = '^30210220.*' OR patterns = '^3021022.*' OR patterns = '^302102.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
  238. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [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 ="302102202732" AND A.accountid = '9' limit 1
  239. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302102202732
  240. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [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.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 ="302102202732" LIMIT 1
  241. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  242. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302102202732' OR number = '30210220273' OR number = '3021022027' OR number = '302102202' OR number = '30210220' OR number = '3021022' OR number = '302102' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302102202732*' OR number = '30210220273*' OR number = '3021022027*' OR number = '302102202*' OR number = '30210220*' OR number = '3021022*' OR number = '302102*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '6974108809' OR number = '697410880' OR number = '69741088' OR number = '6974108' OR number = '697410' OR number = '69741' OR number = '6974' OR number = '697' OR number = '69' OR number = '6' OR number ='--') OR (number = '6974108809*' OR number = '697410880*' OR number = '69741088*' OR number = '6974108*' OR number = '697410*' OR number = '69741*' OR number = '6974*' OR number = '697*' OR number = '69*' OR number = '6*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  243. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  244. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '302102202732' OR routing_prefix = '30210220273' OR routing_prefix = '3021022027' OR routing_prefix = '302102202' OR routing_prefix = '30210220' OR routing_prefix = '3021022' OR routing_prefix = '302102' OR routing_prefix = '30210' OR routing_prefix = '3021' OR routing_prefix = '302' OR routing_prefix = '30' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  245. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  246. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 9
  247. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 2976257734
  248. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 10000
  249. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 0 [0:prepaid,1:postpaid]
  250. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 2
  251. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 6
  252. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  253. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 2 AND status = 0
  254. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  255. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [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.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 ="302102202732" LIMIT 1
  256. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  257. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  258. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 1
  259. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  260. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  261. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.00000
  262. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : 302102202732
  263. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 75
  264. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 9
  265. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  266. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 9 !!!
  267. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  268. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE ID 9
  269. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE RATE 0.00000
  270. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE CONNECT COST 0.00000
  271. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INITIAL INC 0
  272. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] NIBBLE INC 0
  273. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  274. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  275. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  276. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 9 AND status=0 LIMIT 1
  277. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "11" AND deleted = 0 limit 1
  278. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:9
  279. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:9
  280. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 9
  281. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  282. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  283. 2022-01-04 07:38:19.122575 98.57% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  284. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  285. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  286. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  287. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  288. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  289. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"2/302,6/306".....6974108809
  290. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 6974108809
  291. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 306974108809
  292. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 11  and status = 0 limit 1
  293. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_5
  294. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  295. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  296. <document type="freeswitch/xml">
  297. <section name="dialplan" description="ASTPP Dialplan">
  298. <context name="default">
  299. <extension name="302102202732">
  300. <condition field="destination_number" expression="2102202732">
  301. <action application="set" data="effective_destination_number=302102202732"/>
  302. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  303. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  304. <action application="set" data="nibble_account=9"/>
  305. <action application="set" data="nibble_rate=0.00000"/>
  306. <action application="set" data="nibble_increment=0"/>
  307. <action application="set" data="nibble_minimum=0.00000"/>
  308. <action application="nibblebill" data="heartbeat 30"/>
  309. <action application="set" data="callstart=2022-01-04 07:38:19"/>
  310. <action application="set" data="hangup_after_bridge=true"/>
  311. <action application="set" data="continue_on_fail=TRUE"/>
  312. <action application="set" data="account_id=9"/>
  313. <action application="set" data="parent_id=0"/>
  314. <action application="set" data="entity_id=3"/>
  315. <action application="set" data="call_processed=internal"/>
  316. <action application="set" data="call_direction=inbound"/>
  317. <action application="set" data="accountname=ModulusIncoming"/>
  318. <action application="set" data="origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11"/>
  319. <action application="set" data="origination_rates=0"/>
  320. <action application="set" data="original_caller_id_name=6974108809"/>
  321. <action application="set" data="original_caller_id_number=6974108809"/>
  322. <action application="limit" data="db 2976257734 user_2976257734 60 "/>
  323. <action application="limit" data="db 11 user_11 2 "/>
  324. <action application="set" data="effective_caller_id_name=306974108809"/>
  325. <action application="set" data="effective_caller_id_number=306974108809"/>
  326. <action application="set" data="receiver_accid=11"/>
  327. <action application="export" data="domain_name="/>
  328. <action application="export" data="sip_to_host="/>
  329. <action application="limit" data="db 302102202732 did_302102202732 2 "/>
  330. <action application="export" data="presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250"/>
  331. <action application="export" data="call_type=5"/>
  332. <action application="set" data="calltype=SIP-DID"/>
  333. <action application="bridge" data="{sip_contact_user=302102202732}[leg_timeout=0]sofia/${sofia_profile_name}/302102202732${regex(${sofia_contact(7772615170@${domain_name})}|^[^@]+(.*)|%1)}"/>
  334. <condition field="${cond(${user_data 7772615170@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  335. <action application="answer"/>
  336. <action application="export" data="voicemail_alternate_greet_id=302102202732"/>
  337. <action application="voicemail" data="default $${domain_name} 7772615170"/>
  338. <anti-action application="hangup" data="${originate_disposition}"/>
  339. </condition>
  340. <action application="set" data="did_id=1"/>
  341. <action application="set" data="destination_number=302102202732"/>
  342. <action application="set" data="leg_timeout=0"/>
  343. <action application="set" data="call_type_vm_flag=1"/>
  344. <action application="set" data="is_local_extension=1"/>
  345. <action application="lua" data="did_call_forwarding.lua"/>
  346. </condition>
  347. </extension>
  348. </context>
  349. </section>
  350. </document>
  351. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->302102202732] continue=false
  352. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732] destination_number(2102202732) =~ /2102202732/ break=on-false
  353. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302102202732)
  354. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_app=sched_hangup)
  355. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  356. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_account=9)
  357. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_rate=0.00000)
  358. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_increment=0)
  359. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(nibble_minimum=0.00000)
  360. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action nibblebill(heartbeat 30)
  361. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2022-01-04 07:38:19)
  362. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(hangup_after_bridge=true)
  363. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(continue_on_fail=TRUE)
  364. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  365. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  366. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(entity_id=3)
  367. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  368. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=inbound)
  369. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(accountname=ModulusIncoming)
  370. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  371. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(origination_rates=0)
  372. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=6974108809)
  373. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=6974108809)
  374. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 2976257734 user_2976257734 60 )
  375. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 11 user_11 2 )
  376. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_name=306974108809)
  377. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_caller_id_number=306974108809)
  378. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(receiver_accid=11)
  379. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(domain_name=)
  380. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(sip_to_host=)
  381. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action limit(db 302102202732 did_302102202732 2 )
  382. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  383. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(call_type=5)
  384. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(calltype=SIP-DID)
  385. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action bridge({sip_contact_user=302102202732}[leg_timeout=0]sofia/${sofia_profile_name}/302102202732${regex(${sofia_contact(7772615170@${domain_name})}|^[^@]+(.*)|%1)})
  386. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(did_id=1)
  387. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(destination_number=302102202732)
  388. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(leg_timeout=0)
  389. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_type_vm_flag=1)
  390. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(is_local_extension=1)
  391. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action lua(did_call_forwarding.lua)
  392. |--- Dialplan: Processing recursive conditions level:1 [302102202732_recur_1] require-nested=TRUE
  393. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [302102202732_recur_1] ${cond(${user_data 7772615170@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  394. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action answer()
  395. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action export(voicemail_alternate_greet_id=302102202732)
  396. |--- Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action voicemail(default $${domain_name} 7772615170)
  397. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  398. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  399. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 3311)
  400. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  401. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  402. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  403. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302102202732)
  404. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302102202732]
  405. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_app=sched_hangup)
  406. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_app]=[sched_hangup]
  407. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  408. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  409. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_account=9)
  410. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_account]=[9]
  411. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_rate=0.00000)
  412. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_rate]=[0.00000]
  413. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_increment=0)
  414. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_increment]=[0]
  415. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(nibble_minimum=0.00000)
  416. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [nibble_minimum]=[0.00000]
  417. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr nibblebill(heartbeat 30)
  418. 2022-01-04 07:38:19.122575 98.57% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  419. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_scheduler.c:263 Added task 1913 switch_core_session_sched_heartbeat (02fdab24-2f1e-4aa2-9da7-4155740359c7) to run at 1641281929
  420. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2022-01-04 07:38:19)
  421. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2022-01-04 07:38:19]
  422. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(hangup_after_bridge=true)
  423. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [hangup_after_bridge]=[true]
  424. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(continue_on_fail=TRUE)
  425. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [continue_on_fail]=[TRUE]
  426. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  427. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  428. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  429. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  430. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(entity_id=3)
  431. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [entity_id]=[3]
  432. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  433. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  434. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=inbound)
  435. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[inbound]
  436. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(accountname=ModulusIncoming)
  437. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [accountname]=[ModulusIncoming]
  438. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates_did=ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11)
  439. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates_did]=[ID:1|CODE:^302102202732.*|DESTINATION:302102202732|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:5|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:75|ACCID:11]
  440. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(origination_rates=0)
  441. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [origination_rates]=[0]
  442. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=6974108809)
  443. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[6974108809]
  444. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=6974108809)
  445. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[6974108809]
  446. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 2976257734 user_2976257734 60 )
  447. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_limit.c:124 incr called: 2976257734_user_2976257734 max:60, interval:0
  448. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_db.c:194 Usage for 2976257734_user_2976257734 is now 1/60
  449. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 11 user_11 2 )
  450. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_limit.c:124 incr called: 11_user_11 max:2, interval:0
  451. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_db.c:194 Usage for 11_user_11 is now 1/2
  452. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_name=306974108809)
  453. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_name]=[306974108809]
  454. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_caller_id_number=306974108809)
  455. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_caller_id_number]=[306974108809]
  456. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(receiver_accid=11)
  457. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [receiver_accid]=[11]
  458. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(domain_name=)
  459. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [domain_name]=[UNDEF]
  460. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(sip_to_host=)
  461. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [sip_to_host]=[UNDEF]
  462. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr limit(db 302102202732 did_302102202732 2 )
  463. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_limit.c:124 incr called: 302102202732_did_302102202732 max:2, interval:0
  464. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_db.c:194 Usage for 302102202732_did_302102202732 is now 1/2
  465. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(presence_data=x|||Martha(7772615170)|||||||||DID|||185.73.43.250)
  466. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250]
  467. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr export(call_type=5)
  468. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1315 EXPORT (export_vars) [call_type]=[5]
  469. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(calltype=SIP-DID)
  470. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [calltype]=[SIP-DID]
  471. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr bridge({sip_contact_user=302102202732}[leg_timeout=0]sofia/external_sip/302102202732@194.219.29.89:6060;rinstance=0689c485a096b61c;fs_nat=yes;fs_path=sip%3A7772615170%40194.219.29.89%3A6060%3Brinstance%3D0689c485a096b61c)
  472. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [presence_data]=[x|||Martha(7772615170)|||||||||DID|||185.73.43.250] to event
  473. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_channel.c:1269 sofia/external_sip/6974108809@voips.modulus.gr EXPORTING[export_vars] [call_type]=[5] to event
  474. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
  475. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_ivr_originate.c:2843 Parsing session specific variables
  476. 2022-01-04 07:38:19.122575 98.57% [NOTICE] switch_channel.c:1123 New Channel sofia/external_sip/302102202732@194.219.29.89:6060 [f092edf5-894a-480d-a063-12fae7ff3d48]
  477. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_sofia.c:5121 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_NEW -> CS_INIT
  478. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_INIT (Cur 2 Tot 3312)
  479. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/302102202732@194.219.29.89:6060) State INIT
  480. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_sofia.c:97 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA INIT
  481. 2022-01-04 07:38:19.122575 98.57% [DEBUG] sofia_glue.c:1620 sip:7772615170@194.219.29.89:6060;rinstance=0689c485a096b61c Setting proxy route to sofia/external_sip/302102202732@194.219.29.89:6060
  482. 2022-01-04 07:38:19.122575 98.57% [INFO] sofia_glue.c:1651 sofia/external_sip/302102202732@194.219.29.89:6060 sending invite call-id: (null)
  483. 2022-01-04 07:38:19.122575 98.57% [DEBUG] sofia_glue.c:1654 sofia/external_sip/302102202732@194.219.29.89:6060 sending invite version: 1.10.7 -release-19-883d2cb662 64bit
  484. Local SDP:
  485. v=0
  486. o=FreeSWITCH 1641262285 1641262286 IN IP4 94.130.242.106
  487. s=FreeSWITCH
  488. c=IN IP4 94.130.242.106
  489. t=0 0
  490. m=audio 19614 RTP/AVP 8 101
  491. a=rtpmap:8 PCMA/8000
  492. a=rtpmap:101 telephone-event/8000
  493. a=fmtp:101 0-15
  494. a=ptime:20
  495. a=sendrecv
  496.  
  497. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:40 sofia/external_sip/302102202732@194.219.29.89:6060 Standard INIT
  498. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:48 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_INIT -> CS_ROUTING
  499. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:624 (sofia/external_sip/302102202732@194.219.29.89:6060) State INIT going to sleep
  500. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_ROUTING (Cur 2 Tot 3312)
  501. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/302102202732@194.219.29.89:6060) State ROUTING
  502. 2022-01-04 07:38:19.122575 98.57% [DEBUG] mod_sofia.c:158 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA ROUTING
  503. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_ivr_originate.c:67 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  504. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/302102202732@194.219.29.89:6060) State ROUTING going to sleep
  505. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 3312)
  506. 2022-01-04 07:38:19.122575 98.57% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [calling][0]
  507. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/external_sip/302102202732@194.219.29.89:6060) State CONSUME_MEDIA
  508. 2022-01-04 07:38:19.122575 98.57% [DEBUG] switch_core_state_machine.c:659 (sofia/external_sip/302102202732@194.219.29.89:6060) State CONSUME_MEDIA going to sleep
  509. 2022-01-04 07:38:19.542562 98.57% [DEBUG] sofia.c:7499 Channel sofia/external_sip/302102202732@194.219.29.89:6060 entering state [proceeding][180]
  510. 2022-01-04 07:38:19.542562 98.57% [NOTICE] sofia.c:7610 Ring-Ready sofia/external_sip/302102202732@194.219.29.89:6060!
  511. 2022-01-04 07:38:19.542562 98.57% [DEBUG] switch_channel.c:3494 (sofia/external_sip/302102202732@194.219.29.89:6060) Callstate Change DOWN -> RINGING
  512. 2022-01-04 07:38:19.562555 98.57% [NOTICE] mod_sofia.c:2515 Ring-Ready sofia/external_sip/6974108809@voips.modulus.gr!
  513. 2022-01-04 07:38:19.562555 98.57% [DEBUG] sofia.c:7499 Channel sofia/external_sip/6974108809@voips.modulus.gr entering state [early][180]
  514. 2022-01-04 07:38:19.562555 98.57% [NOTICE] switch_ivr_originate.c:565 Ring Ready sofia/external_sip/6974108809@voips.modulus.gr!
  515. 2022-01-04 07:38:49.122574 99.60% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  516. 2022-01-04 07:38:49.122574 99.60% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  517. 2022-01-04 07:38:49.122574 99.60% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  518. 2022-01-04 07:38:49.122574 99.60% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  519. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  520. 2022-01-04 07:38:49.142573 99.60% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  521. 2022-01-04 07:38:49.142573 99.60% [DEBUG] mod_nibblebill.c:523 Comparing 19.247050 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  522. 2022-01-04 07:38:51.742571 99.87% [DEBUG] sofia_reg.c:2665 Changing expire time to 236 by request of proxy sip:voips.modulus.gr:5060
  523. 2022-01-04 07:39:19.002562 98.97% [NOTICE] switch_ivr_originate.c:3799 Hangup sofia/external_sip/302102202732@194.219.29.89:6060 [CS_CONSUME_MEDIA] [NO_ANSWER]
  524. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_HANGUP (Cur 2 Tot 3312)
  525. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/302102202732@194.219.29.89:6060) Callstate Change RINGING -> HANGUP
  526. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/302102202732@194.219.29.89:6060) State HANGUP
  527. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/302102202732@194.219.29.89:6060 hanging up, cause: NO_ANSWER
  528. 2022-01-04 07:39:19.002562 98.97% [INFO] mod_dptools.c:3653 Originate Failed.  Cause: NO_ANSWER
  529. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_sofia.c:536 Sending CANCEL to sofia/external_sip/302102202732@194.219.29.89:6060
  530. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/302102202732@194.219.29.89:6060 Standard HANGUP, cause: NO_ANSWER
  531. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/302102202732@194.219.29.89:6060) State HANGUP going to sleep
  532. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_HANGUP -> CS_REPORTING
  533. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_REPORTING (Cur 2 Tot 3312)
  534. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/302102202732@194.219.29.89:6060) State REPORTING
  535. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(did_id=1)
  536. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [did_id]=[1]
  537. 2022-01-04 07:39:19.002562 98.97% [INFO] mod_json_cdr.c:271 Process [f092edf5-894a-480d-a063-12fae7ff3d48.cdr.json]
  538. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(destination_number=302102202732)
  539. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [destination_number]=[302102202732]
  540. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(leg_timeout=0)
  541. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [leg_timeout]=[0]
  542. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_type_vm_flag=1)
  543. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_type_vm_flag]=[1]
  544. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(is_local_extension=1)
  545. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [is_local_extension]=[1]
  546. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr lua(did_call_forwarding.lua)
  547. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  548. 2022-01-04 07:39:19.002562 98.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] SECTION
  549. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Opensips 1 This Is DiD Id :
  550. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DID_Call_Forwading] This Is Last Dispositions NO_ANSWER This Is DiD Id : 1
  551. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  SQL : select number,extensions,always,always_destination,always_vm_flag,no_answer,no_answer_destination,no_answer_vm_flag from dids where id='1' and status='0'
  552. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr sleep(500)
  553. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/302102202732@194.219.29.89:6060 Standard REPORTING, cause: NO_ANSWER
  554. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/302102202732@194.219.29.89:6060) State REPORTING going to sleep
  555. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/302102202732@194.219.29.89:6060) State Change CS_REPORTING -> CS_DESTROY
  556. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_session.c:1753 Session 3312 (sofia/external_sip/302102202732@194.219.29.89:6060) Locked, Waiting on external entities
  557. 2022-01-04 07:39:19.002562 98.97% [NOTICE] switch_core_session.c:1771 Session 3312 (sofia/external_sip/302102202732@194.219.29.89:6060) Ended
  558. 2022-01-04 07:39:19.002562 98.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/302102202732@194.219.29.89:6060 [CS_DESTROY]
  559. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/302102202732@194.219.29.89:6060) Running State Change CS_DESTROY (Cur 1 Tot 3312)
  560. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/302102202732@194.219.29.89:6060) State DESTROY
  561. 2022-01-04 07:39:19.002562 98.97% [DEBUG] mod_sofia.c:379 sofia/external_sip/302102202732@194.219.29.89:6060 SOFIA DESTROY
  562. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/302102202732@194.219.29.89:6060 Standard DESTROY
  563. 2022-01-04 07:39:19.002562 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/302102202732@194.219.29.89:6060) State DESTROY going to sleep
  564. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:695 Received request via SESSION_HEARTBEAT!
  565. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  566. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  567. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  568. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  569. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  570. 2022-01-04 07:39:19.142558 98.97% [DEBUG] mod_nibblebill.c:523 Comparing 19.247050 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  571. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  This Is Calltype : 4And Destination : 2105762903
  572. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('DID_NUMBER', '(null)')
  573. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('call_forwarding', 'true')
  574. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('last_did_rates', '(null)')
  575. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('calltype', 'STANDARD')
  576. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr transfer(2105762903 XML default)
  577. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_ivr.c:2289 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_EXECUTE -> CS_ROUTING
  578. 2022-01-04 07:39:19.502564 98.97% [NOTICE] switch_ivr.c:2296 Transfer sofia/external_sip/6974108809@voips.modulus.gr to XML[2105762903@default]
  579. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1209 sofia/external_sip/6974108809@voips.modulus.gr destroy/unlink session from object
  580. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  581. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_ROUTING (Cur 1 Tot 3312)
  582. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING
  583. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  584. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_sofia.c:158 sofia/external_sip/6974108809@voips.modulus.gr SOFIA ROUTING
  585. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  586. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  587. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  588. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  589. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  590. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:523 Comparing 19.247050 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  591. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  592. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  593. 2022-01-04 07:39:19.502564 98.97% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  594. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_core_state_machine.c:230 sofia/external_sip/6974108809@voips.modulus.gr Standard ROUTING
  595. 2022-01-04 07:39:19.502564 98.97% [INFO] mod_dialplan_xml.c:639 Processing 6974108809 <6974108809>->2105762903 in context default
  596. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  597. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  598. 2022-01-04 07:39:19.502564 98.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  599. Event-Name: REQUEST_PARAMS
  600. Core-UUID: 7c1eed07-34ee-474f-964d-a5cb6e2e7c68
  601. FreeSWITCH-Hostname: billing
  602. FreeSWITCH-Switchname: billing
  603. FreeSWITCH-IPv4: 172.16.0.30
  604. FreeSWITCH-IPv6: %3A%3A1
  605. Event-Date-Local: 2022-01-04%2007%3A39%3A19
  606. Event-Date-GMT: Tue,%2004%20Jan%202022%2007%3A39%3A19%20GMT
  607. Event-Date-Timestamp: 1641281959502564
  608. Event-Calling-File: mod_dialplan_xml.c
  609. Event-Calling-Function: dialplan_xml_locate
  610. Event-Calling-Line-Number: 610
  611. Event-Sequence: 489970
  612. Channel-State: CS_ROUTING
  613. Channel-Call-State: RINGING
  614. Channel-State-Number: 2
  615. Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  616. Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  617. Call-Direction: inbound
  618. Presence-Call-Direction: inbound
  619. Channel-HIT-Dialplan: true
  620. Channel-Presence-Data: x%7C%7C%7CMartha(7772615170)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.73.43.250
  621. Channel-Call-UUID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  622. Answer-State: ringing
  623. Channel-Read-Codec-Name: PCMA
  624. Channel-Read-Codec-Rate: 8000
  625. Channel-Read-Codec-Bit-Rate: 64000
  626. Channel-Write-Codec-Name: PCMA
  627. Channel-Write-Codec-Rate: 8000
  628. Channel-Write-Codec-Bit-Rate: 64000
  629. Caller-Direction: inbound
  630. Caller-Logical-Direction: inbound
  631. Caller-Username: 6974108809
  632. Caller-Dialplan: XML
  633. Caller-Caller-ID-Name: 6974108809
  634. Caller-Caller-ID-Number: 6974108809
  635. Caller-Orig-Caller-ID-Name: 6974108809
  636. Caller-Orig-Caller-ID-Number: 6974108809
  637. Caller-Callee-ID-Name: Outbound%20Call
  638. Caller-Callee-ID-Number: 302102202732
  639. Caller-Network-Addr: 185.73.43.250
  640. Caller-ANI: 6974108809
  641. Caller-Destination-Number: 2105762903
  642. Caller-Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  643. Caller-Source: mod_sofia
  644. Caller-Transfer-Source: 1641281959%3Ac6177191-d7c8-490b-9bbb-24b984700e37%3Abl_xfer%3A2105762903/default/XML
  645. Caller-Context: default
  646. Caller-RDNIS: 2102202732
  647. Caller-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  648. Caller-Profile-Index: 2
  649. Caller-Profile-Created-Time: 1641281959502564
  650. Caller-Channel-Created-Time: 1641281899102561
  651. Caller-Channel-Answered-Time: 0
  652. Caller-Channel-Progress-Time: 1641281899542562
  653. Caller-Channel-Progress-Media-Time: 0
  654. Caller-Channel-Hangup-Time: 0
  655. Caller-Channel-Transfer-Time: 0
  656. Caller-Channel-Resurrect-Time: 0
  657. Caller-Channel-Bridged-Time: 0
  658. Caller-Channel-Last-Hold: 0
  659. Caller-Channel-Hold-Accum: 0
  660. Caller-Screen-Bit: false
  661. Caller-Privacy-Hide-Name: false
  662. Caller-Privacy-Hide-Number: false
  663. variable_direction: inbound
  664. variable_uuid: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  665. variable_session_id: 3311
  666. variable_sip_from_user: 6974108809
  667. variable_sip_from_uri: 6974108809%40voips.modulus.gr
  668. variable_sip_from_host: voips.modulus.gr
  669. variable_video_media_flow: disabled
  670. variable_text_media_flow: disabled
  671. variable_channel_name: sofia/external_sip/6974108809%40voips.modulus.gr
  672. variable_sip_call_id: 4c7136f13c06a0ae39e7d28f4af55d64%40voips.modulus.gr
  673. variable_sip_local_network_addr: 94.130.242.106
  674. variable_sip_network_ip: 185.73.43.250
  675. variable_sip_network_port: 5060
  676. variable_sip_invite_stamp: 1641281899102561
  677. variable_sip_received_ip: 185.73.43.250
  678. variable_sip_received_port: 5060
  679. variable_sip_via_protocol: udp
  680. variable_sip_from_user_stripped: 6974108809
  681. variable_sip_from_tag: as1e566196
  682. variable_sofia_profile_name: external_sip
  683. variable_sofia_profile_url: sip%3Amod_sofia%4094.130.242.106%3A6080
  684. variable_recovery_profile_name: external_sip
  685. variable_sip_Remote-Party-ID: %226974108809%22%20%3Csip%3A6974108809%40voips.modulus.gr%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  686. variable_sip_cid_type: rpid
  687. variable_sip_full_via: SIP/2.0/UDP%20185.73.43.250%3Bbranch%3Dz9hG4bK8111.fe32530c82ec87ae64002fab212ccb72.0
  688. variable_sip_full_from: %3Csip%3A6974108809%40voips.modulus.gr%3E%3Btag%3Das1e566196
  689. variable_sip_full_to: %3Csip%3A2102202732%40voips.modulus.gr%3E
  690. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  691. variable_sip_req_user: 2102202732
  692. variable_sip_req_uri: 2102202732%40voips.modulus.gr
  693. variable_sip_req_host: voips.modulus.gr
  694. variable_sip_to_user: 2102202732
  695. variable_sip_to_uri: 2102202732%40voips.modulus.gr
  696. variable_sip_contact_user: btpsh-61d3a5e9-2953-77b46
  697. variable_sip_contact_uri: btpsh-61d3a5e9-2953-77b46%40185.73.43.250
  698. variable_sip_contact_host: 185.73.43.250
  699. variable_sip_user_agent: modCOM%20v2%20SIP%20Server
  700. variable_sip_via_host: 185.73.43.250
  701. variable_sip_date_epoch_time: 1641281899
  702. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201917027256%201917027256%20IN%20IP4%20185.73.43.253%0D%0As%3DmodCOM%20v2%20Media%20Gateway%0D%0Ac%3DIN%20IP4%20185.73.43.253%0D%0At%3D0%200%0D%0Am%3Daudio%2040764%20RTP/AVP%208%209%200%2018%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A9%20G722/8000%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Drtcp%3A40765%0D%0Aa%3Dptime%3A20%0D%0A
  703. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,mod_g729.G729%408000h%4020i%408000b
  704. variable_rtp_use_codec_string: PCMA,OPUS,G729
  705. variable_remote_video_media_flow: inactive
  706. variable_remote_text_media_flow: inactive
  707. variable_remote_audio_media_flow: sendrecv
  708. variable_audio_media_flow: sendrecv
  709. variable_rtp_remote_audio_rtcp_port: 40765
  710. variable_remote_media_ip: 185.73.43.253
  711. variable_remote_media_port: 40764
  712. variable_rtp_audio_recv_pt: 8
  713. variable_rtp_use_codec_name: PCMA
  714. variable_rtp_use_codec_rate: 8000
  715. variable_rtp_use_codec_ptime: 20
  716. variable_rtp_use_codec_channels: 1
  717. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  718. variable_read_codec: PCMA
  719. variable_original_read_codec: PCMA
  720. variable_read_rate: 8000
  721. variable_original_read_rate: 8000
  722. variable_write_codec: PCMA
  723. variable_write_rate: 8000
  724. variable_dtmf_type: rfc2833
  725. variable_endpoint_disposition: RECEIVED
  726. variable_effective_destination_number: 302102202732
  727. variable_bridge_pre_execute_bleg_app: sched_hangup
  728. variable_bridge_pre_execute_bleg_data: %2B6000%20normal_clearing
  729. variable_nibble_account: 9
  730. variable_nibble_rate: 0.00000
  731. variable_nibble_increment: 0
  732. variable_nibble_minimum: 0.00000
  733. variable_callstart: 2022-01-04%2007%3A38%3A19
  734. variable_hangup_after_bridge: true
  735. variable_continue_on_fail: TRUE
  736. variable_account_id: 9
  737. variable_parent_id: 0
  738. variable_entity_id: 3
  739. variable_call_processed: internal
  740. variable_call_direction: inbound
  741. variable_accountname: ModulusIncoming
  742. variable_origination_rates_did: ID%3A1%7CCODE%3A%5E302102202732.*%7CDESTINATION%3A302102202732%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A0%7CCT%3A5%7CCOST%3A0.00000%7CINC%3A0%7CINITIALBLOCK%3A0%7CRATEGROUP%3A0%7CMARKUP%3A0%7CCI%3A75%7CACCID%3A11
  743. variable_origination_rates: 0
  744. variable_original_caller_id_name: 6974108809
  745. variable_original_caller_id_number: 6974108809
  746. variable_limit_usage_2976257734_user_2976257734: 1
  747. variable_limit_usage_11_user_11: 1
  748. variable_effective_caller_id_name: 306974108809
  749. variable_effective_caller_id_number: 306974108809
  750. variable_receiver_accid: 11
  751. variable_limit_realm: 302102202732
  752. variable_limit_id: did_302102202732
  753. variable_limit_max: 2
  754. variable_limit_usage: 1
  755. variable_limit_usage_302102202732_did_302102202732: 1
  756. variable_presence_data: x%7C%7C%7CMartha(7772615170)%7C%7C%7C%7C%7C%7C%7C%7C%7CDID%7C%7C%7C185.73.43.250
  757. variable_call_type: 5
  758. variable_export_vars: presence_data,call_type
  759. variable_originate_signal_bond: f092edf5-894a-480d-a063-12fae7ff3d48
  760. variable_originated_legs: f092edf5-894a-480d-a063-12fae7ff3d48%3BOutbound%20Call%3B302102202732
  761. variable_sip_to_tag: v2v6pF7FZg04p
  762. variable_last_bridge_hangup_cause: NO_ANSWER
  763. variable_originate_disposition: NO_ANSWER
  764. variable_DIALSTATUS: NOANSWER
  765. variable_originate_causes: f092edf5-894a-480d-a063-12fae7ff3d48%3BNO_ANSWER
  766. variable_originate_failed_cause: NO_ANSWER
  767. variable_did_id: 1
  768. variable_destination_number: 302102202732
  769. variable_leg_timeout: 0
  770. variable_call_type_vm_flag: 1
  771. variable_is_local_extension: 1
  772. variable_call_forwarding: true
  773. variable_calltype: STANDARD
  774. variable_current_application_data: 2105762903%20XML%20default
  775. variable_current_application: transfer
  776. variable_max_forwards: 67
  777. variable_transfer_history: 1641281959%3Ac6177191-d7c8-490b-9bbb-24b984700e37%3Abl_xfer%3A2105762903/default/XML
  778. variable_transfer_source: 1641281959%3Ac6177191-d7c8-490b-9bbb-24b984700e37%3Abl_xfer%3A2105762903/default/XML
  779. variable_nibble_current_balance: 19.247050
  780. variable_call_uuid: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  781. Hunt-Direction: inbound
  782. Hunt-Logical-Direction: inbound
  783. Hunt-Username: 6974108809
  784. Hunt-Dialplan: XML
  785. Hunt-Caller-ID-Name: 6974108809
  786. Hunt-Caller-ID-Number: 6974108809
  787. Hunt-Orig-Caller-ID-Name: 6974108809
  788. Hunt-Orig-Caller-ID-Number: 6974108809
  789. Hunt-Callee-ID-Name: Outbound%20Call
  790. Hunt-Callee-ID-Number: 302102202732
  791. Hunt-Network-Addr: 185.73.43.250
  792. Hunt-ANI: 6974108809
  793. Hunt-Destination-Number: 2105762903
  794. Hunt-Unique-ID: 02fdab24-2f1e-4aa2-9da7-4155740359c7
  795. Hunt-Source: mod_sofia
  796. Hunt-Transfer-Source: 1641281959%3Ac6177191-d7c8-490b-9bbb-24b984700e37%3Abl_xfer%3A2105762903/default/XML
  797. Hunt-Context: default
  798. Hunt-RDNIS: 2102202732
  799. Hunt-Channel-Name: sofia/external_sip/6974108809%40voips.modulus.gr
  800. Hunt-Profile-Index: 2
  801. Hunt-Profile-Created-Time: 1641281959502564
  802. Hunt-Channel-Created-Time: 1641281899102561
  803. Hunt-Channel-Answered-Time: 0
  804. Hunt-Channel-Progress-Time: 1641281899542562
  805. Hunt-Channel-Progress-Media-Time: 0
  806. Hunt-Channel-Hangup-Time: 0
  807. Hunt-Channel-Transfer-Time: 0
  808. Hunt-Channel-Resurrect-Time: 0
  809. Hunt-Channel-Bridged-Time: 0
  810. Hunt-Channel-Last-Hold: 0
  811. Hunt-Channel-Hold-Accum: 0
  812. Hunt-Screen-Bit: false
  813. Hunt-Privacy-Hide-Name: false
  814. Hunt-Privacy-Hide-Number: false
  815.  
  816.  
  817. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  818. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  819. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  820. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  821. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2105762903
  822. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2105762903' AND status=0 limit 1
  823. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 306974108809 / 306974108809
  824. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [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.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 ="2105762903" LIMIT 1
  825. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2105762903" limit 1
  826. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  827. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.73.43.250") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "2105762903"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  828. 2022-01-04 07:39:19.502564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 2976257734]
  829. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "2976257734" AND deleted = 0 limit 1
  830. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^2105762903.*' OR blocked_patterns = '^210576290.*' OR blocked_patterns = '^21057629.*' OR blocked_patterns = '^2105762.*' OR blocked_patterns = '^210576.*' OR blocked_patterns = '^21057.*' OR blocked_patterns = '^2105.*' OR blocked_patterns = '^210.*' OR blocked_patterns = '^21.*' OR blocked_patterns = '^2.*' OR blocked_patterns ='--') AND accountid = 9 limit 1
  831. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="2105762903" AND (accountid = 0 OR status = 1) LIMIT 1
  832. 2022-01-04 07:39:19.502564 98.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 1
  833. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 1 AND status=0 limit 1
  834. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2105762903
  835. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....2105762903
  836. 2022-01-04 07:39:19.502564 98.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2105762903
  837. 2022-01-04 07:39:19.502564 98.97% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 302105762903
  838. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302105762903
  839. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302105762903
  840. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302105762903
  841. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/*,2/302,6/306,1/301,7/307,8/308".....302105762903
  842. 2022-01-04 07:39:19.502564 98.97% [DEBUG] switch_cpp.cpp:1465 [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 = '^302105762903.*' OR patterns = '^30210576290.*' OR patterns = '^3021057629.*' OR patterns = '^302105762.*' OR patterns = '^30210576.*' OR patterns = '^3021057.*' OR patterns = '^302105.*' OR patterns = '^30210.*' OR patterns = '^3021.*' OR patterns = '^302.*' OR patterns = '^30.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 9 ORDER BY LENGTH(PKGPTR.patterns) DESC
  843. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [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 ="302105762903" AND A.accountid = '9' limit 1
  844. 2022-01-04 07:39:19.522564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 302105762903
  845. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [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.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 ="302105762903" LIMIT 1
  846. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT 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 WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="302105762903" limit 1
  847. 2022-01-04 07:39:19.522564 98.97% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  848. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '302105762903' OR number = '30210576290' OR number = '3021057629' OR number = '302105762' OR number = '30210576' OR number = '3021057' OR number = '302105' OR number = '30210' OR number = '3021' OR number = '302' OR number = '30' OR number = '3' OR number ='--') OR (number = '302105762903*' OR number = '30210576290*' OR number = '3021057629*' OR number = '302105762*' OR number = '30210576*' OR number = '3021057*' OR number = '302105*' OR number = '30210*' OR number = '3021*' OR number = '302*' OR number = '30*' OR number = '3*' OR number ='--') OR (number = '306974108809' OR number = '30697410880' OR number = '3069741088' OR number = '306974108' OR number = '30697410' OR number = '3069741' OR number = '306974' OR number = '30697' OR number = '3069' OR number = '306' OR number = '30' OR number = '3' OR number ='--') OR (number = '306974108809*' OR number = '30697410880*' OR number = '3069741088*' OR number = '306974108*' OR number = '30697410*' OR number = '3069741*' OR number = '306974*' OR number = '30697*' OR number = '3069*' OR number = '306*' OR number = '30*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  849. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  850. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 306974108809
  851. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 6
  852. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Query :Select count(*) as count from dids where number='306974108809' and accountid = "9" and status=0
  853. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] COUNT :0
  854. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  855. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 9
  856. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  857. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  858. <document type="freeswitch/xml">
  859. <section name="dialplan" description="ASTPP Dialplan">
  860. <context name="default">
  861. <extension name="2105762903">
  862. <condition field="destination_number" expression="2105762903">
  863. <action application="log" data="WARNING CALLERID_NOT_FOUND 9"/>
  864. <action application="set" data="original_caller_id_name=306974108809"/>
  865. <action application="set" data="original_caller_id_number=306974108809"/>
  866. <action application="set" data="error_cdr=1"/>
  867. <action application="set" data="callstart=2022-01-04 07:39:19"/>
  868. <action application="set" data="account_id=9"/>
  869. <action application="set" data="parent_id=0"/>
  870. <action application="set" data="call_direction=outbound"/>
  871. <action application="set" data="sip_ignore_remote_cause=true"/>
  872. <action application="set" data="call_processed=internal"/>
  873. <action application="set" data="effective_destination_number=302105762903"/>
  874. <action application="set" data="last_bridge_hangup_cause=CALLERID_NOT_FOUND"/>
  875. <action application="hangup" data="CALLERID_NOT_FOUND"/>
  876. </condition>
  877. </extension>
  878. </context>
  879. </section>
  880. </document>
  881. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP]  Post Cdrs : 0
  882. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 9
  883. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  884. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  885. <document type="freeswitch/xml">
  886. <section name="dialplan" description="ASTPP Dialplan">
  887. <context name="default">
  888. <extension name="2105762903">
  889. <condition field="destination_number" expression="2105762903">
  890. <action application="log" data="WARNING Accountcode . Dialed number (302105762903) is blocked for account!!"/>
  891. <action application="set" data="original_caller_id_name=306974108809"/>
  892. <action application="set" data="original_caller_id_number=306974108809"/>
  893. <action application="set" data="error_cdr=1"/>
  894. <action application="set" data="callstart=2022-01-04 07:39:19"/>
  895. <action application="set" data="account_id=9"/>
  896. <action application="set" data="parent_id=0"/>
  897. <action application="set" data="call_direction=outbound"/>
  898. <action application="set" data="sip_ignore_remote_cause=true"/>
  899. <action application="set" data="call_processed=internal"/>
  900. <action application="set" data="effective_destination_number=302105762903"/>
  901. <action application="set" data="last_bridge_hangup_cause=DESTINATION_BLOCKED"/>
  902. <action application="hangup" data="DESTINATION_BLOCKED"/>
  903. </condition>
  904. </extension>
  905. </context>
  906. </section>
  907. </document>
  908. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr parsing [default->2105762903] continue=false
  909. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Regex (PASS) [2105762903] destination_number(2105762903) =~ /2105762903/ break=on-false
  910. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action log(WARNING Accountcode . Dialed number (302105762903) is blocked for account!!)
  911. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_name=306974108809)
  912. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(original_caller_id_number=306974108809)
  913. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(error_cdr=1)
  914. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(callstart=2022-01-04 07:39:19)
  915. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(account_id=9)
  916. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(parent_id=0)
  917. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_direction=outbound)
  918. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(sip_ignore_remote_cause=true)
  919. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(call_processed=internal)
  920. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(effective_destination_number=302105762903)
  921. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  922. Dialplan: sofia/external_sip/6974108809@voips.modulus.gr Action hangup(DESTINATION_BLOCKED)
  923. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:281 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_ROUTING -> CS_EXECUTE
  924. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:640 (sofia/external_sip/6974108809@voips.modulus.gr) State ROUTING going to sleep
  925. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_EXECUTE (Cur 1 Tot 3312)
  926. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE
  927. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_sofia.c:213 sofia/external_sip/6974108809@voips.modulus.gr SOFIA EXECUTE
  928. 2022-01-04 07:39:19.522564 98.97% [WARNING] switch_core_session.c:1693 sofia/external_sip/6974108809@voips.modulus.gr using scheduler due to bypass media or media is not established.
  929. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_scheduler.c:263 Added task 1914 switch_core_session_sched_heartbeat (02fdab24-2f1e-4aa2-9da7-4155740359c7) to run at 1641281989
  930. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:323 sofia/external_sip/6974108809@voips.modulus.gr Standard EXECUTE
  931. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_scheduler.c:147 Deleting task 1913 switch_core_session_sched_heartbeat (02fdab24-2f1e-4aa2-9da7-4155740359c7)
  932. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr log(WARNING Accountcode . Dialed number (302105762903) is blocked for account!!)
  933. 2022-01-04 07:39:19.522564 98.97% [WARNING] mod_dptools.c:1879 Accountcode . Dialed number (302105762903) is blocked for account!!
  934. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_name=306974108809)
  935. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_name]=[306974108809]
  936. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(original_caller_id_number=306974108809)
  937. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [original_caller_id_number]=[306974108809]
  938. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(error_cdr=1)
  939. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [error_cdr]=[1]
  940. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(callstart=2022-01-04 07:39:19)
  941. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [callstart]=[2022-01-04 07:39:19]
  942. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(account_id=9)
  943. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [account_id]=[9]
  944. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(parent_id=0)
  945. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [parent_id]=[0]
  946. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_direction=outbound)
  947. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_direction]=[outbound]
  948. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(sip_ignore_remote_cause=true)
  949. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [sip_ignore_remote_cause]=[true]
  950. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(call_processed=internal)
  951. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [call_processed]=[internal]
  952. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(effective_destination_number=302105762903)
  953. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [effective_destination_number]=[302105762903]
  954. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr set(last_bridge_hangup_cause=DESTINATION_BLOCKED)
  955. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_dptools.c:1685 SET sofia/external_sip/6974108809@voips.modulus.gr [last_bridge_hangup_cause]=[DESTINATION_BLOCKED]
  956. EXECUTE [depth=0] sofia/external_sip/6974108809@voips.modulus.gr hangup(DESTINATION_BLOCKED)
  957. 2022-01-04 07:39:19.522564 98.97% [NOTICE] mod_dptools.c:1387 Hangup sofia/external_sip/6974108809@voips.modulus.gr [CS_EXECUTE] [NORMAL_CLEARING]
  958. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_session.c:2983 sofia/external_sip/6974108809@voips.modulus.gr skip receive message [PHONE_EVENT] (channel is hungup already)
  959. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:647 (sofia/external_sip/6974108809@voips.modulus.gr) State EXECUTE going to sleep
  960. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_HANGUP (Cur 1 Tot 3312)
  961. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:844 (sofia/external_sip/6974108809@voips.modulus.gr) Callstate Change RINGING -> HANGUP
  962. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP
  963. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_sofia.c:468 Channel sofia/external_sip/6974108809@voips.modulus.gr hanging up, cause: NORMAL_CLEARING
  964. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_sofia.c:613 Responding to INVITE with: 480
  965. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:506 Attempting to bill at $0.00000 per minute to account 9
  966. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:518 Not billing 9 - call is not in answered state
  967. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  968. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  969. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  970. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:523 Comparing 19.247050 to hangup balance of 0.000000, taking into account minimum charge of 0.000000
  971. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:422 Doing lookup query
  972. [SELECT if(posttoexternal=1,credit_limit+(balance*-1),balance) AS nibble_balance FROM accounts WHERE id='9']
  973. 2022-01-04 07:39:19.522564 98.97% [DEBUG] mod_nibblebill.c:430 Retrieved current balance for account 9 (balance = 19.247050)
  974. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:59 sofia/external_sip/6974108809@voips.modulus.gr Standard HANGUP, cause: NORMAL_CLEARING
  975. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:846 (sofia/external_sip/6974108809@voips.modulus.gr) State HANGUP going to sleep
  976. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:616 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_HANGUP -> CS_REPORTING
  977. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:581 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_REPORTING (Cur 1 Tot 3312)
  978. 2022-01-04 07:39:19.522564 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING
  979. 2022-01-04 07:39:19.522564 98.97% [INFO] mod_json_cdr.c:271 Process [02fdab24-2f1e-4aa2-9da7-4155740359c7.cdr.json]
  980. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:168 sofia/external_sip/6974108809@voips.modulus.gr Standard REPORTING, cause: NORMAL_CLEARING
  981. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:932 (sofia/external_sip/6974108809@voips.modulus.gr) State REPORTING going to sleep
  982. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:607 (sofia/external_sip/6974108809@voips.modulus.gr) State Change CS_REPORTING -> CS_DESTROY
  983. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_session.c:1753 Session 3311 (sofia/external_sip/6974108809@voips.modulus.gr) Locked, Waiting on external entities
  984. 2022-01-04 07:39:19.542559 98.97% [NOTICE] switch_core_session.c:1771 Session 3311 (sofia/external_sip/6974108809@voips.modulus.gr) Ended
  985. 2022-01-04 07:39:19.542559 98.97% [NOTICE] switch_core_session.c:1775 Close Channel sofia/external_sip/6974108809@voips.modulus.gr [CS_DESTROY]
  986. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:735 (sofia/external_sip/6974108809@voips.modulus.gr) Running State Change CS_DESTROY (Cur 0 Tot 3312)
  987. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY
  988. 2022-01-04 07:39:19.542559 98.97% [DEBUG] mod_sofia.c:379 sofia/external_sip/6974108809@voips.modulus.gr SOFIA DESTROY
  989. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:175 sofia/external_sip/6974108809@voips.modulus.gr Standard DESTROY
  990. 2022-01-04 07:39:19.542559 98.97% [DEBUG] switch_core_state_machine.c:745 (sofia/external_sip/6974108809@voips.modulus.gr) State DESTROY going to sleep
  991. 2022-01-04 07:39:20.022569 98.80% [DEBUG] switch_scheduler.c:147 Deleting task 1914 switch_core_session_sched_heartbeat (02fdab24-2f1e-4aa2-9da7-4155740359c7)
  992.  
  993.  
  994.