From Sweltering Marten, 1 Month ago, written in PHP.
- go back
Embed
Viewing differences between and Untitled
  1.  
  2. 2025-01-03 13:53:58.553195 95.37% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8888@twisha.astppbilling.org:5067 [6a1768bb-63bb-493b-aea3-13a54310e9f5]
  3. 2025-01-03 13:53:58.553195 95.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_NEW (Cur 1 Tot 58)
  4. 2025-01-03 13:53:58.553195 95.37% [INFO] sofia.c:10459 sofia/default/8888@twisha.astppbilling.org:5067 receiving invite from 103.238.108.187:4028 version: 1.10.10-release  64bit call-id: NGQyNjNiZmQwYmYwNmNhNGFhYzk2ZjQxZmNiY2JhYmQ.
  5. 2025-01-03 13:53:58.553195 95.37% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.238.108.187:0.
  6. 2025-01-03 13:53:58.553195 95.37% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [0035726220818@twisha.astppbilling.org] from ip 103.238.108.187
  7. 2025-01-03 13:53:58.553195 95.37% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8888@twisha.astppbilling.org:5067) State NEW
  8. 2025-01-03 13:53:58.553195 95.37% [DEBUG] sofia.c:2419 detaching session 6a1768bb-63bb-493b-aea3-13a54310e9f5
  9. 2025-01-03 13:53:58.833195 95.37% [DEBUG] sofia.c:2532 Re-attaching to session 6a1768bb-63bb-493b-aea3-13a54310e9f5
  10. 2025-01-03 13:53:58.833195 95.37% [INFO] sofia.c:10459 sofia/default/8888@twisha.astppbilling.org:5067 receiving invite from 103.238.108.187:4028 version: 1.10.10-release  64bit call-id: NGQyNjNiZmQwYmYwNmNhNGFhYzk2ZjQxZmNiY2JhYmQ.
  11. 2025-01-03 13:53:58.833195 95.37% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.238.108.187:0.
  12. 2025-01-03 13:53:58.833195 95.37% [DEBUG] sofia.c:7493 Channel sofia/default/8888@twisha.astppbilling.org:5067 entering state [received][100]
  13. 2025-01-03 13:53:58.833195 95.37% [DEBUG] sofia.c:7503 Remote SDP:
  14. v=0
  15. o=Z 0 0 IN IP4 103.238.108.187
  16. s=Z
  17. c=IN IP4 103.238.108.187
  18. t=0 0
  19. m=audio 3932 RTP/AVP 3 110 8 0 98 101
  20. a=rtpmap:110 speex/8000
  21. a=rtpmap:98 iLBC/8000
  22. a=fmtp:98 mode=20
  23. a=rtpmap:101 telephone-event/8000
  24. a=fmtp:101 0-15
  25.  
  26. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  27. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  28. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  29. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  30. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  31. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  32. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  33. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  34. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  35. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  36. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  37. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  38. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  39. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:3734 Set Codec sofia/default/8888@twisha.astppbilling.org:5067 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  40. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_codec.c:111 sofia/default/8888@twisha.astppbilling.org:5067 Original read codec set to PCMA:8
  41. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  42. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_media.c:5856 sofia/default/8888@twisha.astppbilling.org:5067 Set 2833 dtmf send payload to 101 recv payload to 101
  43. 2025-01-03 13:53:58.833195 95.37% [DEBUG] sofia.c:7927 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_NEW -> CS_INIT
  44. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_INIT (Cur 1 Tot 58)
  45. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8888@twisha.astppbilling.org:5067) State INIT
  46. 2025-01-03 13:53:58.833195 95.37% [DEBUG] mod_sofia.c:97 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA INIT
  47. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:40 sofia/default/8888@twisha.astppbilling.org:5067 Standard INIT
  48. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_INIT -> CS_ROUTING
  49. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8888@twisha.astppbilling.org:5067) State INIT going to sleep
  50. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_ROUTING (Cur 1 Tot 58)
  51. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_channel.c:2399 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change DOWN -> RINGING
  52. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING
  53. 2025-01-03 13:53:58.833195 95.37% [DEBUG] mod_sofia.c:158 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA ROUTING
  54. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_core_state_machine.c:230 sofia/default/8888@twisha.astppbilling.org:5067 Standard ROUTING
  55. 2025-01-03 13:53:58.833195 95.37% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->0035726220818 in context default
  56. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  57. 2025-01-03 13:53:58.833195 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  58. 2025-01-03 13:53:58.873146 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  59. Event-Name: REQUEST_PARAMS
  60. Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  61. FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  62. FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  63. FreeSWITCH-IPv4: 65.21.153.211
  64. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  65. Event-Date-Local: 2025-01-03%2013%3A53%3A58
  66. Event-Date-GMT: Fri,%2003%20Jan%202025%2013%3A53%3A58%20GMT
  67. Event-Date-Timestamp: 1735912438833195
  68. Event-Calling-File: mod_dialplan_xml.c
  69. Event-Calling-Function: dialplan_xml_locate
  70. Event-Calling-Line-Number: 610
  71. Event-Sequence: 66429
  72. Channel-State: CS_ROUTING
  73. Channel-Call-State: RINGING
  74. Channel-State-Number: 2
  75. Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  76. Unique-ID: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  77. Call-Direction: inbound
  78. Presence-Call-Direction: inbound
  79. Channel-HIT-Dialplan: true
  80. Channel-Presence-ID: 8888%40twisha.astppbilling.org
  81. Channel-Call-UUID: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  82. Answer-State: ringing
  83. Channel-Read-Codec-Name: PCMA
  84. Channel-Read-Codec-Rate: 8000
  85. Channel-Read-Codec-Bit-Rate: 64000
  86. Channel-Write-Codec-Name: PCMA
  87. Channel-Write-Codec-Rate: 8000
  88. Channel-Write-Codec-Bit-Rate: 64000
  89. Caller-Direction: inbound
  90. Caller-Logical-Direction: inbound
  91. Caller-Username: 8888
  92. Caller-Dialplan: XML
  93. Caller-Caller-ID-Name: 8888
  94. Caller-Caller-ID-Number: 8888
  95. Caller-Orig-Caller-ID-Name: 8888
  96. Caller-Orig-Caller-ID-Number: 8888
  97. Caller-Network-Addr: 103.238.108.187
  98. Caller-ANI: 8888
  99. Caller-Destination-Number: 0035726220818
  100. Caller-Unique-ID: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  101. Caller-Source: mod_sofia
  102. Caller-Context: default
  103. Caller-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  104. Caller-Profile-Index: 1
  105. Caller-Profile-Created-Time: 1735912438833195
  106. Caller-Channel-Created-Time: 1735912438833195
  107. Caller-Channel-Answered-Time: 0
  108. Caller-Channel-Progress-Time: 0
  109. Caller-Channel-Progress-Media-Time: 0
  110. Caller-Channel-Hangup-Time: 0
  111. Caller-Channel-Transfer-Time: 0
  112. Caller-Channel-Resurrect-Time: 0
  113. Caller-Channel-Bridged-Time: 0
  114. Caller-Channel-Last-Hold: 0
  115. Caller-Channel-Hold-Accum: 0
  116. Caller-Screen-Bit: true
  117. Caller-Privacy-Hide-Name: false
  118. Caller-Privacy-Hide-Number: false
  119. variable_direction: inbound
  120. variable_uuid: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  121. variable_session_id: 58
  122. variable_sip_from_params: transport%3DUDP
  123. variable_sip_from_user: 8888
  124. variable_sip_from_port: 5067
  125. variable_sip_from_uri: 8888%40twisha.astppbilling.org%3A5067
  126. variable_sip_from_host: twisha.astppbilling.org
  127. variable_video_media_flow: disabled
  128. variable_text_media_flow: disabled
  129. variable_channel_name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  130. variable_sip_call_id: NGQyNjNiZmQwYmYwNmNhNGFhYzk2ZjQxZmNiY2JhYmQ.
  131. variable_sip_local_network_addr: 65.21.153.211
  132. variable_sip_network_ip: 103.238.108.187
  133. variable_sip_network_port: 4028
  134. variable_sip_invite_stamp: 1735912438833195
  135. variable_sip_received_ip: 103.238.108.187
  136. variable_sip_received_port: 4028
  137. variable_sip_via_protocol: udp
  138. variable_sip_authorized: true
  139. variable_Event-Name: REQUEST_PARAMS
  140. variable_Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  141. variable_FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  142. variable_FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  143. variable_FreeSWITCH-IPv4: 65.21.153.211
  144. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  145. variable_Event-Date-Local: 2025-01-03%2013%3A53%3A58
  146. variable_Event-Date-GMT: Fri,%2003%20Jan%202025%2013%3A53%3A58%20GMT
  147. variable_Event-Date-Timestamp: 1735912438833195
  148. variable_Event-Calling-File: sofia.c
  149. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  150. variable_Event-Calling-Line-Number: 10722
  151. variable_Event-Sequence: 66420
  152. variable_sip_number_alias: 8888
  153. variable_sip_auth_username: 8888
  154. variable_sip_auth_realm: twisha.astppbilling.org
  155. variable_number_alias: 8888
  156. variable_requested_user_name: 8888
  157. variable_requested_domain_name: twisha.astppbilling.org
  158. variable_user_context: default
  159. variable_sipcall: true
  160. variable_sip_user: 8888
  161. variable_accountcode: 8719627029
  162. variable_user_name: 8888
  163. variable_domain_name: twisha.astppbilling.org
  164. variable_sip_from_user_stripped: 8888
  165. variable_sip_from_tag: 6a123e7b
  166. variable_sofia_profile_name: default
  167. variable_sofia_profile_url: sip%3Amod_sofia%4065.21.153.211%3A5067
  168. variable_recovery_profile_name: default
  169. variable_sip_full_via: SIP/2.0/UDP%20103.238.108.187%3A4028%3Bbranch%3Dz9hG4bK-d8754z-ed16576ac83efb8d-1---d8754z-
  170. variable_sip_full_from: %3Csip%3A8888%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3D6a123e7b
  171. variable_sip_full_to: %3Csip%3A0035726220818%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E
  172. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  173. variable_sip_req_params: transport%3DUDP
  174. variable_sip_req_user: 0035726220818
  175. variable_sip_req_port: 5067
  176. variable_sip_req_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  177. variable_sip_req_host: twisha.astppbilling.org
  178. variable_sip_to_params: transport%3DUDP
  179. variable_sip_to_user: 0035726220818
  180. variable_sip_to_port: 5067
  181. variable_sip_to_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  182. variable_sip_to_host: twisha.astppbilling.org
  183. variable_sip_contact_params: transport%3DUDP
  184. variable_sip_contact_user: 8888
  185. variable_sip_contact_port: 4028
  186. variable_sip_contact_uri: 8888%40103.238.108.187%3A4028
  187. variable_sip_contact_host: 103.238.108.187
  188. variable_sip_user_agent: Z%203.3.25608%20r25552
  189. variable_sip_via_host: 103.238.108.187
  190. variable_sip_via_port: 4028
  191. variable_max_forwards: 70
  192. variable_presence_id: 8888%40twisha.astppbilling.org
  193. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20103.238.108.187%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20103.238.108.187%0D%0At%3D0%200%0D%0Am%3Daudio%203932%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
  194. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  195. variable_rtp_use_codec_string: PCMA,PCMU
  196. variable_remote_video_media_flow: inactive
  197. variable_remote_text_media_flow: inactive
  198. variable_remote_audio_media_flow: sendrecv
  199. variable_audio_media_flow: sendrecv
  200. variable_remote_media_ip: 103.238.108.187
  201. variable_remote_media_port: 3932
  202. variable_rtp_audio_recv_pt: 8
  203. variable_rtp_use_codec_name: PCMA
  204. variable_rtp_use_codec_rate: 8000
  205. variable_rtp_use_codec_ptime: 20
  206. variable_rtp_use_codec_channels: 1
  207. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  208. variable_read_codec: PCMA
  209. variable_original_read_codec: PCMA
  210. variable_read_rate: 8000
  211. variable_original_read_rate: 8000
  212. variable_write_codec: PCMA
  213. variable_write_rate: 8000
  214. variable_dtmf_type: rfc2833
  215. variable_endpoint_disposition: RECEIVED
  216. variable_call_uuid: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  217. Hunt-Direction: inbound
  218. Hunt-Logical-Direction: inbound
  219. Hunt-Username: 8888
  220. Hunt-Dialplan: XML
  221. Hunt-Caller-ID-Name: 8888
  222. Hunt-Caller-ID-Number: 8888
  223. Hunt-Orig-Caller-ID-Name: 8888
  224. Hunt-Orig-Caller-ID-Number: 8888
  225. Hunt-Network-Addr: 103.238.108.187
  226. Hunt-ANI: 8888
  227. Hunt-Destination-Number: 0035726220818
  228. Hunt-Unique-ID: 6a1768bb-63bb-493b-aea3-13a54310e9f5
  229. Hunt-Source: mod_sofia
  230. Hunt-Context: default
  231. Hunt-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  232. Hunt-Profile-Index: 1
  233. Hunt-Profile-Created-Time: 1735912438833195
  234. Hunt-Channel-Created-Time: 1735912438833195
  235. Hunt-Channel-Answered-Time: 0
  236. Hunt-Channel-Progress-Time: 0
  237. Hunt-Channel-Progress-Media-Time: 0
  238. Hunt-Channel-Hangup-Time: 0
  239. Hunt-Channel-Transfer-Time: 0
  240. Hunt-Channel-Resurrect-Time: 0
  241. Hunt-Channel-Bridged-Time: 0
  242. Hunt-Channel-Last-Hold: 0
  243. Hunt-Channel-Hold-Accum: 0
  244. Hunt-Screen-Bit: true
  245. Hunt-Privacy-Hide-Name: false
  246. Hunt-Privacy-Hide-Number: false
  247.  
  248.  
  249. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  250. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  251. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  252. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  253. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  254. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0035726220818
  255. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :0035726220818
  256. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '0035726220818' limit 1
  257. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0035726220818' AND status=0 limit 1
  258. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '0035726220818' and status=0 LIMIT 1
  259. 2025-01-03 13:53:58.873146 95.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  260. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8888 / 8888
  261. 2025-01-03 13:53:58.873146 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  262. 2025-01-03 13:53:58.873146 95.37% [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
  263. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  264. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  265. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  266. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  267. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  268. 2025-01-03 13:53:58.873146 95.37% [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 ="0035726220818" LIMIT 1
  269. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  270. 2025-01-03 13:53:58.873146 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8719627029]
  271. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0035726220818
  272. 2025-01-03 13:53:58.873146 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8719627029" AND deleted = 0 limit 1
  273. 2025-01-03 13:53:58.893128 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  274. 2025-01-03 13:53:58.893128 95.37% [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
  275. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  276. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  277. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  278. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  279. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  280. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0035726220818" AND (accountid = 0 OR status = 1) LIMIT 1
  281. 2025-01-03 13:53:58.893128 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 3
  282. 2025-01-03 13:53:58.893128 95.37% [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 = 3 AND status=0 limit 1
  283. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  284. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 77
  285. 2025-01-03 13:53:58.893128 95.37% [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 P.is_terminated = 0 AND (patterns = '^0035726220818.*' OR patterns = '^003572622081.*' OR patterns = '^00357262208.*' OR patterns = '^0035726220.*' OR patterns = '^003572622.*' OR patterns = '^00357262.*' OR patterns = '^0035726.*' OR patterns = '^003572.*' OR patterns = '^00357.*' OR patterns = '^0035.*' OR patterns = '^003.*' OR patterns = '^00.*' OR patterns = '^0.*' OR patterns ='--') AND accountid = 77 ORDER BY LENGTH(PKGPTR.patterns) DESC
  286. 2025-01-03 13:53:58.893128 95.37% [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 ="0035726220818" AND A.accountid = '77' limit 1
  287. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0035726220818
  288. 2025-01-03 13:53:58.893128 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  289. 2025-01-03 13:53:58.893128 95.37% [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
  290. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  291. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  292. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  293. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  294. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  295. 2025-01-03 13:53:58.893128 95.37% [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 ="0035726220818" LIMIT 1
  296. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  297. 2025-01-03 13:53:58.893128 95.37% [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 = '0035726220818' OR number = '003572622081' OR number = '00357262208' OR number = '0035726220' OR number = '003572622' OR number = '00357262' OR number = '0035726' OR number = '003572' OR number = '00357' OR number = '0035' OR number = '003' OR number = '00' OR number = '0' OR number ='--') OR (number = '0035726220818*' OR number = '003572622081*' OR number = '00357262208*' OR number = '0035726220*' OR number = '003572622*' OR number = '00357262*' OR number = '0035726*' OR number = '003572*' OR number = '00357*' OR number = '0035*' OR number = '003*' OR number = '00*' OR number = '0*' OR number ='--') OR (number = '8888' OR number = '888' OR number = '88' OR number = '8' OR number ='--') OR (number = '8888*' OR number = '888*' OR number = '88*' OR number = '8*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  298. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  299. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '0035726220818' OR routing_prefix = '003572622081' OR routing_prefix = '00357262208' OR routing_prefix = '0035726220' OR routing_prefix = '003572622' OR routing_prefix = '00357262' OR routing_prefix = '0035726' OR routing_prefix = '003572' OR routing_prefix = '00357' OR routing_prefix = '0035' OR routing_prefix = '003' OR routing_prefix = '00' OR routing_prefix = '0' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  300. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  301. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 77
  302. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8719627029
  303. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 14.9813
  304. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  305. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  306. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  307. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  308. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  309. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  310. 2025-01-03 13:53:58.893128 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  311. 2025-01-03 13:53:58.893128 95.37% [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
  312. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  313. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  314. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  315. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  316. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  317. 2025-01-03 13:53:58.893128 95.37% [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 ="0035726220818" LIMIT 1
  318. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  319. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 20
  320. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  321. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 75
  322. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  323. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 1
  324. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  325. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Paphos Peyia
  326. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
  327. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 77
  328. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  329. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your14.9813 balance Accountid 77 !!!
  330. 2025-01-03 13:53:58.893128 95.37% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 200
  331. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 200 minutes
  332. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  333. 2025-01-03 13:53:58.893128 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  334. 2025-01-03 13:53:58.893128 95.37% [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 = 77 AND status=0 LIMIT 1
  335. 2025-01-03 13:53:58.893128 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "77" AND deleted = 0 limit 1
  336. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:77
  337. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:77
  338. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 77
  339. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  340. 2025-01-03 13:53:58.913119 95.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : twisha.astppbilling.org
  341. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ssssssssssssssssssssssssssssssssssssssssss
  342. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  343. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 3
  344. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  345. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"123464343232#","no_answer_call_type":"12"}]
  346. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition : [{"hour":"00-23","minute":"01-59","wday":"2-6","mday":"1-31","mon":"1-12","year":"2025-2030","extensions":"18","no_answer_call_type":"10","priority":"1"}]
  347. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  348. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '176' LIMIT 1
  349. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Condition Str :  time-of-day= "00:01-23:59"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2025-2030"
  350. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 200
  351. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  352. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  353. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  354. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_record_info] Query :SELECT sip_device_routing.is_recording FROM sip_devices AS sip_devices, accounts AS accounts ,sip_device_routing AS sip_device_routing  WHERE sip_devices.accountid = accounts.id AND sip_devices.id = sip_device_routing.sip_device_id AND sip_devices.username = "3" AND accounts.status = 0
  355. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  356. 2025-01-03 13:53:58.913119 95.37% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : twisha.astppbilling.org
  357. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 77  and status = 0 limit 1
  358. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  359. 2025-01-03 13:53:58.913119 95.37% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 3
  360. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  361. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  362. <document type="freeswitch/xml">
  363. <section name="dialplan" description="ASTPP Dialplan">
  364. <context name="default">
  365. <extension name="Saint Cyprus" continue="true">
  366. <condition time-of-day= "00:01-23:59" break="never">
  367. <action application="set" data="office_status=open" inline="true"/>
  368. <action application="set" data="extensions=123464343232#" inline="true"/>
  369. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  370. <action application="set" data="no_answer_call_type=12" inline="true"/>
  371. </condition>
  372. </extension>
  373. <extension name="Saint Cyprus" continue="true">
  374. <condition break="never">
  375. <action application="set" data="timezone=Europe/Athens" inline="true"/>
  376. </condition>
  377. <condition  time-of-day= "00:01-23:59"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2025-2030"  break="never">
  378. <action application="set" data="office_status=open" inline="true"/>
  379. <action application="set" data="extensions=18" inline="true"/>
  380. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  381. <action application="set" data="no_answer_call_type=10" inline="true"/>
  382. </condition>
  383. </extension>
  384. <extension name="tod route, x0035726220818">
  385. <condition field="destination_number" expression="^(\+?)?(0035726220818)$">
  386. <action application="execute_extension" data="0035726220818_${office_status}"/>
  387. </condition>
  388. </extension>
  389. <extension name="office is open">
  390. <condition field="destination_number" expression="^(\+?)?(0035726220818_open)$">
  391. <action application="set" data="domain_name=twisha.astppbilling.org"/>
  392. <action application="set" data="set_extensions=${extensions}"/>
  393. <action application="set" data="effective_caller_id_name=8888"/>
  394. <action application="set" data="effective_caller_id_number=8888"/>
  395. <action application="set" data="callstart=2025-01-03 13:53:58"/>
  396. <action application="set" data="account_id=77"/>
  397. <action application="set" data="call_direction=inbound"/>
  398. <action application="set" data="did_id=75"/>
  399. <action application="set" data="call_type=11"/>
  400. <action application="set" data="receiver_accid=77"/>
  401. <action application="set" data="origination_rates_did=ID:75|CODE:^0035726220818.*|DESTINATION:Paphos Peyia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|CT:11|COST:0|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:20|CI:49|ACCID:77"/>
  402. <action application="set" data="module_name=pbx"/>
  403. <action application="set" data="original_did_number=0035726220818"/>
  404. <action application="set" data="no_answer_flag=true"/>
  405. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  406. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  407. <action application="set" data="no_answer_number=${extensions}" />
  408. <action application="transfer" data="77 XML default"/>
  409. </condition>
  410. </extension>
  411. <extension name="0035726220818">
  412. <condition field="destination_number" expression="0035726220818">
  413. <action application="set" data="effective_destination_number=0035726220818"/>
  414. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  415. <action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
  416. <action application="set" data="callstart=2025-01-03 13:53:58"/>
  417. <action application="set" data="hangup_after_bridge=true"/>
  418. <action application="set" data="continue_on_fail=TRUE"/>
  419. <action application="set" data="account_id=77"/>
  420. <action application="set" data="parent_id=0"/>
  421. <action application="set" data="entity_id=0"/>
  422. <action application="set" data="call_processed=internal"/>
  423. <action application="set" data="call_direction=inbound"/>
  424. <action application="set" data="accountname=default"/>
  425. <action application="set" data="filename1=astpp.pbx.lua"/>
  426. <action application="set" data="origination_rates_did=ID:75|CODE:^0035726220818.*|DESTINATION:Paphos Peyia|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:1|CT:11|COST:0|INC:1|INITIALBLOCK:1|RATEGROUP:0|MARKUP:20|CI:49|ACCID:77"/>
  427. <action application="set" data="origination_rates=0"/>
  428. <action application="set" data="original_caller_id_name=8888"/>
  429. <action application="set" data="original_caller_id_number=8888"/>
  430. <action application="limit" data="db 77 user_77 20 "/>
  431. <action application="set" data="effective_caller_id_name=8888"/>
  432. <action application="set" data="effective_caller_id_number=8888"/>
  433. <action application="set" data="receiver_accid=77"/>
  434. <action application="export" data="domain_name=twisha.astppbilling.org"/>
  435. <action application="export" data="sip_to_host=twisha.astppbilling.org"/>
  436. <action application="limit" data="db 0035726220818 did_0035726220818 20 "/>
  437. <action application="export" data="presence_data=x|||Anastasia(8719627029)|||||||||DID|||103.238.108.187"/>
  438. <action application="export" data="call_type=11"/>
  439. </condition>
  440. </extension>
  441. </context>
  442. </section>
  443. </document>
  444. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  445. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  446. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  447. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  448. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  449. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=123464343232#) INLINE
  450. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=123464343232#)
  451. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[123464343232#]
  452. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  453. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  454. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  455. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=12) INLINE
  456. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=12)
  457. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[12]
  458. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  459. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Absolute Condition [Saint Cyprus]
  460. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(timezone=Europe/Athens) INLINE
  461. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(timezone=Europe/Athens)
  462. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [timezone]=[Europe/Athens]
  463. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  464. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  465. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  466. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  467. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=18) INLINE
  468. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=18)
  469. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[18]
  470. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  471. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  472. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  473. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=10) INLINE
  474. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=10)
  475. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[10]
  476. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->tod route, x0035726220818] continue=false
  477. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [tod route, x0035726220818] destination_number(0035726220818) =~ /^(\+?)?(0035726220818)$/ break=on-false
  478. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action execute_extension(0035726220818_${office_status})
  479. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_ROUTING -> CS_EXECUTE
  480. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING going to sleep
  481. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_EXECUTE (Cur 1 Tot 58)
  482. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE
  483. 2025-01-03 13:53:58.913119 95.37% [DEBUG] mod_sofia.c:213 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA EXECUTE
  484. 2025-01-03 13:53:58.913119 95.37% [DEBUG] switch_core_state_machine.c:323 sofia/default/8888@twisha.astppbilling.org:5067 Standard EXECUTE
  485. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 execute_extension(0035726220818_open)
  486. 2025-01-03 13:53:58.913119 95.37% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->0035726220818_open in context default