From mayur valand, 1 Year ago, written in HTML5.
- view diff
Embed
  1. 2022-06-28 13:32:22.833242 [DEBUG] switch_scheduler.c:263 Added task 922444 switch_ivr_schedule_hangup (9aa8a844-5f70-411a-aa19-db9edbcc7dd4) to run at 1656421942
  2. 2022-06-28 13:32:23.393245 [NOTICE] switch_channel.c:1118 New Channel sofia/default/sky001@skytel011.tdsltd.rs [39e76f75-21f0-4577-91b8-b5a0b884f384]
  3. 2022-06-28 13:32:23.393245 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_NEW (Cur 51 Tot 2758981)
  4. 2022-06-28 13:32:23.393245 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 117.247.91.162:37492 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
  5. 2022-06-28 13:32:23.393245 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
  6. 2022-06-28 13:32:23.393245 [WARNING] sofia_reg.c:1795 SIP auth challenge (INVITE) on sofia profile 'default' for [4420123456@skytel011.tdsltd.rs] from ip 117.247.91.162
  7. 2022-06-28 13:32:23.393245 [DEBUG] switch_core_state_machine.c:604 (sofia/default/sky001@skytel011.tdsltd.rs) State NEW
  8. 2022-06-28 13:32:23.393245 [DEBUG] sofia.c:2447 detaching session 39e76f75-21f0-4577-91b8-b5a0b884f384
  9. 2022-06-28 13:32:23.773252 [DEBUG] sofia.c:2562 Re-attaching to session 39e76f75-21f0-4577-91b8-b5a0b884f384
  10. 2022-06-28 13:32:23.773252 [INFO] sofia.c:10362 sofia/default/sky001@skytel011.tdsltd.rs receiving invite from 117.247.91.162:37492 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
  11. 2022-06-28 13:32:23.773252 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 117.247.91.162:0.
  12. 2022-06-28 13:32:23.793229 [DEBUG] sofia.c:11564 Setting NAT mode based on via received
  13. 2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7406 Channel sofia/default/sky001@skytel011.tdsltd.rs entering state [received][100]
  14. 2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7416 Remote SDP:
  15. v=0
  16. o=Z 0 0 IN IP4 117.247.91.162
  17. s=Z
  18. c=IN IP4 117.247.91.162
  19. t=0 0
  20. m=audio 8000 RTP/AVP 3 110 8 0 98 101
  21. a=rtpmap:110 speex/8000
  22. a=rtpmap:98 iLBC/8000
  23. a=fmtp:98 mode=20
  24. a=rtpmap:101 telephone-event/8000
  25. a=fmtp:101 0-15
  26.  
  27. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1]
  28. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1]
  29. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMA:8:8000:20:64000:1]
  30. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [speex:110:8000:20:0:1]/[PCMU:0:8000:20:64000:1]
  31. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  32. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  33. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  34. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  35. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  36. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
  37. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMA:8:8000:20:64000:1]
  38. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [iLBC:98:8000:30:0:1]/[PCMU:0:8000:20:64000:1]
  39. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  40. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/sky001@skytel011.tdsltd.rs PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  41. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_codec.c:111 sofia/default/sky001@skytel011.tdsltd.rs Original read codec set to PCMA:8
  42. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  43. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_media.c:5918 sofia/default/sky001@skytel011.tdsltd.rs Set 2833 dtmf send payload to 101 recv payload to 101
  44. 2022-06-28 13:32:23.793229 [DEBUG] sofia.c:7840 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_NEW -> CS_INIT
  45. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_INIT (Cur 51 Tot 2758981)
  46. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT
  47. 2022-06-28 13:32:23.793229 [DEBUG] mod_sofia.c:93 sofia/default/sky001@skytel011.tdsltd.rs SOFIA INIT
  48. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:40 sofia/default/sky001@skytel011.tdsltd.rs Standard INIT
  49. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:48 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_INIT -> CS_ROUTING
  50. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:628 (sofia/default/sky001@skytel011.tdsltd.rs) State INIT going to sleep
  51. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_ROUTING (Cur 51 Tot 2758981)
  52. 2022-06-28 13:32:23.793229 [DEBUG] switch_channel.c:2332 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change DOWN -> RINGING
  53. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING
  54. 2022-06-28 13:32:23.793229 [DEBUG] mod_sofia.c:154 sofia/default/sky001@skytel011.tdsltd.rs SOFIA ROUTING
  55. 2022-06-28 13:32:23.793229 [DEBUG] switch_core_state_machine.c:236 sofia/default/sky001@skytel011.tdsltd.rs Standard ROUTING
  56. 2022-06-28 13:32:23.793229 [INFO] mod_dialplan_xml.c:637 Processing sky001 <sky001>->4420123456 in context default
  57. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  58. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  59. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  60. Event-Name: REQUEST_PARAMS
  61. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  62. FreeSWITCH-Hostname: ASTPP5
  63. FreeSWITCH-Switchname: ASTPP5
  64. FreeSWITCH-IPv4: 82.214.92.3
  65. FreeSWITCH-IPv6: %3A%3A1
  66. Event-Date-Local: 2022-06-28%2013%3A32%3A23
  67. Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A23%20GMT
  68. Event-Date-Timestamp: 1656415943793229
  69. Event-Calling-File: mod_dialplan_xml.c
  70. Event-Calling-Function: dialplan_xml_locate
  71. Event-Calling-Line-Number: 608
  72. Event-Sequence: 145309118
  73. Channel-State: CS_ROUTING
  74. Channel-Call-State: RINGING
  75. Channel-State-Number: 2
  76. Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  77. Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
  78. Call-Direction: inbound
  79. Presence-Call-Direction: inbound
  80. Channel-HIT-Dialplan: true
  81. Channel-Presence-ID: sky001%40skytel011.tdsltd.rs
  82. Channel-Call-UUID: 39e76f75-21f0-4577-91b8-b5a0b884f384
  83. Answer-State: ringing
  84. Channel-Read-Codec-Name: PCMA
  85. Channel-Read-Codec-Rate: 8000
  86. Channel-Read-Codec-Bit-Rate: 64000
  87. Channel-Write-Codec-Name: PCMA
  88. Channel-Write-Codec-Rate: 8000
  89. Channel-Write-Codec-Bit-Rate: 64000
  90. Caller-Direction: inbound
  91. Caller-Logical-Direction: inbound
  92. Caller-Username: sky001
  93. Caller-Dialplan: XML
  94. Caller-Caller-ID-Name: sky001
  95. Caller-Caller-ID-Number: sky001
  96. Caller-Orig-Caller-ID-Name: sky001
  97. Caller-Orig-Caller-ID-Number: sky001
  98. Caller-Network-Addr: 117.247.91.162
  99. Caller-ANI: sky001
  100. Caller-Destination-Number: 4420123456
  101. Caller-Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
  102. Caller-Source: mod_sofia
  103. Caller-Context: default
  104. Caller-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  105. Caller-Profile-Index: 1
  106. Caller-Profile-Created-Time: 1656415943793229
  107. Caller-Channel-Created-Time: 1656415943793229
  108. Caller-Channel-Answered-Time: 0
  109. Caller-Channel-Progress-Time: 0
  110. Caller-Channel-Progress-Media-Time: 0
  111. Caller-Channel-Hangup-Time: 0
  112. Caller-Channel-Transfer-Time: 0
  113. Caller-Channel-Resurrect-Time: 0
  114. Caller-Channel-Bridged-Time: 0
  115. Caller-Channel-Last-Hold: 0
  116. Caller-Channel-Hold-Accum: 0
  117. Caller-Screen-Bit: true
  118. Caller-Privacy-Hide-Name: false
  119. Caller-Privacy-Hide-Number: false
  120. variable_direction: inbound
  121. variable_uuid: 39e76f75-21f0-4577-91b8-b5a0b884f384
  122. variable_session_id: 2758981
  123. variable_sip_from_params: transport%3DTCP
  124. variable_sip_from_user: sky001
  125. variable_sip_from_uri: sky001%40skytel011.tdsltd.rs
  126. variable_sip_from_host: skytel011.tdsltd.rs
  127. variable_video_media_flow: disabled
  128. variable_text_media_flow: disabled
  129. variable_channel_name: sofia/default/sky001%40skytel011.tdsltd.rs
  130. variable_sip_call_id: ZmMzNmY4NmM3ZWZkMmM0NzdkZTM5Y2E4Yzc2M2YxZDM.
  131. variable_sip_local_network_addr: 82.214.92.3
  132. variable_sip_network_ip: 117.247.91.162
  133. variable_sip_network_port: 37492
  134. variable_sip_invite_stamp: 1656415943773252
  135. variable_sip_received_ip: 117.247.91.162
  136. variable_sip_received_port: 37492
  137. variable_sip_via_protocol: tcp
  138. variable_sip_authorized: true
  139. variable_Event-Name: REQUEST_PARAMS
  140. variable_Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  141. variable_FreeSWITCH-Hostname: ASTPP5
  142. variable_FreeSWITCH-Switchname: ASTPP5
  143. variable_FreeSWITCH-IPv4: 82.214.92.3
  144. variable_FreeSWITCH-IPv6: %3A%3A1
  145. variable_Event-Date-Local: 2022-06-28%2013%3A32%3A23
  146. variable_Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A23%20GMT
  147. variable_Event-Date-Timestamp: 1656415943773252
  148. variable_Event-Calling-File: sofia.c
  149. variable_Event-Calling-Function: sofia_handle_sip_i_invite
  150. variable_Event-Calling-Line-Number: 10624
  151. variable_Event-Sequence: 145309109
  152. variable_sip_number_alias: sky001
  153. variable_sip_auth_username: sky001
  154. variable_sip_auth_realm: skytel011.tdsltd.rs
  155. variable_number_alias: sky001
  156. variable_requested_user_name: sky001
  157. variable_requested_domain_name: skytel011.tdsltd.rs
  158. variable_sipcall: true
  159. variable_sip_user: sky001
  160. variable_accountcode: 4307873302
  161. variable_user_name: sky001
  162. variable_domain_name: skytel011.tdsltd.rs
  163. variable_sip_from_user_stripped: sky001
  164. variable_sip_from_tag: a79a3405
  165. variable_sofia_profile_name: default
  166. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  167. variable_recovery_profile_name: default
  168. variable_sip_full_via: SIP/2.0/TCP%20192.168.1.62%3A34087%3Bbranch%3Dz9hG4bK-d8754z-c3493e7a3ea61f9f-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D37492
  169. variable_sip_recover_via: SIP/2.0/TCP%20192.168.1.62%3A34087%3Bbranch%3Dz9hG4bK-d8754z-c3493e7a3ea61f9f-1---d8754z-%3Breceived%3D117.247.91.162%3Brport%3D37492
  170. variable_sip_full_from: %3Csip%3Asky001%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E%3Btag%3Da79a3405
  171. variable_sip_full_to: %3Csip%3A4420123456%40skytel011.tdsltd.rs%3Btransport%3DTCP%3E
  172. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20BYE,%20NOTIFY,%20REFER,%20MESSAGE,%20OPTIONS,%20INFO,%20SUBSCRIBE
  173. variable_sip_req_params: transport%3DTCP
  174. variable_sip_req_user: 4420123456
  175. variable_sip_req_uri: 4420123456%40skytel011.tdsltd.rs
  176. variable_sip_req_host: skytel011.tdsltd.rs
  177. variable_sip_to_params: transport%3DTCP
  178. variable_sip_to_user: 4420123456
  179. variable_sip_to_uri: 4420123456%40skytel011.tdsltd.rs
  180. variable_sip_to_host: skytel011.tdsltd.rs
  181. variable_sip_contact_params: transport%3DTCP
  182. variable_sip_contact_user: sky001
  183. variable_sip_contact_port: 34087
  184. variable_sip_contact_uri: sky001%40103.240.35.46%3A34087
  185. variable_sip_contact_host: 103.240.35.46
  186. variable_sip_user_agent: Z%203.3.25608%20r25552
  187. variable_sip_via_host: 192.168.1.62
  188. variable_sip_via_port: 34087
  189. variable_sip_via_rport: 37492
  190. variable_max_forwards: 70
  191. variable_presence_id: sky001%40skytel011.tdsltd.rs
  192. variable_sip_nat_detected: true
  193. variable_switch_r_sdp: v%3D0%0D%0Ao%3DZ%200%200%20IN%20IP4%20117.247.91.162%0D%0As%3DZ%0D%0Ac%3DIN%20IP4%20117.247.91.162%0D%0At%3D0%200%0D%0Am%3Daudio%208000%20RTP/AVP%203%20110%208%200%2098%20101%0D%0Aa%3Drtpmap%3A110%20speex/8000%0D%0Aa%3Drtpmap%3A98%20iLBC/8000%0D%0Aa%3Dfmtp%3A98%20mode%3D20%0D%0Aa%3Drtpmap%3A101%20telephone-event/8000%0D%0Aa%3Dfmtp%3A101%200-15%0D%0A
  194. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b,CORE_PCM_MODULE.PCMU%408000h%4020i%4064000b
  195. variable_rtp_use_codec_string: PCMA,PCMU
  196. variable_remote_video_media_flow: inactive
  197. variable_remote_text_media_flow: inactive
  198. variable_remote_audio_media_flow: sendrecv
  199. variable_audio_media_flow: sendrecv
  200. variable_remote_media_ip: 117.247.91.162
  201. variable_remote_media_port: 8000
  202. variable_rtp_audio_recv_pt: 8
  203. variable_rtp_use_codec_name: PCMA
  204. variable_rtp_use_codec_rate: 8000
  205. variable_rtp_use_codec_ptime: 20
  206. variable_rtp_use_codec_channels: 1
  207. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  208. variable_read_codec: PCMA
  209. variable_original_read_codec: PCMA
  210. variable_read_rate: 8000
  211. variable_original_read_rate: 8000
  212. variable_write_codec: PCMA
  213. variable_write_rate: 8000
  214. variable_dtmf_type: rfc2833
  215. variable_endpoint_disposition: RECEIVED
  216. variable_call_uuid: 39e76f75-21f0-4577-91b8-b5a0b884f384
  217. Hunt-Direction: inbound
  218. Hunt-Logical-Direction: inbound
  219. Hunt-Username: sky001
  220. Hunt-Dialplan: XML
  221. Hunt-Caller-ID-Name: sky001
  222. Hunt-Caller-ID-Number: sky001
  223. Hunt-Orig-Caller-ID-Name: sky001
  224. Hunt-Orig-Caller-ID-Number: sky001
  225. Hunt-Network-Addr: 117.247.91.162
  226. Hunt-ANI: sky001
  227. Hunt-Destination-Number: 4420123456
  228. Hunt-Unique-ID: 39e76f75-21f0-4577-91b8-b5a0b884f384
  229. Hunt-Source: mod_sofia
  230. Hunt-Context: default
  231. Hunt-Channel-Name: sofia/default/sky001%40skytel011.tdsltd.rs
  232. Hunt-Profile-Index: 1
  233. Hunt-Profile-Created-Time: 1656415943793229
  234. Hunt-Channel-Created-Time: 1656415943793229
  235. Hunt-Channel-Answered-Time: 0
  236. Hunt-Channel-Progress-Time: 0
  237. Hunt-Channel-Progress-Media-Time: 0
  238. Hunt-Channel-Hangup-Time: 0
  239. Hunt-Channel-Transfer-Time: 0
  240. Hunt-Channel-Resurrect-Time: 0
  241. Hunt-Channel-Bridged-Time: 0
  242. Hunt-Channel-Last-Hold: 0
  243. Hunt-Channel-Hold-Accum: 0
  244. Hunt-Screen-Bit: true
  245. Hunt-Privacy-Hide-Name: false
  246. Hunt-Privacy-Hide-Number: false
  247.  
  248.  
  249. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  250. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  251. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  252. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  253. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  254. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 4420123456
  255. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '4420123456' limit 1
  256. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '4420123456' AND status=0 limit 1
  257. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '4420123456' and status=0 LIMIT 1
  258. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : sky001 / sky001
  259. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4420123456" LIMIT 1
  260. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4420123456"  AND domains.domain="skytel011.tdsltd.rs" limit 1
  261. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  262. 2022-06-28 13:32:23.793229 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 4307873302]
  263. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "4307873302" AND deleted = 0 limit 1
  264. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^4420123456.*' OR blocked_patterns = '^442012345.*' OR blocked_patterns = '^44201234.*' OR blocked_patterns = '^4420123.*' OR blocked_patterns = '^442012.*' OR blocked_patterns = '^44201.*' OR blocked_patterns = '^4420.*' OR blocked_patterns = '^442.*' OR blocked_patterns = '^44.*' OR blocked_patterns = '^4.*' OR blocked_patterns ='--') AND accountid = 7 limit 1
  265. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="4420123456" AND (accountid = 0 OR status = 1) LIMIT 1
  266. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Localization Id: 41
  267. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :SELECT id,in_caller_id_originate,out_caller_id_originate,number_originate,dst_base_cid FROM localization WHERE id = 41 AND status=0 limit 1
  268. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"00/".....4420123456
  269. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/14802407386".....sky001DBCLI4420123456
  270. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : sky001DBCLI4420123456
  271. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4420123456DBCLI4420123456
  272. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_LOCALIZATION] Query :"4/4420123456,1/14802407386".....4420123456DBCLI4420123456
  273. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] Before- Localization CLI/DST : 4420123456DBCLI4420123456
  274. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [DONUMBERTRANSLATION] After- Localization CLI/DST : 4420123456
  275. 2022-06-28 13:32:23.793229 [NOTICE] switch_cpp.cpp:1465 [ASTPP] Ash............ sky001
  276. 2022-06-28 13:32:23.793229 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^4420123456.*' OR patterns = '^442012345.*' OR patterns = '^44201234.*' OR patterns = '^4420123.*' OR patterns = '^442012.*' OR patterns = '^44201.*' OR patterns = '^4420.*' OR patterns = '^442.*' OR patterns = '^44.*' OR patterns = '^4.*' OR patterns ='--') AND accountid = 7 ORDER BY LENGTH(PKGPTR.patterns) DESC
  277. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="4420123456" AND A.accountid = '7' limit 1
  278. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 4420123456
  279. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4420123456" LIMIT 1
  280. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="4420123456"  AND domains.domain="skytel011.tdsltd.rs" limit 1
  281. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  282. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '4420123456' OR number = '442012345' OR number = '44201234' OR number = '4420123' OR number = '442012' OR number = '44201' OR number = '4420' OR number = '442' OR number = '44' OR number = '4' OR number ='--') OR (number = '4420123456*' OR number = '442012345*' OR number = '44201234*' OR number = '4420123*' OR number = '442012*' OR number = '44201*' OR number = '4420*' OR number = '442*' OR number = '44*' OR number = '4*' OR number ='--') OR (number = 'sky001' OR number = 'sky00' OR number = 'sky0' OR number = 'sky' OR number = 'sk' OR number = 's' OR number ='--') OR (number = 'sky001*' OR number = 'sky00*' OR number = 'sky0*' OR number = 'sky*' OR number = 'sk*' OR number = 's*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  283. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  284. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : sky001
  285. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  286. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='sky001' and status=0
  287. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  288. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
  289. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
  290. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '4420123456' OR routing_prefix = '442012345' OR routing_prefix = '44201234' OR routing_prefix = '4420123' OR routing_prefix = '442012' OR routing_prefix = '44201' OR routing_prefix = '4420' OR routing_prefix = '442' OR routing_prefix = '44' OR routing_prefix = '4' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  291. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  292. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 7
  293. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 4307873302
  294. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 173.93048
  295. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  296. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 4
  297. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  298. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  299. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  300. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  301. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  302. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^4420123456.*' OR pattern = '^442012345.*' OR pattern = '^44201234.*' OR pattern = '^4420123.*' OR pattern = '^442012.*' OR pattern = '^44201.*' OR pattern = '^4420.*' OR pattern = '^442.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 4 OR accountid=7)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  303. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  304. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  305. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 3347
  306. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  307. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  308. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.03000
  309. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : United Kingdom
  310. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 200
  311. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 7
  312. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID: 0
  313. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  314. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  315. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your173.93048 balance Accountid 7 !!!
  316. 2022-06-28 13:32:23.813244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  317. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  318. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [DIALPLAN] User Rate ID : 3347
  319. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :0
  320. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=4 ORDER by id asc
  321. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [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 = '^4420123456.*' OR pattern = '^442012345.*' OR pattern = '^44201234.*' OR pattern = '^4420123.*' OR pattern = '^442012.*' OR pattern = '^44201.*' OR pattern = '^4420.*' OR pattern = '^442.*' OR pattern = '^44.*' OR pattern = '^4.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (5,6,8,9,10,13,16,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  322. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  323. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  324. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 375067
  325. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^442.*
  326. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : United Kingdom-UK National
  327. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  328. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  329. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^442.*
  330. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  331. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  332. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 6
  333. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : DIDWW-ORIGIN
  334. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  335. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  336. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 6
  337. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 20
  338. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : DID-ORIGIN
  339. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  340. 2022-06-28 13:32:23.813244 [NOTICE] switch_cpp.cpp:1465 [ASTPP] DIDWW-INT: 0.51103 > 0.03000, skipping for loss less routing
  341. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 7 AND status=0 LIMIT 1
  342. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  343. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  344. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  345. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  346. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 4 AND status = 0
  347. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 4420123456
  348. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [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 = 6) AND status=0 limit 1
  349. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [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 = 6) AND status=0 limit 1
  350. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 4420123456
  351. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 4420123456
  352. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  353. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='4420123456' and status=0
  354. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  355. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='7' order by RAND() limit 1
  356. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: +38220690266
  357. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="4420123456" LIMIT 1
  358. 2022-06-28 13:32:23.813244 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number +38220690266
  359. 2022-06-28 13:32:23.813244 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  360. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  361. <document type="freeswitch/xml">
  362. <section name="dialplan" description="ASTPP Dialplan">
  363. <context name="default">
  364. <extension name="4420123456">
  365. <condition field="destination_number" expression="4420123456">
  366. <action application="set" data="effective_destination_number=4420123456"/>
  367. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  368. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  369. <action application="set" data="callstart=2022-06-28 11:32:22"/>
  370. <action application="set" data="hangup_after_bridge=true"/>
  371. <action application="set" data="continue_on_fail=TRUE"/>
  372. <action application="set" data="account_id=7"/>
  373. <action application="set" data="parent_id=0"/>
  374. <action application="set" data="entity_id=0"/>
  375. <action application="set" data="call_processed=internal"/>
  376. <action application="set" data="call_direction=outbound"/>
  377. <action application="set" data="accountname=default"/>
  378. <action application="set" data="origination_rates=ID:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7"/>
  379. <action application="set" data="original_caller_id_name=+38220690266"/>
  380. <action application="set" data="original_caller_id_number=4420123456"/>
  381. <action application="limit" data="db 4307873302 user_4307873302 5 "/>
  382. <action application="limit" data="hash CPS_4307873302 CPS_user_4307873302 2/1 "/>
  383.  
  384. <action application="set" data="effective_caller_id_name=+38220690266"/>
  385. <action application="set" data="effective_caller_id_number=+38220690266"/>
  386. <action application="set" data="calltype=STANDARD"/>
  387. <action application="set" data="termination_rates=ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6"/>
  388. <action application="set" data="trunk_id=6"/>
  389. <action application="set" data="provider_id=6"/>
  390. <action application="set" data="rate_flag=0"/>
  391. <action application="set" data="force_trunk_flag=3347"/>
  392. <action application="export" data="presence_data=trunk_id=6"/>
  393. <action application="set" data="intcall=0"/>
  394. <action application="export" data="presence_id=4420123456"/>
  395. <action application="export" data="presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162"/>
  396. <action application="limit" data="hash CPS_6 CPS_trunk_6 10/1 "/>
  397. <action application="limit" data="db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 "/>
  398. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/4420123456"/>
  399. </condition>
  400. </extension>
  401. </context>
  402. </document>
  403. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs parsing [default->4420123456] continue=false
  404. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Regex (PASS) [4420123456] destination_number(4420123456) =~ /4420123456/ break=on-false
  405. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_destination_number=4420123456)
  406. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_app=sched_hangup)
  407. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  408. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(callstart=2022-06-28 11:32:22)
  409. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(hangup_after_bridge=true)
  410. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(continue_on_fail=TRUE)
  411. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(account_id=7)
  412. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(parent_id=0)
  413. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(entity_id=0)
  414. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_processed=internal)
  415. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(call_direction=outbound)
  416. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(accountname=default)
  417. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(origination_rates=ID:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7)
  418. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_name=+38220690266)
  419. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(original_caller_id_number=4420123456)
  420. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db 4307873302 user_4307873302 5 )
  421. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
  422. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_name=+38220690266)
  423. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(effective_caller_id_number=+38220690266)
  424. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(calltype=STANDARD)
  425. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(termination_rates=ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
  426. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(trunk_id=6)
  427. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(provider_id=6)
  428. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(rate_flag=0)
  429. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(force_trunk_flag=3347)
  430. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=trunk_id=6)
  431. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action set(intcall=0)
  432. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_id=4420123456)
  433. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action export(presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162)
  434. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(hash CPS_6 CPS_trunk_6 10/1 )
  435. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
  436. Dialplan: sofia/default/sky001@skytel011.tdsltd.rs Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/4420123456)
  437. 2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:287 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_ROUTING -> CS_EXECUTE
  438. 2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:644 (sofia/default/sky001@skytel011.tdsltd.rs) State ROUTING going to sleep
  439. 2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_EXECUTE (Cur 51 Tot 2758981)
  440. 2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE
  441. 2022-06-28 13:32:23.813244 [DEBUG] mod_sofia.c:209 sofia/default/sky001@skytel011.tdsltd.rs SOFIA EXECUTE
  442. 2022-06-28 13:32:23.813244 [DEBUG] switch_core_state_machine.c:329 sofia/default/sky001@skytel011.tdsltd.rs Standard EXECUTE
  443. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_destination_number=4420123456)
  444. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_destination_number]=[4420123456]
  445. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_app=sched_hangup)
  446. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_app]=[sched_hangup]
  447. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  448. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  449. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(callstart=2022-06-28 11:32:22)
  450. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [callstart]=[2022-06-28 11:32:22]
  451. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(hangup_after_bridge=true)
  452. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [hangup_after_bridge]=[true]
  453. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(continue_on_fail=TRUE)
  454. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [continue_on_fail]=[TRUE]
  455. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(account_id=7)
  456. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [account_id]=[7]
  457. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(parent_id=0)
  458. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [parent_id]=[0]
  459. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(entity_id=0)
  460. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [entity_id]=[0]
  461. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_processed=internal)
  462. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_processed]=[internal]
  463. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(call_direction=outbound)
  464. 2022-06-28 13:32:23.813244 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [call_direction]=[outbound]
  465. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(accountname=default)
  466. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [accountname]=[default]
  467. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(origination_rates=ID:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7)
  468. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [origination_rates]=[ID:3347|CODE:^44.*|DESTINATION:United Kingdom|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.03000|INC:60|INITIALBLOCK:60|RATEGROUP:4|MARKUP:0|CI:200|ACCID:7]
  469. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_name=+38220690266)
  470. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_name]=[+38220690266]
  471. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(original_caller_id_number=4420123456)
  472. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [original_caller_id_number]=[4420123456]
  473. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db 4307873302 user_4307873302 5 )
  474. 2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: 4307873302_user_4307873302 max:5, interval:0
  475. 2022-06-28 13:32:23.833235 [DEBUG] mod_db.c:194 Usage for 4307873302_user_4307873302 is now 1/5
  476. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_4307873302 CPS_user_4307873302 2/1 )
  477. 2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: CPS_4307873302_CPS_user_4307873302 max:2, interval:1
  478. 2022-06-28 13:32:23.833235 [DEBUG] mod_hash.c:198 Usage for CPS_4307873302_CPS_user_4307873302 is now 1/2 for the last 1 seconds
  479. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_name=+38220690266)
  480. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_name]=[+38220690266]
  481. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(effective_caller_id_number=+38220690266)
  482. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [effective_caller_id_number]=[+38220690266]
  483. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(calltype=STANDARD)
  484. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [calltype]=[STANDARD]
  485. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(termination_rates=ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6)
  486. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [termination_rates]=[ID:375067|CODE:^442.*|DESTINATION:United Kingdom-UK National|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00281|INC:1|INITIALBLOCK:1|TRUNK:6|PROVIDER:6]
  487. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(trunk_id=6)
  488. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [trunk_id]=[6]
  489. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(provider_id=6)
  490. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [provider_id]=[6]
  491. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(rate_flag=0)
  492. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [rate_flag]=[0]
  493. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(force_trunk_flag=3347)
  494. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [force_trunk_flag]=[3347]
  495. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=trunk_id=6)
  496. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=6]
  497. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs set(intcall=0)
  498. 2022-06-28 13:32:23.833235 [DEBUG] mod_dptools.c:1685 SET sofia/default/sky001@skytel011.tdsltd.rs [intcall]=[0]
  499. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_id=4420123456)
  500. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[4420123456]
  501. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs export(presence_data=x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162)
  502. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162]
  503. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(hash CPS_6 CPS_trunk_6 10/1 )
  504. 2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: CPS_6_CPS_trunk_6 max:10, interval:1
  505. 2022-06-28 13:32:23.833235 [DEBUG] mod_hash.c:198 Usage for CPS_6_CPS_trunk_6 is now 1/10 for the last 1 seconds
  506. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs limit(db DIDWW-ORIGIN gw_DIDWW-ORIGIN 20 )
  507. 2022-06-28 13:32:23.833235 [DEBUG] switch_limit.c:124 incr called: DIDWW-ORIGIN_gw_DIDWW-ORIGIN max:20, interval:0
  508. 2022-06-28 13:32:23.833235 [DEBUG] mod_db.c:194 Usage for DIDWW-ORIGIN_gw_DIDWW-ORIGIN is now 2/20
  509. EXECUTE [depth=0] sofia/default/sky001@skytel011.tdsltd.rs bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/DIDWW-ORIGIN/4420123456)
  510. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162] to event
  511. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_id]=[4420123456] to event
  512. 2022-06-28 13:32:23.833235 [DEBUG] switch_channel.c:1264 sofia/default/sky001@skytel011.tdsltd.rs EXPORTING[export_vars] [presence_data]=[x|||SkyTel(4307873302)|||^44.* // United Kingdom // 0.03000 |||DID-ORIGIN // ^442.* // United Kingdom-UK National // 0.00281 // trunk_id=6|||STD|||117.247.91.162] to event
  513. 2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  514. 2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  515. 2022-06-28 13:32:23.833235 [NOTICE] switch_channel.c:1118 New Channel sofia/default/4420123456 [40949682-b6d2-4a43-a3da-8b0346691674]
  516. 2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:5102 (sofia/default/4420123456) State Change CS_NEW -> CS_INIT
  517. 2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:3142 sofia/default/4420123456 Setting leg timeout to 45
  518. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_INIT (Cur 52 Tot 2758982)
  519. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4420123456) State INIT
  520. 2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:93 sofia/default/4420123456 SOFIA INIT
  521. 2022-06-28 13:32:23.833235 [INFO] sofia_glue.c:1621 sofia/default/4420123456 sending invite call-id: (null)
  522. 2022-06-28 13:32:23.833235 [DEBUG] sofia_glue.c:1624 sofia/default/4420123456 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  523. Local SDP:
  524. v=0
  525. o=FreeSWITCH 1656383977 1656383978 IN IP4 82.214.92.3
  526. s=FreeSWITCH
  527. c=IN IP4 82.214.92.3
  528. t=0 0
  529. m=audio 31966 RTP/AVP 8 0 101
  530. a=rtpmap:8 PCMA/8000
  531. a=rtpmap:0 PCMU/8000
  532. a=rtpmap:101 telephone-event/8000
  533. a=fmtp:101 0-16
  534. a=ptime:20
  535. a=sendrecv
  536.  
  537. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:40 sofia/default/4420123456 Standard INIT
  538. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:48 (sofia/default/4420123456) State Change CS_INIT -> CS_ROUTING
  539. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:628 (sofia/default/4420123456) State INIT going to sleep
  540. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_ROUTING (Cur 52 Tot 2758982)
  541. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4420123456) State ROUTING
  542. 2022-06-28 13:32:23.833235 [DEBUG] mod_sofia.c:154 sofia/default/4420123456 SOFIA ROUTING
  543. 2022-06-28 13:32:23.833235 [DEBUG] switch_ivr_originate.c:67 (sofia/default/4420123456) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  544. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:644 (sofia/default/4420123456) State ROUTING going to sleep
  545. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_CONSUME_MEDIA (Cur 52 Tot 2758982)
  546. 2022-06-28 13:32:23.833235 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [calling][0]
  547. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4420123456) State CONSUME_MEDIA
  548. 2022-06-28 13:32:23.833235 [DEBUG] switch_core_state_machine.c:663 (sofia/default/4420123456) State CONSUME_MEDIA going to sleep
  549. 2022-06-28 13:32:23.853225 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [calling][0]
  550. 2022-06-28 13:32:24.193242 [DEBUG] sofia.c:7406 Channel sofia/default/4420123456 entering state [terminated][484]
  551. 2022-06-28 13:32:24.193242 [NOTICE] sofia.c:8641 Hangup sofia/default/4420123456 [CS_CONSUME_MEDIA] [INVALID_NUMBER_FORMAT]
  552. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_HANGUP (Cur 52 Tot 2758982)
  553. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/4420123456) Callstate Change DOWN -> HANGUP
  554. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4420123456) State HANGUP
  555. 2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:453 Channel sofia/default/4420123456 hanging up, cause: INVALID_NUMBER_FORMAT
  556. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:60 sofia/default/4420123456 Standard HANGUP, cause: INVALID_NUMBER_FORMAT
  557. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/4420123456) State HANGUP going to sleep
  558. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/4420123456) State Change CS_HANGUP -> CS_REPORTING
  559. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/4420123456) Running State Change CS_REPORTING (Cur 52 Tot 2758982)
  560. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4420123456) State REPORTING
  561. 2022-06-28 13:32:24.193242 [INFO] mod_json_cdr.c:271 Process [40949682-b6d2-4a43-a3da-8b0346691674.cdr.json]
  562. 2022-06-28 13:32:24.193242 [DEBUG] switch_ivr_originate.c:4026 Originate Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]
  563. 2022-06-28 13:32:24.193242 [INFO] mod_dptools.c:3643 Originate Failed.  Cause: INVALID_NUMBER_FORMAT
  564. 2022-06-28 13:32:24.193242 [NOTICE] switch_core_state_machine.c:386 sofia/default/sky001@skytel011.tdsltd.rs has executed the last dialplan instruction, hanging up.
  565. 2022-06-28 13:32:24.193242 [NOTICE] switch_core_state_machine.c:388 Hangup sofia/default/sky001@skytel011.tdsltd.rs [CS_EXECUTE] [NORMAL_CLEARING]
  566. 2022-06-28 13:32:24.193242 [DEBUG] mod_hash.c:296 Usage for CPS_4307873302_CPS_user_4307873302 is now 0
  567. 2022-06-28 13:32:24.193242 [DEBUG] mod_hash.c:296 Usage for CPS_6_CPS_trunk_6 is now 1
  568. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:651 (sofia/default/sky001@skytel011.tdsltd.rs) State EXECUTE going to sleep
  569. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_HANGUP (Cur 52 Tot 2758982)
  570. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:848 (sofia/default/sky001@skytel011.tdsltd.rs) Callstate Change RINGING -> HANGUP
  571. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP
  572. 2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:447 sofia/default/sky001@skytel011.tdsltd.rs Overriding SIP cause 480 with 484 from the other leg
  573. 2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:453 Channel sofia/default/sky001@skytel011.tdsltd.rs hanging up, cause: NORMAL_CLEARING
  574. 2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:598 Responding to INVITE with: 484
  575. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:60 sofia/default/sky001@skytel011.tdsltd.rs Standard HANGUP, cause: NORMAL_CLEARING
  576. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:850 (sofia/default/sky001@skytel011.tdsltd.rs) State HANGUP going to sleep
  577. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:620 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_HANGUP -> CS_REPORTING
  578. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:585 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_REPORTING (Cur 52 Tot 2758982)
  579. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING
  580. 2022-06-28 13:32:24.193242 [INFO] mod_json_cdr.c:271 Process [39e76f75-21f0-4577-91b8-b5a0b884f384.cdr.json]
  581. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:174 sofia/default/4420123456 Standard REPORTING, cause: INVALID_NUMBER_FORMAT
  582. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:936 (sofia/default/4420123456) State REPORTING going to sleep
  583. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:611 (sofia/default/4420123456) State Change CS_REPORTING -> CS_DESTROY
  584. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_session.c:1736 Session 2758982 (sofia/default/4420123456) Locked, Waiting on external entities
  585. 2022-06-28 13:32:24.193242 [NOTICE] switch_core_session.c:1754 Session 2758982 (sofia/default/4420123456) Ended
  586. 2022-06-28 13:32:24.193242 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/4420123456 [CS_DESTROY]
  587. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:739 (sofia/default/4420123456) Running State Change CS_DESTROY (Cur 51 Tot 2758982)
  588. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4420123456) State DESTROY
  589. 2022-06-28 13:32:24.193242 [DEBUG] mod_sofia.c:364 sofia/default/4420123456 SOFIA DESTROY
  590. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:181 sofia/default/4420123456 Standard DESTROY
  591. 2022-06-28 13:32:24.193242 [DEBUG] switch_core_state_machine.c:749 (sofia/default/4420123456) State DESTROY going to sleep
  592. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:174 sofia/default/sky001@skytel011.tdsltd.rs Standard REPORTING, cause: NORMAL_CLEARING
  593. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:936 (sofia/default/sky001@skytel011.tdsltd.rs) State REPORTING going to sleep
  594. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:611 (sofia/default/sky001@skytel011.tdsltd.rs) State Change CS_REPORTING -> CS_DESTROY
  595. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_session.c:1736 Session 2758981 (sofia/default/sky001@skytel011.tdsltd.rs) Locked, Waiting on external entities
  596. 2022-06-28 13:32:24.213228 [NOTICE] switch_core_session.c:1754 Session 2758981 (sofia/default/sky001@skytel011.tdsltd.rs) Ended
  597. 2022-06-28 13:32:24.213228 [NOTICE] switch_core_session.c:1758 Close Channel sofia/default/sky001@skytel011.tdsltd.rs [CS_DESTROY]
  598. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:739 (sofia/default/sky001@skytel011.tdsltd.rs) Running State Change CS_DESTROY (Cur 50 Tot 2758982)
  599. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY
  600. 2022-06-28 13:32:24.213228 [DEBUG] mod_sofia.c:364 sofia/default/sky001@skytel011.tdsltd.rs SOFIA DESTROY
  601. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:181 sofia/default/sky001@skytel011.tdsltd.rs Standard DESTROY
  602. 2022-06-28 13:32:24.213228 [DEBUG] switch_core_state_machine.c:749 (sofia/default/sky001@skytel011.tdsltd.rs) State DESTROY going to sleep
  603. 2022-06-28 13:32:26.753243 [NOTICE] switch_channel.c:1118 New Channel sofia/default/38618282990@148.251.195.149 [76124159-b2aa-4492-8210-9e0057faaa4d]
  604. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_NEW (Cur 51 Tot 2758983)
  605. 2022-06-28 13:32:26.753243 [INFO] sofia.c:10362 sofia/default/38618282990@148.251.195.149 receiving invite from 148.251.195.149:5060 version: 1.10.6 -release-18-1ff9d0a60e 64bit call-id: 089f69fd2f2f7453147965465299a4e0@148.251.195.149:5060
  606. 2022-06-28 13:32:26.753243 [DEBUG] sofia.c:10456 verifying acl "default" for ip/port 148.251.195.149:0.
  607. 2022-06-28 13:32:26.753243 [DEBUG] sofia.c:10485 IP 148.251.195.149 Approved by acl "default[]". Access Granted.
  608. 2022-06-28 13:32:26.753243 [DEBUG] sofia.c:7406 Channel sofia/default/38618282990@148.251.195.149 entering state [received][100]
  609. 2022-06-28 13:32:26.753243 [DEBUG] sofia.c:7416 Remote SDP:
  610. v=0
  611. o=root 2107701625 2107701625 IN IP4 95.216.40.232
  612. s=SIP.IO
  613. c=IN IP4 95.216.40.232
  614. t=0 0
  615. m=audio 16692 RTP/AVP 8 101
  616. a=rtpmap:8 PCMA/8000
  617. a=rtpmap:101 telephone-event/8000
  618. a=fmtp:101 0-16
  619. a=silenceSupp:off - - - -
  620. a=ptime:20
  621.  
  622. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
  623. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5656 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
  624. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5601 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
  625. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5517 Set telephone-event payload to 101@8000
  626. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:3847 Set Codec sofia/default/38618282990@148.251.195.149 PCMA/8000 20 ms 160 samples 64000 bits 1 channels
  627. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_codec.c:111 sofia/default/38618282990@148.251.195.149 Original read codec set to PCMA:8
  628. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5860 Set telephone-event payload to 101@8000
  629. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_media.c:5918 sofia/default/38618282990@148.251.195.149 Set 2833 dtmf send payload to 101 recv payload to 101
  630. 2022-06-28 13:32:26.753243 [DEBUG] sofia.c:7840 (sofia/default/38618282990@148.251.195.149) State Change CS_NEW -> CS_INIT
  631. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:604 (sofia/default/38618282990@148.251.195.149) State NEW
  632. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_INIT (Cur 51 Tot 2758983)
  633. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT
  634. 2022-06-28 13:32:26.753243 [DEBUG] mod_sofia.c:93 sofia/default/38618282990@148.251.195.149 SOFIA INIT
  635. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:40 sofia/default/38618282990@148.251.195.149 Standard INIT
  636. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:48 (sofia/default/38618282990@148.251.195.149) State Change CS_INIT -> CS_ROUTING
  637. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:628 (sofia/default/38618282990@148.251.195.149) State INIT going to sleep
  638. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_ROUTING (Cur 51 Tot 2758983)
  639. 2022-06-28 13:32:26.753243 [DEBUG] switch_channel.c:2332 (sofia/default/38618282990@148.251.195.149) Callstate Change DOWN -> RINGING
  640. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING
  641. 2022-06-28 13:32:26.753243 [DEBUG] mod_sofia.c:154 sofia/default/38618282990@148.251.195.149 SOFIA ROUTING
  642. 2022-06-28 13:32:26.753243 [DEBUG] switch_core_state_machine.c:236 sofia/default/38618282990@148.251.195.149 Standard ROUTING
  643. 2022-06-28 13:32:26.753243 [INFO] mod_dialplan_xml.c:637 Processing 38618282990 <38618282990>->385953943736 in context default
  644. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_CONF] Query :SELECT name,value FROM `system` WHERE group_title IN ('global','opensips','callingcard','calls','InternationalPrefixes')
  645. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  646. 2022-06-28 13:32:26.753243 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [xml_handler] Params:
  647. Event-Name: REQUEST_PARAMS
  648. Core-UUID: 313505cd-067c-4ad6-a27f-021bce1d8aa5
  649. FreeSWITCH-Hostname: ASTPP5
  650. FreeSWITCH-Switchname: ASTPP5
  651. FreeSWITCH-IPv4: 82.214.92.3
  652. FreeSWITCH-IPv6: %3A%3A1
  653. Event-Date-Local: 2022-06-28%2013%3A32%3A26
  654. Event-Date-GMT: Tue,%2028%20Jun%202022%2011%3A32%3A26%20GMT
  655. Event-Date-Timestamp: 1656415946753243
  656. Event-Calling-File: mod_dialplan_xml.c
  657. Event-Calling-Function: dialplan_xml_locate
  658. Event-Calling-Line-Number: 608
  659. Event-Sequence: 145309221
  660. Channel-State: CS_ROUTING
  661. Channel-Call-State: RINGING
  662. Channel-State-Number: 2
  663. Channel-Name: sofia/default/38618282990%40148.251.195.149
  664. Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
  665. Call-Direction: inbound
  666. Presence-Call-Direction: inbound
  667. Channel-HIT-Dialplan: true
  668. Channel-Presence-ID: 38618282990%40148.251.195.149
  669. Channel-Call-UUID: 76124159-b2aa-4492-8210-9e0057faaa4d
  670. Answer-State: ringing
  671. Channel-Read-Codec-Name: PCMA
  672. Channel-Read-Codec-Rate: 8000
  673. Channel-Read-Codec-Bit-Rate: 64000
  674. Channel-Write-Codec-Name: PCMA
  675. Channel-Write-Codec-Rate: 8000
  676. Channel-Write-Codec-Bit-Rate: 64000
  677. Caller-Direction: inbound
  678. Caller-Logical-Direction: inbound
  679. Caller-Username: 38618282990
  680. Caller-Dialplan: XML
  681. Caller-Caller-ID-Name: 38618282990
  682. Caller-Caller-ID-Number: 38618282990
  683. Caller-Orig-Caller-ID-Name: 38618282990
  684. Caller-Orig-Caller-ID-Number: 38618282990
  685. Caller-Network-Addr: 148.251.195.149
  686. Caller-ANI: 38618282990
  687. Caller-Destination-Number: 385953943736
  688. Caller-Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
  689. Caller-Source: mod_sofia
  690. Caller-Context: default
  691. Caller-Channel-Name: sofia/default/38618282990%40148.251.195.149
  692. Caller-Profile-Index: 1
  693. Caller-Profile-Created-Time: 1656415946753243
  694. Caller-Channel-Created-Time: 1656415946753243
  695. Caller-Channel-Answered-Time: 0
  696. Caller-Channel-Progress-Time: 0
  697. Caller-Channel-Progress-Media-Time: 0
  698. Caller-Channel-Hangup-Time: 0
  699. Caller-Channel-Transfer-Time: 0
  700. Caller-Channel-Resurrect-Time: 0
  701. Caller-Channel-Bridged-Time: 0
  702. Caller-Channel-Last-Hold: 0
  703. Caller-Channel-Hold-Accum: 0
  704. Caller-Screen-Bit: true
  705. Caller-Privacy-Hide-Name: false
  706. Caller-Privacy-Hide-Number: false
  707. variable_direction: inbound
  708. variable_uuid: 76124159-b2aa-4492-8210-9e0057faaa4d
  709. variable_session_id: 2758983
  710. variable_sip_from_user: 38618282990
  711. variable_sip_from_uri: 38618282990%40148.251.195.149
  712. variable_sip_from_host: 148.251.195.149
  713. variable_video_media_flow: disabled
  714. variable_text_media_flow: disabled
  715. variable_channel_name: sofia/default/38618282990%40148.251.195.149
  716. variable_sip_call_id: 089f69fd2f2f7453147965465299a4e0%40148.251.195.149%3A5060
  717. variable_sip_local_network_addr: 82.214.92.3
  718. variable_sip_network_ip: 148.251.195.149
  719. variable_sip_network_port: 5060
  720. variable_sip_invite_stamp: 1656415946753243
  721. variable_sip_received_ip: 148.251.195.149
  722. variable_sip_received_port: 5060
  723. variable_sip_via_protocol: udp
  724. variable_sip_authorized: true
  725. variable_sip_acl_authed_by: default
  726. variable_sip_from_user_stripped: 38618282990
  727. variable_sip_from_tag: as476722d0
  728. variable_sofia_profile_name: default
  729. variable_sofia_profile_url: sip%3Amod_sofia%4082.214.92.3%3A5060
  730. variable_recovery_profile_name: default
  731. variable_sip_full_via: SIP/2.0/UDP%20148.251.195.149%3A5060%3Bbranch%3Dz9hG4bK1e080ea2
  732. variable_sip_full_from: %3Csip%3A38618282990%40148.251.195.149%3E%3Btag%3Das476722d0
  733. variable_sip_full_to: %3Csip%3A385953943736%40sipp.skytel.rs%3A5060%3E
  734. variable_sip_allow: INVITE,%20ACK,%20CANCEL,%20OPTIONS,%20BYE,%20REFER,%20SUBSCRIBE,%20NOTIFY,%20INFO,%20PUBLISH,%20MESSAGE
  735. variable_sip_req_user: 385953943736
  736. variable_sip_req_port: 5060
  737. variable_sip_req_uri: 385953943736%40sipp.skytel.rs%3A5060
  738. variable_sip_req_host: sipp.skytel.rs
  739. variable_sip_to_user: 385953943736
  740. variable_sip_to_port: 5060
  741. variable_sip_to_uri: 385953943736%40sipp.skytel.rs%3A5060
  742. variable_sip_to_host: sipp.skytel.rs
  743. variable_sip_contact_user: 38618282990
  744. variable_sip_contact_port: 5060
  745. variable_sip_contact_uri: 38618282990%40148.251.195.149%3A5060
  746. variable_sip_contact_host: 148.251.195.149
  747. variable_sip_user_agent: SIP.IO
  748. variable_sip_via_host: 148.251.195.149
  749. variable_sip_via_port: 5060
  750. variable_max_forwards: 70
  751. variable_presence_id: 38618282990%40148.251.195.149
  752. variable_switch_r_sdp: v%3D0%0D%0Ao%3Droot%202107701625%202107701625%20IN%20IP4%2095.216.40.232%0D%0As%3DSIP.IO%0D%0Ac%3DIN%20IP4%2095.216.40.232%0D%0At%3D0%200%0D%0Am%3Daudio%2016692%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%3DsilenceSupp%3Aoff%20-%20-%20-%20-%0D%0Aa%3Dptime%3A20%0D%0A
  753. variable_ep_codec_string: CORE_PCM_MODULE.PCMA%408000h%4020i%4064000b
  754. variable_rtp_use_codec_string: PCMA,PCMU
  755. variable_remote_video_media_flow: inactive
  756. variable_remote_text_media_flow: inactive
  757. variable_remote_audio_media_flow: sendrecv
  758. variable_audio_media_flow: sendrecv
  759. variable_remote_media_ip: 95.216.40.232
  760. variable_remote_media_port: 16692
  761. variable_rtp_audio_recv_pt: 8
  762. variable_rtp_use_codec_name: PCMA
  763. variable_rtp_use_codec_rate: 8000
  764. variable_rtp_use_codec_ptime: 20
  765. variable_rtp_use_codec_channels: 1
  766. variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c
  767. variable_read_codec: PCMA
  768. variable_original_read_codec: PCMA
  769. variable_read_rate: 8000
  770. variable_original_read_rate: 8000
  771. variable_write_codec: PCMA
  772. variable_write_rate: 8000
  773. variable_dtmf_type: rfc2833
  774. variable_endpoint_disposition: RECEIVED
  775. variable_call_uuid: 76124159-b2aa-4492-8210-9e0057faaa4d
  776. Hunt-Direction: inbound
  777. Hunt-Logical-Direction: inbound
  778. Hunt-Username: 38618282990
  779. Hunt-Dialplan: XML
  780. Hunt-Caller-ID-Name: 38618282990
  781. Hunt-Caller-ID-Number: 38618282990
  782. Hunt-Orig-Caller-ID-Name: 38618282990
  783. Hunt-Orig-Caller-ID-Number: 38618282990
  784. Hunt-Network-Addr: 148.251.195.149
  785. Hunt-ANI: 38618282990
  786. Hunt-Destination-Number: 385953943736
  787. Hunt-Unique-ID: 76124159-b2aa-4492-8210-9e0057faaa4d
  788. Hunt-Source: mod_sofia
  789. Hunt-Context: default
  790. Hunt-Channel-Name: sofia/default/38618282990%40148.251.195.149
  791. Hunt-Profile-Index: 1
  792. Hunt-Profile-Created-Time: 1656415946753243
  793. Hunt-Channel-Created-Time: 1656415946753243
  794. Hunt-Channel-Answered-Time: 0
  795. Hunt-Channel-Progress-Time: 0
  796. Hunt-Channel-Progress-Media-Time: 0
  797. Hunt-Channel-Hangup-Time: 0
  798. Hunt-Channel-Transfer-Time: 0
  799. Hunt-Channel-Resurrect-Time: 0
  800. Hunt-Channel-Bridged-Time: 0
  801. Hunt-Channel-Last-Hold: 0
  802. Hunt-Channel-Hold-Accum: 0
  803. Hunt-Screen-Bit: true
  804. Hunt-Privacy-Hide-Name: false
  805. Hunt-Privacy-Hide-Number: false
  806.  
  807.  
  808. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] tag_name:
  809. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_name:
  810. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] section: dialplan
  811. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [xml_REQUEST] key_value:
  812. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [feature_code_call_transfer] Blind Call Flag: 0
  813. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Dialed number : 385953943736
  814. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_FEATURE_CODE] Query :SELECT id,feature_action,feature_code from feature_code where feature_code = '385953943736' limit 1
  815. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT access_number FROM accessnumber WHERE access_number = '385953943736' AND status=0 limit 1
  816. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Functions] [Fifo Condition Check] Query :SELECT id,destination_number,agent_hold_file from pbx_queue WHERE destination_number = '385953943736' and status=0 LIMIT 1
  817. 2022-06-28 13:32:26.753243 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Caller Id name / number  : 38618282990 / 38618282990
  818. 2022-06-28 13:32:26.753243 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385953943736" LIMIT 1
  819. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385953943736"  AND domains.domain="sipp.skytel.rs" limit 1
  820. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Call direction : outbound
  821. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IPAUTHENTICATION] Query :SELECT ip_map.*, (SELECT number FROM accounts where id=accountid AND status=0 AND deleted=0) AS account_code FROM ip_map WHERE INET_ATON("148.251.195.149") 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 "385953943736"  LIKE CONCAT(prefix,'%') ORDER BY LENGTH(prefix) DESC LIMIT 1
  822. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Accountcode : 3611165659]
  823. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [DOAUTHORIZATION] Query :SELECT * FROM accounts WHERE number = "3611165659" AND deleted = 0 limit 1
  824. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_BLOCKED_PREFIX] Query :SELECT * FROM block_patterns WHERE (blocked_patterns = '^385953943736.*' OR blocked_patterns = '^38595394373.*' OR blocked_patterns = '^3859539437.*' OR blocked_patterns = '^385953943.*' OR blocked_patterns = '^38595394.*' OR blocked_patterns = '^3859539.*' OR blocked_patterns = '^385953.*' OR blocked_patterns = '^38595.*' OR blocked_patterns = '^3859.*' OR blocked_patterns = '^385.*' OR blocked_patterns = '^38.*' OR blocked_patterns = '^3.*' OR blocked_patterns ='--') AND accountid = 37 limit 1
  825. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [IS_CHECK_DID] Query :SELECT * FROM dids WHERE number ="385953943736" AND (accountid = 0 OR status = 1) LIMIT 1
  826. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PACKAGE_INFO] Query :SELECT *,P.id as package_id,P.product_id as product_id FROM packages_view as P inner join package_patterns as PKGPTR on P.product_id = PKGPTR.product_id WHERE (patterns = '^385953943736.*' OR patterns = '^38595394373.*' OR patterns = '^3859539437.*' OR patterns = '^385953943.*' OR patterns = '^38595394.*' OR patterns = '^3859539.*' OR patterns = '^385953.*' OR patterns = '^38595.*' OR patterns = '^3859.*' OR patterns = '^385.*' OR patterns = '^38.*' OR patterns = '^3.*' OR patterns ='--') AND accountid = 37 ORDER BY LENGTH(PKGPTR.patterns) DESC
  827. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_SPEEDDIAL] Query :SELECT A.number FROM speed_dial as A,accounts as B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.speed_num ="385953943736" AND A.accountid = '37' limit 1
  828. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] SPEED DIAL NUMBER : 385953943736
  829. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385953943736" LIMIT 1
  830. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_LOCAL_CALL] Query :SELECT sip_devices.id as sip_id,sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts ,domains WHERE accounts.id=domains.accountid AND accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username="385953943736"  AND domains.domain="sipp.skytel.rs" limit 1
  831. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [Dialplan] New Call Direction : outbound
  832. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CALL_BARRING] Query :SELECT number,RIGHT(number,1) as lastchar,type as status_type,number_type FROM call_barring WHERE ((number = '385953943736' OR number = '38595394373' OR number = '3859539437' OR number = '385953943' OR number = '38595394' OR number = '3859539' OR number = '385953' OR number = '38595' OR number = '3859' OR number = '385' OR number = '38' OR number = '3' OR number ='--') OR (number = '385953943736*' OR number = '38595394373*' OR number = '3859539437*' OR number = '385953943*' OR number = '38595394*' OR number = '3859539*' OR number = '385953*' OR number = '38595*' OR number = '3859*' OR number = '385*' OR number = '38*' OR number = '3*' OR number ='--') OR (number = '38618282990' OR number = '3861828299' OR number = '386182829' OR number = '38618282' OR number = '3861828' OR number = '386182' OR number = '38618' OR number = '3861' OR number = '386' OR number = '38' OR number = '3' OR number ='--') OR (number = '38618282990*' OR number = '3861828299*' OR number = '386182829*' OR number = '38618282*' OR number = '3861828*' OR number = '386182*' OR number = '38618*' OR number = '3861*' OR number = '386*' OR number = '38*' OR number = '3*' OR number ='--')) AND status=0 order by LENGTH(number) DESC,lastchar DESC, modified_date DESC
  833. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] Call Barring Status : -1
  834. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38618282990
  835. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  836. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38618282990' and status=0
  837. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:0
  838. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select number from ani_map where status=0 and accountid='37' order by RAND() limit 1
  839. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_cid info number] COUNT: 38515790638
  840. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_ROUTING_INFO] Query :select id,routing_prefix,pricelist_id_admin from pricelists WHERE (routing_prefix = '385953943736' OR routing_prefix = '38595394373' OR routing_prefix = '3859539437' OR routing_prefix = '385953943' OR routing_prefix = '38595394' OR routing_prefix = '3859539' OR routing_prefix = '385953' OR routing_prefix = '38595' OR routing_prefix = '3859' OR routing_prefix = '385' OR routing_prefix = '38' OR routing_prefix = '3' OR routing_prefix ='--') AND status = 0 and reseller_id = 0 limit 1
  841. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Account Information ===================
  842. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] User id : 37
  843. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Account code : 3611165659
  844. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Balance : 6414.57631
  845. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Type : 1 [0:prepaid,1:postpaid]
  846. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ratecard id : 10
  847. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] CID Pool : 2
  848. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================================================
  849. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  850. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] call_direction :outbound
  851. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  852. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_RATES] Query :SELECT * FROM routes WHERE (pattern = '^385953943736.*' OR pattern = '^38595394373.*' OR pattern = '^3859539437.*' OR pattern = '^385953943.*' OR pattern = '^38595394.*' OR pattern = '^3859539.*' OR pattern = '^385953.*' OR pattern = '^38595.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND status = 0 AND effective_date <= UTC_TIMESTAMP() AND (pricelist_id = 10 OR accountid=37)  ORDER BY accountid DESC,LENGTH(pattern) DESC,cost DESC,effective_date DESC LIMIT 1
  853. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP]  Call Direction : outbound
  854. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Rates Information ===================
  855. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 4305
  856. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  857. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Includedseconds : 0
  858. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Cost : 0.02450
  859. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Comment : Croatia-Mobile
  860. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Country Id : 47
  861. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Accid : 37
  862. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk ID:
  863. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Routing type:
  864. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ================================================================
  865. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Your6414.57631 balance Accountid 37 !!!
  866. 2022-06-28 13:32:26.773232 [NOTICE] switch_cpp.cpp:1465 [ASTPP] [FIND_MAXLENGTH] Limiting Call To Config Max Length 100 mins!
  867. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Call Max Length Duration : 100 minutes
  868. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES] Query Rate Carrier Id        :
  869. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CARRIER_RATES_TRUNKS] Query :SELECT GROUP_CONCAT(trunk_id) as ids FROM routing WHERE pricelist_id=10 ORDER by id asc
  870. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [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 = '^385953943736.*' OR pattern = '^38595394373.*' OR pattern = '^3859539437.*' OR pattern = '^385953943.*' OR pattern = '^38595394.*' OR pattern = '^3859539.*' OR pattern = '^385953.*' OR pattern = '^38595.*' OR pattern = '^3859.*' OR pattern = '^385.*' OR pattern = '^38.*' OR pattern = '^3.*' OR pattern ='--') AND TR.status = 0  AND TR.trunk_id IN (10,18) AND TR.effective_date <= UTC_TIMESTAMP() ORDER by LENGTH (pattern) DESC,TR.cost ASC,TR.precedence ASC, TK.precedence,TR.effective_date DESC
  871. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [HYBRID_ROUTING] LCR With Cost In 2nd Stage
  872. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  873. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 339650
  874. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^38595.*
  875. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia - Mobile Tele2
  876. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  877. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  878. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^38595.*
  879. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  880. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  881. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 10
  882. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : NovaTel212
  883. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  884. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway : NovaTel245
  885. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 9
  886. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  887. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : NovaTel
  888. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  889. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] =============== Termination Rates Information ===================
  890. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ID : 372062
  891. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Code : ^3859.*
  892. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Destination : Croatia-Mobile
  893. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Connectcost : 0.00000
  894. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Free Seconds : 0
  895. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prefix : ^3859.*
  896. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Strip :
  897. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Prepend :
  898. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Carrier id : 18
  899. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] carrier_name : IT1
  900. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] dialplan_variable :
  901. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Failover gateway :
  902. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Vendor id : 16
  903. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Max channels : 0
  904. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Trunk Name : IT1
  905. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] ========================END OF TERMINATION RATES=======================
  906. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_OVERRIDE_CALLERID] Query :SELECT callerid_name as cid_name,callerid_number as cid_number,accountid FROM accounts_callerid WHERE accountid = 37 AND status=0 LIMIT 1
  907. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP]  Maxlength : 100
  908. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [LOAD_ADDON_CONF] Query :SELECT package_name FROM addons
  909. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [XML] Customer Recording Flag : 1
  910. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] [PBX] Call Direction : outbound
  911. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  912. 2022-06-28 13:32:26.773232 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790638
  913. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [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 = 9) AND status=0 limit 1
  914. 2022-06-28 13:32:26.773232 [DEBUG] switch_cpp.cpp:1465 [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 = 10) AND status=0 limit 1
  915. 2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790638
  916. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790638
  917. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  918. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790638' and status=0
  919. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  920. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385953943736" LIMIT 1
  921. 2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790638
  922. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_PRICELIST_INFO] Query :select * from pricelists WHERE id = 10 AND status = 0
  923. 2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish caller id number 38515790638
  924. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [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 = 16) AND status=0 limit 1
  925. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [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 = 18) AND status=0 limit 1
  926. 2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish2 caller id number 38515790638
  927. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] Caller Id : 38515790638
  928. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_CLI_POOL] CLI Pool Id : 2
  929. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] Query :Select count(*) as count from ani_map where number='38515790638' and status=0
  930. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [GET_CIDPOOL] COUNT:1
  931. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [CHECK_DID] Query :SELECT A.id as id,A.number as did_number,B.id as accountid,B.number as account_code,A.number as did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout,A.status,A.country_id,A.call_type_vm_flag FROM dids AS A,accounts AS B WHERE B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number ="385953943736" LIMIT 1
  932. 2022-06-28 13:32:26.793228 [INFO] switch_cpp.cpp:1465 [ASTPP] Ashish3 caller id number 38515790638
  933. 2022-06-28 13:32:26.793228 [DEBUG] switch_cpp.cpp:1465 [ASTPP] [Dialplan] Generated XML:
  934. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  935. <document type="freeswitch/xml">
  936. <section name="dialplan" description="ASTPP Dialplan">
  937. <context name="default">
  938. <extension name="385953943736">
  939. <condition field="destination_number" expression="385953943736">
  940. <action application="set" data="effective_destination_number=385953943736"/>
  941. <action application="set" data="bridge_pre_execute_bleg_app=sched_hangup"/>
  942. <action application="set" data="bridge_pre_execute_bleg_data=+6000 normal_clearing"/>
  943. <action application="set" data="callstart=2022-06-28 11:32:25"/>
  944. <action application="set" data="hangup_after_bridge=true"/>
  945. <action application="set" data="continue_on_fail=TRUE"/>
  946. <action application="set" data="account_id=37"/>
  947. <action application="set" data="parent_id=0"/>
  948. <action application="set" data="entity_id=0"/>
  949. <action application="set" data="call_processed=internal"/>
  950. <action application="set" data="call_direction=outbound"/>
  951. <action application="set" data="accountname=OIM Croatia"/>
  952. <action application="set" data="origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37"/>
  953. <action application="set" data="original_caller_id_name=38515790638"/>
  954. <action application="set" data="original_caller_id_number=38515790638"/>
  955.  
  956. <action application="set" data="effective_caller_id_name=38515790638"/>
  957. <action application="set" data="effective_caller_id_number=38515790638"/>
  958. <action application="set" data="calltype=STANDARD"/>
  959. <action application="set" data="termination_rates=ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9"/>
  960. <action application="set" data="trunk_id=10"/>
  961. <action application="set" data="provider_id=9"/>
  962. <action application="set" data="rate_flag=0"/>
  963. <action application="set" data="force_trunk_flag=0"/>
  964. <action application="export" data="presence_data=trunk_id=10"/>
  965. <action application="set" data="intcall=0"/>
  966. <action application="export" data="presence_id=385953943736"/>
  967. <action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149"/>
  968. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385953943736"/>
  969. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385953943736"/>
  970. <action application="set" data="effective_caller_id_name=38515790638"/>
  971. <action application="set" data="effective_caller_id_number=38515790638"/>
  972. <action application="set" data="calltype=STANDARD"/>
  973. <action application="set" data="termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16"/>
  974. <action application="set" data="trunk_id=18"/>
  975. <action application="set" data="provider_id=16"/>
  976. <action application="set" data="rate_flag=0"/>
  977. <action application="set" data="force_trunk_flag=0"/>
  978. <action application="export" data="presence_data=trunk_id=18"/>
  979. <action application="set" data="intcall=0"/>
  980. <action application="export" data="presence_id=385953943736"/>
  981. <action application="export" data="presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149"/>
  982. <action application="bridge" data="[leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385953943736"/>
  983. </condition>
  984. </extension>
  985. </context>
  986. </section>
  987. </document>
  988. Dialplan: sofia/default/38618282990@148.251.195.149 parsing [default->385953943736] continue=false
  989. Dialplan: sofia/default/38618282990@148.251.195.149 Regex (PASS) [385953943736] destination_number(385953943736) =~ /385953943736/ break=on-false
  990. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_destination_number=385953943736)
  991. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_app=sched_hangup)
  992. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  993. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(callstart=2022-06-28 11:32:25)
  994. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(hangup_after_bridge=true)
  995. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(continue_on_fail=TRUE)
  996. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(account_id=37)
  997. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(parent_id=0)
  998. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(entity_id=0)
  999. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_processed=internal)
  1000. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(call_direction=outbound)
  1001. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(accountname=OIM Croatia)
  1002. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
  1003. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_name=38515790638)
  1004. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(original_caller_id_number=38515790638)
  1005. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790638)
  1006. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790638)
  1007. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
  1008. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  1009. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=10)
  1010. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=9)
  1011. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
  1012. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
  1013. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=10)
  1014. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
  1015. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385953943736)
  1016. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
  1017. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385953943736)
  1018. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel245/385953943736)
  1019. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_name=38515790638)
  1020. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(effective_caller_id_number=38515790638)
  1021. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(calltype=STANDARD)
  1022. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(termination_rates=ID:372062|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00926|INC:1|INITIALBLOCK:1|TRUNK:18|PROVIDER:16)
  1023. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(trunk_id=18)
  1024. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(provider_id=16)
  1025. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(rate_flag=0)
  1026. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(force_trunk_flag=0)
  1027. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=trunk_id=18)
  1028. Dialplan: sofia/default/38618282990@148.251.195.149 Action set(intcall=0)
  1029. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_id=385953943736)
  1030. Dialplan: sofia/default/38618282990@148.251.195.149 Action export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||IT1 // ^3859.* // Croatia-Mobile // 0.00926 // trunk_id=18|||STD|||148.251.195.149)
  1031. Dialplan: sofia/default/38618282990@148.251.195.149 Action bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/IT1/385953943736)
  1032. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:287 (sofia/default/38618282990@148.251.195.149) State Change CS_ROUTING -> CS_EXECUTE
  1033. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/38618282990@148.251.195.149) State ROUTING going to sleep
  1034. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/38618282990@148.251.195.149) Running State Change CS_EXECUTE (Cur 51 Tot 2758983)
  1035. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:651 (sofia/default/38618282990@148.251.195.149) State EXECUTE
  1036. 2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:209 sofia/default/38618282990@148.251.195.149 SOFIA EXECUTE
  1037. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:329 sofia/default/38618282990@148.251.195.149 Standard EXECUTE
  1038. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_destination_number=385953943736)
  1039. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_destination_number]=[385953943736]
  1040. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_app=sched_hangup)
  1041. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_app]=[sched_hangup]
  1042. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(bridge_pre_execute_bleg_data=+6000 normal_clearing)
  1043. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [bridge_pre_execute_bleg_data]=[+6000 normal_clearing]
  1044. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(callstart=2022-06-28 11:32:25)
  1045. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [callstart]=[2022-06-28 11:32:25]
  1046. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(hangup_after_bridge=true)
  1047. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [hangup_after_bridge]=[true]
  1048. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(continue_on_fail=TRUE)
  1049. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [continue_on_fail]=[TRUE]
  1050. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(account_id=37)
  1051. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [account_id]=[37]
  1052. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(parent_id=0)
  1053. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [parent_id]=[0]
  1054. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(entity_id=0)
  1055. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [entity_id]=[0]
  1056. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_processed=internal)
  1057. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_processed]=[internal]
  1058. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(call_direction=outbound)
  1059. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [call_direction]=[outbound]
  1060. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(accountname=OIM Croatia)
  1061. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [accountname]=[OIM Croatia]
  1062. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(origination_rates=ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37)
  1063. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [origination_rates]=[ID:4305|CODE:^3859.*|DESTINATION:Croatia-Mobile|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|CT:|COST:0.02450|INC:2|INITIALBLOCK:2|RATEGROUP:10|MARKUP:0|CI:47|ACCID:37]
  1064. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_name=38515790638)
  1065. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_name]=[38515790638]
  1066. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(original_caller_id_number=38515790638)
  1067. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [original_caller_id_number]=[38515790638]
  1068. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_name=38515790638)
  1069. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_name]=[38515790638]
  1070. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(effective_caller_id_number=38515790638)
  1071. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [effective_caller_id_number]=[38515790638]
  1072. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(calltype=STANDARD)
  1073. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [calltype]=[STANDARD]
  1074. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(termination_rates=ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9)
  1075. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [termination_rates]=[ID:339650|CODE:^38595.*|DESTINATION:Croatia - Mobile Tele2|CONNECTIONCOST:0.00000|INCLUDEDSECONDS:0|COST:0.00920|INC:1|INITIALBLOCK:1|TRUNK:10|PROVIDER:9]
  1076. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(trunk_id=10)
  1077. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [trunk_id]=[10]
  1078. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(provider_id=9)
  1079. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [provider_id]=[9]
  1080. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(rate_flag=0)
  1081. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [rate_flag]=[0]
  1082. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(force_trunk_flag=0)
  1083. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [force_trunk_flag]=[0]
  1084. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=trunk_id=10)
  1085. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[trunk_id=10]
  1086. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 set(intcall=0)
  1087. 2022-06-28 13:32:26.793228 [DEBUG] mod_dptools.c:1685 SET sofia/default/38618282990@148.251.195.149 [intcall]=[0]
  1088. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_id=385953943736)
  1089. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_id]=[385953943736]
  1090. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 export(presence_data=x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149)
  1091. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149]
  1092. EXECUTE [depth=0] sofia/default/38618282990@148.251.195.149 bridge([leg_timeout=45,absolute_codec_string=^^:PCMA:PCMU]sofia/gateway/NovaTel212/385953943736)
  1093. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
  1094. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_id]=[385953943736] to event
  1095. 2022-06-28 13:32:26.793228 [DEBUG] switch_channel.c:1264 sofia/default/38618282990@148.251.195.149 EXPORTING[export_vars] [presence_data]=[x|||OIMCroatia(3611165659)|||^3859.* // Croatia-Mobile // 0.02450 |||NovaTel // ^38595.* // Croatia - Mobile Tele2 // 0.00920 // trunk_id=10|||STD|||148.251.195.149] to event
  1096. 2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:2272 Parsing global variables
  1097. 2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:2834 Parsing session specific variables
  1098. 2022-06-28 13:32:26.793228 [NOTICE] switch_channel.c:1118 New Channel sofia/default/385953943736 [f99dbba9-2cef-4b22-a8a1-aef04f6496b8]
  1099. 2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:5102 (sofia/default/385953943736) State Change CS_NEW -> CS_INIT
  1100. 2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:3142 sofia/default/385953943736 Setting leg timeout to 45
  1101. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_INIT (Cur 52 Tot 2758984)
  1102. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385953943736) State INIT
  1103. 2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:93 sofia/default/385953943736 SOFIA INIT
  1104. 2022-06-28 13:32:26.793228 [INFO] sofia_glue.c:1621 sofia/default/385953943736 sending invite call-id: (null)
  1105. 2022-06-28 13:32:26.793228 [DEBUG] sofia_glue.c:1624 sofia/default/385953943736 sending invite version: 1.10.6 -release-18-1ff9d0a60e 64bit
  1106. Local SDP:
  1107. v=0
  1108. o=FreeSWITCH 1656389118 1656389119 IN IP4 82.214.92.3
  1109. s=FreeSWITCH
  1110. c=IN IP4 82.214.92.3
  1111. t=0 0
  1112. m=audio 26828 RTP/AVP 8 0 101
  1113. a=rtpmap:8 PCMA/8000
  1114. a=rtpmap:0 PCMU/8000
  1115. a=rtpmap:101 telephone-event/8000
  1116. a=fmtp:101 0-16
  1117. a=ptime:20
  1118. a=sendrecv
  1119.  
  1120. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:40 sofia/default/385953943736 Standard INIT
  1121. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:48 (sofia/default/385953943736) State Change CS_INIT -> CS_ROUTING
  1122. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:628 (sofia/default/385953943736) State INIT going to sleep
  1123. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_ROUTING (Cur 52 Tot 2758984)
  1124. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385953943736) State ROUTING
  1125. 2022-06-28 13:32:26.793228 [DEBUG] mod_sofia.c:154 sofia/default/385953943736 SOFIA ROUTING
  1126. 2022-06-28 13:32:26.793228 [DEBUG] switch_ivr_originate.c:67 (sofia/default/385953943736) State Change CS_ROUTING -> CS_CONSUME_MEDIA
  1127. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:644 (sofia/default/385953943736) State ROUTING going to sleep
  1128. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:585 (sofia/default/385953943736) Running State Change CS_CONSUME_MEDIA (Cur 52 Tot 2758984)
  1129. 2022-06-28 13:32:26.793228 [DEBUG] sofia.c:7406 Channel sofia/default/385953943736 entering state [calling][0]
  1130. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385953943736) State CONSUME_MEDIA
  1131. 2022-06-28 13:32:26.793228 [DEBUG] switch_core_state_machine.c:663 (sofia/default/385953943736) State CONSUME_MEDIA going to sleep
  1132.