From Working, 1 Month ago, written in PHP.
- view diff
Embed
  1. 2025-01-03 15:07:19.593164 96.00% [NOTICE] switch_channel.c:1142 New Channel sofia/default/8888@twisha.astppbilling.org:5067 [7babfb26-f1f6-42e3-8816-fc0e79624746]
  2. 2025-01-03 15:07:19.593164 96.00% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_NEW (Cur 1 Tot 60)
  3. 2025-01-03 15:07:19.633109 96.00% [INFO] sofia.c:10459 sofia/default/8888@twisha.astppbilling.org:5067 receiving invite from 103.238.108.187:3736 version: 1.10.10-release  64bit call-id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  4. 2025-01-03 15:07:19.633109 96.00% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.238.108.187:0.
  5. 2025-01-03 15:07:19.633109 96.00% [WARNING] sofia_reg.c:1842 SIP auth challenge (INVITE) on sofia profile 'default' for [0035726220818@twisha.astppbilling.org] from ip 103.238.108.187
  6. 2025-01-03 15:07:19.633109 96.00% [DEBUG] switch_core_state_machine.c:600 (sofia/default/8888@twisha.astppbilling.org:5067) State NEW
  7. 2025-01-03 15:07:19.633109 96.00% [DEBUG] sofia.c:2419 detaching session 7babfb26-f1f6-42e3-8816-fc0e79624746
  8. 2025-01-03 15:07:19.793221 96.03% [DEBUG] sofia.c:2532 Re-attaching to session 7babfb26-f1f6-42e3-8816-fc0e79624746
  9. 2025-01-03 15:07:19.813169 96.03% [INFO] sofia.c:10459 sofia/default/8888@twisha.astppbilling.org:5067 receiving invite from 103.238.108.187:3736 version: 1.10.10-release  64bit call-id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  10. 2025-01-03 15:07:19.813169 96.03% [DEBUG] sofia.c:10553 verifying acl "default" for ip/port 103.238.108.187:0.
  11. 2025-01-03 15:07:19.813169 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/8888@twisha.astppbilling.org:5067 entering state [received][100]
  12. 2025-01-03 15:07:19.813169 96.03% [DEBUG] sofia.c:7503 Remote SDP:
  13. v=0
  14. o=Z 0 0 IN IP4 103.238.108.187
  15. s=Z
  16. c=IN IP4 103.238.108.187
  17. t=0 0
  18. m=audio 3550 RTP/AVP 3 110 8 0 98 101
  19. a=rtpmap:110 speex/8000
  20. a=rtpmap:98 iLBC/8000
  21. a=fmtp:98 mode=20
  22. a=rtpmap:101 telephone-event/8000
  23. a=fmtp:101 0-15
  24.  
  25. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  26. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  27. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  28. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  29. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  30. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  31. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  32. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  33. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5588 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  35. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  36. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5526 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  37. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5438 Set telephone-event payload to 101@8000
  38. 2025-01-03 15:07:19.813169 96.03% [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
  39. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_codec.c:111 sofia/default/8888@twisha.astppbilling.org:5067 Original read codec set to PCMA:8
  40. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5798 Set telephone-event payload to 101@8000
  41. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_media.c:5856 sofia/default/8888@twisha.astppbilling.org:5067 Set 2833 dtmf send payload to 101 recv payload to 101
  42. 2025-01-03 15:07:19.813169 96.03% [DEBUG] sofia.c:7927 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_NEW -> CS_INIT
  43. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_INIT (Cur 1 Tot 60)
  44. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8888@twisha.astppbilling.org:5067) State INIT
  45. 2025-01-03 15:07:19.813169 96.03% [DEBUG] mod_sofia.c:97 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA INIT
  46. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:40 sofia/default/8888@twisha.astppbilling.org:5067 Standard INIT
  47. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:48 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_INIT -> CS_ROUTING
  48. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:624 (sofia/default/8888@twisha.astppbilling.org:5067) State INIT going to sleep
  49. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_ROUTING (Cur 1 Tot 60)
  50. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_channel.c:2399 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change DOWN -> RINGING
  51. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING
  52. 2025-01-03 15:07:19.813169 96.03% [DEBUG] mod_sofia.c:158 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA ROUTING
  53. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/8888@twisha.astppbilling.org:5067 Standard ROUTING
  54. 2025-01-03 15:07:19.813169 96.03% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->0035726220818 in context default
  55. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  56. 2025-01-03 15:07:19.813169 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  57. 2025-01-03 15:07:19.853154 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  58. Event-Name: REQUEST_PARAMS
  59. Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  60. FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  61. FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  62. FreeSWITCH-IPv4: 65.21.153.211
  63. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  64. Event-Date-Local: 2025-01-03%2015%3A07%3A19
  65. Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  66. Event-Date-Timestamp: 1735916839813169
  67. Event-Calling-File: mod_dialplan_xml.c
  68. Event-Calling-Function: dialplan_xml_locate
  69. Event-Calling-Line-Number: 610
  70. Event-Sequence: 67348
  71. Channel-State: CS_ROUTING
  72. Channel-Call-State: RINGING
  73. Channel-State-Number: 2
  74. Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  75. Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  76. Call-Direction: inbound
  77. Presence-Call-Direction: inbound
  78. Channel-HIT-Dialplan: true
  79. Channel-Presence-ID: 8888%40twisha.astppbilling.org
  80. Channel-Call-UUID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  81. Answer-State: ringing
  82. Channel-Read-Codec-Name: PCMA
  83. Channel-Read-Codec-Rate: 8000
  84. Channel-Read-Codec-Bit-Rate: 64000
  85. Channel-Write-Codec-Name: PCMA
  86. Channel-Write-Codec-Rate: 8000
  87. Channel-Write-Codec-Bit-Rate: 64000
  88. Caller-Direction: inbound
  89. Caller-Logical-Direction: inbound
  90. Caller-Username: 8888
  91. Caller-Dialplan: XML
  92. Caller-Caller-ID-Name: 8888
  93. Caller-Caller-ID-Number: 8888
  94. Caller-Orig-Caller-ID-Name: 8888
  95. Caller-Orig-Caller-ID-Number: 8888
  96. Caller-Network-Addr: 103.238.108.187
  97. Caller-ANI: 8888
  98. Caller-Destination-Number: 0035726220818
  99. Caller-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  100. Caller-Source: mod_sofia
  101. Caller-Context: default
  102. Caller-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  103. Caller-Profile-Index: 1
  104. Caller-Profile-Created-Time: 1735916839813169
  105. Caller-Channel-Created-Time: 1735916839813169
  106. Caller-Channel-Answered-Time: 0
  107. Caller-Channel-Progress-Time: 0
  108. Caller-Channel-Progress-Media-Time: 0
  109. Caller-Channel-Hangup-Time: 0
  110. Caller-Channel-Transfer-Time: 0
  111. Caller-Channel-Resurrect-Time: 0
  112. Caller-Channel-Bridged-Time: 0
  113. Caller-Channel-Last-Hold: 0
  114. Caller-Channel-Hold-Accum: 0
  115. Caller-Screen-Bit: true
  116. Caller-Privacy-Hide-Name: false
  117. Caller-Privacy-Hide-Number: false
  118. variable_direction: inbound
  119. variable_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  120. variable_session_id: 60
  121. variable_sip_from_params: transport%3DUDP
  122. variable_sip_from_user: 8888
  123. variable_sip_from_port: 5067
  124. variable_sip_from_uri: 8888%40twisha.astppbilling.org%3A5067
  125. variable_sip_from_host: twisha.astppbilling.org
  126. variable_video_media_flow: disabled
  127. variable_text_media_flow: disabled
  128. variable_channel_name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  129. variable_sip_call_id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  130. variable_sip_local_network_addr: 65.21.153.211
  131. variable_sip_network_ip: 103.238.108.187
  132. variable_sip_network_port: 3736
  133. variable_sip_invite_stamp: 1735916839813169
  134. variable_sip_received_ip: 103.238.108.187
  135. variable_sip_received_port: 3736
  136. variable_sip_via_protocol: udp
  137. variable_sip_authorized: true
  138. variable_Event-Name: REQUEST_PARAMS
  139. variable_Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  140. variable_FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  141. variable_FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  142. variable_FreeSWITCH-IPv4: 65.21.153.211
  143. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  144. variable_Event-Date-Local: 2025-01-03%2015%3A07%3A19
  145. variable_Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  146. variable_Event-Date-Timestamp: 1735916839813169
  147. variable_Event-Calling-File: sofia.c
  148. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  149. variable_Event-Calling-Line-Number: 10722
  150. variable_Event-Sequence: 67339
  151. variable_sip_number_alias: 8888
  152. variable_sip_auth_username: 8888
  153. variable_sip_auth_realm: twisha.astppbilling.org
  154. variable_number_alias: 8888
  155. variable_requested_user_name: 8888
  156. variable_requested_domain_name: twisha.astppbilling.org
  157. variable_user_context: default
  158. variable_sipcall: true
  159. variable_sip_user: 8888
  160. variable_accountcode: 8719627029
  161. variable_user_name: 8888
  162. variable_domain_name: twisha.astppbilling.org
  163. variable_sip_from_user_stripped: 8888
  164. variable_sip_from_tag: 95f04e47
  165. variable_sofia_profile_name: default
  166. variable_sofia_profile_url: sip%3Amod_sofia%4065.21.153.211%3A5067
  167. variable_recovery_profile_name: default
  168. variable_sip_full_via: SIP/2.0/UDP%20103.238.108.187%3A3736%3Bbranch%3Dz9hG4bK-d8754z-6cb980a7b4c0c3aa-1---d8754z-
  169. variable_sip_full_from: %3Csip%3A8888%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3D95f04e47
  170. variable_sip_full_to: %3Csip%3A0035726220818%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E
  171. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  172. variable_sip_req_params: transport%3DUDP
  173. variable_sip_req_user: 0035726220818
  174. variable_sip_req_port: 5067
  175. variable_sip_req_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  176. variable_sip_req_host: twisha.astppbilling.org
  177. variable_sip_to_params: transport%3DUDP
  178. variable_sip_to_user: 0035726220818
  179. variable_sip_to_port: 5067
  180. variable_sip_to_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  181. variable_sip_to_host: twisha.astppbilling.org
  182. variable_sip_contact_params: transport%3DUDP
  183. variable_sip_contact_user: 8888
  184. variable_sip_contact_port: 3736
  185. variable_sip_contact_uri: 8888%40103.238.108.187%3A3736
  186. variable_sip_contact_host: 103.238.108.187
  187. variable_sip_user_agent: Z%203.3.25608%20r25552
  188. variable_sip_via_host: 103.238.108.187
  189. variable_sip_via_port: 3736
  190. variable_max_forwards: 70
  191. variable_presence_id: 8888%40twisha.astppbilling.org
  192. 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%203550%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
  193. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  194. variable_rtp_use_codec_string: PCMA,PCMU
  195. variable_remote_video_media_flow: inactive
  196. variable_remote_text_media_flow: inactive
  197. variable_remote_audio_media_flow: sendrecv
  198. variable_audio_media_flow: sendrecv
  199. variable_remote_media_ip: 103.238.108.187
  200. variable_remote_media_port: 3550
  201. variable_rtp_audio_recv_pt: 8
  202. variable_rtp_use_codec_name: PCMA
  203. variable_rtp_use_codec_rate: 8000
  204. variable_rtp_use_codec_ptime: 20
  205. variable_rtp_use_codec_channels: 1
  206. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  207. variable_read_codec: PCMA
  208. variable_original_read_codec: PCMA
  209. variable_read_rate: 8000
  210. variable_original_read_rate: 8000
  211. variable_write_codec: PCMA
  212. variable_write_rate: 8000
  213. variable_dtmf_type: rfc2833
  214. variable_endpoint_disposition: RECEIVED
  215. variable_call_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  216. Hunt-Direction: inbound
  217. Hunt-Logical-Direction: inbound
  218. Hunt-Username: 8888
  219. Hunt-Dialplan: XML
  220. Hunt-Caller-ID-Name: 8888
  221. Hunt-Caller-ID-Number: 8888
  222. Hunt-Orig-Caller-ID-Name: 8888
  223. Hunt-Orig-Caller-ID-Number: 8888
  224. Hunt-Network-Addr: 103.238.108.187
  225. Hunt-ANI: 8888
  226. Hunt-Destination-Number: 0035726220818
  227. Hunt-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  228. Hunt-Source: mod_sofia
  229. Hunt-Context: default
  230. Hunt-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  231. Hunt-Profile-Index: 1
  232. Hunt-Profile-Created-Time: 1735916839813169
  233. Hunt-Channel-Created-Time: 1735916839813169
  234. Hunt-Channel-Answered-Time: 0
  235. Hunt-Channel-Progress-Time: 0
  236. Hunt-Channel-Progress-Media-Time: 0
  237. Hunt-Channel-Hangup-Time: 0
  238. Hunt-Channel-Transfer-Time: 0
  239. Hunt-Channel-Resurrect-Time: 0
  240. Hunt-Channel-Bridged-Time: 0
  241. Hunt-Channel-Last-Hold: 0
  242. Hunt-Channel-Hold-Accum: 0
  243. Hunt-Screen-Bit: true
  244. Hunt-Privacy-Hide-Name: false
  245. Hunt-Privacy-Hide-Number: false
  246.  
  247.  
  248. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  249. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  250. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  251. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  252. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  253. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0035726220818
  254. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :0035726220818
  255. 2025-01-03 15:07:19.853154 96.03% [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
  256. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0035726220818' AND status=0 limit 1
  257. 2025-01-03 15:07:19.853154 96.03% [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
  258. 2025-01-03 15:07:19.853154 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  259. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8888 / 8888
  260. 2025-01-03 15:07:19.853154 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  261. 2025-01-03 15:07:19.853154 96.03% [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
  262. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  263. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  264. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  265. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  266. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  267. 2025-01-03 15:07:19.853154 96.03% [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
  268. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  269. 2025-01-03 15:07:19.853154 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8719627029]
  270. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0035726220818
  271. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8719627029" AND deleted = 0 limit 1
  272. 2025-01-03 15:07:19.853154 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  273. 2025-01-03 15:07:19.853154 96.03% [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
  274. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  275. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  276. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  277. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  278. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  279. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0035726220818" AND (accountid = 0 OR status = 1) LIMIT 1
  280. 2025-01-03 15:07:19.853154 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 3
  281. 2025-01-03 15:07:19.853154 96.03% [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
  282. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  283. 2025-01-03 15:07:19.853154 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 77
  284. 2025-01-03 15:07:19.853154 96.03% [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
  285. 2025-01-03 15:07:19.873127 96.03% [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
  286. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0035726220818
  287. 2025-01-03 15:07:19.873127 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  288. 2025-01-03 15:07:19.873127 96.03% [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
  289. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  290. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  291. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  292. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  293. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  294. 2025-01-03 15:07:19.873127 96.03% [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
  295. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  296. 2025-01-03 15:07:19.873127 96.03% [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
  297. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  298. 2025-01-03 15:07:19.873127 96.03% [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
  299. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  300. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 77
  301. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8719627029
  302. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 14.9813
  303. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  304. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  305. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  306. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  307. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  308. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  309. 2025-01-03 15:07:19.873127 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  310. 2025-01-03 15:07:19.873127 96.03% [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
  311. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  312. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  313. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  314. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  315. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  316. 2025-01-03 15:07:19.873127 96.03% [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
  317. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  318. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 20
  319. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  320. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 75
  321. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  322. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 1
  323. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  324. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Paphos Peyia
  325. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
  326. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 77
  327. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  328. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your14.9813 balance Accountid 77 !!!
  329. 2025-01-03 15:07:19.873127 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 200
  330. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 200 minutes
  331. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  332. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  333. 2025-01-03 15:07:19.873127 96.03% [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
  334. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "77" AND deleted = 0 limit 1
  335. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:77
  336. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:77
  337. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 77
  338. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  339. 2025-01-03 15:07:19.873127 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : twisha.astppbilling.org
  340. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ssssssssssssssssssssssssssssssssssssssssss
  341. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  342. 2025-01-03 15:07:19.873127 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 3
  343. 2025-01-03 15:07:19.873127 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  344. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"123464343232#","no_answer_call_type":"12"}]
  345. 2025-01-03 15:07:19.893113 96.03% [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"}]
  346. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  347. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '176' LIMIT 1
  348. 2025-01-03 15:07:19.893113 96.03% [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"
  349. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 200
  350. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  351. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  352. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  353. 2025-01-03 15:07:19.893113 96.03% [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
  354. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  355. 2025-01-03 15:07:19.893113 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : twisha.astppbilling.org
  356. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 77  and status = 0 limit 1
  357. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  358. 2025-01-03 15:07:19.893113 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 3
  359. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  360. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  361. <document type="freeswitch/xml">
  362. <section name="dialplan" description="ASTPP Dialplan">
  363. <context name="default">
  364. <extension name="Saint Cyprus" continue="true">
  365. <condition time-of-day= "00:01-23:59" break="never">
  366. <action application="set" data="office_status=open" inline="true"/>
  367. <action application="set" data="extensions=123464343232#" inline="true"/>
  368. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  369. <action application="set" data="no_answer_call_type=12" inline="true"/>
  370. </condition>
  371. </extension>
  372. <extension name="Saint Cyprus" continue="true">
  373. <condition break="never">
  374. <action application="set" data="timezone=Europe/Athens" inline="true"/>
  375. </condition>
  376. <condition  time-of-day= "00:01-23:59"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2025-2030"  break="never">
  377. <action application="set" data="office_status=open" inline="true"/>
  378. <action application="set" data="extensions=18" inline="true"/>
  379. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  380. <action application="set" data="no_answer_call_type=10" inline="true"/>
  381. </condition>
  382. </extension>
  383. <extension name="tod route, x0035726220818">
  384. <condition field="destination_number" expression="^(\+?)?(0035726220818)$">
  385. <action application="execute_extension" data="0035726220818_${office_status}"/>
  386. </condition>
  387. </extension>
  388. <extension name="office is open">
  389. <condition field="destination_number" expression="^(\+?)?(0035726220818_open)$">
  390. <action application="set" data="domain_name=twisha.astppbilling.org"/>
  391. <action application="set" data="set_extensions=${extensions}"/>
  392. <action application="set" data="effective_caller_id_name=8888"/>
  393. <action application="set" data="effective_caller_id_number=8888"/>
  394. <action application="set" data="callstart=2025-01-03 15:07:19"/>
  395. <action application="set" data="account_id=77"/>
  396. <action application="set" data="call_direction=inbound"/>
  397. <action application="set" data="did_id=75"/>
  398. <action application="set" data="call_type=11"/>
  399. <action application="set" data="receiver_accid=77"/>
  400. <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"/>
  401. <action application="set" data="module_name=pbx"/>
  402. <action application="set" data="original_did_number=0035726220818"/>
  403. <action application="set" data="no_answer_flag=true"/>
  404. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  405. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  406. <action application="set" data="no_answer_number=${extensions}" />
  407. <action application="transfer" data="77 XML default"/>
  408. </condition>
  409. </extension>
  410. <extension name="0035726220818">
  411. <condition field="destination_number" expression="0035726220818">
  412. <action application="set" data="effective_destination_number=0035726220818"/>
  413. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  414. <action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
  415. <action application="set" data="callstart=2025-01-03 15:07:19"/>
  416. <action application="set" data="hangup_after_bridge=true"/>
  417. <action application="set" data="continue_on_fail=TRUE"/>
  418. <action application="set" data="account_id=77"/>
  419. <action application="set" data="parent_id=0"/>
  420. <action application="set" data="entity_id=0"/>
  421. <action application="set" data="call_processed=internal"/>
  422. <action application="set" data="call_direction=inbound"/>
  423. <action application="set" data="accountname=default"/>
  424. <action application="set" data="filename1=astpp.pbx.lua"/>
  425. <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"/>
  426. <action application="set" data="origination_rates=0"/>
  427. <action application="set" data="original_caller_id_name=8888"/>
  428. <action application="set" data="original_caller_id_number=8888"/>
  429. <action application="limit" data="db 77 user_77 20 "/>
  430. <action application="set" data="effective_caller_id_name=8888"/>
  431. <action application="set" data="effective_caller_id_number=8888"/>
  432. <action application="set" data="receiver_accid=77"/>
  433. <action application="export" data="domain_name=twisha.astppbilling.org"/>
  434. <action application="export" data="sip_to_host=twisha.astppbilling.org"/>
  435. <action application="limit" data="db 0035726220818 did_0035726220818 20 "/>
  436. <action application="export" data="presence_data=x|||Anastasia(8719627029)|||||||||DID|||103.238.108.187"/>
  437. <action application="export" data="call_type=11"/>
  438. </condition>
  439. </extension>
  440. </context>
  441. </section>
  442. </document>
  443. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  444. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  445. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  446. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  447. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  448. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=123464343232#) INLINE
  449. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=123464343232#)
  450. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[123464343232#]
  451. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  452. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  453. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  454. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=12) INLINE
  455. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=12)
  456. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[12]
  457. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  458. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Absolute Condition [Saint Cyprus]
  459. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(timezone=Europe/Athens) INLINE
  460. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(timezone=Europe/Athens)
  461. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [timezone]=[Europe/Athens]
  462. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  463. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  464. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  465. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  466. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=18) INLINE
  467. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=18)
  468. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[18]
  469. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  470. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  471. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  472. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=10) INLINE
  473. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=10)
  474. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[10]
  475. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->tod route, x0035726220818] continue=false
  476. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [tod route, x0035726220818] destination_number(0035726220818) =~ /^(\+?)?(0035726220818)$/ break=on-false
  477. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action execute_extension(0035726220818_${office_status})
  478. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_ROUTING -> CS_EXECUTE
  479. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING going to sleep
  480. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_EXECUTE (Cur 1 Tot 60)
  481. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE
  482. 2025-01-03 15:07:19.893113 96.03% [DEBUG] mod_sofia.c:213 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA EXECUTE
  483. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/8888@twisha.astppbilling.org:5067 Standard EXECUTE
  484. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 execute_extension(0035726220818_open)
  485. 2025-01-03 15:07:19.893113 96.03% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->0035726220818_open in context default
  486. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  487. 2025-01-03 15:07:19.893113 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  488. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  489. Event-Name: REQUEST_PARAMS
  490. Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  491. FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  492. FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  493. FreeSWITCH-IPv4: 65.21.153.211
  494. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  495. Event-Date-Local: 2025-01-03%2015%3A07%3A19
  496. Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  497. Event-Date-Timestamp: 1735916839893113
  498. Event-Calling-File: mod_dialplan_xml.c
  499. Event-Calling-Function: dialplan_xml_locate
  500. Event-Calling-Line-Number: 610
  501. Event-Sequence: 67370
  502. Channel-State: CS_EXECUTE
  503. Channel-Call-State: RINGING
  504. Channel-State-Number: 4
  505. Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  506. Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  507. Call-Direction: inbound
  508. Presence-Call-Direction: inbound
  509. Channel-HIT-Dialplan: true
  510. Channel-Presence-ID: 8888%40twisha.astppbilling.org
  511. Channel-Call-UUID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  512. Answer-State: ringing
  513. Channel-Read-Codec-Name: PCMA
  514. Channel-Read-Codec-Rate: 8000
  515. Channel-Read-Codec-Bit-Rate: 64000
  516. Channel-Write-Codec-Name: PCMA
  517. Channel-Write-Codec-Rate: 8000
  518. Channel-Write-Codec-Bit-Rate: 64000
  519. Caller-Direction: inbound
  520. Caller-Logical-Direction: inbound
  521. Caller-Username: 8888
  522. Caller-Dialplan: XML
  523. Caller-Caller-ID-Name: 8888
  524. Caller-Caller-ID-Number: 8888
  525. Caller-Orig-Caller-ID-Name: 8888
  526. Caller-Orig-Caller-ID-Number: 8888
  527. Caller-Network-Addr: 103.238.108.187
  528. Caller-ANI: 8888
  529. Caller-Destination-Number: 0035726220818
  530. Caller-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  531. Caller-Source: mod_sofia
  532. Caller-Context: default
  533. Caller-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  534. Caller-Profile-Index: 1
  535. Caller-Profile-Created-Time: 1735916839813169
  536. Caller-Channel-Created-Time: 1735916839813169
  537. Caller-Channel-Answered-Time: 0
  538. Caller-Channel-Progress-Time: 0
  539. Caller-Channel-Progress-Media-Time: 0
  540. Caller-Channel-Hangup-Time: 0
  541. Caller-Channel-Transfer-Time: 0
  542. Caller-Channel-Resurrect-Time: 0
  543. Caller-Channel-Bridged-Time: 0
  544. Caller-Channel-Last-Hold: 0
  545. Caller-Channel-Hold-Accum: 0
  546. Caller-Screen-Bit: true
  547. Caller-Privacy-Hide-Name: false
  548. Caller-Privacy-Hide-Number: false
  549. variable_direction: inbound
  550. variable_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  551. variable_session_id: 60
  552. variable_sip_from_params: transport%3DUDP
  553. variable_sip_from_user: 8888
  554. variable_sip_from_port: 5067
  555. variable_sip_from_uri: 8888%40twisha.astppbilling.org%3A5067
  556. variable_sip_from_host: twisha.astppbilling.org
  557. variable_video_media_flow: disabled
  558. variable_text_media_flow: disabled
  559. variable_channel_name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  560. variable_sip_call_id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  561. variable_sip_local_network_addr: 65.21.153.211
  562. variable_sip_network_ip: 103.238.108.187
  563. variable_sip_network_port: 3736
  564. variable_sip_invite_stamp: 1735916839813169
  565. variable_sip_received_ip: 103.238.108.187
  566. variable_sip_received_port: 3736
  567. variable_sip_via_protocol: udp
  568. variable_sip_authorized: true
  569. variable_Event-Name: REQUEST_PARAMS
  570. variable_Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  571. variable_FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  572. variable_FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  573. variable_FreeSWITCH-IPv4: 65.21.153.211
  574. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  575. variable_Event-Date-Local: 2025-01-03%2015%3A07%3A19
  576. variable_Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  577. variable_Event-Date-Timestamp: 1735916839813169
  578. variable_Event-Calling-File: sofia.c
  579. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  580. variable_Event-Calling-Line-Number: 10722
  581. variable_Event-Sequence: 67339
  582. variable_sip_number_alias: 8888
  583. variable_sip_auth_username: 8888
  584. variable_sip_auth_realm: twisha.astppbilling.org
  585. variable_number_alias: 8888
  586. variable_requested_user_name: 8888
  587. variable_requested_domain_name: twisha.astppbilling.org
  588. variable_user_context: default
  589. variable_sipcall: true
  590. variable_sip_user: 8888
  591. variable_accountcode: 8719627029
  592. variable_user_name: 8888
  593. variable_domain_name: twisha.astppbilling.org
  594. variable_sip_from_user_stripped: 8888
  595. variable_sip_from_tag: 95f04e47
  596. variable_sofia_profile_name: default
  597. variable_sofia_profile_url: sip%3Amod_sofia%4065.21.153.211%3A5067
  598. variable_recovery_profile_name: default
  599. variable_sip_full_via: SIP/2.0/UDP%20103.238.108.187%3A3736%3Bbranch%3Dz9hG4bK-d8754z-6cb980a7b4c0c3aa-1---d8754z-
  600. variable_sip_full_from: %3Csip%3A8888%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3D95f04e47
  601. variable_sip_full_to: %3Csip%3A0035726220818%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E
  602. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  603. variable_sip_req_params: transport%3DUDP
  604. variable_sip_req_user: 0035726220818
  605. variable_sip_req_port: 5067
  606. variable_sip_req_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  607. variable_sip_req_host: twisha.astppbilling.org
  608. variable_sip_to_params: transport%3DUDP
  609. variable_sip_to_user: 0035726220818
  610. variable_sip_to_port: 5067
  611. variable_sip_to_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  612. variable_sip_to_host: twisha.astppbilling.org
  613. variable_sip_contact_params: transport%3DUDP
  614. variable_sip_contact_user: 8888
  615. variable_sip_contact_port: 3736
  616. variable_sip_contact_uri: 8888%40103.238.108.187%3A3736
  617. variable_sip_contact_host: 103.238.108.187
  618. variable_sip_user_agent: Z%203.3.25608%20r25552
  619. variable_sip_via_host: 103.238.108.187
  620. variable_sip_via_port: 3736
  621. variable_max_forwards: 70
  622. variable_presence_id: 8888%40twisha.astppbilling.org
  623. 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%203550%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
  624. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  625. variable_rtp_use_codec_string: PCMA,PCMU
  626. variable_remote_video_media_flow: inactive
  627. variable_remote_text_media_flow: inactive
  628. variable_remote_audio_media_flow: sendrecv
  629. variable_audio_media_flow: sendrecv
  630. variable_remote_media_ip: 103.238.108.187
  631. variable_remote_media_port: 3550
  632. variable_rtp_audio_recv_pt: 8
  633. variable_rtp_use_codec_name: PCMA
  634. variable_rtp_use_codec_rate: 8000
  635. variable_rtp_use_codec_ptime: 20
  636. variable_rtp_use_codec_channels: 1
  637. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  638. variable_read_codec: PCMA
  639. variable_original_read_codec: PCMA
  640. variable_read_rate: 8000
  641. variable_original_read_rate: 8000
  642. variable_write_codec: PCMA
  643. variable_write_rate: 8000
  644. variable_dtmf_type: rfc2833
  645. variable_endpoint_disposition: RECEIVED
  646. variable_timezone: Europe/Athens
  647. variable_office_status: open
  648. variable_extensions: 18
  649. variable_no_answer_did_number: 0035726220818
  650. variable_no_answer_call_type: 10
  651. variable_DP_MATCH: 0035726220818
  652. variable_call_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  653. variable_current_application_data: 0035726220818_open
  654. variable_current_application: execute_extension
  655. Hunt-Direction: inbound
  656. Hunt-Logical-Direction: inbound
  657. Hunt-Username: 8888
  658. Hunt-Dialplan: XML
  659. Hunt-Caller-ID-Name: 8888
  660. Hunt-Caller-ID-Number: 8888
  661. Hunt-Orig-Caller-ID-Name: 8888
  662. Hunt-Orig-Caller-ID-Number: 8888
  663. Hunt-Network-Addr: 103.238.108.187
  664. Hunt-ANI: 8888
  665. Hunt-Destination-Number: 0035726220818_open
  666. Hunt-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  667. Hunt-Source: mod_sofia
  668. Hunt-Context: default
  669. Hunt-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  670. Hunt-Profile-Created-Time: 1735916839813169
  671. Hunt-Channel-Created-Time: 1735916839813169
  672. Hunt-Channel-Answered-Time: 0
  673. Hunt-Channel-Progress-Time: 0
  674. Hunt-Channel-Progress-Media-Time: 0
  675. Hunt-Channel-Hangup-Time: 0
  676. Hunt-Channel-Transfer-Time: 0
  677. Hunt-Channel-Resurrect-Time: 0
  678. Hunt-Channel-Bridged-Time: 0
  679. Hunt-Channel-Last-Hold: 0
  680. Hunt-Channel-Hold-Accum: 0
  681. Hunt-Screen-Bit: true
  682. Hunt-Privacy-Hide-Name: false
  683. Hunt-Privacy-Hide-Number: false
  684.  
  685.  
  686. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  687. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  688. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  689. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  690. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  691. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 0035726220818
  692. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :0035726220818
  693. 2025-01-03 15:07:19.913161 96.03% [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
  694. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '0035726220818' AND status=0 limit 1
  695. 2025-01-03 15:07:19.913161 96.03% [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
  696. 2025-01-03 15:07:19.913161 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  697. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8888 / 8888
  698. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  699. 2025-01-03 15:07:19.913161 96.03% [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
  700. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  701. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  702. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  703. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  704. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  705. 2025-01-03 15:07:19.913161 96.03% [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
  706. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : inbound
  707. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8719627029]
  708. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =0035726220818
  709. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8719627029" AND deleted = 0 limit 1
  710. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  711. 2025-01-03 15:07:19.913161 96.03% [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
  712. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  713. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  714. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  715. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  716. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  717. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="0035726220818" AND (accountid = 0 OR status = 1) LIMIT 1
  718. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 3
  719. 2025-01-03 15:07:19.913161 96.03% [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
  720. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  721. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 77
  722. 2025-01-03 15:07:19.913161 96.03% [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
  723. 2025-01-03 15:07:19.913161 96.03% [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
  724. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 0035726220818
  725. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  726. 2025-01-03 15:07:19.913161 96.03% [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
  727. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  728. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  729. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  730. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  731. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  732. 2025-01-03 15:07:19.913161 96.03% [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
  733. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : inbound
  734. 2025-01-03 15:07:19.913161 96.03% [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
  735. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  736. 2025-01-03 15:07:19.913161 96.03% [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
  737. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  738. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 77
  739. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8719627029
  740. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 14.9813
  741. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  742. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  743. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  744. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  745. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  746. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :inbound
  747. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  748. 2025-01-03 15:07:19.913161 96.03% [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
  749. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  750. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  751. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  752. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  753. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....0035726220818
  754. 2025-01-03 15:07:19.913161 96.03% [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
  755. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : inbound
  756. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Markup : 20
  757. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  758. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 75
  759. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  760. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 1
  761. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0
  762. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Paphos Peyia
  763. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 49
  764. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 77
  765. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  766. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your14.9813 balance Accountid 77 !!!
  767. 2025-01-03 15:07:19.913161 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 200
  768. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 200 minutes
  769. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] INB_FREE:TRUE
  770. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] free_inbound:1
  771. 2025-01-03 15:07:19.913161 96.03% [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
  772. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "77" AND deleted = 0 limit 1
  773. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML:77
  774. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Userinfo XML:77
  775. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [userinfo] Actual CustomerInfo XML : 77
  776. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  777. 2025-01-03 15:07:19.913161 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] User Domain : twisha.astppbilling.org
  778. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] ssssssssssssssssssssssssssssssssssssssssss
  779. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
  780. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Timecondition Id : 3
  781. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  782. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Failover Timecondition : [{"extensions":"123464343232#","no_answer_call_type":"12"}]
  783. 2025-01-03 15:07:19.913161 96.03% [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"}]
  784. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] Priority : 1
  785. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from timezone WHERE id = '176' LIMIT 1
  786. 2025-01-03 15:07:19.913161 96.03% [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"
  787. 2025-01-03 15:07:19.913161 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 200
  788. 2025-01-03 15:07:19.913161 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  789. 2025-01-03 15:07:19.953120 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  790. 2025-01-03 15:07:19.953120 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : inbound
  791. 2025-01-03 15:07:19.953120 96.03% [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
  792. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  793. 2025-01-03 15:07:19.953120 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [XML] User Domain : twisha.astppbilling.org
  794. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 77  and status = 0 limit 1
  795. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [XML] Custom Function Name :: custom_inbound_11
  796. 2025-01-03 15:07:19.953120 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [TIME_COND] TimeCondition Id : 3
  797. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_TIME_CONDITION_QUERY] Query :SELECT * from time_condition WHERE id = '3' and status =0 LIMIT 1
  798. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  799. <document type="freeswitch/xml">
  800. <section name="dialplan" description="ASTPP Dialplan">
  801. <context name="default">
  802. <extension name="Saint Cyprus" continue="true">
  803. <condition time-of-day= "00:01-23:59" break="never">
  804. <action application="set" data="office_status=open" inline="true"/>
  805. <action application="set" data="extensions=123464343232#" inline="true"/>
  806. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  807. <action application="set" data="no_answer_call_type=12" inline="true"/>
  808. </condition>
  809. </extension>
  810. <extension name="Saint Cyprus" continue="true">
  811. <condition break="never">
  812. <action application="set" data="timezone=Europe/Athens" inline="true"/>
  813. </condition>
  814. <condition  time-of-day= "00:01-23:59"  wday= "2-6"  mday= "1-31"  mon= "1-12"  year= "2025-2030"  break="never">
  815. <action application="set" data="office_status=open" inline="true"/>
  816. <action application="set" data="extensions=18" inline="true"/>
  817. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  818. <action application="set" data="no_answer_call_type=10" inline="true"/>
  819. </condition>
  820. </extension>
  821. <extension name="tod route, x0035726220818">
  822. <condition field="destination_number" expression="^(\+?)?(0035726220818)$">
  823. <action application="execute_extension" data="0035726220818_${office_status}"/>
  824. </condition>
  825. </extension>
  826. <extension name="office is open">
  827. <condition field="destination_number" expression="^(\+?)?(0035726220818_open)$">
  828. <action application="set" data="domain_name=twisha.astppbilling.org"/>
  829. <action application="set" data="set_extensions=${extensions}"/>
  830. <action application="set" data="effective_caller_id_name=8888"/>
  831. <action application="set" data="effective_caller_id_number=8888"/>
  832. <action application="set" data="callstart=2025-01-03 15:07:19"/>
  833. <action application="set" data="account_id=77"/>
  834. <action application="set" data="call_direction=inbound"/>
  835. <action application="set" data="did_id=75"/>
  836. <action application="set" data="call_type=11"/>
  837. <action application="set" data="receiver_accid=77"/>
  838. <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"/>
  839. <action application="set" data="module_name=pbx"/>
  840. <action application="set" data="original_did_number=0035726220818"/>
  841. <action application="set" data="no_answer_flag=true"/>
  842. <action application="set" data="no_answer_did_number=0035726220818" inline="true"/>
  843. <action application="set" data="no_answer_call_type=${no_answer_call_type}"/>
  844. <action application="set" data="no_answer_number=${extensions}" />
  845. <action application="transfer" data="77 XML default"/>
  846. </condition>
  847. </extension>
  848. <extension name="0035726220818">
  849. <condition field="destination_number" expression="0035726220818">
  850. <action application="set" data="effective_destination_number=0035726220818"/>
  851. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  852. <action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
  853. <action application="set" data="callstart=2025-01-03 15:07:19"/>
  854. <action application="set" data="hangup_after_bridge=true"/>
  855. <action application="set" data="continue_on_fail=TRUE"/>
  856. <action application="set" data="account_id=77"/>
  857. <action application="set" data="parent_id=0"/>
  858. <action application="set" data="entity_id=0"/>
  859. <action application="set" data="call_processed=internal"/>
  860. <action application="set" data="call_direction=inbound"/>
  861. <action application="set" data="accountname=default"/>
  862. <action application="set" data="filename1=astpp.pbx.lua"/>
  863. <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"/>
  864. <action application="set" data="origination_rates=0"/>
  865. <action application="set" data="original_caller_id_name=8888"/>
  866. <action application="set" data="original_caller_id_number=8888"/>
  867. <action application="limit" data="db 77 user_77 20 "/>
  868. <action application="set" data="effective_caller_id_name=8888"/>
  869. <action application="set" data="effective_caller_id_number=8888"/>
  870. <action application="set" data="receiver_accid=77"/>
  871. <action application="export" data="domain_name=twisha.astppbilling.org"/>
  872. <action application="export" data="sip_to_host=twisha.astppbilling.org"/>
  873. <action application="limit" data="db 0035726220818 did_0035726220818 20 "/>
  874. <action application="export" data="presence_data=x|||Anastasia(8719627029)|||||||||DID|||103.238.108.187"/>
  875. <action application="export" data="call_type=11"/>
  876. </condition>
  877. </extension>
  878. </context>
  879. </section>
  880. </document>
  881. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  882. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  883. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  884. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  885. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  886. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=123464343232#) INLINE
  887. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=123464343232#)
  888. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[123464343232#]
  889. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  890. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  891. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  892. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=12) INLINE
  893. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=12)
  894. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[12]
  895. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->Saint Cyprus] continue=true
  896. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Absolute Condition [Saint Cyprus]
  897. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(timezone=Europe/Athens) INLINE
  898. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(timezone=Europe/Athens)
  899. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [timezone]=[Europe/Athens]
  900. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Date/Time Match (PASS) [Saint Cyprus] break=never
  901. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(office_status=open) INLINE
  902. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(office_status=open)
  903. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [office_status]=[open]
  904. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(extensions=18) INLINE
  905. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(extensions=18)
  906. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [extensions]=[18]
  907. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  908. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  909. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  910. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=10) INLINE
  911. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=10)
  912. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[10]
  913. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->tod route, x0035726220818] continue=false
  914. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (FAIL) [tod route, x0035726220818] destination_number(0035726220818_open) =~ /^(\+?)?(0035726220818)$/ break=on-false
  915. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->office is open] continue=false
  916. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [office is open] destination_number(0035726220818_open) =~ /^(\+?)?(0035726220818_open)$/ break=on-false
  917. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(domain_name=twisha.astppbilling.org)
  918. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(set_extensions=${extensions})
  919. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(effective_caller_id_name=8888)
  920. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(effective_caller_id_number=8888)
  921. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(callstart=2025-01-03 15:07:19)
  922. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(account_id=77)
  923. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(call_direction=inbound)
  924. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(did_id=75)
  925. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(call_type=11)
  926. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(receiver_accid=77)
  927. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(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)
  928. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(module_name=pbx)
  929. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(original_did_number=0035726220818)
  930. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_flag=true)
  931. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_did_number=0035726220818) INLINE
  932. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_did_number=0035726220818)
  933. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_did_number]=[0035726220818]
  934. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=${no_answer_call_type})
  935. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_number=${extensions})
  936. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action transfer(77 XML default)
  937. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(domain_name=twisha.astppbilling.org)
  938. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(domain_name=twisha.astppbilling.org)
  939. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [domain_name]=[twisha.astppbilling.org]
  940. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(set_extensions=${extensions})
  941. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(set_extensions=18)
  942. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [set_extensions]=[18]
  943. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(effective_caller_id_name=8888)
  944. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(effective_caller_id_name=8888)
  945. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [effective_caller_id_name]=[8888]
  946. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(effective_caller_id_number=8888)
  947. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(effective_caller_id_number=8888)
  948. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [effective_caller_id_number]=[8888]
  949. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(callstart=2025-01-03 15:07:19)
  950. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(callstart=2025-01-03 15:07:19)
  951. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [callstart]=[2025-01-03 15:07:19]
  952. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(account_id=77)
  953. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(account_id=77)
  954. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [account_id]=[77]
  955. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(call_direction=inbound)
  956. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(call_direction=inbound)
  957. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [call_direction]=[inbound]
  958. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(did_id=75)
  959. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(did_id=75)
  960. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [did_id]=[75]
  961. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(call_type=11)
  962. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(call_type=11)
  963. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [call_type]=[11]
  964. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(receiver_accid=77)
  965. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(receiver_accid=77)
  966. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [receiver_accid]=[77]
  967. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(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)
  968. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(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)
  969. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [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]
  970. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(module_name=pbx)
  971. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(module_name=pbx)
  972. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [module_name]=[pbx]
  973. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(original_did_number=0035726220818)
  974. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(original_did_number=0035726220818)
  975. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [original_did_number]=[0035726220818]
  976. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_flag=true)
  977. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_flag=true)
  978. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_flag]=[true]
  979. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_call_type=${no_answer_call_type})
  980. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=10)
  981. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[10]
  982. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] set(no_answer_number=${extensions})
  983. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_number=18)
  984. 2025-01-03 15:07:19.953120 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_number]=[18]
  985. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_core_session.c:3089 Execute [depth=1] transfer(77 XML default)
  986. EXECUTE [depth=1] sofia/default/8888@twisha.astppbilling.org:5067 transfer(77 XML default)
  987. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_ivr.c:2288 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_EXECUTE -> CS_ROUTING
  988. 2025-01-03 15:07:19.953120 96.03% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/8888@twisha.astppbilling.org:5067 to XML[77@default]
  989. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE going to sleep
  990. 2025-01-03 15:07:19.953120 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_ROUTING (Cur 1 Tot 60)
  991. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING
  992. 2025-01-03 15:07:19.973104 96.03% [DEBUG] mod_sofia.c:149 Call appears to be already acknowledged
  993. 2025-01-03 15:07:19.973104 96.03% [DEBUG] mod_sofia.c:158 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA ROUTING
  994. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_core_state_machine.c:230 sofia/default/8888@twisha.astppbilling.org:5067 Standard ROUTING
  995. 2025-01-03 15:07:19.973104 96.03% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->77 in context default
  996. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  997. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  998. 2025-01-03 15:07:19.973104 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  999. Event-Name: REQUEST_PARAMS
  1000. Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  1001. FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  1002. FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  1003. FreeSWITCH-IPv4: 65.21.153.211
  1004. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  1005. Event-Date-Local: 2025-01-03%2015%3A07%3A19
  1006. Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  1007. Event-Date-Timestamp: 1735916839973104
  1008. Event-Calling-File: mod_dialplan_xml.c
  1009. Event-Calling-Function: dialplan_xml_locate
  1010. Event-Calling-Line-Number: 610
  1011. Event-Sequence: 67427
  1012. Channel-State: CS_ROUTING
  1013. Channel-Call-State: RINGING
  1014. Channel-State-Number: 2
  1015. Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1016. Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1017. Call-Direction: inbound
  1018. Presence-Call-Direction: inbound
  1019. Channel-HIT-Dialplan: true
  1020. Channel-Presence-ID: 8888%40twisha.astppbilling.org
  1021. Channel-Call-UUID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1022. Answer-State: ringing
  1023. Channel-Read-Codec-Name: PCMA
  1024. Channel-Read-Codec-Rate: 8000
  1025. Channel-Read-Codec-Bit-Rate: 64000
  1026. Channel-Write-Codec-Name: PCMA
  1027. Channel-Write-Codec-Rate: 8000
  1028. Channel-Write-Codec-Bit-Rate: 64000
  1029. Caller-Direction: inbound
  1030. Caller-Logical-Direction: inbound
  1031. Caller-Username: 8888
  1032. Caller-Dialplan: XML
  1033. Caller-Caller-ID-Name: 8888
  1034. Caller-Caller-ID-Number: 8888
  1035. Caller-Orig-Caller-ID-Name: 8888
  1036. Caller-Orig-Caller-ID-Number: 8888
  1037. Caller-Network-Addr: 103.238.108.187
  1038. Caller-ANI: 8888
  1039. Caller-Destination-Number: 77
  1040. Caller-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1041. Caller-Source: mod_sofia
  1042. Caller-Transfer-Source: 1735916839%3A6fe0b8d4-bf56-4fa9-835f-d6957fd6bbb2%3Abl_xfer%3A77/default/XML
  1043. Caller-Context: default
  1044. Caller-RDNIS: 0035726220818_open
  1045. Caller-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1046. Caller-Profile-Index: 2
  1047. Caller-Profile-Created-Time: 1735916839953120
  1048. Caller-Channel-Created-Time: 1735916839813169
  1049. Caller-Channel-Answered-Time: 0
  1050. Caller-Channel-Progress-Time: 0
  1051. Caller-Channel-Progress-Media-Time: 0
  1052. Caller-Channel-Hangup-Time: 0
  1053. Caller-Channel-Transfer-Time: 0
  1054. Caller-Channel-Resurrect-Time: 0
  1055. Caller-Channel-Bridged-Time: 0
  1056. Caller-Channel-Last-Hold: 0
  1057. Caller-Channel-Hold-Accum: 0
  1058. Caller-Screen-Bit: true
  1059. Caller-Privacy-Hide-Name: false
  1060. Caller-Privacy-Hide-Number: false
  1061. variable_direction: inbound
  1062. variable_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1063. variable_session_id: 60
  1064. variable_sip_from_params: transport%3DUDP
  1065. variable_sip_from_user: 8888
  1066. variable_sip_from_port: 5067
  1067. variable_sip_from_uri: 8888%40twisha.astppbilling.org%3A5067
  1068. variable_sip_from_host: twisha.astppbilling.org
  1069. variable_video_media_flow: disabled
  1070. variable_text_media_flow: disabled
  1071. variable_channel_name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1072. variable_sip_call_id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  1073. variable_sip_local_network_addr: 65.21.153.211
  1074. variable_sip_network_ip: 103.238.108.187
  1075. variable_sip_network_port: 3736
  1076. variable_sip_invite_stamp: 1735916839813169
  1077. variable_sip_received_ip: 103.238.108.187
  1078. variable_sip_received_port: 3736
  1079. variable_sip_via_protocol: udp
  1080. variable_sip_authorized: true
  1081. variable_Event-Name: REQUEST_PARAMS
  1082. variable_Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  1083. variable_FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  1084. variable_FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  1085. variable_FreeSWITCH-IPv4: 65.21.153.211
  1086. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  1087. variable_Event-Date-Local: 2025-01-03%2015%3A07%3A19
  1088. variable_Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  1089. variable_Event-Date-Timestamp: 1735916839813169
  1090. variable_Event-Calling-File: sofia.c
  1091. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  1092. variable_Event-Calling-Line-Number: 10722
  1093. variable_Event-Sequence: 67339
  1094. variable_sip_number_alias: 8888
  1095. variable_sip_auth_username: 8888
  1096. variable_sip_auth_realm: twisha.astppbilling.org
  1097. variable_number_alias: 8888
  1098. variable_requested_user_name: 8888
  1099. variable_requested_domain_name: twisha.astppbilling.org
  1100. variable_user_context: default
  1101. variable_sipcall: true
  1102. variable_sip_user: 8888
  1103. variable_accountcode: 8719627029
  1104. variable_user_name: 8888
  1105. variable_sip_from_user_stripped: 8888
  1106. variable_sip_from_tag: 95f04e47
  1107. variable_sofia_profile_name: default
  1108. variable_sofia_profile_url: sip%3Amod_sofia%4065.21.153.211%3A5067
  1109. variable_recovery_profile_name: default
  1110. variable_sip_full_via: SIP/2.0/UDP%20103.238.108.187%3A3736%3Bbranch%3Dz9hG4bK-d8754z-6cb980a7b4c0c3aa-1---d8754z-
  1111. variable_sip_full_from: %3Csip%3A8888%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3D95f04e47
  1112. variable_sip_full_to: %3Csip%3A0035726220818%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E
  1113. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  1114. variable_sip_req_params: transport%3DUDP
  1115. variable_sip_req_user: 0035726220818
  1116. variable_sip_req_port: 5067
  1117. variable_sip_req_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  1118. variable_sip_req_host: twisha.astppbilling.org
  1119. variable_sip_to_params: transport%3DUDP
  1120. variable_sip_to_user: 0035726220818
  1121. variable_sip_to_port: 5067
  1122. variable_sip_to_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  1123. variable_sip_to_host: twisha.astppbilling.org
  1124. variable_sip_contact_params: transport%3DUDP
  1125. variable_sip_contact_user: 8888
  1126. variable_sip_contact_port: 3736
  1127. variable_sip_contact_uri: 8888%40103.238.108.187%3A3736
  1128. variable_sip_contact_host: 103.238.108.187
  1129. variable_sip_user_agent: Z%203.3.25608%20r25552
  1130. variable_sip_via_host: 103.238.108.187
  1131. variable_sip_via_port: 3736
  1132. variable_presence_id: 8888%40twisha.astppbilling.org
  1133. 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%203550%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
  1134. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1135. variable_rtp_use_codec_string: PCMA,PCMU
  1136. variable_remote_video_media_flow: inactive
  1137. variable_remote_text_media_flow: inactive
  1138. variable_remote_audio_media_flow: sendrecv
  1139. variable_audio_media_flow: sendrecv
  1140. variable_remote_media_ip: 103.238.108.187
  1141. variable_remote_media_port: 3550
  1142. variable_rtp_audio_recv_pt: 8
  1143. variable_rtp_use_codec_name: PCMA
  1144. variable_rtp_use_codec_rate: 8000
  1145. variable_rtp_use_codec_ptime: 20
  1146. variable_rtp_use_codec_channels: 1
  1147. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1148. variable_read_codec: PCMA
  1149. variable_original_read_codec: PCMA
  1150. variable_read_rate: 8000
  1151. variable_original_read_rate: 8000
  1152. variable_write_codec: PCMA
  1153. variable_write_rate: 8000
  1154. variable_dtmf_type: rfc2833
  1155. variable_endpoint_disposition: RECEIVED
  1156. variable_timezone: Europe/Athens
  1157. variable_office_status: open
  1158. variable_extensions: 18
  1159. variable_DP_MATCH: 0035726220818_open
  1160. variable_no_answer_did_number: 0035726220818
  1161. variable_domain_name: twisha.astppbilling.org
  1162. variable_set_extensions: 18
  1163. variable_effective_caller_id_name: 8888
  1164. variable_effective_caller_id_number: 8888
  1165. variable_callstart: 2025-01-03%2015%3A07%3A19
  1166. variable_account_id: 77
  1167. variable_call_direction: inbound
  1168. variable_did_id: 75
  1169. variable_call_type: 11
  1170. variable_receiver_accid: 77
  1171. variable_origination_rates_did: ID%3A75%7CCODE%3A%5E0035726220818.*%7CDESTINATION%3APaphos%20Peyia%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A1%7CCT%3A11%7CCOST%3A0%7CINC%3A1%7CINITIALBLOCK%3A1%7CRATEGROUP%3A0%7CMARKUP%3A20%7CCI%3A49%7CACCID%3A77
  1172. variable_module_name: pbx
  1173. variable_original_did_number: 0035726220818
  1174. variable_no_answer_flag: true
  1175. variable_no_answer_call_type: 10
  1176. variable_no_answer_number: 18
  1177. variable_current_application_data: 77%20XML%20default
  1178. variable_current_application: transfer
  1179. variable_max_forwards: 69
  1180. variable_transfer_history: 1735916839%3A6fe0b8d4-bf56-4fa9-835f-d6957fd6bbb2%3Abl_xfer%3A77/default/XML
  1181. variable_transfer_source: 1735916839%3A6fe0b8d4-bf56-4fa9-835f-d6957fd6bbb2%3Abl_xfer%3A77/default/XML
  1182. variable_call_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1183. Hunt-Direction: inbound
  1184. Hunt-Logical-Direction: inbound
  1185. Hunt-Username: 8888
  1186. Hunt-Dialplan: XML
  1187. Hunt-Caller-ID-Name: 8888
  1188. Hunt-Caller-ID-Number: 8888
  1189. Hunt-Orig-Caller-ID-Name: 8888
  1190. Hunt-Orig-Caller-ID-Number: 8888
  1191. Hunt-Network-Addr: 103.238.108.187
  1192. Hunt-ANI: 8888
  1193. Hunt-Destination-Number: 77
  1194. Hunt-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1195. Hunt-Source: mod_sofia
  1196. Hunt-Transfer-Source: 1735916839%3A6fe0b8d4-bf56-4fa9-835f-d6957fd6bbb2%3Abl_xfer%3A77/default/XML
  1197. Hunt-Context: default
  1198. Hunt-RDNIS: 0035726220818_open
  1199. Hunt-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1200. Hunt-Profile-Index: 2
  1201. Hunt-Profile-Created-Time: 1735916839953120
  1202. Hunt-Channel-Created-Time: 1735916839813169
  1203. Hunt-Channel-Answered-Time: 0
  1204. Hunt-Channel-Progress-Time: 0
  1205. Hunt-Channel-Progress-Media-Time: 0
  1206. Hunt-Channel-Hangup-Time: 0
  1207. Hunt-Channel-Transfer-Time: 0
  1208. Hunt-Channel-Resurrect-Time: 0
  1209. Hunt-Channel-Bridged-Time: 0
  1210. Hunt-Channel-Last-Hold: 0
  1211. Hunt-Channel-Hold-Accum: 0
  1212. Hunt-Screen-Bit: true
  1213. Hunt-Privacy-Hide-Name: false
  1214. Hunt-Privacy-Hide-Number: false
  1215.  
  1216.  
  1217. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  1218. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  1219. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  1220. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  1221. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1222. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 77
  1223. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :77
  1224. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '77' limit 1
  1225. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '77' AND status=0 limit 1
  1226. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '77' and status=0 LIMIT 1
  1227. 2025-01-03 15:07:19.973104 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1228. 2025-01-03 15:07:19.973104 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8888 / 8888
  1229. 2025-01-03 15:07:19.973104 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  1230. 2025-01-03 15:07:19.973104 96.03% [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
  1231. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1232. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1233. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1234. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1235. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1236. 2025-01-03 15:07:19.973104 96.03% [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 ="77" LIMIT 1
  1237. 2025-01-03 15:07:19.973104 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="77"  AND domains.domain="twisha.astppbilling.org" limit 1
  1238. 2025-01-03 15:07:19.993109 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  1239. 2025-01-03 15:07:19.993109 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 8719627029]
  1240. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =77
  1241. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "8719627029" AND deleted = 0 limit 1
  1242. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 77 limit 1
  1243. 2025-01-03 15:07:19.993109 96.03% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  1244. 2025-01-03 15:07:19.993109 96.03% [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
  1245. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1246. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1247. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1248. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1249. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....77
  1250. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="77" AND (accountid = 0 OR status = 1) LIMIT 1
  1251. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "77" AND deleted = 0 limit 1
  1252. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^77.*' OR blocked_patterns = '^7.*' OR blocked_patterns ='--') AND accountid = 77 limit 1
  1253. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated RingGroup No Answer Forward :77
  1254. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  1255. 2025-01-03 15:07:19.993109 96.03% [WARNING] switch_cpp.cpp:1465 [ASTPP] [ringgroup_no_answer_forward] User Domaintwisha.astppbilling.org
  1256. 2025-01-03 15:07:19.993109 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : 10
  1257. 2025-01-03 15:07:19.993109 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Type : IVR
  1258. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_IVR_INFO] Query :SELECT * from pbx_ivr_specification WHERE id = 18 and status=0 LIMIT 1
  1259. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '50' LIMIT 1
  1260. 2025-01-03 15:07:19.993109 96.03% [INFO] switch_cpp.cpp:1465 [ASTPP] Announcement File Name :OffHours_5_.wav
  1261. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Generated XML:
  1262. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1263. <document type="freeswitch/xml">
  1264. <section name="dialplan" description="ASTPP Dialplan">
  1265. <context name="default">
  1266. <extension name="77">
  1267. <condition field="destination_number" expression="77">
  1268. <action application="export" data="did_user_domain=twisha.astppbilling.org"/>
  1269. <action application="set" data="continue_on_fail=TRUE"/>
  1270. <action application="set" data="ignore_early_media=true"/>
  1271. <action application="set" data="no_answer_flag=false"/>
  1272. <action application="set" data="did_calltype=10"/>
  1273. <action application="set" data="did_extensions=18"/>
  1274. <action application="set" data="ringback=/var/www/html/astpp//upload/pbx/OffHours_5_.wav"/>
  1275. <action application="set" data="module_name=pbx"/>
  1276. <action application="set" data="sip_h_P-call_type=custom_forward"/>
  1277. <action application="set" data="sip_h_P-Accountcode=77"/>
  1278. <action application="set" data="no_answer_number=22"/>
  1279. <action application="export" data="no_answer_number=22"/>
  1280. <action application="set" data="no_answer_call_type=ivr"/>
  1281. <action application="set" data="no_answer_call_type_value=22"/>
  1282. <action application="set" data="opensips_flag=1"/>
  1283. <action application="set" data="originate_disposition=no_key_press"/>
  1284. <action application="set" data="variable_sip_to_host=twisha.astppbilling.org"/>
  1285. <action application="set" data="userinfo_id=77"/>
  1286. <action application="set" data="variable_sip_to_host=twisha.astppbilling.org"/>
  1287. <action application="set" data="original_did_number=77"/>
  1288.     <action application="answer"/>
  1289. <action application="ivr" data="Saint Cyprus Welcome Eng0"/>
  1290. <action application="lua" data="astpp/lib/pbx/astpp-failover_ivr_destination.lua"/>
  1291. </condition>
  1292. </extension>
  1293. </context>
  1294. </section>
  1295. </document>
  1296. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [default->77] continue=false
  1297. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [77] destination_number(77) =~ /77/ break=on-false
  1298. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action export(did_user_domain=twisha.astppbilling.org)
  1299. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(continue_on_fail=TRUE)
  1300. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(ignore_early_media=true)
  1301. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_flag=false)
  1302. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(did_calltype=10)
  1303. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(did_extensions=18)
  1304. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(ringback=/var/www/html/astpp//upload/pbx/OffHours_5_.wav)
  1305. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(module_name=pbx)
  1306. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(sip_h_P-call_type=custom_forward)
  1307. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(sip_h_P-Accountcode=77)
  1308. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_number=22)
  1309. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action export(no_answer_number=22)
  1310. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type=ivr)
  1311. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_call_type_value=22)
  1312. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(opensips_flag=1)
  1313. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(originate_disposition=no_key_press)
  1314. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(variable_sip_to_host=twisha.astppbilling.org)
  1315. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(userinfo_id=77)
  1316. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(variable_sip_to_host=twisha.astppbilling.org)
  1317. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(original_did_number=77)
  1318. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action answer()
  1319. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action ivr(Saint Cyprus Welcome Eng0)
  1320. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action lua(astpp/lib/pbx/astpp-failover_ivr_destination.lua)
  1321. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_ROUTING -> CS_EXECUTE
  1322. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING going to sleep
  1323. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_EXECUTE (Cur 1 Tot 60)
  1324. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE
  1325. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_sofia.c:213 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA EXECUTE
  1326. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_core_state_machine.c:323 sofia/default/8888@twisha.astppbilling.org:5067 Standard EXECUTE
  1327. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 export(did_user_domain=twisha.astppbilling.org)
  1328. 2025-01-03 15:07:19.993109 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [did_user_domain]=[twisha.astppbilling.org]
  1329. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(continue_on_fail=TRUE)
  1330. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [continue_on_fail]=[TRUE]
  1331. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(ignore_early_media=true)
  1332. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [ignore_early_media]=[true]
  1333. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_flag=false)
  1334. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_flag]=[false]
  1335. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(did_calltype=10)
  1336. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [did_calltype]=[10]
  1337. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(did_extensions=18)
  1338. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [did_extensions]=[18]
  1339. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(ringback=/var/www/html/astpp//upload/pbx/OffHours_5_.wav)
  1340. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [ringback]=[/var/www/html/astpp//upload/pbx/OffHours_5_.wav]
  1341. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(module_name=pbx)
  1342. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [module_name]=[pbx]
  1343. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(sip_h_P-call_type=custom_forward)
  1344. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [sip_h_P-call_type]=[custom_forward]
  1345. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(sip_h_P-Accountcode=77)
  1346. 2025-01-03 15:07:19.993109 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [sip_h_P-Accountcode]=[77]
  1347. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_number=22)
  1348. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_number]=[22]
  1349. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 export(no_answer_number=22)
  1350. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [no_answer_number]=[22]
  1351. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type=ivr)
  1352. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type]=[ivr]
  1353. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_call_type_value=22)
  1354. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_call_type_value]=[22]
  1355. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(opensips_flag=1)
  1356. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [opensips_flag]=[1]
  1357. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(originate_disposition=no_key_press)
  1358. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [originate_disposition]=[no_key_press]
  1359. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(variable_sip_to_host=twisha.astppbilling.org)
  1360. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [variable_sip_to_host]=[twisha.astppbilling.org]
  1361. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(userinfo_id=77)
  1362. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [userinfo_id]=[77]
  1363. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(variable_sip_to_host=twisha.astppbilling.org)
  1364. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [variable_sip_to_host]=[twisha.astppbilling.org]
  1365. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(original_did_number=77)
  1366. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [original_did_number]=[77]
  1367. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 answer()
  1368. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_core_media.c:8659 AUDIO RTP [sofia/default/8888@twisha.astppbilling.org:5067] 65.21.153.211 port 22504 -> 103.238.108.187 port 3550 codec: 8 ms: 20
  1369. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_rtp.c:4373 Starting timer [soft] 160 bytes per 20ms
  1370. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_core_media.c:8972 sofia/default/8888@twisha.astppbilling.org:5067 Set 2833 dtmf send payload to 101
  1371. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_core_media.c:8979 sofia/default/8888@twisha.astppbilling.org:5067 Set 2833 dtmf receive payload to 101
  1372. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_core_media.c:9002 sofia/default/8888@twisha.astppbilling.org:5067 Set rtp dtmf delay to 40
  1373. 2025-01-03 15:07:20.013106 96.03% [DEBUG] mod_sofia.c:914 Local SDP sofia/default/8888@twisha.astppbilling.org:5067:
  1374. v=0
  1375. o=FreeSWITCH 1735894336 1735894337 IN IP4 65.21.153.211
  1376. s=FreeSWITCH
  1377. c=IN IP4 65.21.153.211
  1378. t=0 0
  1379. m=audio 22504 RTP/AVP 8 101
  1380. a=rtpmap:8 PCMA/8000
  1381. a=rtpmap:101 telephone-event/8000
  1382. a=fmtp:101 0-15
  1383. a=ptime:20
  1384. a=sendrecv
  1385.  
  1386. 2025-01-03 15:07:20.013106 96.03% [NOTICE] mod_dptools.c:1406 Channel [sofia/default/8888@twisha.astppbilling.org:5067] has been answered
  1387. 2025-01-03 15:07:20.013106 96.03% [DEBUG] switch_channel.c:3912 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change RINGING -> ACTIVE
  1388. 2025-01-03 15:07:20.013106 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/8888@twisha.astppbilling.org:5067 entering state [completed][200]
  1389. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 ivr(Saint Cyprus Welcome Eng0)
  1390. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  1391. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  1392. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  1393. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  1394. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  1395. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  1396. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:883 building menu 'Saint Cyprus Welcome Eng0'
  1397. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  1398. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  1399. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '3'
  1400. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  1401. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu Saint Cyprus Welcome Eng0
  1402. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/SaintCyprusEnglishWelcome_.wav sample rate 16000 doesn't match requested rate 8000
  1403. 2025-01-03 15:07:20.073113 96.03% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  1404. 2025-01-03 15:07:20.593187 96.03% [DEBUG] switch_rtp.c:7503 Correct audio ip/port confirmed.
  1405. 2025-01-03 15:07:20.593187 96.03% [DEBUG] sofia.c:7493 Channel sofia/default/8888@twisha.astppbilling.org:5067 entering state [ready][200]
  1406. 2025-01-03 15:07:22.693147 95.47% [DEBUG] switch_rtp.c:7748 RTP RECV DTMF 1:960
  1407. 2025-01-03 15:07:22.693147 95.47% [INFO] switch_channel.c:528 RECV DTMF 1:960
  1408. 2025-01-03 15:07:22.693147 95.47% [DEBUG] switch_ivr_play_say.c:2010 done playing file /var/www/html/astpp/upload/pbx/SaintCyprusEnglishWelcome_.wav
  1409. 2025-01-03 15:07:22.693147 95.47% [DEBUG] switch_ivr_menu.c:378 waiting for 19/20 digits t/o 2000
  1410. 2025-01-03 15:07:24.713176 96.00% [DEBUG] switch_ivr_menu.c:425 digits '1'
  1411. 2025-01-03 15:07:24.713176 96.00% [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'Saint Cyprus Welcome Eng0' matched '1' param 'ivr Saint Cyprus Eng Options 0'
  1412. 2025-01-03 15:07:24.713176 96.00% [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
  1413. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 ivr(Saint Cyprus Eng Options 0)
  1414. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exit'
  1415. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-sub'
  1416. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
  1417. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
  1418. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-back'
  1419. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:746 switch_ivr_menu_stack_xml_add binding 'menu-top'
  1420. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:883 building menu 'Saint Cyprus Eng Options 0'
  1421. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '1'
  1422. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '2'
  1423. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '3'
  1424. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:968 binding menu action 'menu-exec-app' to '/^(\d{2,20})$/'
  1425. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_menu.c:486 Executing IVR menu Saint Cyprus Eng Options 0
  1426. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_core_file.c:444 File /var/www/html/astpp/upload/pbx/EnglishOptions_.wav sample rate 16000 doesn't match requested rate 8000
  1427. 2025-01-03 15:07:24.753117 96.00% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  1428. 2025-01-03 15:07:29.873182 95.67% [DEBUG] switch_rtp.c:7748 RTP RECV DTMF 1:960
  1429. 2025-01-03 15:07:29.873182 95.67% [INFO] switch_channel.c:528 RECV DTMF 1:960
  1430. 2025-01-03 15:07:29.873182 95.67% [DEBUG] switch_ivr_play_say.c:2010 done playing file /var/www/html/astpp/upload/pbx/EnglishOptions_.wav
  1431. 2025-01-03 15:07:29.873182 95.67% [DEBUG] switch_ivr_menu.c:378 waiting for 19/20 digits t/o 2000
  1432. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:425 digits '1'
  1433. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:580 IVR action on menu 'Saint Cyprus Eng Options 0' matched '1' param 'transfer 2000 XML ${domain_name}'
  1434. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:584 switch_ivr_menu_execute todo=[2]
  1435. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 transfer(2000 XML twisha.astppbilling.org)
  1436. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr.c:2288 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_EXECUTE -> CS_ROUTING
  1437. 2025-01-03 15:07:31.913161 95.60% [NOTICE] switch_ivr.c:2295 Transfer sofia/default/8888@twisha.astppbilling.org:5067 to XML[2000@twisha.astppbilling.org]
  1438. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:562 action regex [1] [/^(\d{2,20})$/] [0]
  1439. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  1440. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:562 action regex [1] [/^(\d{2,20})$/] [0]
  1441. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_ivr_menu.c:676 exit-sound '(null)'
  1442. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE going to sleep
  1443. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_ROUTING (Cur 1 Tot 60)
  1444. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_channel.c:2399 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change ACTIVE -> RINGING
  1445. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING
  1446. 2025-01-03 15:07:31.913161 95.60% [DEBUG] mod_sofia.c:158 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA ROUTING
  1447. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_core_state_machine.c:230 sofia/default/8888@twisha.astppbilling.org:5067 Standard ROUTING
  1448. 2025-01-03 15:07:31.913161 95.60% [INFO] mod_dialplan_xml.c:639 Processing 8888 <8888>->2000 in context twisha.astppbilling.org
  1449. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1450. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1451. 2025-01-03 15:07:31.913161 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  1452. Event-Name: REQUEST_PARAMS
  1453. Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  1454. FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  1455. FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  1456. FreeSWITCH-IPv4: 65.21.153.211
  1457. FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  1458. Event-Date-Local: 2025-01-03%2015%3A07%3A31
  1459. Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A31%20GMT
  1460. Event-Date-Timestamp: 1735916851913161
  1461. Event-Calling-File: mod_dialplan_xml.c
  1462. Event-Calling-Function: dialplan_xml_locate
  1463. Event-Calling-Line-Number: 610
  1464. Event-Sequence: 67495
  1465. Channel-State: CS_ROUTING
  1466. Channel-Call-State: RINGING
  1467. Channel-State-Number: 2
  1468. Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1469. Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1470. Call-Direction: inbound
  1471. Presence-Call-Direction: inbound
  1472. Channel-HIT-Dialplan: true
  1473. Channel-Presence-ID: 8888%40twisha.astppbilling.org
  1474. Channel-Call-UUID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1475. Answer-State: answered
  1476. Channel-Read-Codec-Name: PCMA
  1477. Channel-Read-Codec-Rate: 8000
  1478. Channel-Read-Codec-Bit-Rate: 64000
  1479. Channel-Write-Codec-Name: PCMA
  1480. Channel-Write-Codec-Rate: 8000
  1481. Channel-Write-Codec-Bit-Rate: 64000
  1482. Caller-Direction: inbound
  1483. Caller-Logical-Direction: inbound
  1484. Caller-Username: 8888
  1485. Caller-Dialplan: XML
  1486. Caller-Caller-ID-Name: 8888
  1487. Caller-Caller-ID-Number: 8888
  1488. Caller-Orig-Caller-ID-Name: 8888
  1489. Caller-Orig-Caller-ID-Number: 8888
  1490. Caller-Network-Addr: 103.238.108.187
  1491. Caller-ANI: 8888
  1492. Caller-Destination-Number: 2000
  1493. Caller-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1494. Caller-Source: mod_sofia
  1495. Caller-Transfer-Source: 1735916851%3A8679e780-ad0a-4454-b806-411777dd14fe%3Abl_xfer%3A2000/twisha.astppbilling.org/XML
  1496. Caller-Context: twisha.astppbilling.org
  1497. Caller-RDNIS: 77
  1498. Caller-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1499. Caller-Profile-Index: 3
  1500. Caller-Profile-Created-Time: 1735916851913161
  1501. Caller-Channel-Created-Time: 1735916839813169
  1502. Caller-Channel-Answered-Time: 1735916840013106
  1503. Caller-Channel-Progress-Time: 0
  1504. Caller-Channel-Progress-Media-Time: 0
  1505. Caller-Channel-Hangup-Time: 0
  1506. Caller-Channel-Transfer-Time: 0
  1507. Caller-Channel-Resurrect-Time: 0
  1508. Caller-Channel-Bridged-Time: 0
  1509. Caller-Channel-Last-Hold: 0
  1510. Caller-Channel-Hold-Accum: 0
  1511. Caller-Screen-Bit: true
  1512. Caller-Privacy-Hide-Name: false
  1513. Caller-Privacy-Hide-Number: false
  1514. variable_direction: inbound
  1515. variable_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1516. variable_session_id: 60
  1517. variable_sip_from_params: transport%3DUDP
  1518. variable_sip_from_user: 8888
  1519. variable_sip_from_port: 5067
  1520. variable_sip_from_uri: 8888%40twisha.astppbilling.org%3A5067
  1521. variable_sip_from_host: twisha.astppbilling.org
  1522. variable_video_media_flow: disabled
  1523. variable_text_media_flow: disabled
  1524. variable_channel_name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1525. variable_sip_local_network_addr: 65.21.153.211
  1526. variable_sip_network_ip: 103.238.108.187
  1527. variable_sip_network_port: 3736
  1528. variable_sip_invite_stamp: 1735916839813169
  1529. variable_sip_received_ip: 103.238.108.187
  1530. variable_sip_received_port: 3736
  1531. variable_sip_via_protocol: udp
  1532. variable_sip_authorized: true
  1533. variable_Event-Name: REQUEST_PARAMS
  1534. variable_Core-UUID: edf8bffe-4afe-4182-860d-7fe6c801b9f7
  1535. variable_FreeSWITCH-Hostname: ASHISH-DEVELOPMENT
  1536. variable_FreeSWITCH-Switchname: ASHISH-DEVELOPMENT
  1537. variable_FreeSWITCH-IPv4: 65.21.153.211
  1538. variable_FreeSWITCH-IPv6: 2a01%3A4f9%3Ac010%3Ad02c%3A%3A1
  1539. variable_Event-Date-Local: 2025-01-03%2015%3A07%3A19
  1540. variable_Event-Date-GMT: Fri,%2003%20Jan%202025%2015%3A07%3A19%20GMT
  1541. variable_Event-Date-Timestamp: 1735916839813169
  1542. variable_Event-Calling-File: sofia.c
  1543. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  1544. variable_Event-Calling-Line-Number: 10722
  1545. variable_Event-Sequence: 67339
  1546. variable_sip_number_alias: 8888
  1547. variable_sip_auth_username: 8888
  1548. variable_sip_auth_realm: twisha.astppbilling.org
  1549. variable_number_alias: 8888
  1550. variable_requested_user_name: 8888
  1551. variable_requested_domain_name: twisha.astppbilling.org
  1552. variable_user_context: default
  1553. variable_sipcall: true
  1554. variable_sip_user: 8888
  1555. variable_accountcode: 8719627029
  1556. variable_user_name: 8888
  1557. variable_sip_from_user_stripped: 8888
  1558. variable_sofia_profile_name: default
  1559. variable_sofia_profile_url: sip%3Amod_sofia%4065.21.153.211%3A5067
  1560. variable_recovery_profile_name: default
  1561. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  1562. variable_sip_req_params: transport%3DUDP
  1563. variable_sip_req_user: 0035726220818
  1564. variable_sip_req_port: 5067
  1565. variable_sip_req_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  1566. variable_sip_req_host: twisha.astppbilling.org
  1567. variable_sip_to_params: transport%3DUDP
  1568. variable_sip_to_user: 0035726220818
  1569. variable_sip_to_port: 5067
  1570. variable_sip_to_uri: 0035726220818%40twisha.astppbilling.org%3A5067
  1571. variable_sip_to_host: twisha.astppbilling.org
  1572. variable_sip_contact_params: transport%3DUDP
  1573. variable_sip_contact_user: 8888
  1574. variable_sip_contact_port: 3736
  1575. variable_sip_contact_uri: 8888%40103.238.108.187%3A3736
  1576. variable_sip_contact_host: 103.238.108.187
  1577. variable_sip_user_agent: Z%203.3.25608%20r25552
  1578. variable_sip_via_host: 103.238.108.187
  1579. variable_sip_via_port: 3736
  1580. variable_presence_id: 8888%40twisha.astppbilling.org
  1581. 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%203550%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
  1582. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  1583. variable_rtp_use_codec_string: PCMA,PCMU
  1584. variable_remote_video_media_flow: inactive
  1585. variable_remote_text_media_flow: inactive
  1586. variable_remote_audio_media_flow: sendrecv
  1587. variable_audio_media_flow: sendrecv
  1588. variable_rtp_audio_recv_pt: 8
  1589. variable_rtp_use_codec_name: PCMA
  1590. variable_rtp_use_codec_rate: 8000
  1591. variable_rtp_use_codec_ptime: 20
  1592. variable_rtp_use_codec_channels: 1
  1593. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  1594. variable_read_codec: PCMA
  1595. variable_original_read_codec: PCMA
  1596. variable_read_rate: 8000
  1597. variable_original_read_rate: 8000
  1598. variable_write_codec: PCMA
  1599. variable_write_rate: 8000
  1600. variable_dtmf_type: rfc2833
  1601. variable_timezone: Europe/Athens
  1602. variable_office_status: open
  1603. variable_extensions: 18
  1604. variable_DP_MATCH: 0035726220818_open
  1605. variable_no_answer_did_number: 0035726220818
  1606. variable_domain_name: twisha.astppbilling.org
  1607. variable_set_extensions: 18
  1608. variable_effective_caller_id_name: 8888
  1609. variable_effective_caller_id_number: 8888
  1610. variable_callstart: 2025-01-03%2015%3A07%3A19
  1611. variable_account_id: 77
  1612. variable_call_direction: inbound
  1613. variable_did_id: 75
  1614. variable_call_type: 11
  1615. variable_receiver_accid: 77
  1616. variable_origination_rates_did: ID%3A75%7CCODE%3A%5E0035726220818.*%7CDESTINATION%3APaphos%20Peyia%7CCONNECTIONCOST%3A0.00000%7CINCLUDEDSECONDS%3A1%7CCT%3A11%7CCOST%3A0%7CINC%3A1%7CINITIALBLOCK%3A1%7CRATEGROUP%3A0%7CMARKUP%3A20%7CCI%3A49%7CACCID%3A77
  1617. variable_transfer_history: ARRAY%3A%3A1735916839%3A6fe0b8d4-bf56-4fa9-835f-d6957fd6bbb2%3Abl_xfer%3A77/default/XML%7C%3A1735916851%3A8679e780-ad0a-4454-b806-411777dd14fe%3Abl_xfer%3A2000/twisha.astppbilling.org/XML
  1618. variable_did_user_domain: twisha.astppbilling.org
  1619. variable_continue_on_fail: TRUE
  1620. variable_ignore_early_media: true
  1621. variable_no_answer_flag: false
  1622. variable_did_calltype: 10
  1623. variable_did_extensions: 18
  1624. variable_ringback: /var/www/html/astpp//upload/pbx/OffHours_5_.wav
  1625. variable_module_name: pbx
  1626. variable_sip_h_P-call_type: custom_forward
  1627. variable_sip_h_P-Accountcode: 77
  1628. variable_no_answer_number: 22
  1629. variable_export_vars: did_user_domain,no_answer_number
  1630. variable_no_answer_call_type: ivr
  1631. variable_no_answer_call_type_value: 22
  1632. variable_opensips_flag: 1
  1633. variable_originate_disposition: no_key_press
  1634. variable_userinfo_id: 77
  1635. variable_variable_sip_to_host: twisha.astppbilling.org
  1636. variable_original_did_number: 77
  1637. variable_rtp_local_sdp_str: v%3D0%0D%0Ao%3DFreeSWITCH%201735894336%201735894337%20IN%20IP4%2065.21.153.211%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%2065.21.153.211%0D%0At%3D0%200%0D%0Am%3Daudio%2022504%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0Aa%3Dptime%3A20%0D%0Aa%3Dsendrecv%0D%0A
  1638. variable_local_media_ip: 65.21.153.211
  1639. variable_local_media_port: 22504
  1640. variable_advertised_media_ip: 65.21.153.211
  1641. variable_rtp_use_timer_name: soft
  1642. variable_rtp_use_pt: 8
  1643. variable_rtp_use_ssrc: 3414317903
  1644. variable_rtp_2833_send_payload: 101
  1645. variable_rtp_2833_recv_payload: 101
  1646. variable_remote_media_ip: 103.238.108.187
  1647. variable_remote_media_port: 3550
  1648. variable_endpoint_disposition: ANSWER
  1649. variable_sip_to_tag: vaFD7XcvKeXBg
  1650. variable_sip_from_tag: 95f04e47
  1651. variable_sip_cseq: 2
  1652. variable_sip_call_id: Njc5YWMyNWE0ZWYwYTRhZGFmMGUzOTY2YTE0MmEzZTY.
  1653. variable_sip_full_via: SIP/2.0/UDP%20103.238.108.187%3A3736%3Bbranch%3Dz9hG4bK-d8754z-37b5e0de8c521e2a-1---d8754z-
  1654. variable_sip_full_from: %3Csip%3A8888%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3D95f04e47
  1655. variable_sip_full_to: %3Csip%3A0035726220818%40twisha.astppbilling.org%3A5067%3Btransport%3DUDP%3E%3Btag%3DvaFD7XcvKeXBg
  1656. variable_ivr_menu_status: success
  1657. variable_playback_last_offset_pos: 41280
  1658. variable_playback_seconds: 6
  1659. variable_playback_ms: 6144
  1660. variable_playback_samples: 98304
  1661. variable_current_application_data: 2000%20XML%20twisha.astppbilling.org
  1662. variable_current_application: transfer
  1663. variable_max_forwards: 68
  1664. variable_transfer_source: 1735916851%3A8679e780-ad0a-4454-b806-411777dd14fe%3Abl_xfer%3A2000/twisha.astppbilling.org/XML
  1665. variable_call_uuid: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1666. Hunt-Direction: inbound
  1667. Hunt-Logical-Direction: inbound
  1668. Hunt-Username: 8888
  1669. Hunt-Dialplan: XML
  1670. Hunt-Caller-ID-Name: 8888
  1671. Hunt-Caller-ID-Number: 8888
  1672. Hunt-Orig-Caller-ID-Name: 8888
  1673. Hunt-Orig-Caller-ID-Number: 8888
  1674. Hunt-Network-Addr: 103.238.108.187
  1675. Hunt-ANI: 8888
  1676. Hunt-Destination-Number: 2000
  1677. Hunt-Unique-ID: 7babfb26-f1f6-42e3-8816-fc0e79624746
  1678. Hunt-Source: mod_sofia
  1679. Hunt-Transfer-Source: 1735916851%3A8679e780-ad0a-4454-b806-411777dd14fe%3Abl_xfer%3A2000/twisha.astppbilling.org/XML
  1680. Hunt-Context: twisha.astppbilling.org
  1681. Hunt-RDNIS: 77
  1682. Hunt-Channel-Name: sofia/default/8888%40twisha.astppbilling.org%3A5067
  1683. Hunt-Profile-Index: 3
  1684. Hunt-Profile-Created-Time: 1735916851913161
  1685. Hunt-Channel-Created-Time: 1735916839813169
  1686. Hunt-Channel-Answered-Time: 1735916840013106
  1687. Hunt-Channel-Progress-Time: 0
  1688. Hunt-Channel-Progress-Media-Time: 0
  1689. Hunt-Channel-Hangup-Time: 0
  1690. Hunt-Channel-Transfer-Time: 0
  1691. Hunt-Channel-Resurrect-Time: 0
  1692. Hunt-Channel-Bridged-Time: 0
  1693. Hunt-Channel-Last-Hold: 0
  1694. Hunt-Channel-Hold-Accum: 0
  1695. Hunt-Screen-Bit: true
  1696. Hunt-Privacy-Hide-Name: false
  1697. Hunt-Privacy-Hide-Number: false
  1698.  
  1699.  
  1700. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  1701. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  1702. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  1703. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  1704. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1705. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 2000
  1706. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :2000
  1707. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '2000' limit 1
  1708. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '2000' AND status=0 limit 1
  1709. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '2000' and status=0 LIMIT 1
  1710. 2025-01-03 15:07:31.913161 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FAXER] Custom Caller ID
  1711. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 8888 / 8888
  1712. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  1713. 2025-01-03 15:07:31.913161 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [user_domain] user_domaintwisha.astppbilling.org
  1714. 2025-01-03 15:07:31.913161 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  1715. 2025-01-03 15:07:31.913161 95.60% [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
  1716. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1717. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1718. 2025-01-03 15:07:31.913161 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2000
  1719. 2025-01-03 15:07:31.913161 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302000
  1720. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1721. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1722. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1723. 2025-01-03 15:07:31.913161 95.60% [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 ="00302000" LIMIT 1
  1724. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2000"  AND domains.domain="twisha.astppbilling.org" limit 1
  1725. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : local
  1726. 2025-01-03 15:07:31.913161 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 77]
  1727. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET get_acc_info] Query :SELECT count(id) as id FROM local_number WHERE number =2000
  1728. 2025-01-03 15:07:31.913161 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "77" AND deleted = 0 limit 1
  1729. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id : 1
  1730. 2025-01-03 15:07:31.953158 95.60% [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
  1731. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1732. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1733. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2000
  1734. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302000
  1735. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1736. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1737. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1738. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="00302000" AND (accountid = 0 OR status = 1) LIMIT 1
  1739. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 3
  1740. 2025-01-03 15:07:31.953158 95.60% [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
  1741. 2025-01-03 15:07:31.953158 95.60% [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 = '^2000.*' OR patterns = '^200.*' OR patterns = '^20.*' OR patterns = '^2.*' OR patterns ='--') AND accountid = 77 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1742. 2025-01-03 15:07:31.953158 95.60% [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 ="2000" AND A.accountid = '77' limit 1
  1743. 2025-01-03 15:07:31.953158 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 2000
  1744. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] DID Global Translation Id: 1
  1745. 2025-01-03 15:07:31.953158 95.60% [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
  1746. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1747. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....2000
  1748. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before Localization CLI/DST : 2000
  1749. 2025-01-03 15:07:31.953158 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After Localization CLI/DST : 00302000
  1750. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1751. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1752. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"1/00301,2/00302,6/00306,8/00308,+/00".....00302000
  1753. 2025-01-03 15:07:31.953158 95.60% [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 ="00302000" LIMIT 1
  1754. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2000"  AND domains.domain="twisha.astppbilling.org" limit 1
  1755. 2025-01-03 15:07:31.953158 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : local
  1756. 2025-01-03 15:07:31.953158 95.60% [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 = '2000' OR number = '200' OR number = '20' OR number = '2' OR number ='--') OR (number = '2000*' OR number = '200*' OR number = '20*' OR number = '2*' 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
  1757. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  1758. 2025-01-03 15:07:31.953158 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '2000' OR routing_prefix = '200' OR routing_prefix = '20' OR routing_prefix = '2' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  1759. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  1760. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 77
  1761. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 8719627029
  1762. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 30
  1763. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1764. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  1765. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 0
  1766. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  1767. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  1768. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Free Inbound : 1
  1769. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Charge Per Min : 0
  1770. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your30 balance Accountid 77 !!!
  1771. 2025-01-03 15:07:31.973126 95.60% [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 200
  1772. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 200 minutes
  1773. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="2000"  AND domains.domain="twisha.astppbilling.org" limit 1
  1774. 2025-01-03 15:07:31.973126 95.60% [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
  1775. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 200
  1776. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1777. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  1778. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : local
  1779. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 77 limit 1
  1780. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 168 limit 1
  1781. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [PBX] User Domaintwisha.astppbilling.org
  1782. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [LOCAL CALL] Recording Flag :1
  1783. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Starts
  1784. 2025-01-03 15:07:31.973126 95.60% [WARNING] switch_cpp.cpp:1465 [ASTPP] [FSXMLLOCAL] Caller ID Translation Ends
  1785. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  1786. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP ID : 168
  1787. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] [GET_ROUTING_INFO] Query :SELECT * from sip_device_routing WHERE sip_device_id = 168 limit 1
  1788. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :call_transfer_attended
  1789. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  1790. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] test123 :call_transfer
  1791. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  1792. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] Call Forwarding Flag : 1
  1793. 2025-01-03 15:07:31.973126 95.60% [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX_SIP_ROUTING] SIP Call Forwarding Disable
  1794. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [NOTIFY] START:
  1795. 2025-01-03 15:07:31.973126 95.60% [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  1796. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1797. <document type="freeswitch/xml">
  1798. <section name="dialplan" description="ASTPP Dialplan">
  1799. <context name="twisha.astppbilling.org">
  1800. <extension name="2000">
  1801. <condition field="destination_number" expression="2000">
  1802. <action application="set" data="effective_destination_number=2000"/>
  1803. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1804. <action application="set" data="bridge_pre_execute_bleg_data=+12000 normal_clearing"/>
  1805. <action application="set" data="callstart=2025-01-03 15:07:31"/>
  1806. <action application="set" data="hangup_after_bridge=true"/>
  1807. <action application="set" data="continue_on_fail=TRUE"/>
  1808. <action application="set" data="account_id=77"/>
  1809. <action application="set" data="parent_id=0"/>
  1810. <action application="set" data="entity_id=0"/>
  1811. <action application="set" data="call_processed=internal"/>
  1812. <action application="set" data="call_direction=local"/>
  1813. <action application="set" data="accountname=default"/>
  1814. <action application="set" data="filename1=astpp.pbx.lua"/>
  1815. <action application="set" data="origination_rates=ID:0|CODE:^2000.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:4|MARKUP:20|CI:0|ACCID:77"/>
  1816. <action application="set" data="original_caller_id_name=8888"/>
  1817. <action application="set" data="original_caller_id_number=8888"/>
  1818. <action application="limit" data="hash inbound 2000 1 !USER_BUSY" />
  1819. <action application="export" data="presence_data=||||||||||||LOCAL|||103.238.108.187"/>
  1820. <action application="set" data="effective_caller_id_name=8888"/>
  1821. <action application="set" data="effective_caller_id_number=8888"/>
  1822. <action application="set" data="calltype=LOCAL"/>
  1823. <action application="set" data="receiver_accid=77"/>
  1824. <action application="db" data="insert/pickup_any_group_${callgroup}/2000/${uuid}"/>
  1825. <action application="set" data="dialed_extension=transfer_call"/>
  1826. <action application="export" data="dialed_extension=transfer_call"/>
  1827. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  1828. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  1829. <action application="set" data="transfer_ringback=$${hold_music}"/>
  1830. <action application="set" data="hangup_after_bridge=true"/>
  1831. <action application="bridge" data="{sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=77}[leg_timeout=200 ] user/2000@twisha.astppbilling.org"/>
  1832. <action application="set" data="on_busy_flag=1"/>
  1833. <action application="set" data="on_busy_destination="/>
  1834. <action application="set" data="no_answer_flag=1"/>
  1835. <action application="set" data="no_answer_destination="/>
  1836. <action application="set" data="not_register_flag=1"/>
  1837. <action application="set" data="not_register_destination="/>
  1838. <action application="set" data="opensips_flag=1"/>
  1839. <action application="set" data="variable_sip_to_host=twisha.astppbilling.org"/>
  1840. <action application="set" data="opensips_domain=127.0.0.1"/>
  1841. <action application="set" data="leg_timeout=200"/>
  1842. <action application="set" data="userinfo_id=77"/>
  1843. <action application="set" data="sip_destination_number=2000"/>
  1844. <action application="set" data="did_number=2000"/>
  1845. <action application="set" data="user_domain=twisha.astppbilling.org"/>
  1846. <action application="lua" data="astpp/lib/pbx/astpp-sipdevice-routing.lua"/>
  1847. <condition field="${cond(${user_data 2000@${domain_name} param vm-enabled} == true ? YES : NO)}" expression="^YES$">
  1848. <action application="answer"/>
  1849. <action application="export" data="voicemail_alternate_greet_id=2000"/>
  1850. <action application="voicemail" data="default $${domain_name} 2000"/>
  1851. <anti-action application="hangup" data="${originate_disposition}"/>
  1852. </condition>
  1853. </condition>
  1854. </extension>
  1855. </context>
  1856. </section>
  1857. </document>
  1858. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 parsing [twisha.astppbilling.org->2000] continue=false
  1859. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [2000] destination_number(2000) =~ /2000/ break=on-false
  1860. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(effective_destination_number=2000)
  1861. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1862. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
  1863. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(callstart=2025-01-03 15:07:31)
  1864. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(hangup_after_bridge=true)
  1865. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(continue_on_fail=TRUE)
  1866. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(account_id=77)
  1867. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(parent_id=0)
  1868. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(entity_id=0)
  1869. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(call_processed=internal)
  1870. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(call_direction=local)
  1871. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(accountname=default)
  1872. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(filename1=astpp.pbx.lua)
  1873. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(origination_rates=ID:0|CODE:^2000.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:4|MARKUP:20|CI:0|ACCID:77)
  1874. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(original_caller_id_name=8888)
  1875. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(original_caller_id_number=8888)
  1876. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action limit(hash inbound 2000 1 !USER_BUSY)
  1877. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action export(presence_data=||||||||||||LOCAL|||103.238.108.187)
  1878. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(effective_caller_id_name=8888)
  1879. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(effective_caller_id_number=8888)
  1880. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(calltype=LOCAL)
  1881. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(receiver_accid=77)
  1882. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action db(insert/pickup_any_group_${callgroup}/2000/${uuid})
  1883. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(dialed_extension=transfer_call)
  1884. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action export(dialed_extension=transfer_call)
  1885. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1886. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1887. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(transfer_ringback=$${hold_music})
  1888. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(hangup_after_bridge=true)
  1889. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=77}[leg_timeout=200 ] user/2000@twisha.astppbilling.org)
  1890. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(on_busy_flag=1)
  1891. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(on_busy_destination=)
  1892. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_flag=1)
  1893. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(no_answer_destination=)
  1894. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(not_register_flag=1)
  1895. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(not_register_destination=)
  1896. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(opensips_flag=1)
  1897. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(variable_sip_to_host=twisha.astppbilling.org)
  1898. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(opensips_domain=127.0.0.1)
  1899. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(leg_timeout=200)
  1900. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(userinfo_id=77)
  1901. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(sip_destination_number=2000)
  1902. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(did_number=2000)
  1903. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action set(user_domain=twisha.astppbilling.org)
  1904. Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  1905. |--- Dialplan: Processing recursive conditions level:1 [2000_recur_1] require-nested=TRUE
  1906. |--- Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Regex (PASS) [2000_recur_1] ${cond(${user_data 2000@${domain_name} param vm-enabled} == true ? YES : NO)}(YES) =~ /^YES$/ break=on-false
  1907. |--- Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action answer()
  1908. |--- Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action export(voicemail_alternate_greet_id=2000)
  1909. |--- Dialplan: sofia/default/8888@twisha.astppbilling.org:5067 Action voicemail(default $${domain_name} 2000)
  1910. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_core_state_machine.c:281 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_ROUTING -> CS_EXECUTE
  1911. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_core_state_machine.c:640 (sofia/default/8888@twisha.astppbilling.org:5067) State ROUTING going to sleep
  1912. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_EXECUTE (Cur 1 Tot 60)
  1913. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_channel.c:2401 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change RINGING -> ACTIVE
  1914. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE
  1915. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_sofia.c:213 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA EXECUTE
  1916. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_core_state_machine.c:323 sofia/default/8888@twisha.astppbilling.org:5067 Standard EXECUTE
  1917. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(effective_destination_number=2000)
  1918. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [effective_destination_number]=[2000]
  1919. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(bridge_pre_execute_bleg_app=sched_hangup)
  1920. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1921. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(bridge_pre_execute_bleg_data=+12000 normal_clearing)
  1922. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [bridge_pre_execute_bleg_data]=[+12000 normal_clearing]
  1923. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(callstart=2025-01-03 15:07:31)
  1924. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [callstart]=[2025-01-03 15:07:31]
  1925. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(hangup_after_bridge=true)
  1926. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [hangup_after_bridge]=[true]
  1927. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(continue_on_fail=TRUE)
  1928. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [continue_on_fail]=[TRUE]
  1929. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(account_id=77)
  1930. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [account_id]=[77]
  1931. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(parent_id=0)
  1932. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [parent_id]=[0]
  1933. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(entity_id=0)
  1934. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [entity_id]=[0]
  1935. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(call_processed=internal)
  1936. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [call_processed]=[internal]
  1937. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(call_direction=local)
  1938. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [call_direction]=[local]
  1939. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(accountname=default)
  1940. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [accountname]=[default]
  1941. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(filename1=astpp.pbx.lua)
  1942. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [filename1]=[astpp.pbx.lua]
  1943. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(origination_rates=ID:0|CODE:^2000.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:4|MARKUP:20|CI:0|ACCID:77)
  1944. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [origination_rates]=[ID:0|CODE:^2000.*|DESTINATION:Local|CONNECTIONCOST:0|INCLUDEDSECONDS:0|CT:0|COST:0|INC:60|INITIALBLOCK:0|RATEGROUP:4|MARKUP:20|CI:0|ACCID:77]
  1945. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(original_caller_id_name=8888)
  1946. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [original_caller_id_name]=[8888]
  1947. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(original_caller_id_number=8888)
  1948. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [original_caller_id_number]=[8888]
  1949. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 limit(hash inbound 2000 1 !USER_BUSY)
  1950. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_limit.c:124 incr called: inbound_2000 max:1, interval:0
  1951. 2025-01-03 15:07:31.993128 95.60% [DEBUG] mod_hash.c:193 Usage for inbound_2000 is now 1/1
  1952. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 export(presence_data=||||||||||||LOCAL|||103.238.108.187)
  1953. 2025-01-03 15:07:31.993128 95.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [presence_data]=[||||||||||||LOCAL|||103.238.108.187]
  1954. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(effective_caller_id_name=8888)
  1955. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [effective_caller_id_name]=[8888]
  1956. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(effective_caller_id_number=8888)
  1957. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [effective_caller_id_number]=[8888]
  1958. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(calltype=LOCAL)
  1959. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [calltype]=[LOCAL]
  1960. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(receiver_accid=77)
  1961. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [receiver_accid]=[77]
  1962. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 db(insert/pickup_any_group_/2000/7babfb26-f1f6-42e3-8816-fc0e79624746)
  1963. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(dialed_extension=transfer_call)
  1964. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [dialed_extension]=[transfer_call]
  1965. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 export(dialed_extension=transfer_call)
  1966. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1334 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  1967. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  1968. 2025-01-03 15:07:32.013120 95.60% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  1969. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  1970. 2025-01-03 15:07:32.013120 95.60% [INFO] switch_ivr_async.c:4782 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  1971. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(transfer_ringback=local_stream://moh)
  1972. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [transfer_ringback]=[local_stream://moh]
  1973. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(hangup_after_bridge=true)
  1974. 2025-01-03 15:07:32.013120 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [hangup_after_bridge]=[true]
  1975. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 bridge({sip_invite_params=user=LOCAL,ignore_early_media=true,sip_h_P-call_type='custom_forward',sip_h_P-Accountcode=77}[leg_timeout=200 ] user/2000@twisha.astppbilling.org)
  1976. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1973 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change ACTIVE -> RING_WAIT
  1977. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [did_user_domain]=[twisha.astppbilling.org] to event
  1978. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [no_answer_number]=[22] to event
  1979. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||103.238.108.187] to event
  1980. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1981. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  1982. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_ivr_originate.c:2859 Parsing session specific variables
  1983. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [did_user_domain]=[twisha.astppbilling.org] to event
  1984. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [no_answer_number]=[22] to event
  1985. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [presence_data]=[||||||||||||LOCAL|||103.238.108.187] to event
  1986. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:1288 sofia/default/8888@twisha.astppbilling.org:5067 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  1987. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_ivr_originate.c:2297 Parsing global variables
  1988. 2025-01-03 15:07:32.013120 95.60% [NOTICE] switch_ivr_originate.c:3055 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
  1989. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 806 [USER_NOT_REGISTERED]
  1990. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_channel.c:2197 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change RING_WAIT -> ACTIVE
  1991. 2025-01-03 15:07:32.013120 95.60% [NOTICE] switch_ivr_originate.c:3055 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
  1992. 2025-01-03 15:07:32.013120 95.60% [DEBUG] switch_ivr_originate.c:4052 Originate Resulted in Error Cause: 806 [USER_NOT_REGISTERED]
  1993. 2025-01-03 15:07:32.033121 95.60% [INFO] mod_dptools.c:3635 Originate Failed.  Cause: USER_NOT_REGISTERED
  1994. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(on_busy_flag=1)
  1995. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [on_busy_flag]=[1]
  1996. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(on_busy_destination=)
  1997. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [on_busy_destination]=[UNDEF]
  1998. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_flag=1)
  1999. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_flag]=[1]
  2000. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(no_answer_destination=)
  2001. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [no_answer_destination]=[UNDEF]
  2002. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(not_register_flag=1)
  2003. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [not_register_flag]=[1]
  2004. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(not_register_destination=)
  2005. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [not_register_destination]=[UNDEF]
  2006. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(opensips_flag=1)
  2007. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [opensips_flag]=[1]
  2008. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(variable_sip_to_host=twisha.astppbilling.org)
  2009. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [variable_sip_to_host]=[twisha.astppbilling.org]
  2010. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(opensips_domain=127.0.0.1)
  2011. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [opensips_domain]=[127.0.0.1]
  2012. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(leg_timeout=200)
  2013. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [leg_timeout]=[200]
  2014. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(userinfo_id=77)
  2015. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [userinfo_id]=[77]
  2016. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(sip_destination_number=2000)
  2017. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [sip_destination_number]=[2000]
  2018. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(did_number=2000)
  2019. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [did_number]=[2000]
  2020. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 set(user_domain=twisha.astppbilling.org)
  2021. 2025-01-03 15:07:32.033121 95.60% [DEBUG] mod_dptools.c:1671 SET sofia/default/8888@twisha.astppbilling.org:5067 [user_domain]=[twisha.astppbilling.org]
  2022. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 lua(astpp/lib/pbx/astpp-sipdevice-routing.lua)
  2023. 2025-01-03 15:07:32.033121 95.60% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] This Is Last Dispositions USER_NOT_REGISTERED This Is SIP Number : 2000
  2024. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 answer()
  2025. 2025-01-03 15:07:32.033121 95.60% [NOTICE] switch_cpp.cpp:1465 [Astpp_SIP-Devices] Dialed User For Voicemail :2000
  2026. EXECUTE [depth=0] sofia/default/8888@twisha.astppbilling.org:5067 voicemail(default twisha.astppbilling.org 2000)
  2027. 2025-01-03 15:07:32.133195 95.60% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  2028. 2025-01-03 15:07:32.133195 95.60% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-person.wav] (en:en)
  2029. 2025-01-03 15:07:32.133195 95.60% [DEBUG] switch_ivr_play_say.c:262 Setting playback volume to 0
  2030. 2025-01-03 15:07:32.133195 95.60% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  2031. 2025-01-03 15:07:33.473182 95.43% [DEBUG] switch_ivr_play_say.c:2010 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-person.wav
  2032. 2025-01-03 15:07:33.593154 95.43% [DEBUG] switch_ivr_play_say.c:250 Handle say:[2000] (en:en)
  2033. 2025-01-03 15:07:33.593154 95.43% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  2034. 2025-01-03 15:07:35.793179 95.40% [DEBUG] switch_ivr_play_say.c:2010 done playing file file_string://digits/2.wav!digits/0.wav!digits/0.wav!digits/0.wav
  2035. 2025-01-03 15:07:35.913161 95.40% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-not_available.wav] (en:en)
  2036. 2025-01-03 15:07:35.913161 95.40% [DEBUG] switch_ivr_play_say.c:262 Setting playback volume to 0
  2037. 2025-01-03 15:07:35.913161 95.40% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  2038. 2025-01-03 15:07:36.893166 95.37% [DEBUG] switch_ivr_play_say.c:2010 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-not_available.wav
  2039. 2025-01-03 15:07:37.013205 95.37% [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
  2040. 2025-01-03 15:07:37.033162 95.37% [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-record_message.wav] (en:en)
  2041. 2025-01-03 15:07:37.033162 95.37% [DEBUG] switch_ivr_play_say.c:262 Setting playback volume to 0
  2042. 2025-01-03 15:07:37.033162 95.37% [DEBUG] switch_ivr_play_say.c:1561 Codec Activated L16@8000hz 1 channels 20ms
  2043. 2025-01-03 15:07:37.853180 95.30% [NOTICE] sofia.c:1065 Hangup sofia/default/8888@twisha.astppbilling.org:5067 [CS_EXECUTE] [NORMAL_CLEARING]
  2044. 2025-01-03 15:07:37.853180 95.30% [DEBUG] mod_hash.c:293 Usage for inbound_2000 is now 0
  2045. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_ivr_play_say.c:2010 done playing file /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
  2046. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_session.c:2979 sofia/default/8888@twisha.astppbilling.org:5067 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2047. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_cpp.cpp:1209 sofia/default/8888@twisha.astppbilling.org:5067 destroy/unlink session from object
  2048. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_session.c:2979 sofia/default/8888@twisha.astppbilling.org:5067 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2049. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:647 (sofia/default/8888@twisha.astppbilling.org:5067) State EXECUTE going to sleep
  2050. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_HANGUP (Cur 1 Tot 60)
  2051. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:844 (sofia/default/8888@twisha.astppbilling.org:5067) Callstate Change ACTIVE -> HANGUP
  2052. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8888@twisha.astppbilling.org:5067) State HANGUP
  2053. 2025-01-03 15:07:37.853180 95.30% [DEBUG] mod_sofia.c:469 Channel sofia/default/8888@twisha.astppbilling.org:5067 hanging up, cause: NORMAL_CLEARING
  2054. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:59 sofia/default/8888@twisha.astppbilling.org:5067 Standard HANGUP, cause: NORMAL_CLEARING
  2055. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:846 (sofia/default/8888@twisha.astppbilling.org:5067) State HANGUP going to sleep
  2056. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:616 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_HANGUP -> CS_REPORTING
  2057. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:581 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_REPORTING (Cur 1 Tot 60)
  2058. 2025-01-03 15:07:37.853180 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8888@twisha.astppbilling.org:5067) State REPORTING
  2059. 2025-01-03 15:07:37.853180 95.30% [INFO] mod_json_cdr.c:272 Process [7babfb26-f1f6-42e3-8816-fc0e79624746.cdr.json]
  2060. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:168 sofia/default/8888@twisha.astppbilling.org:5067 Standard REPORTING, cause: NORMAL_CLEARING
  2061. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:932 (sofia/default/8888@twisha.astppbilling.org:5067) State REPORTING going to sleep
  2062. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:607 (sofia/default/8888@twisha.astppbilling.org:5067) State Change CS_REPORTING -> CS_DESTROY
  2063. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_session.c:1744 Session 60 (sofia/default/8888@twisha.astppbilling.org:5067) Locked, Waiting on external entities
  2064. 2025-01-03 15:07:37.913114 95.30% [NOTICE] switch_core_session.c:1762 Session 60 (sofia/default/8888@twisha.astppbilling.org:5067) Ended
  2065. 2025-01-03 15:07:37.913114 95.30% [NOTICE] switch_core_session.c:1766 Close Channel sofia/default/8888@twisha.astppbilling.org:5067 [CS_DESTROY]
  2066. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:735 (sofia/default/8888@twisha.astppbilling.org:5067) Running State Change CS_DESTROY (Cur 0 Tot 60)
  2067. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8888@twisha.astppbilling.org:5067) State DESTROY
  2068. 2025-01-03 15:07:37.913114 95.30% [DEBUG] mod_sofia.c:380 sofia/default/8888@twisha.astppbilling.org:5067 SOFIA DESTROY
  2069. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:175 sofia/default/8888@twisha.astppbilling.org:5067 Standard DESTROY
  2070. 2025-01-03 15:07:37.913114 95.30% [DEBUG] switch_core_state_machine.c:745 (sofia/default/8888@twisha.astppbilling.org:5067) State DESTROY going to sleep