From mayur valand, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-05-25 13:56:27.117705 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.253 [4b83c479-123b-4eab-9b75-4a96c16733c9]
  2. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_NEW (Cur 9 Tot 24100)
  3. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.253 receiving invite from 185.249.40.253:5060 version: 1.10.5 -release-17-25569c1631 64bit
  4. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.253:0.
  5. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:10403 IP 185.249.40.253 Approved by acl "default[]". Access Granted.
  6. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [received][100]
  7. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7336 Remote SDP:
  8. v=0
  9. o=- 3909790917 1 IN IP4 185.249.40.253
  10. s=-
  11. c=IN IP4 185.249.40.253
  12. t=0 0
  13. m=audio 12962 RTP/AVP 8 96
  14. a=rtpmap:96 telephone-event/8000
  15.  
  16. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  17. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  18. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  19. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 96@8000
  20. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.253 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  21. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.253 Original read codec set to PCMA:8
  22. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 96@8000
  23. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf send payload to 96 recv payload to 96
  24. 2022-05-25 13:56:27.117705 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.253) State Change CS_NEW -> CS_INIT
  25. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.253) State NEW
  26. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_INIT (Cur 9 Tot 24100)
  27. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.253) State INIT
  28. 2022-05-25 13:56:27.117705 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.253 SOFIA INIT
  29. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.253 Standard INIT
  30. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.253) State Change CS_INIT -> CS_ROUTING
  31. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.253) State INIT going to sleep
  32. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_ROUTING (Cur 9 Tot 24100)
  33. 2022-05-25 13:56:27.117705 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.253) Callstate Change DOWN -> RINGING
  34. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.253) State ROUTING
  35. 2022-05-25 13:56:27.117705 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.253 SOFIA ROUTING
  36. 2022-05-25 13:56:27.117705 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.253 Standard ROUTING
  37. 2022-05-25 13:56:27.117705 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31855000149 in context default
  38. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  39. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  40. 2022-05-25 13:56:27.117705 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  41. Event-Name: REQUEST_PARAMS
  42. Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
  43. FreeSWITCH-Hostname: multitenant-1
  44. FreeSWITCH-Switchname: multitenant-1
  45. FreeSWITCH-IPv4: 185.249.40.236
  46. FreeSWITCH-IPv6: %3A%3A1
  47. Event-Date-Local: 2022-05-25%2013%3A56%3A27
  48. Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A27%20GMT
  49. Event-Date-Timestamp: 1653479787117705
  50. Event-Calling-File: mod_dialplan_xml.c
  51. Event-Calling-Function: dialplan_xml_locate
  52. Event-Calling-Line-Number: 608
  53. Event-Sequence: 1918446
  54. Channel-State: CS_ROUTING
  55. Channel-Call-State: RINGING
  56. Channel-State-Number: 2
  57. Channel-Name: sofia/default/31652033157%40185.249.40.253
  58. Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
  59. Call-Direction: inbound
  60. Presence-Call-Direction: inbound
  61. Channel-HIT-Dialplan: true
  62. Channel-Presence-ID: 31652033157%40185.249.40.253
  63. Channel-Call-UUID: 4b83c479-123b-4eab-9b75-4a96c16733c9
  64. Answer-State: ringing
  65. Channel-Read-Codec-Name: PCMA
  66. Channel-Read-Codec-Rate: 8000
  67. Channel-Read-Codec-Bit-Rate: 64000
  68. Channel-Write-Codec-Name: PCMA
  69. Channel-Write-Codec-Rate: 8000
  70. Channel-Write-Codec-Bit-Rate: 64000
  71. Caller-Direction: inbound
  72. Caller-Logical-Direction: inbound
  73. Caller-Username: 31652033157
  74. Caller-Dialplan: XML
  75. Caller-Caller-ID-Name: 31652033157
  76. Caller-Caller-ID-Number: 31652033157
  77. Caller-Orig-Caller-ID-Name: 31652033157
  78. Caller-Orig-Caller-ID-Number: 31652033157
  79. Caller-Network-Addr: 185.249.40.253
  80. Caller-ANI: 31652033157
  81. Caller-Destination-Number: 31855000149
  82. Caller-Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
  83. Caller-Source: mod_sofia
  84. Caller-Context: default
  85. Caller-Channel-Name: sofia/default/31652033157%40185.249.40.253
  86. Caller-Profile-Index: 1
  87. Caller-Profile-Created-Time: 1653479787117705
  88. Caller-Channel-Created-Time: 1653479787117705
  89. Caller-Channel-Answered-Time: 0
  90. Caller-Channel-Progress-Time: 0
  91. Caller-Channel-Progress-Media-Time: 0
  92. Caller-Channel-Hangup-Time: 0
  93. Caller-Channel-Transfer-Time: 0
  94. Caller-Channel-Resurrect-Time: 0
  95. Caller-Channel-Bridged-Time: 0
  96. Caller-Channel-Last-Hold: 0
  97. Caller-Channel-Hold-Accum: 0
  98. Caller-Screen-Bit: true
  99. Caller-Privacy-Hide-Name: false
  100. Caller-Privacy-Hide-Number: false
  101. variable_direction: inbound
  102. variable_uuid: 4b83c479-123b-4eab-9b75-4a96c16733c9
  103. variable_session_id: 24100
  104. variable_sip_from_user: 31652033157
  105. variable_sip_from_uri: 31652033157%40185.249.40.253
  106. variable_sip_from_host: 185.249.40.253
  107. variable_video_media_flow: disabled
  108. variable_text_media_flow: disabled
  109. variable_channel_name: sofia/default/31652033157%40185.249.40.253
  110. variable_sip_call_id: 0214A41E9E81400000123D66%40UDP_5060.sbc1.controlsbc.com
  111. variable_sip_local_network_addr: 185.249.40.236
  112. variable_sip_network_ip: 185.249.40.253
  113. variable_sip_network_port: 5060
  114. variable_sip_invite_stamp: 1653479787117705
  115. variable_sip_received_ip: 185.249.40.253
  116. variable_sip_received_port: 5060
  117. variable_sip_via_protocol: udp
  118. variable_sip_authorized: true
  119. variable_sip_acl_authed_by: default
  120. variable_sip_from_user_stripped: 31652033157
  121. variable_sip_from_tag: 94C5303033303330A541A002
  122. variable_sofia_profile_name: default
  123. variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
  124. variable_recovery_profile_name: default
  125. variable_sip_P-Asserted-Identity: 31652033157
  126. variable_sip_cid_type: pid
  127. variable_sip_full_route: %3Csip%3A185.249.40.236%3A5060%3Blr%3Btransport%3Dudp%3E
  128. variable_sip_full_via: SIP/2.0/UDP%20185.249.40.253%3A5060%3Bbranch%3Dz9hG4bK8FD3764D4433222D00C01F77C6C089B1%3Brport%3D5060
  129. variable_sip_from_display: 31652033157
  130. variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.253%3E%3Btag%3D94C5303033303330A541A002
  131. variable_sip_full_to: %3Csip%3A31855000149%40185.249.40.236%3E
  132. variable_sip_allow: INVITE,%20ACK,%20OPTIONS,%20BYE,%20CANCEL,%20REGISTER,%20INFO,%20UPDATE,%20PRACK,%20REFER,%20SUBSCRIBE,%20NOTIFY
  133. variable_sip_req_user: 31855000149
  134. variable_sip_req_port: 5060
  135. variable_sip_req_uri: 31855000149%40185.249.40.236%3A5060
  136. variable_sip_req_host: 185.249.40.236
  137. variable_sip_to_user: 31855000149
  138. variable_sip_to_uri: 31855000149%40185.249.40.236
  139. variable_sip_to_host: 185.249.40.236
  140. variable_sip_contact_user: 31652033157
  141. variable_sip_contact_port: 5060
  142. variable_sip_contact_uri: 31652033157%40185.249.40.253%3A5060
  143. variable_sip_contact_host: 185.249.40.253
  144. variable_sip_user_agent: TBSIP
  145. variable_sip_via_host: 185.249.40.253
  146. variable_sip_via_port: 5060
  147. variable_sip_via_rport: 5060
  148. variable_max_forwards: 62
  149. variable_presence_id: 31652033157%40185.249.40.253
  150. variable_sip_Privacy: none
  151. variable_sip_h_Diversion: %3Csip%3A31855000149%40185.249.40.253%3E%3Breason%3Dunknown%3Bcounter%3D1%3Bprivacy%3Doff
  152. variable_switch_r_sdp: v%3D0%0D%0Ao%3D-%203909790917%201%20IN%20IP4%20185.249.40.253%0D%0As%3D-%0D%0Ac%3DIN%20IP4%20185.249.40.253%0D%0At%3D0%200%0D%0Am%3Daudio%2012962%20RTP/AVP%208%2096%0D%0Aa%3Drtpmap%3A96%20telephone-event/8000%0D%0A
  153. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  154. variable_rtp_use_codec_string: PCMA,PCMU
  155. variable_remote_video_media_flow: inactive
  156. variable_remote_text_media_flow: inactive
  157. variable_remote_audio_media_flow: sendrecv
  158. variable_audio_media_flow: sendrecv
  159. variable_remote_media_ip: 185.249.40.253
  160. variable_remote_media_port: 12962
  161. variable_rtp_audio_recv_pt: 8
  162. variable_rtp_use_codec_name: PCMA
  163. variable_rtp_use_codec_rate: 8000
  164. variable_rtp_use_codec_ptime: 20
  165. variable_rtp_use_codec_channels: 1
  166. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  167. variable_read_codec: PCMA
  168. variable_original_read_codec: PCMA
  169. variable_read_rate: 8000
  170. variable_original_read_rate: 8000
  171. variable_write_codec: PCMA
  172. variable_write_rate: 8000
  173. variable_dtmf_type: rfc2833
  174. variable_endpoint_disposition: RECEIVED
  175. variable_call_uuid: 4b83c479-123b-4eab-9b75-4a96c16733c9
  176. Hunt-Direction: inbound
  177. Hunt-Logical-Direction: inbound
  178. Hunt-Username: 31652033157
  179. Hunt-Dialplan: XML
  180. Hunt-Caller-ID-Name: 31652033157
  181. Hunt-Caller-ID-Number: 31652033157
  182. Hunt-Orig-Caller-ID-Name: 31652033157
  183. Hunt-Orig-Caller-ID-Number: 31652033157
  184. Hunt-Network-Addr: 185.249.40.253
  185. Hunt-ANI: 31652033157
  186. Hunt-Destination-Number: 31855000149
  187. Hunt-Unique-ID: 4b83c479-123b-4eab-9b75-4a96c16733c9
  188. Hunt-Source: mod_sofia
  189. Hunt-Context: default
  190. Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.253
  191. Hunt-Profile-Index: 1
  192. Hunt-Profile-Created-Time: 1653479787117705
  193. Hunt-Channel-Created-Time: 1653479787117705
  194. Hunt-Channel-Answered-Time: 0
  195. Hunt-Channel-Progress-Time: 0
  196. Hunt-Channel-Progress-Media-Time: 0
  197. Hunt-Channel-Hangup-Time: 0
  198. Hunt-Channel-Transfer-Time: 0
  199. Hunt-Channel-Resurrect-Time: 0
  200. Hunt-Channel-Bridged-Time: 0
  201. Hunt-Channel-Last-Hold: 0
  202. Hunt-Channel-Hold-Accum: 0
  203. Hunt-Screen-Bit: true
  204. Hunt-Privacy-Hide-Name: false
  205. Hunt-Privacy-Hide-Number: false
  206.  
  207.  
  208. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  209. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  210. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  211. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  212. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  213. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31855000149
  214. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31855000149' limit 1
  215. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31855000149' AND status=0 limit 1
  216. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31855000149' and status=0 LIMIT 1
  217. 2022-05-25 13:56:27.117705 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  218. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31652033157 / 31652033157
  219. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1
  220. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : inbound
  221. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("185.249.40.253") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "31855000149"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  222. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 740489]
  223. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "740489" AND deleted = 0 limit 1
  224. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31855000149" AND (accountid = 0 OR status = 1) LIMIT 1
  225. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] Call Direction : inbound
  226. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PACKAGE_INFO] DID ACCOUNT ID : 160
  227. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [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 = '^31855000149.*' OR patterns = '^3185500014.*' OR patterns = '^318550001.*' OR patterns = '^31855000.*' OR patterns = '^3185500.*' OR patterns = '^318550.*' OR patterns = '^31855.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
  228. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" AND A.accountid = '231' limit 1
  229. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31855000149
  230. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1
  231. 2022-05-25 13:56:27.117705 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : inbound
  232. 2022-05-25 13:56:27.117705 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31855000149' OR number = '3185500014' OR number = '318550001' OR number = '31855000' OR number = '3185500' OR number = '318550' OR number = '31855' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31855000149*' OR number = '3185500014*' OR number = '318550001*' OR number = '31855000*' OR number = '3185500*' OR number = '318550*' OR number = '31855*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  233. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  234. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31855000149' OR routing_prefix = '3185500014' OR routing_prefix = '318550001' OR routing_prefix = '31855000' OR routing_prefix = '3185500' OR routing_prefix = '318550' OR routing_prefix = '31855' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  235. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  236. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 231
  237. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 740489
  238. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10000
  239. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  240. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 1
  241. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  242. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  243. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 1 AND status = 0
  244. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :inbound
  245. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [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 ="31855000149" LIMIT 1
  246. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : inbound
  247. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  248. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 43
  249. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  250. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  251. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00000
  252. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : 31855000149
  253. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 136
  254. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 231
  255. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  256. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10000 balance Accountid 231 !!!
  257. 2022-05-25 13:56:27.157595 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Call Is Free - Assigning Max Length  :: 100
  258. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  259. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] INB_FREE:TRUE
  260. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] free_inbound:1
  261. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 231 AND status=0 LIMIT 1
  262. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  263. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML:231
  264. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Userinfo XML:231
  265. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [userinfo] Actual CustomerInfo XML : 231
  266. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  267. 2022-05-25 13:56:27.157595 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] User Domain : 134271.yoursipcloud.com
  268. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  269. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  270. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  271. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : inbound
  272. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [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 = "42" AND accounts.status = 0
  273. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  274. 2022-05-25 13:56:27.157595 [WARNING] switch_cpp.cpp:1447 [ASTPP] [XML] User Domain : 134271.yoursipcloud.com
  275. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_accounts_info] Query :SELECT * FROM accounts WHERE id = 160  and status = 0 limit 1
  276. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [XML] Custom Function Name :: custom_inbound_7
  277. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : 7
  278. 2022-05-25 13:56:27.157595 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Type : Ring Group
  279. 2022-05-25 13:56:27.157595 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET RING GROUP INFO] Query :SELECT id as ringgroup_id,name as ringgroup_name,strategy as ringgroup_strategy,destinations as ringgroup_destinations,description as ringgroup_description,announcementid as ringgroup_announcementid,call_record as ringgroup_call_record,skip_busy as ringgroup_skip_busy,ringbackid as ringgroup_ringbackid,calleridname as ringgroup_calleridname,calleridnumber as ringgroup_calleridnumber,no_answer as ringgroup_no_answer,no_answer_call_type as no_answer_call_type,no_answer_call_type_value from pbx_ringgroup WHERE id = 42 and status = 0 LIMIT 1
  280. 2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  281. 2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] Final Count : 0===
  282. 2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_extensions_forwarding] Query :select sip_devices.id,sip_device_routing.call_forwarding_flag,sip_device_routing.call_forwarding_destination from sip_devices JOIN sip_device_routing ON sip_devices.id = sip_device_routing.sip_device_id where sip_devices.username = "100"
  283. 2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Recording Flag : 1
  284. 2022-05-25 13:56:27.177602 [INFO] switch_cpp.cpp:1447 [ASTPP] RingGroup Dlr Str : [sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|
  285. 2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [GET_RING_GROUP_INFO] Query :SELECT file_name from pbx_recording WHERE id = '' LIMIT 1
  286. 2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer_attended' limit 1
  287. 2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_action = 'call_transfer' limit 1
  288. 2022-05-25 13:56:27.177602 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  289. <document type="freeswitch/xml">
  290. <section name="dialplan" description="ASTPP Dialplan">
  291. <context name="default">
  292. <extension name="31855000149">
  293. <condition field="destination_number" expression="31855000149">
  294. <action application="set" data="effective_destination_number=31855000149"/>
  295. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  296. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  297. <action application="set" data="callstart=2022-05-25 11:56:27"/>
  298. <action application="set" data="hangup_after_bridge=true"/>
  299. <action application="set" data="continue_on_fail=TRUE"/>
  300. <action application="set" data="account_id=231"/>
  301. <action application="set" data="parent_id=0"/>
  302. <action application="set" data="entity_id=3"/>
  303. <action application="set" data="call_processed=internal"/>
  304. <action application="set" data="call_direction=inbound"/>
  305. <action application="set" data="accountname=SBC1.."/>
  306. <action application="set" data="filename1=astpp.pbx.lua"/>
  307. <action application="set" data="origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160"/>
  308. <action application="set" data="origination_rates=0"/>
  309. <action application="set" data="original_caller_id_name=31652033157"/>
  310. <action application="set" data="original_caller_id_number=31652033157"/>
  311. <action application="set" data="effective_caller_id_name=31652033157"/>
  312. <action application="set" data="effective_caller_id_number=31652033157"/>
  313. <action application="set" data="receiver_accid=160"/>
  314. <action application="export" data="domain_name=134271.yoursipcloud.com"/>
  315. <action application="export" data="sip_to_host=134271.yoursipcloud.com"/>
  316. <action application="export" data="presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253"/>
  317. <action application="export" data="call_type=7"/>
  318. <action application="set" data="did_calltype=7"/>
  319. <action application="set" data="did_extensions=42"/>
  320. <action application="set" data="sip_h_P-ring_timeout"=5"/>
  321. <action application="set" data="group_confirm_key=exec"/>
  322. <action application="set" data="group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua"/>
  323. <action application="set" data="ringback="/>
  324. <action application="set" data="module_name=pbx"/>
  325. <action application="db" data="insert/pickup_any_group_${callgroup}/42/${uuid}"/>
  326. <action application="set" data="dialed_extension=transfer_call"/>
  327. <action application="export" data="dialed_extension=transfer_call"/>
  328. <action application="bind_meta_app" data="2 b s execute_extension::transfer_call_2 XML default"/>
  329. <action application="bind_meta_app" data="3 b s execute_extension::transfer_call_3 XML default"/>
  330. <action application="export" data="ring_group_transfer=true"/>
  331. <action application="bridge" data="{sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|"/>
  332. <action application="set" data="original_did_number=31855000149"/>
  333. </condition>
  334. </extension>
  335. </context>
  336. </section>
  337. </document>
  338. Dialplan: sofia/default/31652033157@185.249.40.253 parsing [default->31855000149] continue=false
  339. Dialplan: sofia/default/31652033157@185.249.40.253 Regex (PASS) [31855000149] destination_number(31855000149) =~ /31855000149/ break=on-false
  340. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_destination_number=31855000149)
  341. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  342. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  343. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(callstart=2022-05-25 11:56:27)
  344. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(hangup_after_bridge=true)
  345. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(continue_on_fail=TRUE)
  346. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(account_id=231)
  347. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(parent_id=0)
  348. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(entity_id=3)
  349. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(call_processed=internal)
  350. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(call_direction=inbound)
  351. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(accountname=SBC1..)
  352. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(filename1=astpp.pbx.lua)
  353. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
  354. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(origination_rates=0)
  355. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_caller_id_name=31652033157)
  356. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_caller_id_number=31652033157)
  357. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_caller_id_name=31652033157)
  358. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(effective_caller_id_number=31652033157)
  359. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(receiver_accid=160)
  360. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(domain_name=134271.yoursipcloud.com)
  361. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(sip_to_host=134271.yoursipcloud.com)
  362. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253)
  363. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(call_type=7)
  364. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(did_calltype=7)
  365. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(did_extensions=42)
  366. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(sip_h_P-ring_timeout)
  367. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(group_confirm_key=exec)
  368. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  369. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(ringback=)
  370. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(module_name=pbx)
  371. Dialplan: sofia/default/31652033157@185.249.40.253 Action db(insert/pickup_any_group_${callgroup}/42/${uuid})
  372. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(dialed_extension=transfer_call)
  373. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(dialed_extension=transfer_call)
  374. Dialplan: sofia/default/31652033157@185.249.40.253 Action bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  375. Dialplan: sofia/default/31652033157@185.249.40.253 Action bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  376. Dialplan: sofia/default/31652033157@185.249.40.253 Action export(ring_group_transfer=true)
  377. Dialplan: sofia/default/31652033157@185.249.40.253 Action bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/${sofia_profile_name}/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  378. Dialplan: sofia/default/31652033157@185.249.40.253 Action set(original_did_number=31855000149)
  379. 2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.253) State Change CS_ROUTING -> CS_EXECUTE
  380. 2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.253) State ROUTING going to sleep
  381. 2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_EXECUTE (Cur 9 Tot 24100)
  382. 2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.253) State EXECUTE
  383. 2022-05-25 13:56:27.177602 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.253 SOFIA EXECUTE
  384. 2022-05-25 13:56:27.177602 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.253 Standard EXECUTE
  385. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_destination_number=31855000149)
  386. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_destination_number]=[31855000149]
  387. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(bridge_pre_execute_bleg_app=sched_hangup)
  388. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [bridge_pre_execute_bleg_app]=[sched_hangup]
  389. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  390. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  391. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(callstart=2022-05-25 11:56:27)
  392. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [callstart]=[2022-05-25 11:56:27]
  393. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(hangup_after_bridge=true)
  394. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [hangup_after_bridge]=[true]
  395. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(continue_on_fail=TRUE)
  396. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [continue_on_fail]=[TRUE]
  397. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(account_id=231)
  398. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [account_id]=[231]
  399. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(parent_id=0)
  400. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [parent_id]=[0]
  401. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(entity_id=3)
  402. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [entity_id]=[3]
  403. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(call_processed=internal)
  404. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [call_processed]=[internal]
  405. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(call_direction=inbound)
  406. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [call_direction]=[inbound]
  407. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(accountname=SBC1..)
  408. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [accountname]=[SBC1..]
  409. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(filename1=astpp.pbx.lua)
  410. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [filename1]=[astpp.pbx.lua]
  411. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(origination_rates_did=ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160)
  412. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [origination_rates_did]=[ID:43|CODE:^31855000149.*|DESTINATION:31855000149|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:7|COST:0.00000|INC:0|INITIALBLOCK:0|RATEGROUP:0|MARKUP:0|CI:136|ACCID:160]
  413. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(origination_rates=0)
  414. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [origination_rates]=[0]
  415. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(original_caller_id_name=31652033157)
  416. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [original_caller_id_name]=[31652033157]
  417. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(original_caller_id_number=31652033157)
  418. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [original_caller_id_number]=[31652033157]
  419. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_caller_id_name=31652033157)
  420. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_caller_id_name]=[31652033157]
  421. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(effective_caller_id_number=31652033157)
  422. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [effective_caller_id_number]=[31652033157]
  423. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(receiver_accid=160)
  424. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [receiver_accid]=[160]
  425. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(domain_name=134271.yoursipcloud.com)
  426. 2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [domain_name]=[134271.yoursipcloud.com]
  427. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(sip_to_host=134271.yoursipcloud.com)
  428. 2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [sip_to_host]=[134271.yoursipcloud.com]
  429. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(presence_data=x|||Roy(134271)|||||||||DID|||185.249.40.253)
  430. 2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.253]
  431. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(call_type=7)
  432. 2022-05-25 13:56:27.177602 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_type]=[7]
  433. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(did_calltype=7)
  434. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [did_calltype]=[7]
  435. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(did_extensions=42)
  436. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [did_extensions]=[42]
  437. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(sip_h_P-ring_timeout)
  438. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [sip_h_P-ring_timeout]=[UNDEF]
  439. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(group_confirm_key=exec)
  440. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [group_confirm_key]=[exec]
  441. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(group_confirm_file=lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  442. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [group_confirm_file]=[lua /usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua]
  443. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(ringback=)
  444. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [ringback]=[UNDEF]
  445. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(module_name=pbx)
  446. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [module_name]=[pbx]
  447. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 db(insert/pickup_any_group_/42/4b83c479-123b-4eab-9b75-4a96c16733c9)
  448. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 set(dialed_extension=transfer_call)
  449. 2022-05-25 13:56:27.177602 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.253 [dialed_extension]=[transfer_call]
  450. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(dialed_extension=transfer_call)
  451. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [dialed_extension]=[transfer_call]
  452. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bind_meta_app(2 b s execute_extension::transfer_call_2 XML default)
  453. 2022-05-25 13:56:27.197592 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *2 execute_extension::transfer_call_2 XML default
  454. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bind_meta_app(3 b s execute_extension::transfer_call_3 XML default)
  455. 2022-05-25 13:56:27.197592 [INFO] switch_ivr_async.c:4457 Bound B-Leg: *3 execute_extension::transfer_call_3 XML default
  456. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 export(ring_group_transfer=true)
  457. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [ring_group_transfer]=[true]
  458. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.253 bridge({sip_h_P-call_type='custom_forward'}[sip_h_p-call_type='custom_forward',sip_h_P-Accountcode=160,call_timeout=5,confirm=false,announcement=no_file,dialed_user=31854832191#,leg_timeout=5,leg_delay_start=0]sofia/default/31854832191@134271.yoursipcloud.com:5060|[sip_invite_params=user=local,absolute_codec_string=^^:PCMA:PCMU,sip_h_p-call_type='custom_forward',call_timeout=15,confirm=false,announcement=no_file,dialed_user=100,leg_timeout=15,leg_delay_start=5]user/100@134271.yoursipcloud.com|)
  459. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [domain_name]=[134271.yoursipcloud.com] to event
  460. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [sip_to_host]=[134271.yoursipcloud.com] to event
  461. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [presence_data]=[x|||Roy(134271)|||||||||DID|||185.249.40.253] to event
  462. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [call_type]=[7] to event
  463. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [dialed_extension]=[transfer_call] to event
  464. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.253 EXPORTING[export_vars] [ring_group_transfer]=[true] to event
  465. 2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  466. 2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  467. 2022-05-25 13:56:27.197592 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [d32ca908-0690-4186-a544-cfaf8abad35c]
  468. 2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_NEW -> CS_INIT
  469. 2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:3111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Setting leg timeout to 5
  470. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_INIT (Cur 10 Tot 24101)
  471. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT
  472. 2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:93 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA INIT
  473. 2022-05-25 13:56:27.197592 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191@134271.yoursipcloud.com:5060 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  474. Local SDP:
  475. v=0
  476. o=FreeSWITCH 1653451855 1653451856 IN IP4 185.249.40.236
  477. s=FreeSWITCH
  478. c=IN IP4 185.249.40.236
  479. t=0 0
  480. m=audio 27932 RTP/AVP 8 101
  481. a=rtpmap:8 PCMA/8000
  482. a=rtpmap:101 telephone-event/8000
  483. a=fmtp:101 0-16
  484. a=ptime:20
  485. a=sendrecv
  486.  
  487. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard INIT
  488. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_INIT -> CS_ROUTING
  489. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State INIT going to sleep
  490. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_ROUTING (Cur 10 Tot 24101)
  491. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING
  492. 2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:154 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA ROUTING
  493. 2022-05-25 13:56:27.197592 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  494. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State ROUTING going to sleep
  495. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_CONSUME_MEDIA (Cur 10 Tot 24101)
  496. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [calling][0]
  497. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA
  498. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State CONSUME_MEDIA going to sleep
  499. 2022-05-25 13:56:27.197592 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31652033157@185.249.40.236 [1c02af38-2cd4-40d4-9643-2338569bafab]
  500. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_NEW (Cur 11 Tot 24102)
  501. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:10280 sofia/default/31652033157@185.249.40.236 receiving invite from 185.249.40.236:5060 version: 1.10.5 -release-17-25569c1631 64bit
  502. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 185.249.40.236:0.
  503. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [received][100]
  504. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7336 Remote SDP:
  505. v=0
  506. o=FreeSWITCH 1653451855 1653451856 IN IP4 185.249.40.236
  507. s=FreeSWITCH
  508. c=IN IP4 185.249.40.236
  509. t=0 0
  510. m=audio 27932 RTP/AVP 8 101
  511. a=rtpmap:8 PCMA/8000
  512. a=rtpmap:101 telephone-event/8000
  513. a=fmtp:101 0-16
  514. a=ptime:20
  515.  
  516. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  517. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  518. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  519. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  520. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31652033157@185.249.40.236 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  521. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_codec.c:111 sofia/default/31652033157@185.249.40.236 Original read codec set to PCMA:8
  522. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  523. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_media.c:5911 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101 recv payload to 101
  524. 2022-05-25 13:56:27.197592 [DEBUG] sofia.c:7760 (sofia/default/31652033157@185.249.40.236) State Change CS_NEW -> CS_INIT
  525. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:604 (sofia/default/31652033157@185.249.40.236) State NEW
  526. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_INIT (Cur 11 Tot 24102)
  527. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT
  528. 2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:93 sofia/default/31652033157@185.249.40.236 SOFIA INIT
  529. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:40 sofia/default/31652033157@185.249.40.236 Standard INIT
  530. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31652033157@185.249.40.236) State Change CS_INIT -> CS_ROUTING
  531. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31652033157@185.249.40.236) State INIT going to sleep
  532. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_ROUTING (Cur 11 Tot 24102)
  533. 2022-05-25 13:56:27.197592 [DEBUG] switch_channel.c:2332 (sofia/default/31652033157@185.249.40.236) Callstate Change DOWN -> RINGING
  534. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING
  535. 2022-05-25 13:56:27.197592 [DEBUG] mod_sofia.c:154 sofia/default/31652033157@185.249.40.236 SOFIA ROUTING
  536. 2022-05-25 13:56:27.197592 [DEBUG] switch_core_state_machine.c:236 sofia/default/31652033157@185.249.40.236 Standard ROUTING
  537. 2022-05-25 13:56:27.197592 [INFO] mod_dialplan_xml.c:637 Processing 31652033157 <31652033157>->31854832191 in context default
  538. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  539. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  540. 2022-05-25 13:56:27.197592 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  541. Event-Name: REQUEST_PARAMS
  542. Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
  543. FreeSWITCH-Hostname: multitenant-1
  544. FreeSWITCH-Switchname: multitenant-1
  545. FreeSWITCH-IPv4: 185.249.40.236
  546. FreeSWITCH-IPv6: %3A%3A1
  547. Event-Date-Local: 2022-05-25%2013%3A56%3A27
  548. Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A27%20GMT
  549. Event-Date-Timestamp: 1653479787197592
  550. Event-Calling-File: mod_dialplan_xml.c
  551. Event-Calling-Function: dialplan_xml_locate
  552. Event-Calling-Line-Number: 608
  553. Event-Sequence: 1918543
  554. Channel-State: CS_ROUTING
  555. Channel-Call-State: RINGING
  556. Channel-State-Number: 2
  557. Channel-Name: sofia/default/31652033157%40185.249.40.236
  558. Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
  559. Call-Direction: inbound
  560. Presence-Call-Direction: inbound
  561. Channel-HIT-Dialplan: true
  562. Channel-Presence-ID: 31652033157%40185.249.40.236
  563. Channel-Call-UUID: 1c02af38-2cd4-40d4-9643-2338569bafab
  564. Answer-State: ringing
  565. Channel-Read-Codec-Name: PCMA
  566. Channel-Read-Codec-Rate: 8000
  567. Channel-Read-Codec-Bit-Rate: 64000
  568. Channel-Write-Codec-Name: PCMA
  569. Channel-Write-Codec-Rate: 8000
  570. Channel-Write-Codec-Bit-Rate: 64000
  571. Caller-Direction: inbound
  572. Caller-Logical-Direction: inbound
  573. Caller-Username: 31652033157
  574. Caller-Dialplan: XML
  575. Caller-Caller-ID-Name: 31652033157
  576. Caller-Caller-ID-Number: 31652033157
  577. Caller-Orig-Caller-ID-Name: 31652033157
  578. Caller-Orig-Caller-ID-Number: 31652033157
  579. Caller-Network-Addr: 185.249.40.236
  580. Caller-ANI: 31652033157
  581. Caller-Destination-Number: 31854832191
  582. Caller-Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
  583. Caller-Source: mod_sofia
  584. Caller-Context: default
  585. Caller-Channel-Name: sofia/default/31652033157%40185.249.40.236
  586. Caller-Profile-Index: 1
  587. Caller-Profile-Created-Time: 1653479787197592
  588. Caller-Channel-Created-Time: 1653479787197592
  589. Caller-Channel-Answered-Time: 0
  590. Caller-Channel-Progress-Time: 0
  591. Caller-Channel-Progress-Media-Time: 0
  592. Caller-Channel-Hangup-Time: 0
  593. Caller-Channel-Transfer-Time: 0
  594. Caller-Channel-Resurrect-Time: 0
  595. Caller-Channel-Bridged-Time: 0
  596. Caller-Channel-Last-Hold: 0
  597. Caller-Channel-Hold-Accum: 0
  598. Caller-Screen-Bit: true
  599. Caller-Privacy-Hide-Name: false
  600. Caller-Privacy-Hide-Number: false
  601. variable_direction: inbound
  602. variable_uuid: 1c02af38-2cd4-40d4-9643-2338569bafab
  603. variable_session_id: 24102
  604. variable_sip_from_user: 31652033157
  605. variable_sip_from_uri: 31652033157%40185.249.40.236
  606. variable_sip_from_host: 185.249.40.236
  607. variable_video_media_flow: disabled
  608. variable_text_media_flow: disabled
  609. variable_channel_name: sofia/default/31652033157%40185.249.40.236
  610. variable_sip_call_id: 8c77cbc5-56c4-123b-30a7-56465534f0d2
  611. variable_sip_local_network_addr: 185.249.40.236
  612. variable_sip_network_ip: 185.249.40.236
  613. variable_sip_network_port: 5060
  614. variable_sip_invite_stamp: 1653479787197592
  615. variable_sip_received_ip: 185.249.40.236
  616. variable_sip_received_port: 5060
  617. variable_sip_via_protocol: udp
  618. variable_sip_authorized: true
  619. variable_sip_looped_call: true
  620. variable_sip_from_user_stripped: 31652033157
  621. variable_sip_from_tag: aSD1N0Uee73vc
  622. variable_sofia_profile_name: default
  623. variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
  624. variable_recovery_profile_name: default
  625. variable_sip_P-Asserted-Identity: 31652033157
  626. variable_sip_cid_type: pid
  627. variable_sip_full_via: SIP/2.0/UDP%20185.249.40.236%3Brport%3D5060%3Bbranch%3Dz9hG4bK3aSj0BcyF2Xym
  628. variable_sip_from_display: 31652033157
  629. variable_sip_full_from: %2231652033157%22%20%3Csip%3A31652033157%40185.249.40.236%3E%3Btag%3DaSD1N0Uee73vc
  630. variable_sip_full_to: %3Csip%3A31854832191%40134271.yoursipcloud.com%3A5060%3E
  631. variable_sip_allow: INVITE,%20ACK,%20BYE,%20CANCEL,%20OPTIONS,%20MESSAGE,%20INFO,%20UPDATE,%20REGISTER,%20REFER,%20NOTIFY,%20PUBLISH,%20SUBSCRIBE
  632. variable_sip_req_user: 31854832191
  633. variable_sip_req_port: 5060
  634. variable_sip_req_uri: 31854832191%40134271.yoursipcloud.com%3A5060
  635. variable_sip_req_host: 134271.yoursipcloud.com
  636. variable_sip_to_user: 31854832191
  637. variable_sip_to_port: 5060
  638. variable_sip_to_uri: 31854832191%40134271.yoursipcloud.com%3A5060
  639. variable_sip_to_host: 134271.yoursipcloud.com
  640. variable_sip_contact_user: mod_sofia
  641. variable_sip_contact_port: 5060
  642. variable_sip_contact_uri: mod_sofia%40185.249.40.236%3A5060
  643. variable_sip_contact_host: 185.249.40.236
  644. variable_sip_user_agent: ASTPP
  645. variable_sip_via_host: 185.249.40.236
  646. variable_sip_via_rport: 5060
  647. variable_max_forwards: 61
  648. variable_presence_id: 31652033157%40185.249.40.236
  649. variable_sip_Privacy: none
  650. variable_sip_h_Diversion: %3Csip%3A31855000149%40185.249.40.253%3E%3Breason%3Dunknown%3Bcounter%3D1%3Bprivacy%3Doff
  651. variable_sip_h_P-Accountcode: 160
  652. variable_sip_h_P-call_type: custom_forward
  653. variable_switch_r_sdp: v%3D0%0D%0Ao%3DFreeSWITCH%201653451855%201653451856%20IN%20IP4%20185.249.40.236%0D%0As%3DFreeSWITCH%0D%0Ac%3DIN%20IP4%20185.249.40.236%0D%0At%3D0%200%0D%0Am%3Daudio%2027932%20RTP/AVP%208%20101%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
  654. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  655. variable_rtp_use_codec_string: PCMA,PCMU
  656. variable_remote_video_media_flow: inactive
  657. variable_remote_text_media_flow: inactive
  658. variable_remote_audio_media_flow: sendrecv
  659. variable_audio_media_flow: sendrecv
  660. variable_remote_media_ip: 185.249.40.236
  661. variable_remote_media_port: 27932
  662. variable_rtp_audio_recv_pt: 8
  663. variable_rtp_use_codec_name: PCMA
  664. variable_rtp_use_codec_rate: 8000
  665. variable_rtp_use_codec_ptime: 20
  666. variable_rtp_use_codec_channels: 1
  667. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  668. variable_read_codec: PCMA
  669. variable_original_read_codec: PCMA
  670. variable_read_rate: 8000
  671. variable_original_read_rate: 8000
  672. variable_write_codec: PCMA
  673. variable_write_rate: 8000
  674. variable_dtmf_type: rfc2833
  675. variable_endpoint_disposition: RECEIVED
  676. variable_call_uuid: 1c02af38-2cd4-40d4-9643-2338569bafab
  677. Hunt-Direction: inbound
  678. Hunt-Logical-Direction: inbound
  679. Hunt-Username: 31652033157
  680. Hunt-Dialplan: XML
  681. Hunt-Caller-ID-Name: 31652033157
  682. Hunt-Caller-ID-Number: 31652033157
  683. Hunt-Orig-Caller-ID-Name: 31652033157
  684. Hunt-Orig-Caller-ID-Number: 31652033157
  685. Hunt-Network-Addr: 185.249.40.236
  686. Hunt-ANI: 31652033157
  687. Hunt-Destination-Number: 31854832191
  688. Hunt-Unique-ID: 1c02af38-2cd4-40d4-9643-2338569bafab
  689. Hunt-Source: mod_sofia
  690. Hunt-Context: default
  691. Hunt-Channel-Name: sofia/default/31652033157%40185.249.40.236
  692. Hunt-Profile-Index: 1
  693. Hunt-Profile-Created-Time: 1653479787197592
  694. Hunt-Channel-Created-Time: 1653479787197592
  695. Hunt-Channel-Answered-Time: 0
  696. Hunt-Channel-Progress-Time: 0
  697. Hunt-Channel-Progress-Media-Time: 0
  698. Hunt-Channel-Hangup-Time: 0
  699. Hunt-Channel-Transfer-Time: 0
  700. Hunt-Channel-Resurrect-Time: 0
  701. Hunt-Channel-Bridged-Time: 0
  702. Hunt-Channel-Last-Hold: 0
  703. Hunt-Channel-Hold-Accum: 0
  704. Hunt-Screen-Bit: true
  705. Hunt-Privacy-Hide-Name: false
  706. Hunt-Privacy-Hide-Number: false
  707.  
  708.  
  709. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  710. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  711. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  712. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  713. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  714. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31854832191
  715. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31854832191' limit 1
  716. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31854832191' AND status=0 limit 1
  717. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31854832191' and status=0 LIMIT 1
  718. 2022-05-25 13:56:27.197592 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  719. 2022-05-25 13:56:27.197592 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31652033157 / 31652033157
  720. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [get_domain_info] Query :SELECT * FROM domains WHERE accountid = 160 limit 1
  721. 2022-05-25 13:56:27.197592 [WARNING] switch_cpp.cpp:1447 [ASTPP] [user_domain] user_domain134271.yoursipcloud.com
  722. 2022-05-25 13:56:27.197592 [DEBUG] switch_cpp.cpp:1447 [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 ="31854832191" LIMIT 1
  723. 2022-05-25 13:56:27.217609 [DEBUG] switch_cpp.cpp:1447 [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="31854832191"  AND domains.domain="134271.yoursipcloud.com" limit 1
  724. 2022-05-25 13:56:27.217609 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  725. 2022-05-25 13:56:27.217609 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 160]
  726. 2022-05-25 13:56:27.217609 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "160" AND deleted = 0 limit 1
  727. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 160 limit 1
  728. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31854832191" AND (accountid = 0 OR status = 1) LIMIT 1
  729. 2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] Localization Id: 1
  730. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [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
  731. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
  732. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31,+/".....31854832191
  733. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [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 = '^31854832191.*' OR patterns = '^3185483219.*' OR patterns = '^318548321.*' OR patterns = '^31854832.*' OR patterns = '^3185483.*' OR patterns = '^318548.*' OR patterns = '^31854.*' OR patterns = '^3185.*' OR patterns = '^318.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 160 ORDER BY LENGTH(PKGPTR.patterns) DESC
  734. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [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 ="31854832191" AND A.accountid = '160' limit 1
  735. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31854832191
  736. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [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 ="31854832191" LIMIT 1
  737. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [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="31854832191"  AND domains.domain="134271.yoursipcloud.com" limit 1
  738. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  739. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31854832191' OR number = '3185483219' OR number = '318548321' OR number = '31854832' OR number = '3185483' OR number = '318548' OR number = '31854' OR number = '3185' OR number = '318' OR number = '31' OR number = '3' OR number ='--') OR (number = '31854832191*' OR number = '3185483219*' OR number = '318548321*' OR number = '31854832*' OR number = '3185483*' OR number = '318548*' OR number = '31854*' OR number = '3185*' OR number = '318*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31652033157' OR number = '3165203315' OR number = '316520331' OR number = '31652033' OR number = '3165203' OR number = '316520' OR number = '31652' OR number = '3165' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31652033157*' OR number = '3165203315*' OR number = '316520331*' OR number = '31652033*' OR number = '3165203*' OR number = '316520*' OR number = '31652*' OR number = '3165*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  740. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  741. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31854832191' OR routing_prefix = '3185483219' OR routing_prefix = '318548321' OR routing_prefix = '31854832' OR routing_prefix = '3185483' OR routing_prefix = '318548' OR routing_prefix = '31854' OR routing_prefix = '3185' OR routing_prefix = '318' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 12 limit 1
  742. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  743. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 160
  744. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 134271
  745. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 10
  746. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  747. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 6
  748. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  749. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  750. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  751. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  752. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 6 AND status = 0
  753. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 6 OR accountid=160)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  754. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  755. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  756. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 8158
  757. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.07200
  758. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 1
  759. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.05400
  760. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Nederland special
  761. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  762. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 160
  763. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 0
  764. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  765. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  766. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your10 balance Accountid 160 !!!
  767. 2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  768. 2022-05-25 13:56:27.237615 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 12
  769. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "12" AND deleted = 0 limit 1
  770. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31854832191.*' OR blocked_patterns = '^3185483219.*' OR blocked_patterns = '^318548321.*' OR blocked_patterns = '^31854832.*' OR blocked_patterns = '^3185483.*' OR blocked_patterns = '^318548.*' OR blocked_patterns = '^31854.*' OR blocked_patterns = '^3185.*' OR blocked_patterns = '^318.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 12 limit 1
  771. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  772. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 12
  773. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 3847299300
  774. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 99616.3862
  775. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  776. 2022-05-25 13:56:27.237615 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  777. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  778. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  779. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  780. 2022-05-25 13:56:27.237615 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=12)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  781. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  782. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  783. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846856
  784. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  785. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  786. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00210
  787. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands 085 Personal Numbers
  788. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  789. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 12
  790. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  791. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  792. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  793. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your99616.3862 balance Accountid 12 !!!
  794. 2022-05-25 13:56:27.257611 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  795. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12
  796. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  797. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  798. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  799. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 8158
  800. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  801. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31854832191.*' OR pattern = '^3185483219.*' OR pattern = '^318548321.*' OR pattern = '^31854832.*' OR pattern = '^3185483.*' OR pattern = '^318548.*' OR pattern = '^31854.*' OR pattern = '^3185.*' OR pattern = '^318.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  802. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  803. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114263
  804. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3185.*
  805. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands 085 Personal Numbers
  806. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  807. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  808. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3185.*
  809. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  810. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  811. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  812. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  813. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  814. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
  815. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  816. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  817. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  818. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  819. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 160 AND status=0 LIMIT 1
  820. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  821. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  822. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  823. 2022-05-25 13:56:27.257611 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  824. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  825. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
  826. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  827. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31854832191
  828. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [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 ="31854832191" LIMIT 1
  829. 2022-05-25 13:56:27.257611 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  830. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  831. <document type="freeswitch/xml">
  832. <section name="dialplan" description="ASTPP Dialplan">
  833. <context name="default">
  834. <extension name="31854832191">
  835. <condition field="destination_number" expression="31854832191">
  836. <action application="set" data="effective_destination_number=31854832191"/>
  837. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  838. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  839. <action application="set" data="callstart=2022-05-25 11:56:27"/>
  840. <action application="set" data="hangup_after_bridge=true"/>
  841. <action application="set" data="continue_on_fail=TRUE"/>
  842. <action application="set" data="account_id=160"/>
  843. <action application="set" data="parent_id=12"/>
  844. <action application="set" data="entity_id=0"/>
  845. <action application="set" data="call_processed=internal"/>
  846. <action application="set" data="call_direction=outbound"/>
  847. <action application="set" data="accountname=default"/>
  848. <action application="set" data="filename1=astpp.pbx.lua"/>
  849. <action application="set" data="origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12"/>
  850. <action application="set" data="original_caller_id_name=31652033157"/>
  851. <action application="set" data="original_caller_id_number=31652033157"/>
  852. <action application="limit" data="db 160 user_160 10 "/>
  853. <action application="limit" data="hash CPS_160 CPS_user_160 1/1 "/>
  854.  
  855. <action application="set" data="effective_caller_id_name=31652033157"/>
  856. <action application="set" data="effective_caller_id_number=31652033157"/>
  857. <action application="set" data="calltype=STANDARD"/>
  858. <action application="set" data="termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
  859. <action application="set" data="trunk_id=4"/>
  860. <action application="set" data="provider_id=231"/>
  861. <action application="set" data="rate_flag=0"/>
  862. <action application="set" data="force_trunk_flag=8158"/>
  863. <action application="export" data="presence_data=trunk_id=4"/>
  864. <action application="set" data="intcall=0"/>
  865. <action application="export" data="presence_id=31854832191"/>
  866. <action application="export" data="presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers"/>
  867. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191"/>
  868. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191"/>
  869. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191"/>
  870. </condition>
  871. </extension>
  872. </context>
  873. </section>
  874. </document>
  875. Dialplan: sofia/default/31652033157@185.249.40.236 parsing [default->31854832191] continue=false
  876. Dialplan: sofia/default/31652033157@185.249.40.236 Regex (PASS) [31854832191] destination_number(31854832191) =~ /31854832191/ break=on-false
  877. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_destination_number=31854832191)
  878. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  879. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  880. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(callstart=2022-05-25 11:56:27)
  881. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(hangup_after_bridge=true)
  882. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(continue_on_fail=TRUE)
  883. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(account_id=160)
  884. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(parent_id=12)
  885. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(entity_id=0)
  886. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_processed=internal)
  887. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(call_direction=outbound)
  888. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(accountname=default)
  889. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(filename1=astpp.pbx.lua)
  890. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
  891. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_name=31652033157)
  892. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(original_caller_id_number=31652033157)
  893. Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(db 160 user_160 10 )
  894. Dialplan: sofia/default/31652033157@185.249.40.236 Action limit(hash CPS_160 CPS_user_160 1/1 )
  895. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_name=31652033157)
  896. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(effective_caller_id_number=31652033157)
  897. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(calltype=STANDARD)
  898. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  899. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(trunk_id=4)
  900. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(provider_id=231)
  901. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(rate_flag=0)
  902. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(force_trunk_flag=8158)
  903. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=trunk_id=4)
  904. Dialplan: sofia/default/31652033157@185.249.40.236 Action set(intcall=0)
  905. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_id=31854832191)
  906. Dialplan: sofia/default/31652033157@185.249.40.236 Action export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
  907. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  908. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31854832191)
  909. Dialplan: sofia/default/31652033157@185.249.40.236 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31854832191)
  910. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:287 (sofia/default/31652033157@185.249.40.236) State Change CS_ROUTING -> CS_EXECUTE
  911. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31652033157@185.249.40.236) State ROUTING going to sleep
  912. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_EXECUTE (Cur 11 Tot 24102)
  913. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE
  914. 2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:209 sofia/default/31652033157@185.249.40.236 SOFIA EXECUTE
  915. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:329 sofia/default/31652033157@185.249.40.236 Standard EXECUTE
  916. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_destination_number=31854832191)
  917. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_destination_number]=[31854832191]
  918. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_app=sched_hangup)
  919. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_app]=[sched_hangup]
  920. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  921. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  922. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(callstart=2022-05-25 11:56:27)
  923. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [callstart]=[2022-05-25 11:56:27]
  924. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(hangup_after_bridge=true)
  925. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [hangup_after_bridge]=[true]
  926. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(continue_on_fail=TRUE)
  927. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [continue_on_fail]=[TRUE]
  928. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(account_id=160)
  929. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [account_id]=[160]
  930. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(parent_id=12)
  931. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [parent_id]=[12]
  932. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(entity_id=0)
  933. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [entity_id]=[0]
  934. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_processed=internal)
  935. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_processed]=[internal]
  936. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(call_direction=outbound)
  937. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [call_direction]=[outbound]
  938. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(accountname=default)
  939. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [accountname]=[default]
  940. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(filename1=astpp.pbx.lua)
  941. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [filename1]=[astpp.pbx.lua]
  942. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(origination_rates=ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12)
  943. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [origination_rates]=[ID:8158|CODE:^3185.*|DESTINATION:Nederland special|CONNECTIONCOST:0.07200|INCLUDEDSECONDS:1|CT:|COST:0.05400|INC:60|INITIALBLOCK:60|RATEGROUP:6|MARKUP:0|CI:0|ACCID:160||ID:2846856|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00210|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:12]
  944. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_name=31652033157)
  945. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_name]=[31652033157]
  946. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(original_caller_id_number=31652033157)
  947. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [original_caller_id_number]=[31652033157]
  948. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(db 160 user_160 10 )
  949. 2022-05-25 13:56:27.257611 [DEBUG] switch_limit.c:124 incr called: 160_user_160 max:10, interval:0
  950. 2022-05-25 13:56:27.257611 [DEBUG] mod_db.c:194 Usage for 160_user_160 is now 1/10
  951. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 limit(hash CPS_160 CPS_user_160 1/1 )
  952. 2022-05-25 13:56:27.257611 [DEBUG] switch_limit.c:124 incr called: CPS_160_CPS_user_160 max:1, interval:1
  953. 2022-05-25 13:56:27.257611 [DEBUG] mod_hash.c:198 Usage for CPS_160_CPS_user_160 is now 1/1 for the last 1 seconds
  954. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_name=31652033157)
  955. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_name]=[31652033157]
  956. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(effective_caller_id_number=31652033157)
  957. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [effective_caller_id_number]=[31652033157]
  958. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(calltype=STANDARD)
  959. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [calltype]=[STANDARD]
  960. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(termination_rates=ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  961. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [termination_rates]=[ID:114263|CODE:^3185.*|DESTINATION:Netherlands 085 Personal Numbers|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00077|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
  962. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(trunk_id=4)
  963. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [trunk_id]=[4]
  964. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(provider_id=231)
  965. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [provider_id]=[231]
  966. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(rate_flag=0)
  967. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [rate_flag]=[0]
  968. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(force_trunk_flag=8158)
  969. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [force_trunk_flag]=[8158]
  970. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=trunk_id=4)
  971. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  972. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 set(intcall=0)
  973. 2022-05-25 13:56:27.257611 [DEBUG] mod_dptools.c:1672 SET sofia/default/31652033157@185.249.40.236 [intcall]=[0]
  974. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_id=31854832191)
  975. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31854832191]
  976. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 export(presence_data=x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers)
  977. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers]
  978. EXECUTE [depth=0] sofia/default/31652033157@185.249.40.236 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31854832191)
  979. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
  980. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_id]=[31854832191] to event
  981. 2022-05-25 13:56:27.257611 [DEBUG] switch_channel.c:1264 sofia/default/31652033157@185.249.40.236 EXPORTING[export_vars] [presence_data]=[x//12|||Roy(134271)|||^3185.* // Nederland special // 0.05400 |||SBCs // ^3185.* // Netherlands 085 Personal Numbers // 0.00077 // trunk_id=4|||STD|||185.249.40.236|||0.00210 // ^3185.* // Netherlands 085 Personal Numbers] to event
  982. 2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  983. 2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  984. 2022-05-25 13:56:27.257611 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31854832191 [5e830af5-3039-468c-8f7f-d94d1212c9a2]
  985. 2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:5089 (sofia/default/31854832191) State Change CS_NEW -> CS_INIT
  986. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_INIT (Cur 12 Tot 24103)
  987. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT
  988. 2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:93 sofia/default/31854832191 SOFIA INIT
  989. 2022-05-25 13:56:27.257611 [DEBUG] sofia_glue.c:1618 sofia/default/31854832191 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  990. Local SDP:
  991. v=0
  992. o=FreeSWITCH 1653458581 1653458582 IN IP4 185.249.40.236
  993. s=FreeSWITCH
  994. c=IN IP4 185.249.40.236
  995. t=0 0
  996. m=audio 21206 RTP/AVP 8 101
  997. a=rtpmap:8 PCMA/8000
  998. a=rtpmap:101 telephone-event/8000
  999. a=fmtp:101 0-16
  1000. a=ptime:20
  1001. a=sendrecv
  1002.  
  1003. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:40 sofia/default/31854832191 Standard INIT
  1004. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31854832191) State Change CS_INIT -> CS_ROUTING
  1005. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31854832191) State INIT going to sleep
  1006. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_ROUTING (Cur 12 Tot 24103)
  1007. 2022-05-25 13:56:27.257611 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [calling][0]
  1008. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING
  1009. 2022-05-25 13:56:27.257611 [DEBUG] mod_sofia.c:154 sofia/default/31854832191 SOFIA ROUTING
  1010. 2022-05-25 13:56:27.257611 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31854832191) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1011. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31854832191) State ROUTING going to sleep
  1012. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_CONSUME_MEDIA (Cur 12 Tot 24103)
  1013. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA
  1014. 2022-05-25 13:56:27.257611 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31854832191) State CONSUME_MEDIA going to sleep
  1015. 2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][180]
  1016. 2022-05-25 13:56:28.397657 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191!
  1017. 2022-05-25 13:56:28.397657 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191) Callstate Change DOWN -> RINGING
  1018. 2022-05-25 13:56:28.397657 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.236!
  1019. 2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][180]
  1020. 2022-05-25 13:56:28.397657 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.236!
  1021. 2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][180]
  1022. 2022-05-25 13:56:28.397657 [NOTICE] sofia.c:7437 Ring-Ready sofia/default/31854832191@134271.yoursipcloud.com:5060!
  1023. 2022-05-25 13:56:28.397657 [DEBUG] switch_channel.c:3437 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change DOWN -> RINGING
  1024. 2022-05-25 13:56:28.397657 [NOTICE] mod_sofia.c:2498 Ring-Ready sofia/default/31652033157@185.249.40.253!
  1025. 2022-05-25 13:56:28.397657 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [early][180]
  1026. 2022-05-25 13:56:28.397657 [NOTICE] switch_ivr_originate.c:556 Ring Ready sofia/default/31652033157@185.249.40.253!
  1027. 2022-05-25 13:56:28.797604 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191 entering state [proceeding][183]
  1028. 2022-05-25 13:56:28.797604 [DEBUG] sofia.c:7336 Remote SDP:
  1029. v=0
  1030. o=- 3909790923 1 IN IP4 185.249.40.253
  1031. s=-
  1032. c=IN IP4 185.249.40.253
  1033. t=0 0
  1034. m=audio 12966 RTP/AVP 8 101
  1035. a=rtpmap:101 telephone-event/8000
  1036. a=ptime:20
  1037.  
  1038. 2022-05-25 13:56:28.797604 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191!
  1039. 2022-05-25 13:56:28.797604 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191) Callstate Change RINGING -> EARLY
  1040. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1041. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1042. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1043. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1044. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191 Original read codec set to PCMA:8
  1045. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1046. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191 Set 2833 dtmf send payload to 101 recv payload to 101
  1047. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191] 185.249.40.236 port 21206 -> 185.249.40.253 port 12966 codec: 8 ms: 20
  1048. 2022-05-25 13:56:28.797604 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1049. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191 Set 2833 dtmf send payload to 101
  1050. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191 Set 2833 dtmf receive payload to 101
  1051. 2022-05-25 13:56:28.797604 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191 Set rtp dtmf delay to 40
  1052. 2022-05-25 13:56:28.817602 [INFO] switch_ivr_originate.c:3801 Sending early media
  1053. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.236] 185.249.40.236 port 21482 -> 185.249.40.236 port 27932 codec: 8 ms: 20
  1054. 2022-05-25 13:56:28.817602 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1055. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf send payload to 101
  1056. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.236 Set 2833 dtmf receive payload to 101
  1057. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.236 Set rtp dtmf delay to 40
  1058. 2022-05-25 13:56:28.817602 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1059. v=0
  1060. o=FreeSWITCH 1653458306 1653458307 IN IP4 185.249.40.236
  1061. s=FreeSWITCH
  1062. c=IN IP4 185.249.40.236
  1063. t=0 0
  1064. m=audio 21482 RTP/AVP 8 101
  1065. a=rtpmap:8 PCMA/8000
  1066. a=rtpmap:101 telephone-event/8000
  1067. a=fmtp:101 0-16
  1068. a=ptime:20
  1069. a=sendrecv
  1070.  
  1071. 2022-05-25 13:56:28.817602 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.236!
  1072. 2022-05-25 13:56:28.817602 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.236) Callstate Change RINGING -> EARLY
  1073. 2022-05-25 13:56:28.817602 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191]
  1074. 2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [early][183]
  1075. 2022-05-25 13:56:28.817602 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1076. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 24103)
  1077. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA
  1078. 2022-05-25 13:56:28.817602 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1079. 2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7326 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 entering state [proceeding][183]
  1080. 2022-05-25 13:56:28.817602 [DEBUG] sofia.c:7336 Remote SDP:
  1081. v=0
  1082. o=FreeSWITCH 1653458306 1653458307 IN IP4 185.249.40.236
  1083. s=FreeSWITCH
  1084. c=IN IP4 185.249.40.236
  1085. t=0 0
  1086. m=audio 21482 RTP/AVP 8 101
  1087. a=rtpmap:8 PCMA/8000
  1088. a=rtpmap:101 telephone-event/8000
  1089. a=fmtp:101 0-16
  1090. a=ptime:20
  1091.  
  1092. 2022-05-25 13:56:28.817602 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31854832191@134271.yoursipcloud.com:5060!
  1093. 2022-05-25 13:56:28.817602 [DEBUG] switch_channel.c:3565 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change RINGING -> EARLY
  1094. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1095. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1096. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1097. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31854832191@134271.yoursipcloud.com:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1098. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_codec.c:111 sofia/default/31854832191@134271.yoursipcloud.com:5060 Original read codec set to PCMA:8
  1099. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1100. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:5911 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101 recv payload to 101
  1101. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31854832191@134271.yoursipcloud.com:5060] 185.249.40.236 port 27932 -> 185.249.40.236 port 21482 codec: 8 ms: 20
  1102. 2022-05-25 13:56:28.817602 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1103. EXECUTE [depth=1] sofia/default/31854832191@134271.yoursipcloud.com:5060 lua(/usr/share/freeswitch/scripts/astpp/lib/pbx/astpp.confirm.lua)
  1104. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8977 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf send payload to 101
  1105. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:8984 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set 2833 dtmf receive payload to 101
  1106. 2022-05-25 13:56:28.817602 [DEBUG] switch_core_media.c:9007 sofia/default/31854832191@134271.yoursipcloud.com:5060 Set rtp dtmf delay to 40
  1107. 2022-05-25 13:56:28.817602 [NOTICE] switch_cpp.cpp:1447 [Astpp_Call-Ring Group]  Ring group confirm flag :false
  1108. 2022-05-25 13:56:28.817602 [DEBUG] switch_cpp.cpp:1191 sofia/default/31854832191@134271.yoursipcloud.com:5060 destroy/unlink session from object
  1109. 2022-05-25 13:56:28.837598 [INFO] switch_ivr_originate.c:3801 Sending early media
  1110. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31652033157@185.249.40.253] 185.249.40.236 port 20366 -> 185.249.40.253 port 12962 codec: 8 ms: 20
  1111. 2022-05-25 13:56:28.837598 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1112. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8977 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf send payload to 96
  1113. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:8984 sofia/default/31652033157@185.249.40.253 Set 2833 dtmf receive payload to 96
  1114. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_media.c:9007 sofia/default/31652033157@185.249.40.253 Set rtp dtmf delay to 40
  1115. 2022-05-25 13:56:28.837598 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1116. v=0
  1117. o=FreeSWITCH 1653459422 1653459423 IN IP4 185.249.40.236
  1118. s=FreeSWITCH
  1119. c=IN IP4 185.249.40.236
  1120. t=0 0
  1121. m=audio 20366 RTP/AVP 8 96
  1122. a=rtpmap:8 PCMA/8000
  1123. a=rtpmap:96 telephone-event/8000
  1124. a=fmtp:96 0-16
  1125. a=ptime:20
  1126. a=sendrecv
  1127.  
  1128. 2022-05-25 13:56:28.837598 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/31652033157@185.249.40.253!
  1129. 2022-05-25 13:56:28.837598 [DEBUG] switch_channel.c:3565 (sofia/default/31652033157@185.249.40.253) Callstate Change RINGING -> EARLY
  1130. 2022-05-25 13:56:28.837598 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31854832191@134271.yoursipcloud.com:5060]
  1131. 2022-05-25 13:56:28.837598 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [early][183]
  1132. 2022-05-25 13:56:28.837598 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1133. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_EXCHANGE_MEDIA (Cur 12 Tot 24103)
  1134. 2022-05-25 13:56:28.837598 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA
  1135. 2022-05-25 13:56:28.837598 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1136. 2022-05-25 13:56:28.897597 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1137. 2022-05-25 13:56:28.917595 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1138. 2022-05-25 13:56:28.997620 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191 Bridge execute app sched_hangup(+6000 normal_clearing)
  1139. 2022-05-25 13:56:29.017600 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31854832191@134271.yoursipcloud.com:5060 Bridge execute app sched_hangup(+6000 normal_clearing)
  1140. 2022-05-25 13:56:29.017600 [DEBUG] switch_ivr.c:632 sofia/default/31854832191 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1141. EXECUTE [depth=0] sofia/default/31854832191 sched_hangup(+6000 normal_clearing)
  1142. 2022-05-25 13:56:29.017600 [DEBUG] switch_scheduler.c:252 Added task 8733 switch_ivr_schedule_hangup (5e830af5-3039-468c-8f7f-d94d1212c9a2) to run at 1653485789
  1143. 2022-05-25 13:56:29.037595 [DEBUG] switch_ivr.c:632 sofia/default/31854832191@134271.yoursipcloud.com:5060 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1144. EXECUTE [depth=0] sofia/default/31854832191@134271.yoursipcloud.com:5060 sched_hangup(+6000 normal_clearing)
  1145. 2022-05-25 13:56:29.037595 [DEBUG] switch_scheduler.c:252 Added task 8734 switch_ivr_schedule_hangup (d32ca908-0690-4186-a544-cfaf8abad35c) to run at 1653485789
  1146. 2022-05-25 13:56:30.797647 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [7985166681@136056.yoursipcloud.com] from ip 143.178.159.127
  1147. 2022-05-25 13:56:31.857637 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [e176299e-d8cc-44c1-846c-7be9279cddcb]
  1148. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 24104)
  1149. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
  1150. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
  1151. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
  1152. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
  1153. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7336 Remote SDP:
  1154. v=0
  1155. o=root 1419672069 1419672069 IN IP4 213.144.239.110
  1156. s=Asterisk PBX 11.4.0
  1157. c=IN IP4 213.144.239.110
  1158. t=0 0
  1159. m=audio 12480 RTP/AVP 0 8 101
  1160. a=rtpmap:0 PCMU/8000
  1161. a=rtpmap:8 PCMA/8000
  1162. a=rtpmap:101 telephone-event/8000
  1163. a=fmtp:101 0-16
  1164. a=ptime:20
  1165.  
  1166. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1167. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1168. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1169. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1170. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1171. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1172. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1173. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1174. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0
  1175. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1176. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
  1177. 2022-05-25 13:56:31.857637 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
  1178. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
  1179. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 24104)
  1180. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
  1181. 2022-05-25 13:56:31.857637 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
  1182. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
  1183. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
  1184. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
  1185. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 24104)
  1186. 2022-05-25 13:56:31.857637 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
  1187. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
  1188. 2022-05-25 13:56:31.857637 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
  1189. 2022-05-25 13:56:31.857637 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
  1190. 2022-05-25 13:56:31.857637 [INFO] mod_dialplan_xml.c:637 Processing 31332030246 <31332030246>->31622434824 in context default
  1191. 2022-05-25 13:56:31.857637 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1192. 2022-05-25 13:56:31.857637 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1193. 2022-05-25 13:56:31.877593 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  1194. Event-Name: REQUEST_PARAMS
  1195. Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
  1196. FreeSWITCH-Hostname: multitenant-1
  1197. FreeSWITCH-Switchname: multitenant-1
  1198. FreeSWITCH-IPv4: 185.249.40.236
  1199. FreeSWITCH-IPv6: %3A%3A1
  1200. Event-Date-Local: 2022-05-25%2013%3A56%3A31
  1201. Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A31%20GMT
  1202. Event-Date-Timestamp: 1653479791857637
  1203. Event-Calling-File: mod_dialplan_xml.c
  1204. Event-Calling-Function: dialplan_xml_locate
  1205. Event-Calling-Line-Number: 608
  1206. Event-Sequence: 1918673
  1207. Channel-State: CS_ROUTING
  1208. Channel-Call-State: RINGING
  1209. Channel-State-Number: 2
  1210. Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1211. Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
  1212. Call-Direction: inbound
  1213. Presence-Call-Direction: inbound
  1214. Channel-HIT-Dialplan: true
  1215. Channel-Presence-ID: 183284%40213.144.239.110
  1216. Channel-Call-UUID: e176299e-d8cc-44c1-846c-7be9279cddcb
  1217. Answer-State: ringing
  1218. Channel-Read-Codec-Name: PCMU
  1219. Channel-Read-Codec-Rate: 8000
  1220. Channel-Read-Codec-Bit-Rate: 64000
  1221. Channel-Write-Codec-Name: PCMU
  1222. Channel-Write-Codec-Rate: 8000
  1223. Channel-Write-Codec-Bit-Rate: 64000
  1224. Caller-Direction: inbound
  1225. Caller-Logical-Direction: inbound
  1226. Caller-Username: 31332030246
  1227. Caller-Dialplan: XML
  1228. Caller-Caller-ID-Name: 31332030246
  1229. Caller-Caller-ID-Number: 31332030246
  1230. Caller-Orig-Caller-ID-Name: 31332030246
  1231. Caller-Orig-Caller-ID-Number: 31332030246
  1232. Caller-Network-Addr: 213.144.239.110
  1233. Caller-ANI: 31332030246
  1234. Caller-Destination-Number: 31622434824
  1235. Caller-Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
  1236. Caller-Source: mod_sofia
  1237. Caller-Context: default
  1238. Caller-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1239. Caller-Profile-Index: 1
  1240. Caller-Profile-Created-Time: 1653479791857637
  1241. Caller-Channel-Created-Time: 1653479791857637
  1242. Caller-Channel-Answered-Time: 0
  1243. Caller-Channel-Progress-Time: 0
  1244. Caller-Channel-Progress-Media-Time: 0
  1245. Caller-Channel-Hangup-Time: 0
  1246. Caller-Channel-Transfer-Time: 0
  1247. Caller-Channel-Resurrect-Time: 0
  1248. Caller-Channel-Bridged-Time: 0
  1249. Caller-Channel-Last-Hold: 0
  1250. Caller-Channel-Hold-Accum: 0
  1251. Caller-Screen-Bit: false
  1252. Caller-Privacy-Hide-Name: false
  1253. Caller-Privacy-Hide-Number: false
  1254. variable_direction: inbound
  1255. variable_uuid: e176299e-d8cc-44c1-846c-7be9279cddcb
  1256. variable_session_id: 24104
  1257. variable_sip_from_user: 183284
  1258. variable_sip_from_port: 9933
  1259. variable_sip_from_uri: 183284%40213.144.239.110%3A9933
  1260. variable_sip_from_host: 213.144.239.110
  1261. variable_video_media_flow: disabled
  1262. variable_text_media_flow: disabled
  1263. variable_channel_name: sofia/default/183284%40213.144.239.110%3A9933
  1264. variable_sip_call_id: 2357e09600b22ea617899df9308e5917%40213.144.239.110%3A9933
  1265. variable_sip_local_network_addr: 185.249.40.236
  1266. variable_sip_network_ip: 213.144.239.110
  1267. variable_sip_network_port: 9933
  1268. variable_sip_invite_stamp: 1653479791857637
  1269. variable_sip_received_ip: 213.144.239.110
  1270. variable_sip_received_port: 9933
  1271. variable_sip_via_protocol: udp
  1272. variable_sip_authorized: true
  1273. variable_sip_acl_authed_by: default
  1274. variable_sip_from_user_stripped: 183284
  1275. variable_sip_from_tag: as48cbde40
  1276. variable_sofia_profile_name: default
  1277. variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
  1278. variable_recovery_profile_name: default
  1279. variable_sip_Remote-Party-ID: %2231332030246%22%20%3Csip%3A31332030246%40213.144.239.110%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  1280. variable_sip_cid_type: rpid
  1281. variable_sip_full_via: SIP/2.0/UDP%20213.144.239.110%3A9933%3Bbranch%3Dz9hG4bK31915245%3Brport%3D9933
  1282. variable_sip_full_from: %3Csip%3A183284%40213.144.239.110%3A9933%3E%3Btag%3Das48cbde40
  1283. variable_sip_full_to: %3Csip%3A31622434824%40emolife138.yoursipcloud.com%3E
  1284. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  1285. variable_sip_req_user: 31622434824
  1286. variable_sip_req_uri: 31622434824%40emolife138.yoursipcloud.com
  1287. variable_sip_req_host: emolife138.yoursipcloud.com
  1288. variable_sip_to_user: 31622434824
  1289. variable_sip_to_uri: 31622434824%40emolife138.yoursipcloud.com
  1290. variable_sip_to_host: emolife138.yoursipcloud.com
  1291. variable_sip_contact_user: 183284
  1292. variable_sip_contact_port: 9933
  1293. variable_sip_contact_uri: 183284%40213.144.239.110%3A9933
  1294. variable_sip_contact_host: 213.144.239.110
  1295. variable_sip_user_agent: FPBX-2.11.0(11.4.0)
  1296. variable_sip_via_host: 213.144.239.110
  1297. variable_sip_via_port: 9933
  1298. variable_sip_via_rport: 9933
  1299. variable_max_forwards: 70
  1300. variable_presence_id: 183284%40213.144.239.110
  1301. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%201419672069%201419672069%20IN%20IP4%20213.144.239.110%0D%0As%3DAsterisk%20PBX%2011.4.0%0D%0Ac%3DIN%20IP4%20213.144.239.110%0D%0At%3D0%200%0D%0Am%3Daudio%2012480%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
  1302. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  1303. variable_rtp_use_codec_string: PCMA,PCMU
  1304. variable_remote_video_media_flow: inactive
  1305. variable_remote_text_media_flow: inactive
  1306. variable_remote_audio_media_flow: sendrecv
  1307. variable_audio_media_flow: sendrecv
  1308. variable_remote_media_ip: 213.144.239.110
  1309. variable_remote_media_port: 12480
  1310. variable_rtp_audio_recv_pt: 0
  1311. variable_rtp_use_codec_name: PCMU
  1312. variable_rtp_use_codec_rate: 8000
  1313. variable_rtp_use_codec_ptime: 20
  1314. variable_rtp_use_codec_channels: 1
  1315. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  1316. variable_read_codec: PCMU
  1317. variable_original_read_codec: PCMU
  1318. variable_read_rate: 8000
  1319. variable_original_read_rate: 8000
  1320. variable_write_codec: PCMU
  1321. variable_write_rate: 8000
  1322. variable_dtmf_type: rfc2833
  1323. variable_endpoint_disposition: RECEIVED
  1324. variable_call_uuid: e176299e-d8cc-44c1-846c-7be9279cddcb
  1325. Hunt-Direction: inbound
  1326. Hunt-Logical-Direction: inbound
  1327. Hunt-Username: 31332030246
  1328. Hunt-Dialplan: XML
  1329. Hunt-Caller-ID-Name: 31332030246
  1330. Hunt-Caller-ID-Number: 31332030246
  1331. Hunt-Orig-Caller-ID-Name: 31332030246
  1332. Hunt-Orig-Caller-ID-Number: 31332030246
  1333. Hunt-Network-Addr: 213.144.239.110
  1334. Hunt-ANI: 31332030246
  1335. Hunt-Destination-Number: 31622434824
  1336. Hunt-Unique-ID: e176299e-d8cc-44c1-846c-7be9279cddcb
  1337. Hunt-Source: mod_sofia
  1338. Hunt-Context: default
  1339. Hunt-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1340. Hunt-Profile-Index: 1
  1341. Hunt-Profile-Created-Time: 1653479791857637
  1342. Hunt-Channel-Created-Time: 1653479791857637
  1343. Hunt-Channel-Answered-Time: 0
  1344. Hunt-Channel-Progress-Time: 0
  1345. Hunt-Channel-Progress-Media-Time: 0
  1346. Hunt-Channel-Hangup-Time: 0
  1347. Hunt-Channel-Transfer-Time: 0
  1348. Hunt-Channel-Resurrect-Time: 0
  1349. Hunt-Channel-Bridged-Time: 0
  1350. Hunt-Channel-Last-Hold: 0
  1351. Hunt-Channel-Hold-Accum: 0
  1352. Hunt-Screen-Bit: false
  1353. Hunt-Privacy-Hide-Name: false
  1354. Hunt-Privacy-Hide-Number: false
  1355.  
  1356.  
  1357. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  1358. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  1359. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  1360. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  1361. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  1362. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 31622434824
  1363. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '31622434824' limit 1
  1364. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '31622434824' AND status=0 limit 1
  1365. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '31622434824' and status=0 LIMIT 1
  1366. 2022-05-25 13:56:31.877593 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  1367. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 31332030246 / 31332030246
  1368. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [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 ="31622434824" LIMIT 1
  1369. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [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="31622434824"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  1370. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  1371. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("213.144.239.110") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "31622434824"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  1372. 2022-05-25 13:56:31.877593 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
  1373. 2022-05-25 13:56:31.877593 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
  1374. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31622434824.*' OR blocked_patterns = '^3162243482.*' OR blocked_patterns = '^316224348.*' OR blocked_patterns = '^31622434.*' OR blocked_patterns = '^3162243.*' OR blocked_patterns = '^316224.*' OR blocked_patterns = '^31622.*' OR blocked_patterns = '^3162.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
  1375. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="31622434824" AND (accountid = 0 OR status = 1) LIMIT 1
  1376. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [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 = '^31622434824.*' OR patterns = '^3162243482.*' OR patterns = '^316224348.*' OR patterns = '^31622434.*' OR patterns = '^3162243.*' OR patterns = '^316224.*' OR patterns = '^31622.*' OR patterns = '^3162.*' OR patterns = '^316.*' OR patterns = '^31.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  1377. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [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 ="31622434824" AND A.accountid = '199' limit 1
  1378. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 31622434824
  1379. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [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 ="31622434824" LIMIT 1
  1380. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [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="31622434824"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  1381. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  1382. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '31622434824' OR number = '3162243482' OR number = '316224348' OR number = '31622434' OR number = '3162243' OR number = '316224' OR number = '31622' OR number = '3162' OR number = '316' OR number = '31' OR number = '3' OR number ='--') OR (number = '31622434824*' OR number = '3162243482*' OR number = '316224348*' OR number = '31622434*' OR number = '3162243*' OR number = '316224*' OR number = '31622*' OR number = '3162*' OR number = '316*' OR number = '31*' OR number = '3*' OR number ='--') OR (number = '31332030246' OR number = '3133203024' OR number = '313320302' OR number = '31332030' OR number = '3133203' OR number = '313320' OR number = '31332' OR number = '3133' OR number = '313' OR number = '31' OR number = '3' OR number ='--') OR (number = '31332030246*' OR number = '3133203024*' OR number = '313320302*' OR number = '31332030*' OR number = '3133203*' OR number = '313320*' OR number = '31332*' OR number = '3133*' OR number = '313*' OR number = '31*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  1383. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  1384. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '31622434824' OR routing_prefix = '3162243482' OR routing_prefix = '316224348' OR routing_prefix = '31622434' OR routing_prefix = '3162243' OR routing_prefix = '316224' OR routing_prefix = '31622' OR routing_prefix = '3162' OR routing_prefix = '316' OR routing_prefix = '31' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
  1385. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  1386. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
  1387. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
  1388. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 699.9759
  1389. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1390. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
  1391. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  1392. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  1393. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  1394. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  1395. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  1396. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1397. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  1398. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  1399. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 1597624
  1400. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  1401. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  1402. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.04100
  1403. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment :
  1404. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  1405. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 199
  1406. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID:
  1407. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  1408. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  1409. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your699.9759 balance Accountid 199 !!!
  1410. 2022-05-25 13:56:31.897594 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1411. 2022-05-25 13:56:31.897594 [NOTICE] switch_cpp.cpp:1447 [ASTPP] FINDING LIMIT FOR RESELLER: 189
  1412. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE id = "189" AND deleted = 0 limit 1
  1413. 2022-05-25 13:56:31.897594 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^31622434824.*' OR blocked_patterns = '^3162243482.*' OR blocked_patterns = '^316224348.*' OR blocked_patterns = '^31622434.*' OR blocked_patterns = '^3162243.*' OR blocked_patterns = '^316224.*' OR blocked_patterns = '^31622.*' OR blocked_patterns = '^3162.*' OR blocked_patterns = '^316.*' OR blocked_patterns = '^31.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 189 limit 1
  1414. 2022-05-25 13:56:31.897594 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Reseller Information ===================
  1415. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 189
  1416. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 510514
  1417. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 195.5258
  1418. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  1419. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 44
  1420. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  1421. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  1422. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  1423. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 44 OR accountid=189)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  1424. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  1425. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Rates Information ===================
  1426. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 2846859
  1427. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  1428. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Includedseconds : 0
  1429. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Cost : 0.00605
  1430. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Comment : Netherlands Mobile
  1431. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Country Id : 0
  1432. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Accid : 189
  1433. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk ID: 4
  1434. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Routing type:
  1435. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ================================================================
  1436. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Your195.5258 balance Accountid 189 !!!
  1437. 2022-05-25 13:56:31.917608 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  1438. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Reseller xml_user_rates : ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189
  1439. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  1440. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Lossless Routing Status : 1
  1441. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Call Max Length Duration : 100 minutes
  1442. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [DIALPLAN] User Rate ID : 1597624
  1443. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :4
  1444. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_CARRIER_RATES] Query :SELECT TK.id as trunk_id,TK.name as trunk_name,TK.codec,GW.name as path,GW.dialplan_variable,TK.provider_id,TR.init_inc,TK.status,TK.maxchannels,TK.cps,TK.leg_timeout,TR.pattern,TR.id as outbound_route_id,TR.connectcost,TR.comment,TR.includedseconds,TR.cost,TR.inc,TR.prepend,TR.strip,(select name from gateways where status=0 AND id = TK.failover_gateway_id) as path1,(select name from gateways where status=0 AND id = TK.failover_gateway_id1) as path2 FROM outbound_routes as TR,trunks as TK,gateways as GW WHERE GW.status=0 AND GW.id= TK.gateway_id AND TK.status=0 AND TK.id= TR.trunk_id AND (pattern = '^31622434824.*' OR pattern = '^3162243482.*' OR pattern = '^316224348.*' OR pattern = '^31622434.*' OR pattern = '^3162243.*' OR pattern = '^316224.*' OR pattern = '^31622.*' OR pattern = '^3162.*' OR pattern = '^316.*' OR pattern = '^31.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (4)  AND TR.effective_date <= UTC_TIMESTAMP() ORDER by FIELD(TR.trunk_id,4),LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC,TR.effective_date DESC
  1445. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Termination Rates Information ===================
  1446. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ID : 114266
  1447. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Code : ^3162.*
  1448. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Destination : Netherlands Mobile
  1449. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Connectcost : 0.00000
  1450. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Free Seconds : 0
  1451. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Prefix : ^3162.*
  1452. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Strip :
  1453. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Prepend :
  1454. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Carrier id : 4
  1455. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] carrier_name : SBC1
  1456. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] dialplan_variable :
  1457. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Failover gateway : MOR
  1458. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Vendor id : 231
  1459. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Max channels : 0
  1460. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] Trunk Name : SBCs
  1461. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================END OF TERMINATION RATES=======================
  1462. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 199 AND status=0 LIMIT 1
  1463. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP]  Maxlength : 100
  1464. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1465. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [XML] Customer Recording Flag : 1
  1466. 2022-05-25 13:56:31.917608 [INFO] switch_cpp.cpp:1447 [ASTPP] [PBX] Call Direction : outbound
  1467. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 44 AND status = 0
  1468. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from accounts where id = 231) AND status=0 limit 1
  1469. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,out_caller_id_terminate,number_terminate,dst_base_cid FROM localization WHERE id=(SELECT localization_id from trunks where id = 4) AND status=0 limit 1
  1470. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_LOCALIZATION] Query :"0/31".....31622434824
  1471. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [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 ="31622434824" LIMIT 1
  1472. 2022-05-25 13:56:31.917608 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Generated XML:
  1473. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  1474. <document type="freeswitch/xml">
  1475. <section name="dialplan" description="ASTPP Dialplan">
  1476. <context name="default">
  1477. <extension name="31622434824">
  1478. <condition field="destination_number" expression="31622434824">
  1479. <action application="set" data="effective_destination_number=31622434824"/>
  1480. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  1481. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  1482. <action application="set" data="callstart=2022-05-25 11:56:31"/>
  1483. <action application="set" data="hangup_after_bridge=true"/>
  1484. <action application="set" data="continue_on_fail=TRUE"/>
  1485. <action application="set" data="account_id=199"/>
  1486. <action application="set" data="parent_id=189"/>
  1487. <action application="set" data="entity_id=0"/>
  1488. <action application="set" data="call_processed=internal"/>
  1489. <action application="set" data="call_direction=outbound"/>
  1490. <action application="set" data="accountname=emopbx"/>
  1491. <action application="set" data="filename1=astpp.pbx.lua"/>
  1492. <action application="set" data="origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189"/>
  1493. <action application="set" data="original_caller_id_name=31332030246"/>
  1494. <action application="set" data="original_caller_id_number=31332030246"/>
  1495. <action application="limit" data="db 183284 user_183284 10 "/>
  1496. <action application="limit" data="db 510514 user_510514 20 "/><action application="limit" data="hash CPS_510514 CPS_user_510514 1/1 "/>
  1497. <action application="set" data="effective_caller_id_name=31332030246"/>
  1498. <action application="set" data="effective_caller_id_number=31332030246"/>
  1499. <action application="set" data="calltype=STANDARD"/>
  1500. <action application="set" data="termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231"/>
  1501. <action application="set" data="trunk_id=4"/>
  1502. <action application="set" data="provider_id=231"/>
  1503. <action application="set" data="rate_flag=0"/>
  1504. <action application="set" data="force_trunk_flag=1597624"/>
  1505. <action application="export" data="presence_data=trunk_id=4"/>
  1506. <action application="set" data="intcall=0"/>
  1507. <action application="export" data="presence_id=31622434824"/>
  1508. <action application="export" data="presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile"/>
  1509. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824"/>
  1510. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31622434824"/>
  1511. <action application="bridge" data="[leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31622434824"/>
  1512. </condition>
  1513. </extension>
  1514. </context>
  1515. </section>
  1516. </document>
  1517. Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->31622434824] continue=false
  1518. Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [31622434824] destination_number(31622434824) =~ /31622434824/ break=on-false
  1519. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=31622434824)
  1520. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  1521. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1522. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-25 11:56:31)
  1523. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(hangup_after_bridge=true)
  1524. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(continue_on_fail=TRUE)
  1525. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
  1526. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
  1527. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(entity_id=0)
  1528. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
  1529. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
  1530. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(accountname=emopbx)
  1531. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(filename1=astpp.pbx.lua)
  1532. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
  1533. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=31332030246)
  1534. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=31332030246)
  1535. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 183284 user_183284 10 )
  1536. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(db 510514 user_510514 20 )
  1537. Dialplan: sofia/default/183284@213.144.239.110:9933 Action limit(hash CPS_510514 CPS_user_510514 1/1 )
  1538. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_name=31332030246)
  1539. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_caller_id_number=31332030246)
  1540. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(calltype=STANDARD)
  1541. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  1542. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(trunk_id=4)
  1543. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(provider_id=231)
  1544. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(rate_flag=0)
  1545. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(force_trunk_flag=1597624)
  1546. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=trunk_id=4)
  1547. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(intcall=0)
  1548. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_id=31622434824)
  1549. Dialplan: sofia/default/183284@213.144.239.110:9933 Action export(presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile)
  1550. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824)
  1551. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/MOR/31622434824)
  1552. Dialplan: sofia/default/183284@213.144.239.110:9933 Action bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC2/31622434824)
  1553. 2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
  1554. 2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
  1555. 2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 24104)
  1556. 2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
  1557. 2022-05-25 13:56:31.917608 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
  1558. 2022-05-25 13:56:31.917608 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
  1559. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=31622434824)
  1560. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[31622434824]
  1561. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_app=sched_hangup)
  1562. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1563. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1564. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1565. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-25 11:56:31)
  1566. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-25 11:56:31]
  1567. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(hangup_after_bridge=true)
  1568. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [hangup_after_bridge]=[true]
  1569. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(continue_on_fail=TRUE)
  1570. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [continue_on_fail]=[TRUE]
  1571. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
  1572. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
  1573. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
  1574. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
  1575. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(entity_id=0)
  1576. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [entity_id]=[0]
  1577. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
  1578. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
  1579. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
  1580. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
  1581. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(accountname=emopbx)
  1582. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [accountname]=[emopbx]
  1583. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(filename1=astpp.pbx.lua)
  1584. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [filename1]=[astpp.pbx.lua]
  1585. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(origination_rates=ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189)
  1586. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [origination_rates]=[ID:1597624|CODE:^316.*|DESTINATION:|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.04100|INC:1|INITIALBLOCK:1|RATEGROUP:25|MARKUP:0|CI:0|ACCID:199||ID:2846859|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.00605|INC:1|INITIALBLOCK:1|RATEGROUP:44|MARKUP:0|CI:0|ACCID:189]
  1587. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=31332030246)
  1588. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[31332030246]
  1589. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=31332030246)
  1590. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[31332030246]
  1591. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 183284 user_183284 10 )
  1592. 2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: 183284_user_183284 max:10, interval:0
  1593. 2022-05-25 13:56:31.917608 [DEBUG] mod_db.c:194 Usage for 183284_user_183284 is now 3/10
  1594. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(db 510514 user_510514 20 )
  1595. 2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: 510514_user_510514 max:20, interval:0
  1596. 2022-05-25 13:56:31.917608 [DEBUG] mod_db.c:194 Usage for 510514_user_510514 is now 5/20
  1597. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 limit(hash CPS_510514 CPS_user_510514 1/1 )
  1598. 2022-05-25 13:56:31.917608 [DEBUG] switch_limit.c:124 incr called: CPS_510514_CPS_user_510514 max:1, interval:1
  1599. 2022-05-25 13:56:31.917608 [DEBUG] mod_hash.c:198 Usage for CPS_510514_CPS_user_510514 is now 1/1 for the last 1 seconds
  1600. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_name=31332030246)
  1601. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_name]=[31332030246]
  1602. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_caller_id_number=31332030246)
  1603. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_caller_id_number]=[31332030246]
  1604. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(calltype=STANDARD)
  1605. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [calltype]=[STANDARD]
  1606. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(termination_rates=ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231)
  1607. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [termination_rates]=[ID:114266|CODE:^3162.*|DESTINATION:Netherlands Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00065|INC:1|INITIALBLOCK:1|TRUNK:4|PROVIDER:231]
  1608. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(trunk_id=4)
  1609. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [trunk_id]=[4]
  1610. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(provider_id=231)
  1611. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [provider_id]=[231]
  1612. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(rate_flag=0)
  1613. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [rate_flag]=[0]
  1614. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(force_trunk_flag=1597624)
  1615. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [force_trunk_flag]=[1597624]
  1616. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=trunk_id=4)
  1617. 2022-05-25 13:56:31.917608 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=4]
  1618. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(intcall=0)
  1619. 2022-05-25 13:56:31.917608 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [intcall]=[0]
  1620. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_id=31622434824)
  1621. 2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[31622434824]
  1622. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 export(presence_data=x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile)
  1623. 2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile]
  1624. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 bridge([leg_timeout=0,absolute_codec_string=^^:PCMA]sofia/gateway/SBC1/31622434824)
  1625. 2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile] to event
  1626. 2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_id]=[31622434824] to event
  1627. 2022-05-25 13:56:31.937610 [DEBUG] switch_channel.c:1264 sofia/default/183284@213.144.239.110:9933 EXPORTING[export_vars] [presence_data]=[x//189|||emolife(183284)|||^316.* //  // 0.04100 |||SBCs // ^3162.* // Netherlands Mobile // 0.00065 // trunk_id=4|||STD|||213.144.239.110|||0.00605 // ^3162.* // Netherlands Mobile] to event
  1628. 2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:2242 Parsing global variables
  1629. 2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:2804 Parsing session specific variables
  1630. 2022-05-25 13:56:31.937610 [NOTICE] switch_channel.c:1118 New Channel sofia/default/31622434824 [54a21cfd-007a-4c35-9ee0-abaeb433fdc4]
  1631. 2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:5089 (sofia/default/31622434824) State Change CS_NEW -> CS_INIT
  1632. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_INIT (Cur 14 Tot 24105)
  1633. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31622434824) State INIT
  1634. 2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:93 sofia/default/31622434824 SOFIA INIT
  1635. 2022-05-25 13:56:31.937610 [DEBUG] sofia_glue.c:1618 sofia/default/31622434824 sending invite version: 1.10.5 -release-17-25569c1631 64bit
  1636. Local SDP:
  1637. v=0
  1638. o=FreeSWITCH 1653461973 1653461974 IN IP4 185.249.40.236
  1639. s=FreeSWITCH
  1640. c=IN IP4 185.249.40.236
  1641. t=0 0
  1642. m=audio 17818 RTP/AVP 8 101
  1643. a=rtpmap:8 PCMA/8000
  1644. a=rtpmap:101 telephone-event/8000
  1645. a=fmtp:101 0-16
  1646. a=ptime:20
  1647. a=sendrecv
  1648.  
  1649. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:40 sofia/default/31622434824 Standard INIT
  1650. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:48 (sofia/default/31622434824) State Change CS_INIT -> CS_ROUTING
  1651. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:628 (sofia/default/31622434824) State INIT going to sleep
  1652. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_ROUTING (Cur 14 Tot 24105)
  1653. 2022-05-25 13:56:31.937610 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [calling][0]
  1654. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31622434824) State ROUTING
  1655. 2022-05-25 13:56:31.937610 [DEBUG] mod_sofia.c:154 sofia/default/31622434824 SOFIA ROUTING
  1656. 2022-05-25 13:56:31.937610 [DEBUG] switch_ivr_originate.c:67 (sofia/default/31622434824) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1657. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:644 (sofia/default/31622434824) State ROUTING going to sleep
  1658. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_CONSUME_MEDIA (Cur 14 Tot 24105)
  1659. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31622434824) State CONSUME_MEDIA
  1660. 2022-05-25 13:56:31.937610 [DEBUG] switch_core_state_machine.c:663 (sofia/default/31622434824) State CONSUME_MEDIA going to sleep
  1661. 2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [proceeding][183]
  1662. 2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7336 Remote SDP:
  1663. v=0
  1664. o=- 3909790959 1 IN IP4 185.249.40.253
  1665. s=-
  1666. c=IN IP4 185.249.40.253
  1667. t=0 0
  1668. m=audio 13010 RTP/AVP 8 101
  1669. a=rtpmap:101 telephone-event/8000
  1670. a=ptime:20
  1671.  
  1672. 2022-05-25 13:56:32.417637 [NOTICE] sofia.c:7339 Pre-Answer sofia/default/31622434824!
  1673. 2022-05-25 13:56:32.417637 [DEBUG] switch_channel.c:3565 (sofia/default/31622434824) Callstate Change DOWN -> EARLY
  1674. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1675. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1676. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1677. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/31622434824 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  1678. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_codec.c:111 sofia/default/31622434824 Original read codec set to PCMA:8
  1679. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1680. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:5911 sofia/default/31622434824 Set 2833 dtmf send payload to 101 recv payload to 101
  1681. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/31622434824] 185.249.40.236 port 17818 -> 185.249.40.253 port 13010 codec: 8 ms: 20
  1682. 2022-05-25 13:56:32.417637 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1683. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8977 sofia/default/31622434824 Set 2833 dtmf send payload to 101
  1684. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8984 sofia/default/31622434824 Set 2833 dtmf receive payload to 101
  1685. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:9007 sofia/default/31622434824 Set rtp dtmf delay to 40
  1686. 2022-05-25 13:56:32.417637 [INFO] switch_ivr_originate.c:3801 Sending early media
  1687. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8663 AUDIO RTP [sofia/default/183284@213.144.239.110:9933] 185.249.40.236 port 22526 -> 213.144.239.110 port 12480 codec: 0 ms: 20
  1688. 2022-05-25 13:56:32.417637 [DEBUG] switch_rtp.c:4450 Starting timer [soft] 160 bytes per 20ms
  1689. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8977 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101
  1690. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:8984 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf receive payload to 101
  1691. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_media.c:9007 sofia/default/183284@213.144.239.110:9933 Set rtp dtmf delay to 40
  1692. 2022-05-25 13:56:32.417637 [DEBUG] mod_sofia.c:2593 Ring SDP:
  1693. v=0
  1694. o=FreeSWITCH 1653457266 1653457267 IN IP4 185.249.40.236
  1695. s=FreeSWITCH
  1696. c=IN IP4 185.249.40.236
  1697. t=0 0
  1698. m=audio 22526 RTP/AVP 0 101
  1699. a=rtpmap:0 PCMU/8000
  1700. a=rtpmap:101 telephone-event/8000
  1701. a=fmtp:101 0-16
  1702. a=ptime:20
  1703. a=sendrecv
  1704.  
  1705. 2022-05-25 13:56:32.417637 [NOTICE] mod_sofia.c:2596 Pre-Answer sofia/default/183284@213.144.239.110:9933!
  1706. 2022-05-25 13:56:32.417637 [DEBUG] switch_channel.c:3565 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> EARLY
  1707. 2022-05-25 13:56:32.417637 [DEBUG] switch_ivr_originate.c:3852 Originate Resulted in Success: [sofia/default/31622434824]
  1708. 2022-05-25 13:56:32.417637 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [early][183]
  1709. 2022-05-25 13:56:32.417637 [DEBUG] switch_ivr_bridge.c:1793 (sofia/default/31622434824) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA
  1710. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31622434824) Running State Change CS_EXCHANGE_MEDIA (Cur 14 Tot 24105)
  1711. 2022-05-25 13:56:32.417637 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31622434824) State EXCHANGE_MEDIA
  1712. 2022-05-25 13:56:32.417637 [DEBUG] mod_sofia.c:656 SOFIA EXCHANGE_MEDIA
  1713. 2022-05-25 13:56:32.497616 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1714. 2022-05-25 13:56:32.617605 [DEBUG] switch_ivr_bridge.c:655 sofia/default/31622434824 Bridge execute app sched_hangup(+6000 normal_clearing)
  1715. 2022-05-25 13:56:32.637618 [DEBUG] switch_ivr.c:632 sofia/default/31622434824 Command Execute [depth=0] sched_hangup(+6000 normal_clearing)
  1716. EXECUTE [depth=0] sofia/default/31622434824 sched_hangup(+6000 normal_clearing)
  1717. 2022-05-25 13:56:32.637618 [DEBUG] switch_scheduler.c:252 Added task 8735 switch_ivr_schedule_hangup (54a21cfd-007a-4c35-9ee0-abaeb433fdc4) to run at 1653485792
  1718. 2022-05-25 13:56:33.117695 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [proceeding][183]
  1719. 2022-05-25 13:56:33.117695 [DEBUG] sofia.c:7333 Duplicate SDP
  1720. v=0
  1721. o=- 3909790959 1 IN IP4 185.249.40.253
  1722. s=-
  1723. c=IN IP4 185.249.40.253
  1724. t=0 0
  1725. m=audio 13010 RTP/AVP 8 101
  1726. a=rtpmap:101 telephone-event/8000
  1727. a=ptime:20
  1728.  
  1729. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1730. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1731. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1732. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1733. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:5911 sofia/default/31622434824 Set 2833 dtmf send payload to 101 recv payload to 101
  1734. 2022-05-25 13:56:33.117695 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/31622434824.
  1735. 2022-05-25 13:56:33.117695 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  1736. 2022-05-25 13:56:34.797618 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'default' for [101@262239.yoursipcloud.com] from ip 86.93.235.249
  1737. 2022-05-25 13:56:36.977607 [NOTICE] sofia.c:1089 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
  1738. 2022-05-25 13:56:36.977607 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 4
  1739. 2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933]
  1740. 2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:820 sofia/default/183284@213.144.239.110:9933 ending bridge by request from write function
  1741. 2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31617484965]
  1742. 2022-05-25 13:56:36.977607 [NOTICE] switch_ivr_bridge.c:1029 Hangup sofia/default/31617484965 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  1743. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31617484965) State EXCHANGE_MEDIA going to sleep
  1744. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31617484965) Running State Change CS_HANGUP (Cur 14 Tot 24105)
  1745. 2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31617484965 skip receive message [UNBRIDGE] (channel is hungup already)
  1746. 2022-05-25 13:56:36.977607 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/183284@213.144.239.110:9933 skip receive message [UNBRIDGE] (channel is hungup already)
  1747. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31617484965) Callstate Change ACTIVE -> HANGUP
  1748. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  1749. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31617484965) State HANGUP
  1750. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
  1751. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 14 Tot 24105)
  1752. 2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:447 sofia/default/31617484965 Overriding SIP cause 480 with 200 from the other leg
  1753. 2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:453 Channel sofia/default/31617484965 hanging up, cause: NORMAL_CLEARING
  1754. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP
  1755. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
  1756. 2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
  1757. 2022-05-25 13:56:36.977607 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31617484965
  1758. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:60 sofia/default/31617484965 Standard HANGUP, cause: NORMAL_CLEARING
  1759. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31617484965) State HANGUP going to sleep
  1760. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31617484965) State Change CS_HANGUP -> CS_REPORTING
  1761. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31617484965) Running State Change CS_REPORTING (Cur 14 Tot 24105)
  1762. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31617484965) State REPORTING
  1763. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
  1764. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
  1765. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
  1766. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 14 Tot 24105)
  1767. 2022-05-25 13:56:36.977607 [INFO] mod_json_cdr.c:271 Process [f409fbe6-9089-41b9-a427-cd788021f896.cdr.json]
  1768. 2022-05-25 13:56:36.977607 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
  1769. 2022-05-25 13:56:36.977607 [INFO] mod_json_cdr.c:271 Process [8621f8ab-44e9-4f90-a8c0-8c24640806c3.cdr.json]
  1770. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:174 sofia/default/31617484965 Standard REPORTING, cause: NORMAL_CLEARING
  1771. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31617484965) State REPORTING going to sleep
  1772. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31617484965) State Change CS_REPORTING -> CS_DESTROY
  1773. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_session.c:1726 Session 24085 (sofia/default/31617484965) Locked, Waiting on external entities
  1774. 2022-05-25 13:56:36.997609 [NOTICE] switch_core_session.c:1744 Session 24085 (sofia/default/31617484965) Ended
  1775. 2022-05-25 13:56:36.997609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31617484965 [CS_DESTROY]
  1776. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31617484965) Running State Change CS_DESTROY (Cur 13 Tot 24105)
  1777. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31617484965) State DESTROY
  1778. 2022-05-25 13:56:36.997609 [DEBUG] mod_sofia.c:364 sofia/default/31617484965 SOFIA DESTROY
  1779. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:181 sofia/default/31617484965 Standard DESTROY
  1780. 2022-05-25 13:56:36.997609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31617484965) State DESTROY going to sleep
  1781. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
  1782. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
  1783. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
  1784. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_session.c:1726 Session 24084 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
  1785. 2022-05-25 13:56:37.017636 [NOTICE] switch_core_session.c:1744 Session 24084 (sofia/default/183284@213.144.239.110:9933) Ended
  1786. 2022-05-25 13:56:37.017636 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
  1787. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 12 Tot 24105)
  1788. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
  1789. 2022-05-25 13:56:37.017636 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
  1790. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
  1791. 2022-05-25 13:56:37.017636 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
  1792. 2022-05-25 13:56:37.137621 [DEBUG] switch_scheduler.c:147 Deleting task 8727 switch_ivr_schedule_hangup (f409fbe6-9089-41b9-a427-cd788021f896)
  1793. 2022-05-25 13:56:38.297604 [NOTICE] switch_channel.c:1118 New Channel sofia/default/183284@213.144.239.110:9933 [7e8679f5-8667-4858-9aeb-157897008635]
  1794. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_NEW (Cur 13 Tot 24106)
  1795. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10280 sofia/default/183284@213.144.239.110:9933 receiving invite from 213.144.239.110:9933 version: 1.10.5 -release-17-25569c1631 64bit
  1796. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10374 verifying acl "default" for ip/port 213.144.239.110:0.
  1797. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:10403 IP 213.144.239.110 Approved by acl "default[]". Access Granted.
  1798. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [received][100]
  1799. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7336 Remote SDP:
  1800. v=0
  1801. o=root 2070521491 2070521491 IN IP4 213.144.239.110
  1802. s=Asterisk PBX 11.4.0
  1803. c=IN IP4 213.144.239.110
  1804. t=0 0
  1805. m=audio 13082 RTP/AVP 0 8 101
  1806. a=rtpmap:0 PCMU/8000
  1807. a=rtpmap:8 PCMA/8000
  1808. a=rtpmap:101 telephone-event/8000
  1809. a=fmtp:101 0-16
  1810. a=ptime:20
  1811.  
  1812. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1813. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1814. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  1815. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  1816. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5649 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  1817. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5594 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  1818. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5510 Set telephone-event payload to 101@8000
  1819. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:3839 Set Codec sofia/default/183284@213.144.239.110:9933 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
  1820. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_codec.c:111 sofia/default/183284@213.144.239.110:9933 Original read codec set to PCMU:0
  1821. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5853 Set telephone-event payload to 101@8000
  1822. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_media.c:5911 sofia/default/183284@213.144.239.110:9933 Set 2833 dtmf send payload to 101 recv payload to 101
  1823. 2022-05-25 13:56:38.297604 [DEBUG] sofia.c:7760 (sofia/default/183284@213.144.239.110:9933) State Change CS_NEW -> CS_INIT
  1824. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:604 (sofia/default/183284@213.144.239.110:9933) State NEW
  1825. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_INIT (Cur 13 Tot 24106)
  1826. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT
  1827. 2022-05-25 13:56:38.297604 [DEBUG] mod_sofia.c:93 sofia/default/183284@213.144.239.110:9933 SOFIA INIT
  1828. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:40 sofia/default/183284@213.144.239.110:9933 Standard INIT
  1829. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:48 (sofia/default/183284@213.144.239.110:9933) State Change CS_INIT -> CS_ROUTING
  1830. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:628 (sofia/default/183284@213.144.239.110:9933) State INIT going to sleep
  1831. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_ROUTING (Cur 13 Tot 24106)
  1832. 2022-05-25 13:56:38.297604 [DEBUG] switch_channel.c:2332 (sofia/default/183284@213.144.239.110:9933) Callstate Change DOWN -> RINGING
  1833. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING
  1834. 2022-05-25 13:56:38.297604 [DEBUG] mod_sofia.c:154 sofia/default/183284@213.144.239.110:9933 SOFIA ROUTING
  1835. 2022-05-25 13:56:38.297604 [DEBUG] switch_core_state_machine.c:236 sofia/default/183284@213.144.239.110:9933 Standard ROUTING
  1836. 2022-05-25 13:56:38.297604 [INFO] mod_dialplan_xml.c:637 Processing 3226160551 <3226160551>->32471696191 in context default
  1837. 2022-05-25 13:56:38.297604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  1838. 2022-05-25 13:56:38.297604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  1839. 2022-05-25 13:56:38.317597 [NOTICE] switch_cpp.cpp:1447 [ASTPP] [xml_handler] Params:
  1840. Event-Name: REQUEST_PARAMS
  1841. Core-UUID: fca97a4c-8577-49ad-81f5-986f27b1f2fa
  1842. FreeSWITCH-Hostname: multitenant-1
  1843. FreeSWITCH-Switchname: multitenant-1
  1844. FreeSWITCH-IPv4: 185.249.40.236
  1845. FreeSWITCH-IPv6: %3A%3A1
  1846. Event-Date-Local: 2022-05-25%2013%3A56%3A38
  1847. Event-Date-GMT: Wed,%2025%20May%202022%2011%3A56%3A38%20GMT
  1848. Event-Date-Timestamp: 1653479798297604
  1849. Event-Calling-File: mod_dialplan_xml.c
  1850. Event-Calling-Function: dialplan_xml_locate
  1851. Event-Calling-Line-Number: 608
  1852. Event-Sequence: 1918803
  1853. Channel-State: CS_ROUTING
  1854. Channel-Call-State: RINGING
  1855. Channel-State-Number: 2
  1856. Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1857. Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
  1858. Call-Direction: inbound
  1859. Presence-Call-Direction: inbound
  1860. Channel-HIT-Dialplan: true
  1861. Channel-Presence-ID: 183284%40213.144.239.110
  1862. Channel-Call-UUID: 7e8679f5-8667-4858-9aeb-157897008635
  1863. Answer-State: ringing
  1864. Channel-Read-Codec-Name: PCMU
  1865. Channel-Read-Codec-Rate: 8000
  1866. Channel-Read-Codec-Bit-Rate: 64000
  1867. Channel-Write-Codec-Name: PCMU
  1868. Channel-Write-Codec-Rate: 8000
  1869. Channel-Write-Codec-Bit-Rate: 64000
  1870. Caller-Direction: inbound
  1871. Caller-Logical-Direction: inbound
  1872. Caller-Username: 3226160551
  1873. Caller-Dialplan: XML
  1874. Caller-Caller-ID-Name: 3226160551
  1875. Caller-Caller-ID-Number: 3226160551
  1876. Caller-Orig-Caller-ID-Name: 3226160551
  1877. Caller-Orig-Caller-ID-Number: 3226160551
  1878. Caller-Network-Addr: 213.144.239.110
  1879. Caller-ANI: 3226160551
  1880. Caller-Destination-Number: 32471696191
  1881. Caller-Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
  1882. Caller-Source: mod_sofia
  1883. Caller-Context: default
  1884. Caller-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1885. Caller-Profile-Index: 1
  1886. Caller-Profile-Created-Time: 1653479798297604
  1887. Caller-Channel-Created-Time: 1653479798297604
  1888. Caller-Channel-Answered-Time: 0
  1889. Caller-Channel-Progress-Time: 0
  1890. Caller-Channel-Progress-Media-Time: 0
  1891. Caller-Channel-Hangup-Time: 0
  1892. Caller-Channel-Transfer-Time: 0
  1893. Caller-Channel-Resurrect-Time: 0
  1894. Caller-Channel-Bridged-Time: 0
  1895. Caller-Channel-Last-Hold: 0
  1896. Caller-Channel-Hold-Accum: 0
  1897. Caller-Screen-Bit: false
  1898. Caller-Privacy-Hide-Name: false
  1899. Caller-Privacy-Hide-Number: false
  1900. variable_direction: inbound
  1901. variable_uuid: 7e8679f5-8667-4858-9aeb-157897008635
  1902. variable_session_id: 24106
  1903. variable_sip_from_user: 183284
  1904. variable_sip_from_port: 9933
  1905. variable_sip_from_uri: 183284%40213.144.239.110%3A9933
  1906. variable_sip_from_host: 213.144.239.110
  1907. variable_video_media_flow: disabled
  1908. variable_text_media_flow: disabled
  1909. variable_channel_name: sofia/default/183284%40213.144.239.110%3A9933
  1910. variable_sip_call_id: 79045f7d65144c4177ddbd51762e14ea%40213.144.239.110%3A9933
  1911. variable_sip_local_network_addr: 185.249.40.236
  1912. variable_sip_network_ip: 213.144.239.110
  1913. variable_sip_network_port: 9933
  1914. variable_sip_invite_stamp: 1653479798297604
  1915. variable_sip_received_ip: 213.144.239.110
  1916. variable_sip_received_port: 9933
  1917. variable_sip_via_protocol: udp
  1918. variable_sip_authorized: true
  1919. variable_sip_acl_authed_by: default
  1920. variable_sip_from_user_stripped: 183284
  1921. variable_sip_from_tag: as6a5e796c
  1922. variable_sofia_profile_name: default
  1923. variable_sofia_profile_url: sip%3Amod_sofia%40185.249.40.236%3A5060
  1924. variable_recovery_profile_name: default
  1925. variable_sip_Remote-Party-ID: %223226160551%22%20%3Csip%3A3226160551%40213.144.239.110%3E%3Bparty%3Dcalling%3Bprivacy%3Doff%3Bscreen%3Dno
  1926. variable_sip_cid_type: rpid
  1927. variable_sip_full_via: SIP/2.0/UDP%20213.144.239.110%3A9933%3Bbranch%3Dz9hG4bK1484bc5e%3Brport%3D9933
  1928. variable_sip_full_from: %3Csip%3A183284%40213.144.239.110%3A9933%3E%3Btag%3Das6a5e796c
  1929. variable_sip_full_to: %3Csip%3A32471696191%40emolife138.yoursipcloud.com%3E
  1930. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH
  1931. variable_sip_req_user: 32471696191
  1932. variable_sip_req_uri: 32471696191%40emolife138.yoursipcloud.com
  1933. variable_sip_req_host: emolife138.yoursipcloud.com
  1934. variable_sip_to_user: 32471696191
  1935. variable_sip_to_uri: 32471696191%40emolife138.yoursipcloud.com
  1936. variable_sip_to_host: emolife138.yoursipcloud.com
  1937. variable_sip_contact_user: 183284
  1938. variable_sip_contact_port: 9933
  1939. variable_sip_contact_uri: 183284%40213.144.239.110%3A9933
  1940. variable_sip_contact_host: 213.144.239.110
  1941. variable_sip_user_agent: FPBX-2.11.0(11.4.0)
  1942. variable_sip_via_host: 213.144.239.110
  1943. variable_sip_via_port: 9933
  1944. variable_sip_via_rport: 9933
  1945. variable_max_forwards: 70
  1946. variable_presence_id: 183284%40213.144.239.110
  1947. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202070521491%202070521491%20IN%20IP4%20213.144.239.110%0D%0As%3DAsterisk%20PBX%2011.4.0%0D%0Ac%3DIN%20IP4%20213.144.239.110%0D%0At%3D0%200%0D%0Am%3Daudio%2013082%20RTP/AVP%200%208%20101%0D%0Aa%3Drtpmap%3A0%20PCMU/8000%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-16%0D%0Aa%3Dptime%3A20%0D%0A
  1948. variable_ep_codec_string: CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  1949. variable_rtp_use_codec_string: PCMA,PCMU
  1950. variable_remote_video_media_flow: inactive
  1951. variable_remote_text_media_flow: inactive
  1952. variable_remote_audio_media_flow: sendrecv
  1953. variable_audio_media_flow: sendrecv
  1954. variable_remote_media_ip: 213.144.239.110
  1955. variable_remote_media_port: 13082
  1956. variable_rtp_audio_recv_pt: 0
  1957. variable_rtp_use_codec_name: PCMU
  1958. variable_rtp_use_codec_rate: 8000
  1959. variable_rtp_use_codec_ptime: 20
  1960. variable_rtp_use_codec_channels: 1
  1961. variable_rtp_last_audio_codec_string: PCMU%408000h%4020i%401c
  1962. variable_read_codec: PCMU
  1963. variable_original_read_codec: PCMU
  1964. variable_read_rate: 8000
  1965. variable_original_read_rate: 8000
  1966. variable_write_codec: PCMU
  1967. variable_write_rate: 8000
  1968. variable_dtmf_type: rfc2833
  1969. variable_endpoint_disposition: RECEIVED
  1970. variable_call_uuid: 7e8679f5-8667-4858-9aeb-157897008635
  1971. Hunt-Direction: inbound
  1972. Hunt-Logical-Direction: inbound
  1973. Hunt-Username: 3226160551
  1974. Hunt-Dialplan: XML
  1975. Hunt-Caller-ID-Name: 3226160551
  1976. Hunt-Caller-ID-Number: 3226160551
  1977. Hunt-Orig-Caller-ID-Name: 3226160551
  1978. Hunt-Orig-Caller-ID-Number: 3226160551
  1979. Hunt-Network-Addr: 213.144.239.110
  1980. Hunt-ANI: 3226160551
  1981. Hunt-Destination-Number: 32471696191
  1982. Hunt-Unique-ID: 7e8679f5-8667-4858-9aeb-157897008635
  1983. Hunt-Source: mod_sofia
  1984. Hunt-Context: default
  1985. Hunt-Channel-Name: sofia/default/183284%40213.144.239.110%3A9933
  1986. Hunt-Profile-Index: 1
  1987. Hunt-Profile-Created-Time: 1653479798297604
  1988. Hunt-Channel-Created-Time: 1653479798297604
  1989. Hunt-Channel-Answered-Time: 0
  1990. Hunt-Channel-Progress-Time: 0
  1991. Hunt-Channel-Progress-Media-Time: 0
  1992. Hunt-Channel-Hangup-Time: 0
  1993. Hunt-Channel-Transfer-Time: 0
  1994. Hunt-Channel-Resurrect-Time: 0
  1995. Hunt-Channel-Bridged-Time: 0
  1996. Hunt-Channel-Last-Hold: 0
  1997. Hunt-Channel-Hold-Accum: 0
  1998. Hunt-Screen-Bit: false
  1999. Hunt-Privacy-Hide-Name: false
  2000. Hunt-Privacy-Hide-Number: false
  2001.  
  2002.  
  2003. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_value:
  2004. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] key_name:
  2005. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] tag_name:
  2006. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [xml_REQUEST] section: dialplan
  2007. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  2008. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Dialed number : 32471696191
  2009. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '32471696191' limit 1
  2010. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '32471696191' AND status=0 limit 1
  2011. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '32471696191' and status=0 LIMIT 1
  2012. 2022-05-25 13:56:38.317597 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FAXER] Custom Caller ID
  2013. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Caller Id name / number  : 3226160551 / 3226160551
  2014. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [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 ="32471696191" LIMIT 1
  2015. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [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="32471696191"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  2016. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] Call direction : outbound
  2017. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("213.144.239.110") BETWEEN(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) & 0xffffffff ^((0x1 <<(32 -  SUBSTRING_INDEX(`ip`, '/', -1))) -1 )) AND(INET_ATON(SUBSTRING_INDEX(`ip`, '/', 1)) |((0x100000000 >> SUBSTRING_INDEX(`ip`,'/', -1)) -1))  AND "32471696191"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  2018. 2022-05-25 13:56:38.317597 [INFO] switch_cpp.cpp:1447 [ASTPP] [Accountcode : 183284]
  2019. 2022-05-25 13:56:38.317597 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "183284" AND deleted = 0 limit 1
  2020. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^32471696191.*' OR blocked_patterns = '^3247169619.*' OR blocked_patterns = '^324716961.*' OR blocked_patterns = '^32471696.*' OR blocked_patterns = '^3247169.*' OR blocked_patterns = '^324716.*' OR blocked_patterns = '^32471.*' OR blocked_patterns = '^3247.*' OR blocked_patterns = '^324.*' OR blocked_patterns = '^32.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 199 limit 1
  2021. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="32471696191" AND (accountid = 0 OR status = 1) LIMIT 1
  2022. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [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 = '^32471696191.*' OR patterns = '^3247169619.*' OR patterns = '^324716961.*' OR patterns = '^32471696.*' OR patterns = '^3247169.*' OR patterns = '^324716.*' OR patterns = '^32471.*' OR patterns = '^3247.*' OR patterns = '^324.*' OR patterns = '^32.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 199 ORDER BY LENGTH(PKGPTR.patterns) DESC
  2023. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [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 ="32471696191" AND A.accountid = '199' limit 1
  2024. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 32471696191
  2025. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [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 ="32471696191" LIMIT 1
  2026. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [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="32471696191"  AND domains.domain="emolife138.yoursipcloud.com" limit 1
  2027. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] [Dialplan] New Call Direction : outbound
  2028. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '32471696191' OR number = '3247169619' OR number = '324716961' OR number = '32471696' OR number = '3247169' OR number = '324716' OR number = '32471' OR number = '3247' OR number = '324' OR number = '32' OR number = '3' OR number ='--') OR (number = '32471696191*' OR number = '3247169619*' OR number = '324716961*' OR number = '32471696*' OR number = '3247169*' OR number = '324716*' OR number = '32471*' OR number = '3247*' OR number = '324*' OR number = '32*' OR number = '3*' OR number ='--') OR (number = '3226160551' OR number = '322616055' OR number = '32261605' OR number = '3226160' OR number = '322616' OR number = '32261' OR number = '3226' OR number = '322' OR number = '32' OR number = '3' OR number ='--') OR (number = '3226160551*' OR number = '322616055*' OR number = '32261605*' OR number = '3226160*' OR number = '322616*' OR number = '32261*' OR number = '3226*' OR number = '322*' OR number = '32*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  2029. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Call Barring Status : -1
  2030. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '32471696191' OR routing_prefix = '3247169619' OR routing_prefix = '324716961' OR routing_prefix = '32471696' OR routing_prefix = '3247169' OR routing_prefix = '324716' OR routing_prefix = '32471' OR routing_prefix = '3247' OR routing_prefix = '324' OR routing_prefix = '32' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 189 limit 1
  2031. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] =============== Account Information ===================
  2032. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] User id : 199
  2033. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Account code : 183284
  2034. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Balance : 699.8973
  2035. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  2036. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] Ratecard id : 25
  2037. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] CID Pool : 0
  2038. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP] ========================================================
  2039. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  2040. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] call_direction :outbound
  2041. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 25 AND status = 0
  2042. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^32471696191.*' OR pattern = '^3247169619.*' OR pattern = '^324716961.*' OR pattern = '^32471696.*' OR pattern = '^3247169.*' OR pattern = '^324716.*' OR pattern = '^32471.*' OR pattern = '^3247.*' OR pattern = '^324.*' OR pattern = '^32.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 25 OR accountid=199)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  2043. 2022-05-25 13:56:38.337604 [INFO] switch_cpp.cpp:1447 [ASTPP]  Call Direction : outbound
  2044. 2022-05-25 13:56:38.337604 [WARNING] switch_cpp.cpp:1447 [ASTPP] [FIND_MAXLENGTH] Rates Not Found :
  2045. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP]  Post Cdrs : 0
  2046. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] [GET RESELLERID] Query :SELECT reseller_id FROM accounts WHERE id = 199
  2047. 2022-05-25 13:56:38.337604 [DEBUG] switch_cpp.cpp:1447 [ASTPP] Generated XML:
  2048. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2049. <document type="freeswitch/xml">
  2050. <section name="dialplan" description="ASTPP Dialplan">
  2051. <context name="default">
  2052. <extension name="32471696191">
  2053. <condition field="destination_number" expression="32471696191">
  2054. <action application="log" data="WARNING Accountcode . Dialed number (32471696191)  origination rates not found!!"/>
  2055. <action application="set" data="original_caller_id_name=3226160551"/>
  2056. <action application="set" data="original_caller_id_number=3226160551"/>
  2057. <action application="set" data="error_cdr=1"/>
  2058. <action application="set" data="callstart=2022-05-25 11:56:38"/>
  2059. <action application="set" data="account_id=199"/>
  2060. <action application="set" data="parent_id=189"/>
  2061. <action application="set" data="call_direction=outbound"/>
  2062. <action application="set" data="sip_ignore_remote_cause=true"/>
  2063. <action application="set" data="call_processed=internal"/>
  2064. <action application="set" data="effective_destination_number=32471696191"/>
  2065. <action application="set" data="last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND"/>
  2066. <action application="hangup" data="ORIGINATION_RATE_NOT_FOUND"/>
  2067. </condition>
  2068. </extension>
  2069. </context>
  2070. </section>
  2071. </document>
  2072. Dialplan: sofia/default/183284@213.144.239.110:9933 parsing [default->32471696191] continue=false
  2073. Dialplan: sofia/default/183284@213.144.239.110:9933 Regex (PASS) [32471696191] destination_number(32471696191) =~ /32471696191/ break=on-false
  2074. Dialplan: sofia/default/183284@213.144.239.110:9933 Action log(WARNING Accountcode . Dialed number (32471696191)  origination rates not found!!)
  2075. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_name=3226160551)
  2076. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(original_caller_id_number=3226160551)
  2077. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(error_cdr=1)
  2078. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(callstart=2022-05-25 11:56:38)
  2079. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(account_id=199)
  2080. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(parent_id=189)
  2081. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_direction=outbound)
  2082. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(sip_ignore_remote_cause=true)
  2083. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(call_processed=internal)
  2084. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(effective_destination_number=32471696191)
  2085. Dialplan: sofia/default/183284@213.144.239.110:9933 Action set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  2086. Dialplan: sofia/default/183284@213.144.239.110:9933 Action hangup(ORIGINATION_RATE_NOT_FOUND)
  2087. 2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:287 (sofia/default/183284@213.144.239.110:9933) State Change CS_ROUTING -> CS_EXECUTE
  2088. 2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:644 (sofia/default/183284@213.144.239.110:9933) State ROUTING going to sleep
  2089. 2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_EXECUTE (Cur 13 Tot 24106)
  2090. 2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE
  2091. 2022-05-25 13:56:38.337604 [DEBUG] mod_sofia.c:209 sofia/default/183284@213.144.239.110:9933 SOFIA EXECUTE
  2092. 2022-05-25 13:56:38.337604 [DEBUG] switch_core_state_machine.c:329 sofia/default/183284@213.144.239.110:9933 Standard EXECUTE
  2093. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 log(WARNING Accountcode . Dialed number (32471696191)  origination rates not found!!)
  2094. 2022-05-25 13:56:38.337604 [WARNING] mod_dptools.c:1866 Accountcode . Dialed number (32471696191)  origination rates not found!!
  2095. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_name=3226160551)
  2096. 2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_name]=[3226160551]
  2097. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(original_caller_id_number=3226160551)
  2098. 2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [original_caller_id_number]=[3226160551]
  2099. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(error_cdr=1)
  2100. 2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [error_cdr]=[1]
  2101. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(callstart=2022-05-25 11:56:38)
  2102. 2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [callstart]=[2022-05-25 11:56:38]
  2103. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(account_id=199)
  2104. 2022-05-25 13:56:38.337604 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [account_id]=[199]
  2105. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(parent_id=189)
  2106. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [parent_id]=[189]
  2107. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_direction=outbound)
  2108. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_direction]=[outbound]
  2109. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(sip_ignore_remote_cause=true)
  2110. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [sip_ignore_remote_cause]=[true]
  2111. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(call_processed=internal)
  2112. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [call_processed]=[internal]
  2113. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(effective_destination_number=32471696191)
  2114. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [effective_destination_number]=[32471696191]
  2115. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 set(last_bridge_hangup_cause=ORIGINATION_RATE_NOT_FOUND)
  2116. 2022-05-25 13:56:38.357596 [DEBUG] mod_dptools.c:1672 SET sofia/default/183284@213.144.239.110:9933 [last_bridge_hangup_cause]=[ORIGINATION_RATE_NOT_FOUND]
  2117. EXECUTE [depth=0] sofia/default/183284@213.144.239.110:9933 hangup(ORIGINATION_RATE_NOT_FOUND)
  2118. 2022-05-25 13:56:38.357596 [NOTICE] mod_dptools.c:1380 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
  2119. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2120. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
  2121. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 13 Tot 24106)
  2122. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change RINGING -> HANGUP
  2123. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
  2124. 2022-05-25 13:56:38.357596 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
  2125. 2022-05-25 13:56:38.357596 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 480
  2126. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
  2127. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
  2128. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
  2129. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 13 Tot 24106)
  2130. 2022-05-25 13:56:38.357596 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
  2131. 2022-05-25 13:56:38.357596 [INFO] mod_json_cdr.c:271 Process [7e8679f5-8667-4858-9aeb-157897008635.cdr.json]
  2132. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
  2133. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
  2134. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
  2135. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_session.c:1726 Session 24106 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
  2136. 2022-05-25 13:56:38.377609 [NOTICE] switch_core_session.c:1744 Session 24106 (sofia/default/183284@213.144.239.110:9933) Ended
  2137. 2022-05-25 13:56:38.377609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
  2138. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 12 Tot 24106)
  2139. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
  2140. 2022-05-25 13:56:38.377609 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
  2141. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
  2142. 2022-05-25 13:56:38.377609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
  2143. 2022-05-25 13:56:44.617605 [NOTICE] sofia.c:1089 Hangup sofia/default/31888833593 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2144. 2022-05-25 13:56:44.617605 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31888833593]
  2145. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31888833593) State EXCHANGE_MEDIA going to sleep
  2146. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31888833593) Running State Change CS_HANGUP (Cur 12 Tot 24106)
  2147. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31888833593) Callstate Change ACTIVE -> HANGUP
  2148. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31888833593) State HANGUP
  2149. 2022-05-25 13:56:44.617605 [DEBUG] mod_sofia.c:453 Channel sofia/default/31888833593 hanging up, cause: NORMAL_CLEARING
  2150. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:60 sofia/default/31888833593 Standard HANGUP, cause: NORMAL_CLEARING
  2151. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31888833593) State HANGUP going to sleep
  2152. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31888833593) State Change CS_HANGUP -> CS_REPORTING
  2153. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31888833593) Running State Change CS_REPORTING (Cur 12 Tot 24106)
  2154. 2022-05-25 13:56:44.617605 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31888833593) State REPORTING
  2155. 2022-05-25 13:56:44.617605 [INFO] mod_json_cdr.c:271 Process [37d81731-2023-4305-803f-2760bb56f450.cdr.json]
  2156. 2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:820 sofia/default/31888833593 ending bridge by request from write function
  2157. 2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31251260900@10.200.0.4]
  2158. 2022-05-25 13:56:44.637590 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31888833593 skip receive message [UNBRIDGE] (channel is hungup already)
  2159. 2022-05-25 13:56:44.637590 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/31251260900@10.200.0.4 [CS_EXECUTE] [NORMAL_CLEARING]
  2160. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:174 sofia/default/31888833593 Standard REPORTING, cause: NORMAL_CLEARING
  2161. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31888833593) State REPORTING going to sleep
  2162. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31888833593) State Change CS_REPORTING -> CS_DESTROY
  2163. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_session.c:1726 Session 24076 (sofia/default/31888833593) Locked, Waiting on external entities
  2164. 2022-05-25 13:56:44.637590 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 3
  2165. 2022-05-25 13:56:44.637590 [NOTICE] switch_core_session.c:1744 Session 24076 (sofia/default/31888833593) Ended
  2166. 2022-05-25 13:56:44.637590 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31888833593 [CS_DESTROY]
  2167. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_session.c:2905 sofia/default/31251260900@10.200.0.4 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2168. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31251260900@10.200.0.4) State EXECUTE going to sleep
  2169. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_HANGUP (Cur 11 Tot 24106)
  2170. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31888833593) Running State Change CS_DESTROY (Cur 11 Tot 24106)
  2171. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31251260900@10.200.0.4) Callstate Change ACTIVE -> HANGUP
  2172. 2022-05-25 13:56:44.637590 [DEBUG] switch_scheduler.c:147 Deleting task 8724 switch_ivr_schedule_hangup (37d81731-2023-4305-803f-2760bb56f450)
  2173. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31888833593) State DESTROY
  2174. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP
  2175. 2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:364 sofia/default/31888833593 SOFIA DESTROY
  2176. 2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:447 sofia/default/31251260900@10.200.0.4 Overriding SIP cause 480 with 200 from the other leg
  2177. 2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:453 Channel sofia/default/31251260900@10.200.0.4 hanging up, cause: NORMAL_CLEARING
  2178. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:181 sofia/default/31888833593 Standard DESTROY
  2179. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31888833593) State DESTROY going to sleep
  2180. 2022-05-25 13:56:44.637590 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/31251260900@10.200.0.4
  2181. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:60 sofia/default/31251260900@10.200.0.4 Standard HANGUP, cause: NORMAL_CLEARING
  2182. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31251260900@10.200.0.4) State HANGUP going to sleep
  2183. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31251260900@10.200.0.4) State Change CS_HANGUP -> CS_REPORTING
  2184. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31251260900@10.200.0.4) Running State Change CS_REPORTING (Cur 11 Tot 24106)
  2185. 2022-05-25 13:56:44.637590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING
  2186. 2022-05-25 13:56:44.637590 [INFO] mod_json_cdr.c:271 Process [9889744a-fe6c-4f77-8d8e-7f01a4d26295.cdr.json]
  2187. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:174 sofia/default/31251260900@10.200.0.4 Standard REPORTING, cause: NORMAL_CLEARING
  2188. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31251260900@10.200.0.4) State REPORTING going to sleep
  2189. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31251260900@10.200.0.4) State Change CS_REPORTING -> CS_DESTROY
  2190. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_session.c:1726 Session 24075 (sofia/default/31251260900@10.200.0.4) Locked, Waiting on external entities
  2191. 2022-05-25 13:56:44.657600 [NOTICE] switch_core_session.c:1744 Session 24075 (sofia/default/31251260900@10.200.0.4) Ended
  2192. 2022-05-25 13:56:44.657600 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31251260900@10.200.0.4 [CS_DESTROY]
  2193. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31251260900@10.200.0.4) Running State Change CS_DESTROY (Cur 10 Tot 24106)
  2194. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY
  2195. 2022-05-25 13:56:44.657600 [DEBUG] mod_sofia.c:364 sofia/default/31251260900@10.200.0.4 SOFIA DESTROY
  2196. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:181 sofia/default/31251260900@10.200.0.4 Standard DESTROY
  2197. 2022-05-25 13:56:44.657600 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31251260900@10.200.0.4) State DESTROY going to sleep
  2198. 2022-05-25 13:56:46.557612 [NOTICE] sofia.c:1089 Hangup sofia/default/31625094776 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]
  2199. 2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31625094776]
  2200. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31625094776) State EXCHANGE_MEDIA going to sleep
  2201. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31625094776) Running State Change CS_HANGUP (Cur 10 Tot 24106)
  2202. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31625094776) Callstate Change ACTIVE -> HANGUP
  2203. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31625094776) State HANGUP
  2204. 2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:453 Channel sofia/default/31625094776 hanging up, cause: NORMAL_CLEARING
  2205. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31625094776 Standard HANGUP, cause: NORMAL_CLEARING
  2206. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31625094776) State HANGUP going to sleep
  2207. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31625094776) State Change CS_HANGUP -> CS_REPORTING
  2208. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31625094776) Running State Change CS_REPORTING (Cur 10 Tot 24106)
  2209. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31625094776) State REPORTING
  2210. 2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:820 sofia/default/31625094776 ending bridge by request from write function
  2211. 2022-05-25 13:56:46.557612 [INFO] mod_json_cdr.c:271 Process [488a058a-f70e-4148-9b40-33b3b4ee6530.cdr.json]
  2212. 2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/183284@213.144.239.110:9933]
  2213. 2022-05-25 13:56:46.557612 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31625094776 skip receive message [UNBRIDGE] (channel is hungup already)
  2214. 2022-05-25 13:56:46.557612 [NOTICE] switch_ivr_bridge.c:1944 Hangup sofia/default/183284@213.144.239.110:9933 [CS_EXECUTE] [NORMAL_CLEARING]
  2215. 2022-05-25 13:56:46.557612 [DEBUG] mod_hash.c:296 Usage for CPS_510514_CPS_user_510514 is now 2
  2216. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_session.c:2905 sofia/default/183284@213.144.239.110:9933 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2217. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:651 (sofia/default/183284@213.144.239.110:9933) State EXECUTE going to sleep
  2218. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_HANGUP (Cur 10 Tot 24106)
  2219. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/183284@213.144.239.110:9933) Callstate Change ACTIVE -> HANGUP
  2220. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP
  2221. 2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:447 sofia/default/183284@213.144.239.110:9933 Overriding SIP cause 480 with 200 from the other leg
  2222. 2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:453 Channel sofia/default/183284@213.144.239.110:9933 hanging up, cause: NORMAL_CLEARING
  2223. 2022-05-25 13:56:46.557612 [DEBUG] mod_sofia.c:507 Sending BYE to sofia/default/183284@213.144.239.110:9933
  2224. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:60 sofia/default/183284@213.144.239.110:9933 Standard HANGUP, cause: NORMAL_CLEARING
  2225. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/183284@213.144.239.110:9933) State HANGUP going to sleep
  2226. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/183284@213.144.239.110:9933) State Change CS_HANGUP -> CS_REPORTING
  2227. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_REPORTING (Cur 10 Tot 24106)
  2228. 2022-05-25 13:56:46.557612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING
  2229. 2022-05-25 13:56:46.577590 [INFO] mod_json_cdr.c:271 Process [85c33363-3a5c-4aa5-b786-1f7f3897e360.cdr.json]
  2230. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:174 sofia/default/31625094776 Standard REPORTING, cause: NORMAL_CLEARING
  2231. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31625094776) State REPORTING going to sleep
  2232. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31625094776) State Change CS_REPORTING -> CS_DESTROY
  2233. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_session.c:1726 Session 24081 (sofia/default/31625094776) Locked, Waiting on external entities
  2234. 2022-05-25 13:56:46.577590 [NOTICE] switch_core_session.c:1744 Session 24081 (sofia/default/31625094776) Ended
  2235. 2022-05-25 13:56:46.577590 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31625094776 [CS_DESTROY]
  2236. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31625094776) Running State Change CS_DESTROY (Cur 9 Tot 24106)
  2237. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31625094776) State DESTROY
  2238. 2022-05-25 13:56:46.577590 [DEBUG] mod_sofia.c:364 sofia/default/31625094776 SOFIA DESTROY
  2239. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:181 sofia/default/31625094776 Standard DESTROY
  2240. 2022-05-25 13:56:46.577590 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31625094776) State DESTROY going to sleep
  2241. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:174 sofia/default/183284@213.144.239.110:9933 Standard REPORTING, cause: NORMAL_CLEARING
  2242. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:936 (sofia/default/183284@213.144.239.110:9933) State REPORTING going to sleep
  2243. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:611 (sofia/default/183284@213.144.239.110:9933) State Change CS_REPORTING -> CS_DESTROY
  2244. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_session.c:1726 Session 24080 (sofia/default/183284@213.144.239.110:9933) Locked, Waiting on external entities
  2245. 2022-05-25 13:56:46.597625 [NOTICE] switch_core_session.c:1744 Session 24080 (sofia/default/183284@213.144.239.110:9933) Ended
  2246. 2022-05-25 13:56:46.597625 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/183284@213.144.239.110:9933 [CS_DESTROY]
  2247. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:739 (sofia/default/183284@213.144.239.110:9933) Running State Change CS_DESTROY (Cur 8 Tot 24106)
  2248. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY
  2249. 2022-05-25 13:56:46.597625 [DEBUG] mod_sofia.c:364 sofia/default/183284@213.144.239.110:9933 SOFIA DESTROY
  2250. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:181 sofia/default/183284@213.144.239.110:9933 Standard DESTROY
  2251. 2022-05-25 13:56:46.597625 [DEBUG] switch_core_state_machine.c:749 (sofia/default/183284@213.144.239.110:9933) State DESTROY going to sleep
  2252. 2022-05-25 13:56:46.637642 [DEBUG] switch_scheduler.c:147 Deleting task 8726 switch_ivr_schedule_hangup (488a058a-f70e-4148-9b40-33b3b4ee6530)
  2253. 2022-05-25 13:57:02.857632 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.253 entering state [terminated][487]
  2254. 2022-05-25 13:57:02.857632 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.253 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  2255. 2022-05-25 13:57:02.857632 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.253 ending bridge by request from read function
  2256. 2022-05-25 13:57:02.857632 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.253]
  2257. 2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191@134271.yoursipcloud.com:5060]
  2258. 2022-05-25 13:57:02.877600 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  2259. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State EXCHANGE_MEDIA going to sleep
  2260. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_HANGUP (Cur 8 Tot 24106)
  2261. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Callstate Change EARLY -> HANGUP
  2262. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP
  2263. 2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:447 sofia/default/31854832191@134271.yoursipcloud.com:5060 Overriding SIP cause 487 with 487 from the other leg
  2264. 2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 hanging up, cause: ORIGINATOR_CANCEL
  2265. 2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191@134271.yoursipcloud.com:5060 skip receive message [UNBRIDGE] (channel is hungup already)
  2266. 2022-05-25 13:57:02.877600 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.253 skip receive message [UNBRIDGE] (channel is hungup already)
  2267. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.253 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2268. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.253) State EXECUTE going to sleep
  2269. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_HANGUP (Cur 8 Tot 24106)
  2270. 2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191@134271.yoursipcloud.com:5060
  2271. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2272. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State HANGUP going to sleep
  2273. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.253) Callstate Change EARLY -> HANGUP
  2274. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_HANGUP -> CS_REPORTING
  2275. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.253) State HANGUP
  2276. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_REPORTING (Cur 8 Tot 24106)
  2277. 2022-05-25 13:57:02.877600 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.253 hanging up, cause: ORIGINATOR_CANCEL
  2278. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING
  2279. 2022-05-25 13:57:02.877600 [INFO] mod_json_cdr.c:271 Process [d32ca908-0690-4186-a544-cfaf8abad35c.cdr.json]
  2280. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.253 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2281. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.253) State HANGUP going to sleep
  2282. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.253) State Change CS_HANGUP -> CS_REPORTING
  2283. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.253) Running State Change CS_REPORTING (Cur 8 Tot 24106)
  2284. 2022-05-25 13:57:02.877600 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.253) State REPORTING
  2285. 2022-05-25 13:57:02.877600 [INFO] mod_json_cdr.c:271 Process [4b83c479-123b-4eab-9b75-4a96c16733c9.cdr.json]
  2286. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2287. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State REPORTING going to sleep
  2288. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State Change CS_REPORTING -> CS_DESTROY
  2289. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_session.c:1726 Session 24101 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Locked, Waiting on external entities
  2290. 2022-05-25 13:57:02.897609 [NOTICE] switch_core_session.c:1744 Session 24101 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Ended
  2291. 2022-05-25 13:57:02.897609 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191@134271.yoursipcloud.com:5060 [CS_DESTROY]
  2292. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191@134271.yoursipcloud.com:5060) Running State Change CS_DESTROY (Cur 7 Tot 24106)
  2293. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY
  2294. 2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:364 sofia/default/31854832191@134271.yoursipcloud.com:5060 SOFIA DESTROY
  2295. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191@134271.yoursipcloud.com:5060 Standard DESTROY
  2296. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191@134271.yoursipcloud.com:5060) State DESTROY going to sleep
  2297. 2022-05-25 13:57:02.897609 [DEBUG] sofia.c:7326 Channel sofia/default/31652033157@185.249.40.236 entering state [terminated][487]
  2298. 2022-05-25 13:57:02.897609 [NOTICE] sofia.c:8559 Hangup sofia/default/31652033157@185.249.40.236 [CS_EXECUTE] [ORIGINATOR_CANCEL]
  2299. 2022-05-25 13:57:02.897609 [DEBUG] mod_hash.c:296 Usage for CPS_160_CPS_user_160 is now 0
  2300. 2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:826 sofia/default/31652033157@185.249.40.236 ending bridge by request from read function
  2301. 2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31652033157@185.249.40.236]
  2302. 2022-05-25 13:57:02.897609 [DEBUG] switch_ivr_bridge.c:912 BRIDGE THREAD DONE [sofia/default/31854832191]
  2303. 2022-05-25 13:57:02.897609 [NOTICE] switch_ivr_bridge.c:1025 Hangup sofia/default/31854832191 [CS_EXCHANGE_MEDIA] [ORIGINATOR_CANCEL]
  2304. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:654 (sofia/default/31854832191) State EXCHANGE_MEDIA going to sleep
  2305. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_HANGUP (Cur 7 Tot 24106)
  2306. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31854832191) Callstate Change EARLY -> HANGUP
  2307. 2022-05-25 13:57:02.897609 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP
  2308. 2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:447 sofia/default/31854832191 Overriding SIP cause 487 with 487 from the other leg
  2309. 2022-05-25 13:57:02.897609 [DEBUG] mod_sofia.c:453 Channel sofia/default/31854832191 hanging up, cause: ORIGINATOR_CANCEL
  2310. 2022-05-25 13:57:02.917612 [DEBUG] switch_ivr_bridge.c:1892 sofia/default/31854832191 skip receive message [UNBRIDGE] (channel is hungup already)
  2311. 2022-05-25 13:57:02.917612 [DEBUG] switch_ivr_bridge.c:1895 sofia/default/31652033157@185.249.40.236 skip receive message [UNBRIDGE] (channel is hungup already)
  2312. 2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:521 Sending CANCEL to sofia/default/31854832191
  2313. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31854832191 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2314. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31854832191) State HANGUP going to sleep
  2315. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31854832191) State Change CS_HANGUP -> CS_REPORTING
  2316. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31854832191) Running State Change CS_REPORTING (Cur 7 Tot 24106)
  2317. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:2905 sofia/default/31652033157@185.249.40.236 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
  2318. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:651 (sofia/default/31652033157@185.249.40.236) State EXECUTE going to sleep
  2319. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_HANGUP (Cur 7 Tot 24106)
  2320. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING
  2321. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:848 (sofia/default/31652033157@185.249.40.236) Callstate Change EARLY -> HANGUP
  2322. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP
  2323. 2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:453 Channel sofia/default/31652033157@185.249.40.236 hanging up, cause: ORIGINATOR_CANCEL
  2324. 2022-05-25 13:57:02.917612 [INFO] mod_json_cdr.c:271 Process [5e830af5-3039-468c-8f7f-d94d1212c9a2.cdr.json]
  2325. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:60 sofia/default/31652033157@185.249.40.236 Standard HANGUP, cause: ORIGINATOR_CANCEL
  2326. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:850 (sofia/default/31652033157@185.249.40.236) State HANGUP going to sleep
  2327. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:620 (sofia/default/31652033157@185.249.40.236) State Change CS_HANGUP -> CS_REPORTING
  2328. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:585 (sofia/default/31652033157@185.249.40.236) Running State Change CS_REPORTING (Cur 7 Tot 24106)
  2329. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING
  2330. 2022-05-25 13:57:02.917612 [INFO] mod_json_cdr.c:271 Process [1c02af38-2cd4-40d4-9643-2338569bafab.cdr.json]
  2331. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31854832191 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2332. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31854832191) State REPORTING going to sleep
  2333. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31854832191) State Change CS_REPORTING -> CS_DESTROY
  2334. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24103 (sofia/default/31854832191) Locked, Waiting on external entities
  2335. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24103 (sofia/default/31854832191) Ended
  2336. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31854832191 [CS_DESTROY]
  2337. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31854832191) Running State Change CS_DESTROY (Cur 6 Tot 24106)
  2338. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY
  2339. 2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31854832191 SOFIA DESTROY
  2340. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31854832191 Standard DESTROY
  2341. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31854832191) State DESTROY going to sleep
  2342. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.253 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2343. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.253) State REPORTING going to sleep
  2344. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.253) State Change CS_REPORTING -> CS_DESTROY
  2345. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24100 (sofia/default/31652033157@185.249.40.253) Locked, Waiting on external entities
  2346. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24100 (sofia/default/31652033157@185.249.40.253) Ended
  2347. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.253 [CS_DESTROY]
  2348. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.253) Running State Change CS_DESTROY (Cur 5 Tot 24106)
  2349. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.253) State DESTROY
  2350. 2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.253 SOFIA DESTROY
  2351. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.253 Standard DESTROY
  2352. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.253) State DESTROY going to sleep
  2353. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:174 sofia/default/31652033157@185.249.40.236 Standard REPORTING, cause: ORIGINATOR_CANCEL
  2354. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:936 (sofia/default/31652033157@185.249.40.236) State REPORTING going to sleep
  2355. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:611 (sofia/default/31652033157@185.249.40.236) State Change CS_REPORTING -> CS_DESTROY
  2356. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_session.c:1726 Session 24102 (sofia/default/31652033157@185.249.40.236) Locked, Waiting on external entities
  2357. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1744 Session 24102 (sofia/default/31652033157@185.249.40.236) Ended
  2358. 2022-05-25 13:57:02.917612 [NOTICE] switch_core_session.c:1748 Close Channel sofia/default/31652033157@185.249.40.236 [CS_DESTROY]
  2359. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:739 (sofia/default/31652033157@185.249.40.236) Running State Change CS_DESTROY (Cur 4 Tot 24106)
  2360. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY
  2361. 2022-05-25 13:57:02.917612 [DEBUG] mod_sofia.c:364 sofia/default/31652033157@185.249.40.236 SOFIA DESTROY
  2362. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:181 sofia/default/31652033157@185.249.40.236 Standard DESTROY
  2363. 2022-05-25 13:57:02.917612 [DEBUG] switch_core_state_machine.c:749 (sofia/default/31652033157@185.249.40.236) State DESTROY going to sleep
  2364. Type control-D or /exit or /quit or /bye to exit.
  2365.  
  2366. 2022-05-25 13:57:03.117717 [DEBUG] switch_scheduler.c:147 Deleting task 8733 switch_ivr_schedule_hangup (5e830af5-3039-468c-8f7f-d94d1212c9a2)
  2367. 2022-05-25 13:57:03.117717 [DEBUG] switch_scheduler.c:147 Deleting task 8734 switch_ivr_schedule_hangup (d32ca908-0690-4186-a544-cfaf8abad35c)
  2368. 2022-05-25 13:57:03.397625 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [completing][200]
  2369. 2022-05-25 13:57:03.397625 [DEBUG] sofia.c:7333 Duplicate SDP
  2370. v=0
  2371. o=- 3909790959 1 IN IP4 185.249.40.253
  2372. s=-
  2373. c=IN IP4 185.249.40.253
  2374. t=0 0
  2375. m=audio 13010 RTP/AVP 8 101
  2376. a=rtpmap:101 telephone-event/8000
  2377. a=ptime:20
  2378.  
  2379. 2022-05-25 13:57:03.417593 [DEBUG] sofia.c:7326 Channel sofia/default/31622434824 entering state [ready][200]
  2380. 2022-05-25 13:57:03.417593 [NOTICE] sofia.c:8445 Channel [sofia/default/31622434824] has been answered
  2381. 2022-05-25 13:57:03.417593 [DEBUG] switch_channel.c:3865 (sofia/default/31622434824) Callstate Change EARLY -> ACTIVE
  2382. 2022-05-25 13:57:03.417593 [DEBUG] switch_core_media.c:8645 Audio params are unchanged for sofia/default/183284@213.144.239.110:9933.
  2383. 2022-05-25 13:57:03.417593 [DEBUG] mod_sofia.c:898 Local SDP sofia/default/183284@213.144.239.110:9933:
  2384. v=0
  2385. o=FreeSWITCH 1653457266 1653457268 IN IP4 185.249.40.236
  2386. s=FreeSWITCH
  2387. c=IN IP4 185.249.40.236
  2388. t=0 0
  2389. m=audio 22526 RTP/AVP 0 101
  2390. a=rtpmap:0 PCMU/8000
  2391. a=rtpmap:101 telephone-event/8000
  2392. a=fmtp:101 0-16
  2393. a=ptime:20
  2394. a=sendrecv
  2395.  
  2396. 2022-05-25 13:57:03.417593 [NOTICE] switch_ivr_bridge.c:731 Channel [sofia/default/183284@213.144.239.110:9933] has been answered
  2397. 2022-05-25 13:57:03.417593 [DEBUG] switch_channel.c:3865 (sofia/default/183284@213.144.239.110:9933) Callstate Change EARLY -> ACTIVE
  2398. 2022-05-25 13:57:03.417593 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [completed][200]
  2399. 2022-05-25 13:57:03.437616 [DEBUG] sofia.c:7326 Channel sofia/default/183284@213.144.239.110:9933 entering state [ready][200]
  2400. 2022-05-25 13:57:03.477640 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  2401. 2022-05-25 13:57:03.477640 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
  2402.