------------------------ 2025.05.18 0:07:54 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e9322968007823390055ef650000d385302a06c3c81cca32302c8c36749775b9428243 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9b15068007823390055ef650000d385302a062fd211cc304b64ee502fbfbc89525a3a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e9322968007823390055ef650000d385302a06c3c81cca32302c8c36749775b9428243 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9b15068007823390055ef650000d385302a062fd211cc304b64ee502fbfbc89525a3a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61878 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596691923|55588 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61878 [LANGUAGE] => en ) ) [ts] => 1747526873 [auth] => Array ( [access_token] => e9322968007823390055ef6500007c9c0000068c8b18ea2da0f0890a9d172648c3ae57 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:07:54 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e9322968007823390055ef650000d385302a06c3c81cca32302c8c36749775b9428243 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9b15068007823390055ef650000d385302a062fd211cc304b64ee502fbfbc89525a3a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e9322968007823390055ef650000d385302a06c3c81cca32302c8c36749775b9428243 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9b15068007823390055ef650000d385302a062fd211cc304b64ee502fbfbc89525a3a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55588 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61878 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55588 [CHAT_ID] => 61878 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596691923|55588 [CHAT_ENTITY_DATA_1] => Y|DEAL|213024|N|N|71497|1747526872|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|226720|DEAL|213024 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61878 [MESSAGE_ID] => 1334287 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55588 [NAME] => mwalroomi [FIRST_NAME] => mwalroomi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747526873 [auth] => Array ( [access_token] => e9322968007823390055ef6500007c9c0000068c8b18ea2da0f0890a9d172648c3ae57 [expires] => 1747530473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d9b15068007823390055ef6500007c9c00000614da39befab6b54da5172a7684b42722 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:07:54 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 0:07:54 Info Current time: 03:07 ------------------------ ------------------------ 2025.05.18 0:07:54 Info Is day off: No ------------------------ ------------------------ 2025.05.18 0:07:54 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 0:07:54 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 0:07:54 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 0:07:54 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:07:55 Info Closed message response: {"result":1334290,"time":{"start":1747526875.140104,"finish":1747526875.231939,"duration":0.09183502197265625,"processing":0.06337904930114746,"date_start":"2025-05-18T00:07:55+00:00","date_finish":"2025-05-18T00:07:55+00:00"}} ------------------------ ------------------------ 2025.05.18 0:07:55 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:08:03 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f2322968007823390055ef650000d385302a066a23331263e1e96d527a17573b281d01 [expires] => 1747530482 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e2b15068007823390055ef650000d385302a06500b8bcd274cae53eca594a2c4f3ce0c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f2322968007823390055ef650000d385302a066a23331263e1e96d527a17573b281d01 [expires] => 1747530482 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e2b15068007823390055ef650000d385302a06500b8bcd274cae53eca594a2c4f3ce0c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55588 [MESSAGE] => Asking about 275/60/20 [TO_CHAT_ID] => 61878 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55588 [CHAT_ID] => 61878 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596691923|55588 [CHAT_ENTITY_DATA_1] => Y|DEAL|213024|N|N|71497|1747526872|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|226720|DEAL|213024 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Asking about 275/60/20 [TO_USER_ID] => 0 [DIALOG_ID] => chat61878 [MESSAGE_ID] => 1334291 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55588 [NAME] => mwalroomi [FIRST_NAME] => mwalroomi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747526882 [auth] => Array ( [access_token] => f2322968007823390055ef6500007c9c000006b1b36ed41adc78ace0960fcec1693270 [expires] => 1747530482 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e2b15068007823390055ef6500007c9c0000061fc4668730f056dc6ec5bcc94bcaa7cd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:08:03 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 0:08:03 Info Current time: 03:08 ------------------------ ------------------------ 2025.05.18 0:08:03 Info Is day off: No ------------------------ ------------------------ 2025.05.18 0:08:03 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 0:08:03 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 0:08:03 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 0:08:03 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:08:03 Info Closed message response: {"result":1334293,"time":{"start":1747526883.671045,"finish":1747526883.768879,"duration":0.09783387184143066,"processing":0.06714487075805664,"date_start":"2025-05-18T00:08:03+00:00","date_finish":"2025-05-18T00:08:03+00:00"}} ------------------------ ------------------------ 2025.05.18 0:08:03 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:56:45 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 5c3e2968007823390055ef650000d385302a068d0d9edbabb5102b68d820b276929059 [expires] => 1747533404 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4cbd5068007823390055ef650000d385302a06e1790b2cf1d63922dfe0291a2a973ffc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 5c3e2968007823390055ef650000d385302a068d0d9edbabb5102b68d820b276929059 [expires] => 1747533404 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4cbd5068007823390055ef650000d385302a06e1790b2cf1d63922dfe0291a2a973ffc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 60554 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596778099|54524 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat60554 [LANGUAGE] => en ) ) [ts] => 1747529804 [auth] => Array ( [access_token] => 5d3e2968007823390055ef6500007c9c000006ca2ceaaa61c9f88632bb38214cbf3329 [expires] => 1747533405 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:56:45 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 5c3e2968007823390055ef650000d385302a068d0d9edbabb5102b68d820b276929059 [expires] => 1747533404 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4cbd5068007823390055ef650000d385302a06e1790b2cf1d63922dfe0291a2a973ffc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 5c3e2968007823390055ef650000d385302a068d0d9edbabb5102b68d820b276929059 [expires] => 1747533404 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4cbd5068007823390055ef650000d385302a06e1790b2cf1d63922dfe0291a2a973ffc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54524 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 60554 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54524 [CHAT_ID] => 60554 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596778099|54524 [CHAT_ENTITY_DATA_1] => Y|DEAL|213025|N|N|71498|1747529803|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536807|DEAL|213025 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat60554 [MESSAGE_ID] => 1334300 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54524 [NAME] => Ahmed Nour [FIRST_NAME] => Ahmed [LAST_NAME] => Nour [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747529804 [auth] => Array ( [access_token] => 5d3e2968007823390055ef6500007c9c000006ca2ceaaa61c9f88632bb38214cbf3329 [expires] => 1747533405 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 4dbd5068007823390055ef6500007c9c000006dd3ca608a76e8037e82f2e27e320197b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:56:46 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 0:56:46 Info Current time: 03:56 ------------------------ ------------------------ 2025.05.18 0:56:46 Info Is day off: No ------------------------ ------------------------ 2025.05.18 0:56:46 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 0:56:46 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 0:56:46 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 0:56:46 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:56:46 Info Closed message response: {"result":1334303,"time":{"start":1747529806.413386,"finish":1747529806.507963,"duration":0.09457683563232422,"processing":0.06744790077209473,"date_start":"2025-05-18T00:56:46+00:00","date_finish":"2025-05-18T00:56:46+00:00"}} ------------------------ ------------------------ 2025.05.18 0:56:46 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:57:11 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 763e2968007823390055ef650000d385302a068b35a386e0eb761caaeebb65ec56c760 [expires] => 1747533430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 66bd5068007823390055ef650000d385302a0620321fc08a6a74fe53f3eb0a60ca3764 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 763e2968007823390055ef650000d385302a068b35a386e0eb761caaeebb65ec56c760 [expires] => 1747533430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 66bd5068007823390055ef650000d385302a0620321fc08a6a74fe53f3eb0a60ca3764 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54524 [MESSAGE] => يرجى الاتصال [TO_CHAT_ID] => 60554 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54524 [CHAT_ID] => 60554 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596778099|54524 [CHAT_ENTITY_DATA_1] => Y|DEAL|213025|N|N|71498|1747529803|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536807|DEAL|213025 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => يرجى الاتصال [TO_USER_ID] => 0 [DIALOG_ID] => chat60554 [MESSAGE_ID] => 1334304 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54524 [NAME] => Ahmed Nour [FIRST_NAME] => Ahmed [LAST_NAME] => Nour [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747529830 [auth] => Array ( [access_token] => 763e2968007823390055ef6500007c9c000006b78fd66919d5c86fbbe52f34ab0b2d29 [expires] => 1747533430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 66bd5068007823390055ef6500007c9c00000627cda9253620a38dc8a25633847195af [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 0:57:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 0:57:11 Info Current time: 03:57 ------------------------ ------------------------ 2025.05.18 0:57:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 0:57:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 0:57:11 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 0:57:11 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 0:57:11 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 0:57:12 Info Closed message response: {"result":1334306,"time":{"start":1747529831.946513,"finish":1747529832.057863,"duration":0.11135005950927734,"processing":0.07785797119140625,"date_start":"2025-05-18T00:57:11+00:00","date_finish":"2025-05-18T00:57:12+00:00"}} ------------------------ ------------------------ 2025.05.18 0:57:12 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 1:50:31 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f64a2968007823390055ef650000d385302a06e1f54de47301a1af512f98b87d8b85e8 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6c95068007823390055ef650000d385302a0631769b26ab6840368e25eae533eaa5da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f64a2968007823390055ef650000d385302a06e1f54de47301a1af512f98b87d8b85e8 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6c95068007823390055ef650000d385302a0631769b26ab6840368e25eae533eaa5da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 47846 [MESSAGE] => مرحبًا! هل يمكنني الحصول على مزيد من المعلومات حول هذا؟ [TO_CHAT_ID] => 52384 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 47846 [CHAT_ID] => 52384 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566655227|47846 [CHAT_ENTITY_DATA_1] => Y|DEAL|213026|N|N|71499|1747533029|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|9818|DEAL|213026 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => مرحبًا! هل يمكنني الحصول على مزيد من المعلومات حول هذا؟ [TO_USER_ID] => 0 [DIALOG_ID] => chat52384 [MESSAGE_ID] => 1334313 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 47846 [NAME] => محمد يوسف [FIRST_NAME] => محمد [LAST_NAME] => يوسف [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747533030 [auth] => Array ( [access_token] => f64a2968007823390055ef6500007c9c0000060b293f20f9d7fe6478d5eba8a91c0bf1 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e6c95068007823390055ef6500007c9c00000666403b93ed409739a157172f1eec848d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 1:50:31 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f64a2968007823390055ef650000d385302a06e1f54de47301a1af512f98b87d8b85e8 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6c95068007823390055ef650000d385302a0631769b26ab6840368e25eae533eaa5da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f64a2968007823390055ef650000d385302a06e1f54de47301a1af512f98b87d8b85e8 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6c95068007823390055ef650000d385302a0631769b26ab6840368e25eae533eaa5da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 52384 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566655227|47846 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat52384 [LANGUAGE] => en ) ) [ts] => 1747533030 [auth] => Array ( [access_token] => f64a2968007823390055ef6500007c9c0000060b293f20f9d7fe6478d5eba8a91c0bf1 [expires] => 1747536630 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 1:50:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 1:50:31 Info Current time: 04:50 ------------------------ ------------------------ 2025.05.18 1:50:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 1:50:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 1:50:31 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 1:50:31 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 1:50:31 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 1:50:31 Info Closed message response: {"result":1334316,"time":{"start":1747533031.862643,"finish":1747533031.956657,"duration":0.09401392936706543,"processing":0.06374621391296387,"date_start":"2025-05-18T01:50:31+00:00","date_finish":"2025-05-18T01:50:31+00:00"}} ------------------------ ------------------------ 2025.05.18 1:50:31 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 2:47:52 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 67582968007823390055ef650000d385302a064eca67e36e8637423cb7e1d4764cf53a [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57d75068007823390055ef650000d385302a06457e96f2d658920eac2337d1c9adbeef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 67582968007823390055ef650000d385302a064eca67e36e8637423cb7e1d4764cf53a [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57d75068007823390055ef650000d385302a06457e96f2d658920eac2337d1c9adbeef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48573 [MESSAGE] => السلام عليكم متوفر سيمي سليك نيتو او تويو حق رنق ٢٠ [TO_CHAT_ID] => 53229 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48573 [CHAT_ID] => 53229 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550319665|48573 [CHAT_ENTITY_DATA_1] => Y|DEAL|213027|N|N|71500|1747536470|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527316|DEAL|213027 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم متوفر سيمي سليك نيتو او تويو حق رنق ٢٠ [TO_USER_ID] => 0 [DIALOG_ID] => chat53229 [MESSAGE_ID] => 1334323 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48573 [NAME] => Ibrahim [FIRST_NAME] => Ibrahim [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747536471 [auth] => Array ( [access_token] => 67582968007823390055ef6500007c9c000006e20680702c360c9644858f13e159d202 [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 57d75068007823390055ef6500007c9c00000611120d68c64f9d8621ec89689744c88d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 2:47:52 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 67582968007823390055ef650000d385302a064eca67e36e8637423cb7e1d4764cf53a [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57d75068007823390055ef650000d385302a06457e96f2d658920eac2337d1c9adbeef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 67582968007823390055ef650000d385302a064eca67e36e8637423cb7e1d4764cf53a [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57d75068007823390055ef650000d385302a06457e96f2d658920eac2337d1c9adbeef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 53229 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550319665|48573 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat53229 [LANGUAGE] => en ) ) [ts] => 1747536471 [auth] => Array ( [access_token] => 67582968007823390055ef6500007c9c000006e20680702c360c9644858f13e159d202 [expires] => 1747540071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 2:47:52 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 2:47:52 Info Current time: 05:47 ------------------------ ------------------------ 2025.05.18 2:47:52 Info Is day off: No ------------------------ ------------------------ 2025.05.18 2:47:52 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 2:47:52 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 2:47:52 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 2:47:52 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 2:47:53 Info Closed message response: {"result":1334326,"time":{"start":1747536473.118407,"finish":1747536473.233045,"duration":0.11463809013366699,"processing":0.0805060863494873,"date_start":"2025-05-18T02:47:53+00:00","date_finish":"2025-05-18T02:47:53+00:00"}} ------------------------ ------------------------ 2025.05.18 2:47:53 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 3:42:25 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2f652968007823390055ef650000d385302a06b82552adeaaff1a03f1bef00faefbfe4 [expires] => 1747543343 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1fe45068007823390055ef650000d385302a062484d53dbfc90a042fd54e581e951cdb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2f652968007823390055ef650000d385302a06b82552adeaaff1a03f1bef00faefbfe4 [expires] => 1747543343 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1fe45068007823390055ef650000d385302a062484d53dbfc90a042fd54e581e951cdb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61883 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569934401|55591 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61883 [LANGUAGE] => en ) ) [ts] => 1747539743 [auth] => Array ( [access_token] => 30652968007823390055ef6500007c9c000006684288ea11edd3d781431ae80d649669 [expires] => 1747543344 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 3:42:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2f652968007823390055ef650000d385302a06b82552adeaaff1a03f1bef00faefbfe4 [expires] => 1747543343 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1fe45068007823390055ef650000d385302a062484d53dbfc90a042fd54e581e951cdb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2f652968007823390055ef650000d385302a06b82552adeaaff1a03f1bef00faefbfe4 [expires] => 1747543343 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1fe45068007823390055ef650000d385302a062484d53dbfc90a042fd54e581e951cdb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55591 [MESSAGE] => Hello! Can I get more info on this? [TO_CHAT_ID] => 61883 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55591 [CHAT_ID] => 61883 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569934401|55591 [CHAT_ENTITY_DATA_1] => Y|DEAL|213030|N|N|71501|1747539741|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538300|DEAL|213030 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello! Can I get more info on this? [TO_USER_ID] => 0 [DIALOG_ID] => chat61883 [MESSAGE_ID] => 1334340 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55591 [NAME] => Mirza [FIRST_NAME] => Mirza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747539743 [auth] => Array ( [access_token] => 30652968007823390055ef6500007c9c000006684288ea11edd3d781431ae80d649669 [expires] => 1747543344 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 20e45068007823390055ef6500007c9c000006db11113c6d924d428cad3ebb97430f1e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 3:42:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 3:42:25 Info Current time: 06:42 ------------------------ ------------------------ 2025.05.18 3:42:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 3:42:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 3:42:25 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 3:42:25 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 3:42:25 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 3:42:25 Info Closed message response: {"result":1334343,"time":{"start":1747539745.868753,"finish":1747539745.969835,"duration":0.10108208656311035,"processing":0.06960511207580566,"date_start":"2025-05-18T03:42:25+00:00","date_finish":"2025-05-18T03:42:25+00:00"}} ------------------------ ------------------------ 2025.05.18 3:42:25 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:34:58 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 82712968007823390055ef650000d385302a066087f06f9cba84556e986db8abcf2b67 [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 72f05068007823390055ef650000d385302a06d87687b4fa25d8e4dcd1bdbe9ddef566 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 82712968007823390055ef650000d385302a066087f06f9cba84556e986db8abcf2b67 [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 72f05068007823390055ef650000d385302a06d87687b4fa25d8e4dcd1bdbe9ddef566 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55592 [MESSAGE] => Hello, good morning [TO_CHAT_ID] => 61884 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55592 [CHAT_ID] => 61884 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560480905|55592 [CHAT_ENTITY_DATA_1] => Y|DEAL|213031|N|N|71502|1747542897|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538301|DEAL|213031 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, good morning [TO_USER_ID] => 0 [DIALOG_ID] => chat61884 [MESSAGE_ID] => 1334350 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55592 [NAME] => Ahmed Elghandour [FIRST_NAME] => Ahmed [LAST_NAME] => Elghandour [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747542898 [auth] => Array ( [access_token] => 82712968007823390055ef6500007c9c000006b6736bf45a6d2881f2416a8d6ee5a20b [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 72f05068007823390055ef6500007c9c000006c647375cb61c23a2f0c7d0133afb629b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 4:34:58 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 82712968007823390055ef650000d385302a066087f06f9cba84556e986db8abcf2b67 [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 72f05068007823390055ef650000d385302a06d87687b4fa25d8e4dcd1bdbe9ddef566 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 82712968007823390055ef650000d385302a066087f06f9cba84556e986db8abcf2b67 [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 72f05068007823390055ef650000d385302a06d87687b4fa25d8e4dcd1bdbe9ddef566 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61884 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560480905|55592 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61884 [LANGUAGE] => en ) ) [ts] => 1747542898 [auth] => Array ( [access_token] => 82712968007823390055ef6500007c9c000006b6736bf45a6d2881f2416a8d6ee5a20b [expires] => 1747546498 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 4:34:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 4:34:59 Info Current time: 07:34 ------------------------ ------------------------ 2025.05.18 4:34:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 4:34:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 4:34:59 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 4:34:59 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 4:34:59 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:34:59 Info Closed message response: {"result":1334353,"time":{"start":1747542899.717381,"finish":1747542899.841098,"duration":0.12371706962585449,"processing":0.08410811424255371,"date_start":"2025-05-18T04:34:59+00:00","date_finish":"2025-05-18T04:34:59+00:00"}} ------------------------ ------------------------ 2025.05.18 4:34:59 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:47:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 77742968007823390055ef650000d385302a06424b7e2b56b501abf49cb5c3ae5c440c [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 67f35068007823390055ef650000d385302a06ae6f593e1f0b4d3de3aa93e1efffb3dc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 77742968007823390055ef650000d385302a06424b7e2b56b501abf49cb5c3ae5c440c [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 67f35068007823390055ef650000d385302a06ae6f593e1f0b4d3de3aa93e1efffb3dc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55593 [MESSAGE] => Hello! Can I get more info on Hankook Laufenn Offer? [TO_CHAT_ID] => 61885 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55593 [CHAT_ID] => 61885 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599513791|55593 [CHAT_ENTITY_DATA_1] => Y|DEAL|213032|N|N|71503|1747543654|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|269077|DEAL|213032 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello! Can I get more info on Hankook Laufenn Offer? [TO_USER_ID] => 0 [DIALOG_ID] => chat61885 [MESSAGE_ID] => 1334359 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55593 [NAME] => ابو عبدالعزيز العروي [FIRST_NAME] => ابو عبدالعزيز العروي [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747543655 [auth] => Array ( [access_token] => 77742968007823390055ef6500007c9c0000068ee908e030afc324a2a86bef19bc8262 [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 67f35068007823390055ef6500007c9c000006864845c61bdb4c0c6089717951ca1558 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 4:47:36 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 77742968007823390055ef650000d385302a06424b7e2b56b501abf49cb5c3ae5c440c [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 67f35068007823390055ef650000d385302a06ae6f593e1f0b4d3de3aa93e1efffb3dc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 77742968007823390055ef650000d385302a06424b7e2b56b501abf49cb5c3ae5c440c [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 67f35068007823390055ef650000d385302a06ae6f593e1f0b4d3de3aa93e1efffb3dc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61885 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599513791|55593 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61885 [LANGUAGE] => en ) ) [ts] => 1747543655 [auth] => Array ( [access_token] => 77742968007823390055ef6500007c9c0000068ee908e030afc324a2a86bef19bc8262 [expires] => 1747547255 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 4:47:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 4:47:36 Info Current time: 07:47 ------------------------ ------------------------ 2025.05.18 4:47:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 4:47:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 4:47:36 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 4:47:36 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 4:47:36 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:47:36 Info Closed message response: {"result":1334362,"time":{"start":1747543656.745527,"finish":1747543656.851642,"duration":0.10611486434936523,"processing":0.07289290428161621,"date_start":"2025-05-18T04:47:36+00:00","date_finish":"2025-05-18T04:47:36+00:00"}} ------------------------ ------------------------ 2025.05.18 4:47:36 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:50:07 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 0f752968007823390055ef650000d385302a064e5dbefb4f51ffbee57a41d50dfdecc5 [expires] => 1747547407 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => fff35068007823390055ef650000d385302a062ab35b5a36035444e8bb0a672f2208ef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 0f752968007823390055ef650000d385302a064e5dbefb4f51ffbee57a41d50dfdecc5 [expires] => 1747547407 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => fff35068007823390055ef650000d385302a062ab35b5a36035444e8bb0a672f2208ef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55593 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 392835 ) ) [MESSAGE] => كم سعرها هدا [TO_CHAT_ID] => 61885 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55593 [CHAT_ID] => 61885 [FILES] => Array ( [392835] => Array ( [id] => 392835 [chatId] => 61885 [type] => image [name] => 1747543803_1325233838579095.jpg [extension] => jpg [size] => 135298 [image] => Array ( [height] => 1599 [width] => 899 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392835&width=1280&height=1280&signature=29fd544f059eaed9204634b612ff3d6cd24841598be9e3c8cce45a1759852ad1&fileName=1747543803_1325233838579095.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392835&width=1280&height=1280&signature=29fd544f059eaed9204634b612ff3d6cd24841598be9e3c8cce45a1759852ad1&fileName=1747543803_1325233838579095.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392835&fileName=1747543803_1325233838579095.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392835&fileName=1747543803_1325233838579095.jpg [objectId] => 392835 [viewerGroupBy] => 61885 [imChatId] => 61885 [title] => 1747543803_1325233838579095.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"392835"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599513791|55593 [CHAT_ENTITY_DATA_1] => Y|DEAL|213032|N|N|71503|1747543654|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|269077|DEAL|213032 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => كم سعرها هدا [TO_USER_ID] => 0 [DIALOG_ID] => chat61885 [MESSAGE_ID] => 1334363 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55593 [NAME] => ابو عبدالعزيز العروي [FIRST_NAME] => ابو عبدالعزيز العروي [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747543807 [auth] => Array ( [access_token] => 0f752968007823390055ef6500007c9c000006bfde9247c0400d9950be9bd93e2de6f4 [expires] => 1747547407 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => fff35068007823390055ef6500007c9c000006fe3f9f110260590b1ea76016896825b5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 4:50:07 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 4:50:07 Info Current time: 07:50 ------------------------ ------------------------ 2025.05.18 4:50:07 Info Is day off: No ------------------------ ------------------------ 2025.05.18 4:50:07 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 4:50:07 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 4:50:07 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 4:50:07 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 4:50:08 Info Closed message response: {"result":1334365,"time":{"start":1747543808.086742,"finish":1747543808.194564,"duration":0.10782217979431152,"processing":0.07612800598144531,"date_start":"2025-05-18T04:50:08+00:00","date_finish":"2025-05-18T04:50:08+00:00"}} ------------------------ ------------------------ 2025.05.18 4:50:08 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 5:21:50 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7d7c2968007823390055ef650000d385302a06b8b36a35d95f8f7a9be10936aec9f197 [expires] => 1747549309 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6dfb5068007823390055ef650000d385302a067d7cc4856bba96f10ae8ac642e50e9fd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7d7c2968007823390055ef650000d385302a06b8b36a35d95f8f7a9be10936aec9f197 [expires] => 1747549309 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6dfb5068007823390055ef650000d385302a067d7cc4856bba96f10ae8ac642e50e9fd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61887 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594427742|55595 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61887 [LANGUAGE] => en ) ) [ts] => 1747545709 [auth] => Array ( [access_token] => 7e7c2968007823390055ef6500007c9c000006e8a0f52c0dc85f90f33efbd66bcb0f31 [expires] => 1747549310 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:21:50 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7e7c2968007823390055ef650000d385302a0678715f42e6ac131b6201e84a55556a4f [expires] => 1747549310 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6efb5068007823390055ef650000d385302a06576bf9b77c7d4e6638e03a6c8847f387 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7e7c2968007823390055ef650000d385302a0678715f42e6ac131b6201e84a55556a4f [expires] => 1747549310 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6efb5068007823390055ef650000d385302a06576bf9b77c7d4e6638e03a6c8847f387 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55595 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61887 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55595 [CHAT_ID] => 61887 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594427742|55595 [CHAT_ENTITY_DATA_1] => Y|DEAL|213035|N|N|71505|1747545709|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|448121|DEAL|213035 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61887 [MESSAGE_ID] => 1334407 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55595 [NAME] => Abdulkareem [FIRST_NAME] => Abdulkareem [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747545710 [auth] => Array ( [access_token] => 7e7c2968007823390055ef6500007c9c000006e8a0f52c0dc85f90f33efbd66bcb0f31 [expires] => 1747549310 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6efb5068007823390055ef6500007c9c0000069a0017cc23acafa564fdd2a98b667f74 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:21:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:21:50 Info Current time: 08:21 ------------------------ ------------------------ 2025.05.18 5:21:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:21:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:21:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:22:01 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 897c2968007823390055ef650000d385302a06c56e1f2e6a6c63dd250dfbca9ece69c9 [expires] => 1747549321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79fb5068007823390055ef650000d385302a061acd04b302362821f915732172a33b1e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 897c2968007823390055ef650000d385302a06c56e1f2e6a6c63dd250dfbca9ece69c9 [expires] => 1747549321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79fb5068007823390055ef650000d385302a061acd04b302362821f915732172a33b1e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55595 [MESSAGE] => 1 [TO_CHAT_ID] => 61887 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55595 [CHAT_ID] => 61887 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594427742|55595 [CHAT_ENTITY_DATA_1] => Y|DEAL|213035|N|N|71505|1747545709|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|448121|DEAL|213035 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61887 [MESSAGE_ID] => 1334409 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55595 [NAME] => Abdulkareem [FIRST_NAME] => Abdulkareem [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747545721 [auth] => Array ( [access_token] => 897c2968007823390055ef6500007c9c00000616403fa80785434523ed2b8c235a9f88 [expires] => 1747549321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 79fb5068007823390055ef6500007c9c000006335c8778c2a25fdcd3b9ce89b36808e7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:22:01 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:22:01 Info Current time: 08:22 ------------------------ ------------------------ 2025.05.18 5:22:01 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:22:01 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:22:01 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:22:01 Deal ID Extraction Extracted Deal ID: 213035 ------------------------ ------------------------ 2025.05.18 5:22:01 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213035_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:22:10 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 927c2968007823390055ef650000d385302a065a839c989da4a004e2c7a1679626f801 [expires] => 1747549330 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 82fb5068007823390055ef650000d385302a06178eea98ea8d6ad60f3c3329d19e2b67 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 927c2968007823390055ef650000d385302a065a839c989da4a004e2c7a1679626f801 [expires] => 1747549330 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 82fb5068007823390055ef650000d385302a06178eea98ea8d6ad60f3c3329d19e2b67 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55595 [MESSAGE] => 1 [TO_CHAT_ID] => 61887 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55595 [CHAT_ID] => 61887 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594427742|55595 [CHAT_ENTITY_DATA_1] => Y|DEAL|213035|N|N|71505|1747545709|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|448121|DEAL|213035 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61887 [MESSAGE_ID] => 1334411 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55595 [NAME] => Abdulkareem [FIRST_NAME] => Abdulkareem [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747545730 [auth] => Array ( [access_token] => 927c2968007823390055ef6500007c9c000006d2a418beb39c83b552e2e17304da4a50 [expires] => 1747549330 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 82fb5068007823390055ef6500007c9c000006fa77b52b5c40f207481c4eb3e2ecfcbf [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:22:10 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:22:10 Info Current time: 08:22 ------------------------ ------------------------ 2025.05.18 5:22:10 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:22:10 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:22:10 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:22:10 Deal ID Extraction Extracted Deal ID: 213035 ------------------------ ------------------------ 2025.05.18 5:22:10 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213035_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:22:52 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bb7c2968007823390055ef650000d385302a065f555ad7b9bcc5ca2f43286301dfb7de [expires] => 1747549371 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => abfb5068007823390055ef650000d385302a06726728c832961ea7e388867db404612a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bb7c2968007823390055ef650000d385302a065f555ad7b9bcc5ca2f43286301dfb7de [expires] => 1747549371 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => abfb5068007823390055ef650000d385302a06726728c832961ea7e388867db404612a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55595 [MESSAGE] => 215 55 17 [TO_CHAT_ID] => 61887 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55595 [CHAT_ID] => 61887 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594427742|55595 [CHAT_ENTITY_DATA_1] => Y|DEAL|213035|N|N|71505|1747545709|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|448121|DEAL|213035 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 215 55 17 [TO_USER_ID] => 0 [DIALOG_ID] => chat61887 [MESSAGE_ID] => 1334413 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55595 [NAME] => Abdulkareem [FIRST_NAME] => Abdulkareem [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747545771 [auth] => Array ( [access_token] => bc7c2968007823390055ef6500007c9c0000066d0f9e8df7f0e38ee418606e61d32b48 [expires] => 1747549372 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => acfb5068007823390055ef6500007c9c00000618dea210a478d949fe4395be923ecfe4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:22:52 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:22:52 Info Current time: 08:22 ------------------------ ------------------------ 2025.05.18 5:22:52 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:22:52 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:22:52 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:22:52 Deal ID Extraction Extracted Deal ID: 213035 ------------------------ ------------------------ 2025.05.18 5:22:52 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213035_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:22:52 Function Input Parameters Array ( [dealId] => 213035 [response] => 215 55 17 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => bc7c2968007823390055ef6500007c9c0000066d0f9e8df7f0e38ee418606e61d32b48 [expires] => 1747549372 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => acfb5068007823390055ef6500007c9c00000618dea210a478d949fe4395be923ecfe4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:22:52 Deal Update Parameters Array ( [id] => 213035 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 215 55 17 ) ) ------------------------ ------------------------ 2025.05.18 5:22:52 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747545772.816 [finish] => 1747545772.978 [duration] => 0.16198515892029 [processing] => 0.13220000267029 [date_start] => 2025-05-18T05:22:52+00:00 [date_finish] => 2025-05-18T05:22:52+00:00 ) ) ------------------------ ------------------------ 2025.05.18 5:22:53 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747545773.0914 [finish] => 1747545773.2997 [duration] => 0.20825600624084 [processing] => 0.18096899986267 [date_start] => 2025-05-18T05:22:53+00:00 [date_finish] => 2025-05-18T05:22:53+00:00 ) ) ------------------------ ------------------------ 2025.05.18 5:30:41 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 907e2968007823390055ef650000d385302a06ec7a33669f8ef42c5f8005929978fd61 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 80fd5068007823390055ef650000d385302a06425618d12949d7ad9d9bfcdef1a05994 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 907e2968007823390055ef650000d385302a06ec7a33669f8ef42c5f8005929978fd61 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 80fd5068007823390055ef650000d385302a06425618d12949d7ad9d9bfcdef1a05994 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61888 [LANGUAGE] => en ) ) [ts] => 1747546240 [auth] => Array ( [access_token] => 907e2968007823390055ef6500007c9c000006e01ae8891669083804de6cb348ecf472 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:30:41 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 907e2968007823390055ef650000d385302a06ec7a33669f8ef42c5f8005929978fd61 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 80fd5068007823390055ef650000d385302a06425618d12949d7ad9d9bfcdef1a05994 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 907e2968007823390055ef650000d385302a06ec7a33669f8ef42c5f8005929978fd61 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 80fd5068007823390055ef650000d385302a06425618d12949d7ad9d9bfcdef1a05994 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334446 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546240 [auth] => Array ( [access_token] => 907e2968007823390055ef6500007c9c000006e01ae8891669083804de6cb348ecf472 [expires] => 1747549840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 80fd5068007823390055ef6500007c9c0000066b6116f3cf11bb0dd20c04378af79719 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:30:41 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:30:41 Info Current time: 08:30 ------------------------ ------------------------ 2025.05.18 5:30:41 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:30:41 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:30:41 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:30:57 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a17e2968007823390055ef650000d385302a0621ff7ab44f2143fcd2747f77179de196 [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91fd5068007823390055ef650000d385302a063d8dcadf4a17ed06582005bafa67525d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a17e2968007823390055ef650000d385302a0621ff7ab44f2143fcd2747f77179de196 [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91fd5068007823390055ef650000d385302a063d8dcadf4a17ed06582005bafa67525d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => عربيه [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => عربيه [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334450 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546257 [auth] => Array ( [access_token] => a17e2968007823390055ef6500007c9c0000066342bbfafa20bb200e8c2a1f1fd5751e [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 91fd5068007823390055ef6500007c9c000006796eeb1fa43472ef72e8a27b8ceb0f2c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:30:57 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:30:57 Info Current time: 08:30 ------------------------ ------------------------ 2025.05.18 5:30:57 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:30:57 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:30:57 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:30:57 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a17e2968007823390055ef650000d385302a0621ff7ab44f2143fcd2747f77179de196 [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91fd5068007823390055ef650000d385302a063d8dcadf4a17ed06582005bafa67525d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a17e2968007823390055ef650000d385302a0621ff7ab44f2143fcd2747f77179de196 [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91fd5068007823390055ef650000d385302a063d8dcadf4a17ed06582005bafa67525d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => ١ [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334451 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546257 [auth] => Array ( [access_token] => a17e2968007823390055ef6500007c9c0000066342bbfafa20bb200e8c2a1f1fd5751e [expires] => 1747549857 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 91fd5068007823390055ef6500007c9c000006796eeb1fa43472ef72e8a27b8ceb0f2c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:30:58 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:30:58 Info Current time: 08:30 ------------------------ ------------------------ 2025.05.18 5:30:58 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:30:58 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:30:58 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:31:04 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a77e2968007823390055ef650000d385302a06d7df02f7c2f120e179a9c29514318346 [expires] => 1747549863 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 97fd5068007823390055ef650000d385302a06cf1e2f836d643c80b4d433fafa6099cd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a77e2968007823390055ef650000d385302a06d7df02f7c2f120e179a9c29514318346 [expires] => 1747549863 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 97fd5068007823390055ef650000d385302a06cf1e2f836d643c80b4d433fafa6099cd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => 1 [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334454 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546263 [auth] => Array ( [access_token] => a77e2968007823390055ef6500007c9c00000667f828619c0f3c929727168bbb55fc79 [expires] => 1747549863 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 97fd5068007823390055ef6500007c9c000006e6995cd26bdd1a50d72014c0893889ce [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:31:04 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:31:04 Info Current time: 08:31 ------------------------ ------------------------ 2025.05.18 5:31:04 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:31:04 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:31:04 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:31:04 Deal ID Extraction Extracted Deal ID: 213036 ------------------------ ------------------------ 2025.05.18 5:31:04 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213036_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:31:12 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b07e2968007823390055ef650000d385302a067bb61d07229ecd80196d855a5e6f9093 [expires] => 1747549872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a0fd5068007823390055ef650000d385302a06751c335c3a6dd4e16ce8b88e799a8e63 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b07e2968007823390055ef650000d385302a067bb61d07229ecd80196d855a5e6f9093 [expires] => 1747549872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a0fd5068007823390055ef650000d385302a06751c335c3a6dd4e16ce8b88e799a8e63 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => 1 [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334457 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546272 [auth] => Array ( [access_token] => b07e2968007823390055ef6500007c9c000006125d1b167f8fb26c8072c25490ca6ec1 [expires] => 1747549872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a0fd5068007823390055ef6500007c9c0000068ecf5c83995ca47c18637043588656d9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:31:12 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:31:12 Info Current time: 08:31 ------------------------ ------------------------ 2025.05.18 5:31:12 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:31:12 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:31:12 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:31:12 Deal ID Extraction Extracted Deal ID: 213036 ------------------------ ------------------------ 2025.05.18 5:31:12 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213036_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:31:23 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bb7e2968007823390055ef650000d385302a061fee69d353f1f2e45130ca7557f78ff9 [expires] => 1747549883 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => abfd5068007823390055ef650000d385302a06f0703bb8768ed2ef0f90dd92c67d6a7b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bb7e2968007823390055ef650000d385302a061fee69d353f1f2e45130ca7557f78ff9 [expires] => 1747549883 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => abfd5068007823390055ef650000d385302a06f0703bb8768ed2ef0f90dd92c67d6a7b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55596 [MESSAGE] => Toyo [TO_CHAT_ID] => 61888 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55596 [CHAT_ID] => 61888 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566891706|55596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213036|N|N|71506|1747546239|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|153598|DEAL|213036 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Toyo [TO_USER_ID] => 0 [DIALOG_ID] => chat61888 [MESSAGE_ID] => 1334460 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55596 [NAME] => Hmood Souliman [FIRST_NAME] => Hmood [LAST_NAME] => Souliman [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546283 [auth] => Array ( [access_token] => bb7e2968007823390055ef6500007c9c0000061a04c4608d3d265e848b8697cf96331b [expires] => 1747549883 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => abfd5068007823390055ef6500007c9c0000060dc2ebf5b4e00d76fab54d500665c97b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:31:23 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:31:23 Info Current time: 08:31 ------------------------ ------------------------ 2025.05.18 5:31:23 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:31:23 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:31:23 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:31:24 Deal ID Extraction Extracted Deal ID: 213036 ------------------------ ------------------------ 2025.05.18 5:31:24 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213036_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:31:24 Function Input Parameters Array ( [dealId] => 213036 [response] => Toyo [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => bb7e2968007823390055ef6500007c9c0000061a04c4608d3d265e848b8697cf96331b [expires] => 1747549883 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => abfd5068007823390055ef6500007c9c0000060dc2ebf5b4e00d76fab54d500665c97b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:31:24 Deal Update Parameters Array ( [id] => 213036 [fields] => Array ( [UF_CRM_65C1E38A6A372] => Toyo ) ) ------------------------ ------------------------ 2025.05.18 5:31:24 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747546284.1372 [finish] => 1747546284.3331 [duration] => 0.19586515426636 [processing] => 0.16327810287476 [date_start] => 2025-05-18T05:31:24+00:00 [date_finish] => 2025-05-18T05:31:24+00:00 ) ) ------------------------ ------------------------ 2025.05.18 5:31:24 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747546284.4562 [finish] => 1747546284.6753 [duration] => 0.21904301643372 [processing] => 0.18722176551819 [date_start] => 2025-05-18T05:31:24+00:00 [date_finish] => 2025-05-18T05:31:24+00:00 ) ) ------------------------ ------------------------ 2025.05.18 5:38:07 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 4e802968007823390055ef650000d385302a06edf379fb17eced9ab17fc86acd4fc587 [expires] => 1747550286 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3eff5068007823390055ef650000d385302a060adffd6009ca66ee34083a6610454695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 4e802968007823390055ef650000d385302a06edf379fb17eced9ab17fc86acd4fc587 [expires] => 1747550286 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3eff5068007823390055ef650000d385302a060adffd6009ca66ee34083a6610454695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55597 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61889 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55597 [CHAT_ID] => 61889 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96541060675|55597 [CHAT_ENTITY_DATA_1] => Y|DEAL|213041|N|N|71507|1747546685|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538306|DEAL|213041 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61889 [MESSAGE_ID] => 1334488 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55597 [NAME] => Nawaf Shaikh [FIRST_NAME] => Nawaf [LAST_NAME] => Shaikh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546686 [auth] => Array ( [access_token] => 4f802968007823390055ef6500007c9c000006f148a072a506a02594a068f368e30a89 [expires] => 1747550287 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 3fff5068007823390055ef6500007c9c0000066c87f4bbd94556df9e8c11da108dbc27 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:38:07 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 4e802968007823390055ef650000d385302a06edf379fb17eced9ab17fc86acd4fc587 [expires] => 1747550286 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3eff5068007823390055ef650000d385302a060adffd6009ca66ee34083a6610454695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 4e802968007823390055ef650000d385302a06edf379fb17eced9ab17fc86acd4fc587 [expires] => 1747550286 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3eff5068007823390055ef650000d385302a060adffd6009ca66ee34083a6610454695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61889 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96541060675|55597 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61889 [LANGUAGE] => en ) ) [ts] => 1747546686 [auth] => Array ( [access_token] => 4e802968007823390055ef6500007c9c0000066a0e0156fe71fc87802913efdcdc73dc [expires] => 1747550286 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:38:07 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:38:07 Info Current time: 08:38 ------------------------ ------------------------ 2025.05.18 5:38:07 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:38:07 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:38:07 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:38:19 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 5b802968007823390055ef650000d385302a06b096022c3842bec79fbfebd1ef2de5bb [expires] => 1747550299 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4bff5068007823390055ef650000d385302a061ed5924993b9b53db0448840ada8f210 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 5b802968007823390055ef650000d385302a06b096022c3842bec79fbfebd1ef2de5bb [expires] => 1747550299 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4bff5068007823390055ef650000d385302a061ed5924993b9b53db0448840ada8f210 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55597 [MESSAGE] => 2 [TO_CHAT_ID] => 61889 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55597 [CHAT_ID] => 61889 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96541060675|55597 [CHAT_ENTITY_DATA_1] => Y|DEAL|213041|N|N|71507|1747546685|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538306|DEAL|213041 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61889 [MESSAGE_ID] => 1334491 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55597 [NAME] => Nawaf Shaikh [FIRST_NAME] => Nawaf [LAST_NAME] => Shaikh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546699 [auth] => Array ( [access_token] => 5b802968007823390055ef6500007c9c000006c87e98067786b9eca4d7348454d5cfb4 [expires] => 1747550299 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 4bff5068007823390055ef6500007c9c000006d999653939bad965e973cb8be0ddce81 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:38:19 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:38:19 Info Current time: 08:38 ------------------------ ------------------------ 2025.05.18 5:38:19 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:38:19 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:38:19 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:38:19 Deal ID Extraction Extracted Deal ID: 213041 ------------------------ ------------------------ 2025.05.18 5:38:19 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213041_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:38:54 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7e802968007823390055ef650000d385302a06ad3479b823f08412be50643906511450 [expires] => 1747550334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6eff5068007823390055ef650000d385302a068b4e62533a7357b3c581c94fcacbd452 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7e802968007823390055ef650000d385302a06ad3479b823f08412be50643906511450 [expires] => 1747550334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6eff5068007823390055ef650000d385302a068b4e62533a7357b3c581c94fcacbd452 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55597 [MESSAGE] => 5 [TO_CHAT_ID] => 61889 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55597 [CHAT_ID] => 61889 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96541060675|55597 [CHAT_ENTITY_DATA_1] => Y|DEAL|213041|N|N|71507|1747546685|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538306|DEAL|213041 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 5 [TO_USER_ID] => 0 [DIALOG_ID] => chat61889 [MESSAGE_ID] => 1334498 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55597 [NAME] => Nawaf Shaikh [FIRST_NAME] => Nawaf [LAST_NAME] => Shaikh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546734 [auth] => Array ( [access_token] => 7e802968007823390055ef6500007c9c0000060f96b6279061515a6f249240ecb4efb4 [expires] => 1747550334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6eff5068007823390055ef6500007c9c0000064d1d6171e8ed294a1420c748edb6c154 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:38:54 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:38:54 Info Current time: 08:38 ------------------------ ------------------------ 2025.05.18 5:38:54 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:38:54 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:38:54 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:38:54 Deal ID Extraction Extracted Deal ID: 213041 ------------------------ ------------------------ 2025.05.18 5:38:54 Field Code Save Saved Field Code: UF_CRM_1719989829 to /opt/bitnami/apache/htdocs/cache/213041_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:39:27 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9f802968007823390055ef650000d385302a06a532c1963fd2d61ab172ad8f9662ab67 [expires] => 1747550367 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8fff5068007823390055ef650000d385302a068f577c80d2cdece38abb47f020c08753 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9f802968007823390055ef650000d385302a06a532c1963fd2d61ab172ad8f9662ab67 [expires] => 1747550367 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8fff5068007823390055ef650000d385302a068f577c80d2cdece38abb47f020c08753 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55597 [MESSAGE] => 1N4AA51E9AC841510 [TO_CHAT_ID] => 61889 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55597 [CHAT_ID] => 61889 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96541060675|55597 [CHAT_ENTITY_DATA_1] => Y|DEAL|213041|N|N|71507|1747546685|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538306|DEAL|213041 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1N4AA51E9AC841510 [TO_USER_ID] => 0 [DIALOG_ID] => chat61889 [MESSAGE_ID] => 1334504 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55597 [NAME] => Nawaf Shaikh [FIRST_NAME] => Nawaf [LAST_NAME] => Shaikh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747546767 [auth] => Array ( [access_token] => 9f802968007823390055ef6500007c9c00000675de1aad6f46b9122e9942e106429e66 [expires] => 1747550367 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8fff5068007823390055ef6500007c9c00000634740abaeeee4dbefb61a66a9fba42cf [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:39:28 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 5:39:28 Info Current time: 08:39 ------------------------ ------------------------ 2025.05.18 5:39:28 Info Is day off: No ------------------------ ------------------------ 2025.05.18 5:39:28 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 5:39:28 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 5:39:28 Deal ID Extraction Extracted Deal ID: 213041 ------------------------ ------------------------ 2025.05.18 5:39:28 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213041_fieldcode.cache ------------------------ ------------------------ 2025.05.18 5:39:28 Function Input Parameters Array ( [dealId] => 213041 [response] => 1N4AA51E9AC841510 [fieldCode] => UF_CRM_1719989829 [auth] => Array ( [access_token] => 9f802968007823390055ef6500007c9c00000675de1aad6f46b9122e9942e106429e66 [expires] => 1747550367 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8fff5068007823390055ef6500007c9c00000634740abaeeee4dbefb61a66a9fba42cf [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 5:39:28 Deal Update Parameters Array ( [id] => 213041 [fields] => Array ( [UF_CRM_1719989829] => 1N4AA51E9AC841510 ) ) ------------------------ ------------------------ 2025.05.18 5:39:28 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747546768.3857 [finish] => 1747546768.5537 [duration] => 0.1679949760437 [processing] => 0.13619208335876 [date_start] => 2025-05-18T05:39:28+00:00 [date_finish] => 2025-05-18T05:39:28+00:00 ) ) ------------------------ ------------------------ 2025.05.18 5:39:28 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747546768.6693 [finish] => 1747546768.8928 [duration] => 0.22343301773071 [processing] => 0.18239212036133 [date_start] => 2025-05-18T05:39:28+00:00 [date_finish] => 2025-05-18T05:39:28+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:04:06 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 65862968007823390055ef650000d385302a06a428e284d94aafca2419df142e413579 [expires] => 1747551845 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 55055168007823390055ef650000d385302a06a59db0a02d671d395e647eb844de382e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 65862968007823390055ef650000d385302a06a428e284d94aafca2419df142e413579 [expires] => 1747551845 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 55055168007823390055ef650000d385302a06a59db0a02d671d395e647eb844de382e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61891 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598804820|55599 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61891 [LANGUAGE] => en ) ) [ts] => 1747548245 [auth] => Array ( [access_token] => 66862968007823390055ef6500007c9c000006ed677c5301918ad01622b061663e0b97 [expires] => 1747551846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:04:06 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 66862968007823390055ef650000d385302a0697331939159a2f708bd326d608448fcd [expires] => 1747551846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56055168007823390055ef650000d385302a067724e1c789196ad9885d5f28c09fc70c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 66862968007823390055ef650000d385302a0697331939159a2f708bd326d608448fcd [expires] => 1747551846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56055168007823390055ef650000d385302a067724e1c789196ad9885d5f28c09fc70c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55599 [MESSAGE] => Hello! Can I get more info on this? [TO_CHAT_ID] => 61891 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55599 [CHAT_ID] => 61891 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598804820|55599 [CHAT_ENTITY_DATA_1] => Y|DEAL|213046|N|N|71508|1747548245|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538310|DEAL|213046 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello! Can I get more info on this? [TO_USER_ID] => 0 [DIALOG_ID] => chat61891 [MESSAGE_ID] => 1334566 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55599 [NAME] => Manish Singh [FIRST_NAME] => Manish [LAST_NAME] => Singh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548246 [auth] => Array ( [access_token] => 66862968007823390055ef6500007c9c000006ed677c5301918ad01622b061663e0b97 [expires] => 1747551846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 56055168007823390055ef6500007c9c000006a777755d27770700455e5c0b2a9b4ad0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:04:06 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:04:06 Info Current time: 09:04 ------------------------ ------------------------ 2025.05.18 6:04:06 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:04:06 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:04:06 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:04:31 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7f862968007823390055ef650000d385302a06ea03b24861cb486d44c7b4cca5b11933 [expires] => 1747551871 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6f055168007823390055ef650000d385302a06427c0cfcc96ed1141aa3b3e464e3e8f4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7f862968007823390055ef650000d385302a06ea03b24861cb486d44c7b4cca5b11933 [expires] => 1747551871 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6f055168007823390055ef650000d385302a06427c0cfcc96ed1141aa3b3e464e3e8f4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55599 [MESSAGE] => Is there any promotions for buying 4 nos. Of tyres [TO_CHAT_ID] => 61891 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55599 [CHAT_ID] => 61891 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598804820|55599 [CHAT_ENTITY_DATA_1] => Y|DEAL|213046|N|N|71508|1747548245|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538310|DEAL|213046 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Is there any promotions for buying 4 nos. Of tyres [TO_USER_ID] => 0 [DIALOG_ID] => chat61891 [MESSAGE_ID] => 1334568 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55599 [NAME] => Manish Singh [FIRST_NAME] => Manish [LAST_NAME] => Singh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548271 [auth] => Array ( [access_token] => 7f862968007823390055ef6500007c9c000006a319f626ad74d1f4e40a07d5a3e03231 [expires] => 1747551871 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6f055168007823390055ef6500007c9c0000065818f728842caf85ee55a81cead777f5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:04:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:04:31 Info Current time: 09:04 ------------------------ ------------------------ 2025.05.18 6:04:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:04:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:04:31 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:13:51 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => ae882968007823390055ef650000d385302a06b3775ad30fa320ec004778eca1ae752c [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9e075168007823390055ef650000d385302a06d675f624438d57aeb06b15a6c4e6e966 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => ae882968007823390055ef650000d385302a06b3775ad30fa320ec004778eca1ae752c [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9e075168007823390055ef650000d385302a06d675f624438d57aeb06b15a6c4e6e966 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61893 [LANGUAGE] => en ) ) [ts] => 1747548830 [auth] => Array ( [access_token] => ae882968007823390055ef6500007c9c0000064a2903c211f6f8f6a6887e7d66f6ed37 [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:13:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => ae882968007823390055ef650000d385302a06b3775ad30fa320ec004778eca1ae752c [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9e075168007823390055ef650000d385302a06d675f624438d57aeb06b15a6c4e6e966 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => ae882968007823390055ef650000d385302a06b3775ad30fa320ec004778eca1ae752c [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9e075168007823390055ef650000d385302a06d675f624438d57aeb06b15a6c4e6e966 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55600 [MESSAGE] => Hi [TO_CHAT_ID] => 61893 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55600 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [CHAT_ENTITY_DATA_1] => Y|DEAL|213047|N|N|71509|1747548829|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538305|DEAL|213047 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hi [TO_USER_ID] => 0 [DIALOG_ID] => chat61893 [MESSAGE_ID] => 1334578 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55600 [NAME] => Murtaza [FIRST_NAME] => Murtaza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548830 [auth] => Array ( [access_token] => ae882968007823390055ef6500007c9c0000064a2903c211f6f8f6a6887e7d66f6ed37 [expires] => 1747552430 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 9e075168007823390055ef6500007c9c000006c2c3e892d579e078b8cff8a9e9f60552 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:13:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:13:51 Info Current time: 09:13 ------------------------ ------------------------ 2025.05.18 6:13:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:13:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:13:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:14:11 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c2882968007823390055ef650000d385302a06de16092e15f0d53e09db3f75beac4c0e [expires] => 1747552450 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b2075168007823390055ef650000d385302a067fb7c700b6de9ad4033074bfeff47046 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c2882968007823390055ef650000d385302a06de16092e15f0d53e09db3f75beac4c0e [expires] => 1747552450 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b2075168007823390055ef650000d385302a067fb7c700b6de9ad4033074bfeff47046 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55600 [MESSAGE] => P/N 5009676 Marine Fuel Filter Available? Price?? [TO_CHAT_ID] => 61893 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55600 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [CHAT_ENTITY_DATA_1] => Y|DEAL|213047|N|N|71509|1747548829|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538305|DEAL|213047 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => P/N 5009676 Marine Fuel Filter Available? Price?? [TO_USER_ID] => 0 [DIALOG_ID] => chat61893 [MESSAGE_ID] => 1334580 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55600 [NAME] => Murtaza [FIRST_NAME] => Murtaza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548850 [auth] => Array ( [access_token] => c2882968007823390055ef6500007c9c00000602144977e8c6bc5decb8ad5cfa336749 [expires] => 1747552450 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b2075168007823390055ef6500007c9c00000680ab6271f8b4d2ba0490863da5cfaf28 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:14:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:14:11 Info Current time: 09:14 ------------------------ ------------------------ 2025.05.18 6:14:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:14:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:14:11 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:14:15 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c7882968007823390055ef650000d385302a06bdd3f068adc2242f0f5b554c89ac3be5 [expires] => 1747552455 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b7075168007823390055ef650000d385302a06159e3652103a4e126d7f6576fb50c5ae [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c7882968007823390055ef650000d385302a06bdd3f068adc2242f0f5b554c89ac3be5 [expires] => 1747552455 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b7075168007823390055ef650000d385302a06159e3652103a4e126d7f6576fb50c5ae [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55600 [MESSAGE] => 2 [TO_CHAT_ID] => 61893 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55600 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [CHAT_ENTITY_DATA_1] => Y|DEAL|213047|N|N|71509|1747548829|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538305|DEAL|213047 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61893 [MESSAGE_ID] => 1334582 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55600 [NAME] => Murtaza [FIRST_NAME] => Murtaza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548855 [auth] => Array ( [access_token] => c7882968007823390055ef6500007c9c000006f32b1eae34fee9b47e23c349181f41b7 [expires] => 1747552455 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b7075168007823390055ef6500007c9c00000617533594433bcecc05f1a20a0e1856d8 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:14:15 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:14:15 Info Current time: 09:14 ------------------------ ------------------------ 2025.05.18 6:14:15 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:14:15 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:14:15 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:14:15 Deal ID Extraction Extracted Deal ID: 213047 ------------------------ ------------------------ 2025.05.18 6:14:15 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213047_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:14:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => ca882968007823390055ef650000d385302a06d3f7ec130a2e7268e0d5f85fbb5ae69b [expires] => 1747552458 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ba075168007823390055ef650000d385302a06a8a0c9b3bfba16f92bff59ef422dfd33 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => ca882968007823390055ef650000d385302a06d3f7ec130a2e7268e0d5f85fbb5ae69b [expires] => 1747552458 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ba075168007823390055ef650000d385302a06a8a0c9b3bfba16f92bff59ef422dfd33 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55600 [MESSAGE] => 2 [TO_CHAT_ID] => 61893 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55600 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [CHAT_ENTITY_DATA_1] => Y|DEAL|213047|N|N|71509|1747548829|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538305|DEAL|213047 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61893 [MESSAGE_ID] => 1334584 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55600 [NAME] => Murtaza [FIRST_NAME] => Murtaza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548858 [auth] => Array ( [access_token] => ca882968007823390055ef6500007c9c000006b42d5e862e14439c477d20570b173897 [expires] => 1747552458 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ba075168007823390055ef6500007c9c0000063f4370e8eb70aab8f9427af6934fa337 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:14:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:14:18 Info Current time: 09:14 ------------------------ ------------------------ 2025.05.18 6:14:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:14:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:14:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:14:18 Deal ID Extraction Extracted Deal ID: 213047 ------------------------ ------------------------ 2025.05.18 6:14:18 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213047_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:14:30 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d6882968007823390055ef650000d385302a0686b8d5cc31e0a0c2d6ddbe83070dc82f [expires] => 1747552470 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c6075168007823390055ef650000d385302a06b4d98d8b9075d51f6ff0ec96d4cf3359 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d6882968007823390055ef650000d385302a0686b8d5cc31e0a0c2d6ddbe83070dc82f [expires] => 1747552470 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c6075168007823390055ef650000d385302a06b4d98d8b9075d51f6ff0ec96d4cf3359 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55600 [MESSAGE] => 6 [TO_CHAT_ID] => 61893 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55600 [CHAT_ID] => 61893 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560494890|55600 [CHAT_ENTITY_DATA_1] => Y|DEAL|213047|N|N|71509|1747548829|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538305|DEAL|213047 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 6 [TO_USER_ID] => 0 [DIALOG_ID] => chat61893 [MESSAGE_ID] => 1334586 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55600 [NAME] => Murtaza [FIRST_NAME] => Murtaza [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747548870 [auth] => Array ( [access_token] => d6882968007823390055ef6500007c9c000006fa19c1eb091b28c1f6c5989ad09329cf [expires] => 1747552470 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c6075168007823390055ef6500007c9c000006c21acd55e6f69c8252f85ee6b674adf9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:14:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:14:31 Info Current time: 09:14 ------------------------ ------------------------ 2025.05.18 6:14:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:14:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:14:31 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:14:31 Deal ID Extraction Extracted Deal ID: 213047 ------------------------ ------------------------ 2025.05.18 6:14:31 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213047_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:14:31 Function Input Parameters Array ( [dealId] => 213047 [response] => 6 [fieldCode] => UF_CRM_1719987892 [auth] => Array ( [access_token] => d6882968007823390055ef6500007c9c000006fa19c1eb091b28c1f6c5989ad09329cf [expires] => 1747552470 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c6075168007823390055ef6500007c9c000006c21acd55e6f69c8252f85ee6b674adf9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:14:31 Deal Update Parameters Array ( [id] => 213047 [fields] => Array ( [UF_CRM_1719987892] => 6 ) ) ------------------------ ------------------------ 2025.05.18 6:14:31 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747548871.5529 [finish] => 1747548871.7207 [duration] => 0.1678159236908 [processing] => 0.1325478553772 [date_start] => 2025-05-18T06:14:31+00:00 [date_finish] => 2025-05-18T06:14:31+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:14:32 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747548871.8718 [finish] => 1747548872.1784 [duration] => 0.30663990974426 [processing] => 0.24265789985657 [date_start] => 2025-05-18T06:14:31+00:00 [date_finish] => 2025-05-18T06:14:32+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:18:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => hi [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213048|N|N|71510|1747549138|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213048 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => hi [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1334602 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747549139 [auth] => Array ( [access_token] => e3892968007823390055ef6500007c9c000006f6f7fa33a57f519b8d75623b377d5028 [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d3085168007823390055ef6500007c9c0000061d3cc53fbf2620e1226a2ce5edabc074 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:18:59 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61894 [LANGUAGE] => en ) ) [ts] => 1747549139 [auth] => Array ( [access_token] => e3892968007823390055ef6500007c9c000006f6f7fa33a57f519b8d75623b377d5028 [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:18:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e3892968007823390055ef650000d385302a06d6e5d9527ba34959fab1d77536be5b4a [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3085168007823390055ef650000d385302a06b164fe65f8a49b447618e27ea107b3fc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => hru [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213048|N|N|71510|1747549138|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213048 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => hru [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1334603 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747549139 [auth] => Array ( [access_token] => e3892968007823390055ef6500007c9c000006f6f7fa33a57f519b8d75623b377d5028 [expires] => 1747552739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d3085168007823390055ef6500007c9c0000061d3cc53fbf2620e1226a2ce5edabc074 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:19:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:19:00 Info Current time: 09:19 ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:19:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:19:00 Info Current time: 09:19 ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:19:00 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:19:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f0892968007823390055ef650000d385302a06725d464990fa4db5b1051aa801753766 [expires] => 1747552752 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e0085168007823390055ef650000d385302a06c303dab54a61e40ede04784fa0ef39b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f0892968007823390055ef650000d385302a06725d464990fa4db5b1051aa801753766 [expires] => 1747552752 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e0085168007823390055ef650000d385302a06c303dab54a61e40ede04784fa0ef39b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => 2 [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213048|N|N|71510|1747549138|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213048 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1334609 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747549153 [auth] => Array ( [access_token] => f1892968007823390055ef6500007c9c0000060c8f3eb2b8726088af8e009961d59a72 [expires] => 1747552753 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e1085168007823390055ef6500007c9c000006fa71a7d8a039764bc6c0a8150fd27d61 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:19:13 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:19:13 Info Current time: 09:19 ------------------------ ------------------------ 2025.05.18 6:19:13 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:19:13 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:19:13 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:19:13 Deal ID Extraction Extracted Deal ID: 213048 ------------------------ ------------------------ 2025.05.18 6:19:13 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213048_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:19:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => fd892968007823390055ef650000d385302a063744c8bbe87b9e031371859a96cef2f2 [expires] => 1747552765 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ed085168007823390055ef650000d385302a06e778cf1becc91412dc8f42918e9641e4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => fd892968007823390055ef650000d385302a063744c8bbe87b9e031371859a96cef2f2 [expires] => 1747552765 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ed085168007823390055ef650000d385302a06e778cf1becc91412dc8f42918e9641e4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => 1 [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213048|N|N|71510|1747549138|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213048 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1334611 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747549165 [auth] => Array ( [access_token] => fd892968007823390055ef6500007c9c000006bca65de49806379b57156297849cf58d [expires] => 1747552765 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ed085168007823390055ef6500007c9c0000068e912e3083c03c7016ee712a57cc981c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:19:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:19:26 Info Current time: 09:19 ------------------------ ------------------------ 2025.05.18 6:19:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:19:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:19:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:19:26 Deal ID Extraction Extracted Deal ID: 213048 ------------------------ ------------------------ 2025.05.18 6:19:26 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213048_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:20:08 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 288a2968007823390055ef650000d385302a063f9efb23889725210b625635d037782b [expires] => 1747552808 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 18095168007823390055ef650000d385302a065088431cd6cdece8aba16c2e25e95152 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 288a2968007823390055ef650000d385302a063f9efb23889725210b625635d037782b [expires] => 1747552808 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 18095168007823390055ef650000d385302a065088431cd6cdece8aba16c2e25e95152 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => 265/70/r16 [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213048|N|N|71510|1747549138|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213048 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 265/70/r16 [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1334615 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747549208 [auth] => Array ( [access_token] => 288a2968007823390055ef6500007c9c0000066390e715475b78560995310e874403ba [expires] => 1747552808 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 18095168007823390055ef6500007c9c000006c5f6a3108487db770b07eb8ea57421c9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:20:08 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:20:08 Info Current time: 09:20 ------------------------ ------------------------ 2025.05.18 6:20:08 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:20:08 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:20:08 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:20:09 Deal ID Extraction Extracted Deal ID: 213048 ------------------------ ------------------------ 2025.05.18 6:20:09 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213048_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:20:09 Function Input Parameters Array ( [dealId] => 213048 [response] => 265/70/r16 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 288a2968007823390055ef6500007c9c0000066390e715475b78560995310e874403ba [expires] => 1747552808 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 18095168007823390055ef6500007c9c000006c5f6a3108487db770b07eb8ea57421c9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:20:09 Deal Update Parameters Array ( [id] => 213048 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 265/70/r16 ) ) ------------------------ ------------------------ 2025.05.18 6:20:09 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747549209.2616 [finish] => 1747549209.4768 [duration] => 0.21522498130798 [processing] => 0.185387134552 [date_start] => 2025-05-18T06:20:09+00:00 [date_finish] => 2025-05-18T06:20:09+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:20:09 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747549209.5974 [finish] => 1747549209.8045 [duration] => 0.20712614059448 [processing] => 0.17288088798523 [date_start] => 2025-05-18T06:20:09+00:00 [date_finish] => 2025-05-18T06:20:09+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:50:14 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35912968007823390055ef650000d385302a066502d9b704b6bfabf07821181868a141 [expires] => 1747554613 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25105168007823390055ef650000d385302a0651bf9065a92911c7d42015537f881846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35912968007823390055ef650000d385302a066502d9b704b6bfabf07821181868a141 [expires] => 1747554613 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25105168007823390055ef650000d385302a0651bf9065a92911c7d42015537f881846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54911 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61038 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54911 [CHAT_ID] => 61038 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590909710|54911 [CHAT_ENTITY_DATA_1] => Y|DEAL|213056|N|N|71512|1747551012|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|418227|DEAL|213056 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61038 [MESSAGE_ID] => 1334735 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54911 [NAME] => استغفرالله [FIRST_NAME] => استغفرالله [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551013 [auth] => Array ( [access_token] => 36912968007823390055ef6500007c9c0000069a23699284b57fa9d7f7c5f483905093 [expires] => 1747554614 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 26105168007823390055ef6500007c9c0000063a1d49d1ed3f5b7411bf300b1d598b1f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:50:14 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35912968007823390055ef650000d385302a066502d9b704b6bfabf07821181868a141 [expires] => 1747554613 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25105168007823390055ef650000d385302a0651bf9065a92911c7d42015537f881846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35912968007823390055ef650000d385302a066502d9b704b6bfabf07821181868a141 [expires] => 1747554613 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25105168007823390055ef650000d385302a0651bf9065a92911c7d42015537f881846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61038 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590909710|54911 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61038 [LANGUAGE] => en ) ) [ts] => 1747551013 [auth] => Array ( [access_token] => 36912968007823390055ef6500007c9c0000069a23699284b57fa9d7f7c5f483905093 [expires] => 1747554614 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:50:15 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:50:15 Info Current time: 09:50 ------------------------ ------------------------ 2025.05.18 6:50:15 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:50:15 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:50:15 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:50:22 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3e912968007823390055ef650000d385302a062294bfb50ea7df051cc76e0c62f43429 [expires] => 1747554622 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e105168007823390055ef650000d385302a0681ad4f5346de8ccb5b0e7c8bb7cf7875 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3e912968007823390055ef650000d385302a062294bfb50ea7df051cc76e0c62f43429 [expires] => 1747554622 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e105168007823390055ef650000d385302a0681ad4f5346de8ccb5b0e7c8bb7cf7875 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54911 [MESSAGE] => 1 [TO_CHAT_ID] => 61038 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54911 [CHAT_ID] => 61038 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590909710|54911 [CHAT_ENTITY_DATA_1] => Y|DEAL|213056|N|N|71512|1747551012|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|418227|DEAL|213056 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61038 [MESSAGE_ID] => 1334737 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54911 [NAME] => استغفرالله [FIRST_NAME] => استغفرالله [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551022 [auth] => Array ( [access_token] => 3e912968007823390055ef6500007c9c000006501c2cdc6c37302ecea9de77fc51311d [expires] => 1747554622 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2e105168007823390055ef6500007c9c00000632aab4190192bbf9eb9b7e7751e6c6cc [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:50:22 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:50:22 Info Current time: 09:50 ------------------------ ------------------------ 2025.05.18 6:50:22 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:50:22 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:50:22 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:50:22 Deal ID Extraction Extracted Deal ID: 213056 ------------------------ ------------------------ 2025.05.18 6:50:22 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213056_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:50:33 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 48912968007823390055ef650000d385302a06cbbd767e3592549ea0e97efbe4bf4bd4 [expires] => 1747554632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 38105168007823390055ef650000d385302a0661190ea3a48dd67faa588fd462a89b02 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 48912968007823390055ef650000d385302a06cbbd767e3592549ea0e97efbe4bf4bd4 [expires] => 1747554632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 38105168007823390055ef650000d385302a0661190ea3a48dd67faa588fd462a89b02 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54911 [MESSAGE] => 4 [TO_CHAT_ID] => 61038 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54911 [CHAT_ID] => 61038 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590909710|54911 [CHAT_ENTITY_DATA_1] => Y|DEAL|213056|N|N|71512|1747551012|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|418227|DEAL|213056 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61038 [MESSAGE_ID] => 1334739 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54911 [NAME] => استغفرالله [FIRST_NAME] => استغفرالله [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551032 [auth] => Array ( [access_token] => 48912968007823390055ef6500007c9c0000063b8f6ee6f8fa1aceae946ae9d2e8f5d3 [expires] => 1747554632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 38105168007823390055ef6500007c9c000006540035f23f7bff5b4f8e81fdf1938a52 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:50:33 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:50:33 Info Current time: 09:50 ------------------------ ------------------------ 2025.05.18 6:50:33 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:50:33 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:50:33 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:50:33 Deal ID Extraction Extracted Deal ID: 213056 ------------------------ ------------------------ 2025.05.18 6:50:33 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213056_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:50:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63912968007823390055ef650000d385302a0696b59ebee550ec8bc884532bb36ff281 [expires] => 1747554659 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53105168007823390055ef650000d385302a0638a7ce4f25403d8feb4b22d8b5430b9d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63912968007823390055ef650000d385302a0696b59ebee550ec8bc884532bb36ff281 [expires] => 1747554659 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53105168007823390055ef650000d385302a0638a7ce4f25403d8feb4b22d8b5430b9d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54911 [MESSAGE] => شفرولية امبالا 2017 [TO_CHAT_ID] => 61038 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54911 [CHAT_ID] => 61038 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590909710|54911 [CHAT_ENTITY_DATA_1] => Y|DEAL|213056|N|N|71512|1747551012|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|418227|DEAL|213056 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => شفرولية امبالا 2017 [TO_USER_ID] => 0 [DIALOG_ID] => chat61038 [MESSAGE_ID] => 1334741 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54911 [NAME] => استغفرالله [FIRST_NAME] => استغفرالله [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551059 [auth] => Array ( [access_token] => 63912968007823390055ef6500007c9c000006d95c9d9b324d3276078d185706ac2eb4 [expires] => 1747554659 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 53105168007823390055ef6500007c9c0000063cb5f368e4ff8f9176b36ddd26d82aae [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:50:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 6:50:59 Info Current time: 09:50 ------------------------ ------------------------ 2025.05.18 6:50:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 6:50:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 6:50:59 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 6:51:00 Deal ID Extraction Extracted Deal ID: 213056 ------------------------ ------------------------ 2025.05.18 6:51:00 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213056_fieldcode.cache ------------------------ ------------------------ 2025.05.18 6:51:00 Function Input Parameters Array ( [dealId] => 213056 [response] => شفرولية امبالا 2017 [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 63912968007823390055ef6500007c9c000006d95c9d9b324d3276078d185706ac2eb4 [expires] => 1747554659 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 53105168007823390055ef6500007c9c0000063cb5f368e4ff8f9176b36ddd26d82aae [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 6:51:00 Deal Update Parameters Array ( [id] => 213056 [fields] => Array ( [UF_CRM_1719989462] => شفرولية امبالا 2017 ) ) ------------------------ ------------------------ 2025.05.18 6:51:00 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747551060.3752 [finish] => 1747551060.55 [duration] => 0.17481708526611 [processing] => 0.14478898048401 [date_start] => 2025-05-18T06:51:00+00:00 [date_finish] => 2025-05-18T06:51:00+00:00 ) ) ------------------------ ------------------------ 2025.05.18 6:51:00 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747551060.672 [finish] => 1747551060.9058 [duration] => 0.23379302024841 [processing] => 0.20116114616394 [date_start] => 2025-05-18T06:51:00+00:00 [date_finish] => 2025-05-18T06:51:00+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:03:02 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35942968007823390055ef650000d385302a064d30e077c2940bea3c4471a163094652 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25135168007823390055ef650000d385302a067e5c315e2dfbe29ec1560a54d57d8840 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35942968007823390055ef650000d385302a064d30e077c2940bea3c4471a163094652 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25135168007823390055ef650000d385302a067e5c315e2dfbe29ec1560a54d57d8840 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55604 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61898 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55604 [CHAT_ID] => 61898 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598511402|55604 [CHAT_ENTITY_DATA_1] => Y|DEAL|213061|N|N|71513|1747551780|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|484353|DEAL|213061 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61898 [MESSAGE_ID] => 1334798 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55604 [NAME] => Abu Haytem [FIRST_NAME] => Abu [LAST_NAME] => Haytem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551781 [auth] => Array ( [access_token] => 35942968007823390055ef6500007c9c000006afaf5074eaacb17f7d4eaaaa9e8202f7 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 25135168007823390055ef6500007c9c000006ec1936b1c53a246cddebbf0e35fb38a2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:02 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35942968007823390055ef650000d385302a064d30e077c2940bea3c4471a163094652 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25135168007823390055ef650000d385302a067e5c315e2dfbe29ec1560a54d57d8840 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35942968007823390055ef650000d385302a064d30e077c2940bea3c4471a163094652 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25135168007823390055ef650000d385302a067e5c315e2dfbe29ec1560a54d57d8840 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61898 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598511402|55604 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61898 [LANGUAGE] => en ) ) [ts] => 1747551781 [auth] => Array ( [access_token] => 35942968007823390055ef6500007c9c000006afaf5074eaacb17f7d4eaaaa9e8202f7 [expires] => 1747555381 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:02 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:03:02 Info Current time: 10:03 ------------------------ ------------------------ 2025.05.18 7:03:02 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:03:02 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:03:02 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:03:16 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 44942968007823390055ef650000d385302a06df83cc5cb23f0437a409570d1b2713a7 [expires] => 1747555396 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 34135168007823390055ef650000d385302a0680348262972daa26cd2e1b3f487a7de8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 44942968007823390055ef650000d385302a06df83cc5cb23f0437a409570d1b2713a7 [expires] => 1747555396 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 34135168007823390055ef650000d385302a0680348262972daa26cd2e1b3f487a7de8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55604 [MESSAGE] => 2 [TO_CHAT_ID] => 61898 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55604 [CHAT_ID] => 61898 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598511402|55604 [CHAT_ENTITY_DATA_1] => Y|DEAL|213061|N|N|71513|1747551780|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|484353|DEAL|213061 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61898 [MESSAGE_ID] => 1334800 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55604 [NAME] => Abu Haytem [FIRST_NAME] => Abu [LAST_NAME] => Haytem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551796 [auth] => Array ( [access_token] => 44942968007823390055ef6500007c9c00000620412579d1c26b5c5c598920afcdb48e [expires] => 1747555396 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 34135168007823390055ef6500007c9c000006a6ed353f7a96e6687faf5246c6f2769b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:16 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:03:16 Info Current time: 10:03 ------------------------ ------------------------ 2025.05.18 7:03:16 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:03:16 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:03:16 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:03:16 Deal ID Extraction Extracted Deal ID: 213061 ------------------------ ------------------------ 2025.05.18 7:03:16 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213061_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:03:31 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 52942968007823390055ef650000d385302a06699c506b579719f60735613bb9e212b8 [expires] => 1747555410 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 42135168007823390055ef650000d385302a06e9b97077db0cdf62138eb4bea3a72989 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 52942968007823390055ef650000d385302a06699c506b579719f60735613bb9e212b8 [expires] => 1747555410 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 42135168007823390055ef650000d385302a06e9b97077db0cdf62138eb4bea3a72989 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55604 [MESSAGE] => 1 [TO_CHAT_ID] => 61898 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55604 [CHAT_ID] => 61898 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598511402|55604 [CHAT_ENTITY_DATA_1] => Y|DEAL|213061|N|N|71513|1747551780|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|484353|DEAL|213061 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61898 [MESSAGE_ID] => 1334802 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55604 [NAME] => Abu Haytem [FIRST_NAME] => Abu [LAST_NAME] => Haytem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551810 [auth] => Array ( [access_token] => 52942968007823390055ef6500007c9c000006f8a9ccd786caf26fb4467521f389099e [expires] => 1747555410 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 42135168007823390055ef6500007c9c00000662819eea5e7c7dada1ec9de0fae05a54 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:03:31 Info Current time: 10:03 ------------------------ ------------------------ 2025.05.18 7:03:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:03:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:03:31 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:03:31 Deal ID Extraction Extracted Deal ID: 213061 ------------------------ ------------------------ 2025.05.18 7:03:31 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213061_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:03:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63942968007823390055ef650000d385302a061747cf6f8b69657acfdd6efbf5a490da [expires] => 1747555427 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53135168007823390055ef650000d385302a06b24dfdc752ddbcfda3d8c2f01013fef5 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63942968007823390055ef650000d385302a061747cf6f8b69657acfdd6efbf5a490da [expires] => 1747555427 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53135168007823390055ef650000d385302a06b24dfdc752ddbcfda3d8c2f01013fef5 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55604 [MESSAGE] => 275/60R20 [TO_CHAT_ID] => 61898 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55604 [CHAT_ID] => 61898 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598511402|55604 [CHAT_ENTITY_DATA_1] => Y|DEAL|213061|N|N|71513|1747551780|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|484353|DEAL|213061 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 275/60R20 [TO_USER_ID] => 0 [DIALOG_ID] => chat61898 [MESSAGE_ID] => 1334804 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55604 [NAME] => Abu Haytem [FIRST_NAME] => Abu [LAST_NAME] => Haytem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551827 [auth] => Array ( [access_token] => 64942968007823390055ef6500007c9c000006ee7fada27b0604b42d3f58f706d40d24 [expires] => 1747555428 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 54135168007823390055ef6500007c9c0000067238940a735426d818a8930c6784176f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:03:48 Info Current time: 10:03 ------------------------ ------------------------ 2025.05.18 7:03:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:03:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:03:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:03:48 Deal ID Extraction Extracted Deal ID: 213061 ------------------------ ------------------------ 2025.05.18 7:03:48 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213061_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:03:48 Function Input Parameters Array ( [dealId] => 213061 [response] => 275/60R20 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 64942968007823390055ef6500007c9c000006ee7fada27b0604b42d3f58f706d40d24 [expires] => 1747555428 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 54135168007823390055ef6500007c9c0000067238940a735426d818a8930c6784176f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:48 Deal Update Parameters Array ( [id] => 213061 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 275/60R20 ) ) ------------------------ ------------------------ 2025.05.18 7:03:48 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747551828.6413 [finish] => 1747551828.8017 [duration] => 0.16041111946106 [processing] => 0.13351202011108 [date_start] => 2025-05-18T07:03:48+00:00 [date_finish] => 2025-05-18T07:03:48+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:03:49 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747551828.9103 [finish] => 1747551829.1069 [duration] => 0.19661688804626 [processing] => 0.16893696784973 [date_start] => 2025-05-18T07:03:48+00:00 [date_finish] => 2025-05-18T07:03:49+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:03:53 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 67942968007823390055ef650000d385302a060705e86493b8cfa92888c88f2596b6cb [expires] => 1747555431 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57135168007823390055ef650000d385302a067ad3dc6d500d00b9ba0b88307bbc76f0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 67942968007823390055ef650000d385302a060705e86493b8cfa92888c88f2596b6cb [expires] => 1747555431 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 57135168007823390055ef650000d385302a067ad3dc6d500d00b9ba0b88307bbc76f0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61831 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596904075|55547 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61831 [LANGUAGE] => en ) ) [ts] => 1747551831 [auth] => Array ( [access_token] => 68942968007823390055ef6500007c9c00000677220811939653107780849bf62be790 [expires] => 1747555432 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:53 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 68942968007823390055ef650000d385302a06a50d5dd5cec3aa85f9642f2de0958808 [expires] => 1747555432 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 58135168007823390055ef650000d385302a0610b0556cc9a419c268535f83891c35c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 68942968007823390055ef650000d385302a06a50d5dd5cec3aa85f9642f2de0958808 [expires] => 1747555432 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 58135168007823390055ef650000d385302a0610b0556cc9a419c268535f83891c35c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55547 [MESSAGE] => Hello [TO_CHAT_ID] => 61831 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55547 [CHAT_ID] => 61831 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596904075|55547 [CHAT_ENTITY_DATA_1] => Y|DEAL|213063|N|N|71514|1747551831|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538249|DEAL|213063 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello [TO_USER_ID] => 0 [DIALOG_ID] => chat61831 [MESSAGE_ID] => 1334812 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55547 [NAME] => Chandrakant Pandey [FIRST_NAME] => Chandrakant [LAST_NAME] => Pandey [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551832 [auth] => Array ( [access_token] => 68942968007823390055ef6500007c9c00000677220811939653107780849bf62be790 [expires] => 1747555432 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 58135168007823390055ef6500007c9c00000655a03b6a1a994338ea552984db1a3874 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:03:53 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:03:53 Info Current time: 10:03 ------------------------ ------------------------ 2025.05.18 7:03:53 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:03:53 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:03:53 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:18 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 81942968007823390055ef650000d385302a0654c5224488bfe5318ce432714e6747b7 [expires] => 1747555457 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 71135168007823390055ef650000d385302a06bd3caa95328ed8591f6cd0e255c46e22 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 81942968007823390055ef650000d385302a0654c5224488bfe5318ce432714e6747b7 [expires] => 1747555457 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 71135168007823390055ef650000d385302a06bd3caa95328ed8591f6cd0e255c46e22 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61899 [LANGUAGE] => en ) ) [ts] => 1747551857 [auth] => Array ( [access_token] => 82942968007823390055ef6500007c9c00000621fa985bcb9e0ec37de0b610b28cf00b [expires] => 1747555458 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 81942968007823390055ef650000d385302a0654c5224488bfe5318ce432714e6747b7 [expires] => 1747555457 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 71135168007823390055ef650000d385302a06bd3caa95328ed8591f6cd0e255c46e22 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 81942968007823390055ef650000d385302a0654c5224488bfe5318ce432714e6747b7 [expires] => 1747555457 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 71135168007823390055ef650000d385302a06bd3caa95328ed8591f6cd0e255c46e22 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55605 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 392914 ) ) [TO_CHAT_ID] => 61899 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55605 [CHAT_ID] => 61899 [FILES] => Array ( [392914] => Array ( [id] => 392914 [chatId] => 61899 [type] => audio [name] => 1747551854_1458484155531780.ogg [extension] => ogg [size] => 11204 [image] => 0 [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392914&fileName=1747551854_1458484155531780.ogg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392914&fileName=1747551854_1458484155531780.ogg [viewerAttrs] => Array ( [viewerType] => audio [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392914&fileName=1747551854_1458484155531780.ogg [objectId] => 392914 [viewerGroupBy] => 61899 [imChatId] => 61899 [title] => 1747551854_1458484155531780.ogg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"392914"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [CHAT_ENTITY_DATA_1] => Y|DEAL|213064|N|N|71515|1747551857|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538318|DEAL|213064 [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61899 [MESSAGE_ID] => 1334818 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55605 [NAME] => asif [FIRST_NAME] => asif [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551857 [auth] => Array ( [access_token] => 82942968007823390055ef6500007c9c00000621fa985bcb9e0ec37de0b610b28cf00b [expires] => 1747555458 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 72135168007823390055ef6500007c9c000006f7f17c6488b109262dbac3d3f064f648 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:04:18 Info Current time: 10:04 ------------------------ ------------------------ 2025.05.18 7:04:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:04:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:04:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 88942968007823390055ef650000d385302a06fdb51a7e3fd1d552f582e6779b8b20c2 [expires] => 1747555464 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 78135168007823390055ef650000d385302a06770d903445e9ff4f8fd3bd25c0a5e3a3 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 88942968007823390055ef650000d385302a06fdb51a7e3fd1d552f582e6779b8b20c2 [expires] => 1747555464 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 78135168007823390055ef650000d385302a06770d903445e9ff4f8fd3bd25c0a5e3a3 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55547 [MESSAGE] => 2 [TO_CHAT_ID] => 61831 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55547 [CHAT_ID] => 61831 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596904075|55547 [CHAT_ENTITY_DATA_1] => Y|DEAL|213063|N|N|71514|1747551831|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538249|DEAL|213063 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61831 [MESSAGE_ID] => 1334820 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55547 [NAME] => Chandrakant Pandey [FIRST_NAME] => Chandrakant [LAST_NAME] => Pandey [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551864 [auth] => Array ( [access_token] => 89942968007823390055ef6500007c9c000006b4ff8b9e7f15698cc473cb4a2df44efe [expires] => 1747555465 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 79135168007823390055ef6500007c9c000006dd946435cd2670fe014649756420a6f1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:04:25 Info Current time: 10:04 ------------------------ ------------------------ 2025.05.18 7:04:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:04:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:04:25 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:25 Deal ID Extraction Extracted Deal ID: 213063 ------------------------ ------------------------ 2025.05.18 7:04:25 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213063_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:04:34 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 91942968007823390055ef650000d385302a06e48152065cf056287c937d73cde23010 [expires] => 1747555473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 81135168007823390055ef650000d385302a06c98bb60e42c77f881c02dcf935f3d763 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 91942968007823390055ef650000d385302a06e48152065cf056287c937d73cde23010 [expires] => 1747555473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 81135168007823390055ef650000d385302a06c98bb60e42c77f881c02dcf935f3d763 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55547 [MESSAGE] => 4 [TO_CHAT_ID] => 61831 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55547 [CHAT_ID] => 61831 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596904075|55547 [CHAT_ENTITY_DATA_1] => Y|DEAL|213063|N|N|71514|1747551831|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538249|DEAL|213063 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61831 [MESSAGE_ID] => 1334822 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55547 [NAME] => Chandrakant Pandey [FIRST_NAME] => Chandrakant [LAST_NAME] => Pandey [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551873 [auth] => Array ( [access_token] => 91942968007823390055ef6500007c9c000006a3f0886ca78f3777f6677efce6a9497a [expires] => 1747555473 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 81135168007823390055ef6500007c9c0000062260c3b3c801131a4067f6f2f99e8e5b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:34 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:04:34 Info Current time: 10:04 ------------------------ ------------------------ 2025.05.18 7:04:34 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:04:34 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:04:34 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:34 Deal ID Extraction Extracted Deal ID: 213063 ------------------------ ------------------------ 2025.05.18 7:04:34 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213063_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:04:47 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9f942968007823390055ef650000d385302a06bf16e7fb9428baa941c44a4ef209d570 [expires] => 1747555487 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8f135168007823390055ef650000d385302a06a91ae4ec0959d1e83774fb85bccdc8da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9f942968007823390055ef650000d385302a06bf16e7fb9428baa941c44a4ef209d570 [expires] => 1747555487 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8f135168007823390055ef650000d385302a06a91ae4ec0959d1e83774fb85bccdc8da [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55547 [MESSAGE] => 1FM5K7D84KGB30183 [TO_CHAT_ID] => 61831 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55547 [CHAT_ID] => 61831 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596904075|55547 [CHAT_ENTITY_DATA_1] => Y|DEAL|213063|N|N|71514|1747551831|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538249|DEAL|213063 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1FM5K7D84KGB30183 [TO_USER_ID] => 0 [DIALOG_ID] => chat61831 [MESSAGE_ID] => 1334824 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55547 [NAME] => Chandrakant Pandey [FIRST_NAME] => Chandrakant [LAST_NAME] => Pandey [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551887 [auth] => Array ( [access_token] => 9f942968007823390055ef6500007c9c0000060a7d9ca4d7039633c0224149e861bb33 [expires] => 1747555487 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8f135168007823390055ef6500007c9c0000066202366f5029f4133e32ab15247a4c0e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:04:48 Info Current time: 10:04 ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:48 Deal ID Extraction Extracted Deal ID: 213063 ------------------------ ------------------------ 2025.05.18 7:04:48 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213063_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:04:48 Function Input Parameters Array ( [dealId] => 213063 [response] => 1FM5K7D84KGB30183 [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 9f942968007823390055ef6500007c9c0000060a7d9ca4d7039633c0224149e861bb33 [expires] => 1747555487 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8f135168007823390055ef6500007c9c0000066202366f5029f4133e32ab15247a4c0e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:48 Deal Update Parameters Array ( [id] => 213063 [fields] => Array ( [UF_CRM_1719989462] => 1FM5K7D84KGB30183 ) ) ------------------------ ------------------------ 2025.05.18 7:04:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a0942968007823390055ef650000d385302a062e6cc48491feffa59ba3ceb5c6b2d10f [expires] => 1747555488 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 90135168007823390055ef650000d385302a0678fbfad6c91107f9e48ea542806e11ab [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a0942968007823390055ef650000d385302a062e6cc48491feffa59ba3ceb5c6b2d10f [expires] => 1747555488 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 90135168007823390055ef650000d385302a0678fbfad6c91107f9e48ea542806e11ab [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55605 [MESSAGE] => 👆🏻🛠️ [TO_CHAT_ID] => 61899 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55605 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [CHAT_ENTITY_DATA_1] => Y|DEAL|213064|N|N|71515|1747551857|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538318|DEAL|213064 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 👆🏻🛠️ [TO_USER_ID] => 0 [DIALOG_ID] => chat61899 [MESSAGE_ID] => 1334825 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55605 [NAME] => asif [FIRST_NAME] => asif [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747551888 [auth] => Array ( [access_token] => a0942968007823390055ef6500007c9c00000676138b76d7f71e174a76548094c7e049 [expires] => 1747555488 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 90135168007823390055ef6500007c9c000006791d76e66fe8a718b12b51bb0ead0ace [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:04:48 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747551888.4799 [finish] => 1747551888.6437 [duration] => 0.16375708580017 [processing] => 0.13413286209106 [date_start] => 2025-05-18T07:04:48+00:00 [date_finish] => 2025-05-18T07:04:48+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:04:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:04:48 Info Current time: 10:04 ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:04:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:04:49 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747551888.7641 [finish] => 1747551888.9902 [duration] => 0.22608590126038 [processing] => 0.19561004638672 [date_start] => 2025-05-18T07:04:48+00:00 [date_finish] => 2025-05-18T07:04:48+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:19:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 23982968007823390055ef650000d385302a060aabf83ffeccaf3b45ac914e6d62f1c5 [expires] => 1747556387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 13175168007823390055ef650000d385302a06288c75b56d91d9204648e0e8a4bfb10a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 23982968007823390055ef650000d385302a060aabf83ffeccaf3b45ac914e6d62f1c5 [expires] => 1747556387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 13175168007823390055ef650000d385302a06288c75b56d91d9204648e0e8a4bfb10a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55606 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61900 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55606 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [CHAT_ENTITY_DATA_1] => Y|DEAL|213069|N|N|71516|1747552787|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|191942|DEAL|213069 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61900 [MESSAGE_ID] => 1334880 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55606 [NAME] => Khaled [FIRST_NAME] => Khaled [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747552787 [auth] => Array ( [access_token] => 24982968007823390055ef6500007c9c000006c22778c35a1a7015aa114f53c271d6c0 [expires] => 1747556388 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 14175168007823390055ef6500007c9c00000698779f257d735dcab61a17c195a483b7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:19:48 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 23982968007823390055ef650000d385302a060aabf83ffeccaf3b45ac914e6d62f1c5 [expires] => 1747556387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 13175168007823390055ef650000d385302a06288c75b56d91d9204648e0e8a4bfb10a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 23982968007823390055ef650000d385302a060aabf83ffeccaf3b45ac914e6d62f1c5 [expires] => 1747556387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 13175168007823390055ef650000d385302a06288c75b56d91d9204648e0e8a4bfb10a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61900 [LANGUAGE] => en ) ) [ts] => 1747552787 [auth] => Array ( [access_token] => 24982968007823390055ef6500007c9c000006c22778c35a1a7015aa114f53c271d6c0 [expires] => 1747556388 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:19:49 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:19:49 Info Current time: 10:19 ------------------------ ------------------------ 2025.05.18 7:19:49 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:19:49 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:19:49 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:20:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3d982968007823390055ef650000d385302a069b7d8a4cd0a26205a17f6bf762b89360 [expires] => 1747556413 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d175168007823390055ef650000d385302a0636d90e2e123c4ca887fa6665f05ce301 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3d982968007823390055ef650000d385302a069b7d8a4cd0a26205a17f6bf762b89360 [expires] => 1747556413 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d175168007823390055ef650000d385302a0636d90e2e123c4ca887fa6665f05ce301 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55606 [MESSAGE] => ١ [TO_CHAT_ID] => 61900 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55606 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [CHAT_ENTITY_DATA_1] => Y|DEAL|213069|N|N|71516|1747552787|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|191942|DEAL|213069 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61900 [MESSAGE_ID] => 1334882 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55606 [NAME] => Khaled [FIRST_NAME] => Khaled [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747552813 [auth] => Array ( [access_token] => 3d982968007823390055ef6500007c9c0000060019bac741eb04e35b240165daa4bdf1 [expires] => 1747556413 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2d175168007823390055ef6500007c9c000006e6e5f7bb18583925ad875343ef2fcaec [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:20:14 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:20:14 Info Current time: 10:20 ------------------------ ------------------------ 2025.05.18 7:20:14 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:20:14 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:20:14 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:20:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 49982968007823390055ef650000d385302a062a2fa90205cd6d1597c0e063fbf6e905 [expires] => 1747556425 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 39175168007823390055ef650000d385302a064e0722fcce17befdceb5b6734a8ac104 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 49982968007823390055ef650000d385302a062a2fa90205cd6d1597c0e063fbf6e905 [expires] => 1747556425 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 39175168007823390055ef650000d385302a064e0722fcce17befdceb5b6734a8ac104 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55606 [MESSAGE] => 1 [TO_CHAT_ID] => 61900 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55606 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [CHAT_ENTITY_DATA_1] => Y|DEAL|213069|N|N|71516|1747552787|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|191942|DEAL|213069 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61900 [MESSAGE_ID] => 1334884 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55606 [NAME] => Khaled [FIRST_NAME] => Khaled [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747552825 [auth] => Array ( [access_token] => 49982968007823390055ef6500007c9c000006841d8a3467b085562fe1629a6b0860a2 [expires] => 1747556425 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 39175168007823390055ef6500007c9c000006088f88ef8b1efacdbee611e6f7404a1f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:20:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:20:26 Info Current time: 10:20 ------------------------ ------------------------ 2025.05.18 7:20:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:20:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:20:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:20:26 Deal ID Extraction Extracted Deal ID: 213069 ------------------------ ------------------------ 2025.05.18 7:20:26 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213069_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:20:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 54982968007823390055ef650000d385302a069ffc6e0ccfabacb4fb4823d014478488 [expires] => 1747556436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 44175168007823390055ef650000d385302a069d1f446a31c99380f854b38c329286e7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 54982968007823390055ef650000d385302a069ffc6e0ccfabacb4fb4823d014478488 [expires] => 1747556436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 44175168007823390055ef650000d385302a069d1f446a31c99380f854b38c329286e7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55606 [MESSAGE] => 1 [TO_CHAT_ID] => 61900 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55606 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [CHAT_ENTITY_DATA_1] => Y|DEAL|213069|N|N|71516|1747552787|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|191942|DEAL|213069 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61900 [MESSAGE_ID] => 1334886 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55606 [NAME] => Khaled [FIRST_NAME] => Khaled [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747552836 [auth] => Array ( [access_token] => 54982968007823390055ef6500007c9c000006c6f5a854fb48c3f5ee004a096ecff4ce [expires] => 1747556436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 44175168007823390055ef6500007c9c0000069556135975a347947d9d959014186221 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:20:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:20:36 Info Current time: 10:20 ------------------------ ------------------------ 2025.05.18 7:20:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:20:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:20:36 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:20:36 Deal ID Extraction Extracted Deal ID: 213069 ------------------------ ------------------------ 2025.05.18 7:20:36 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213069_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:21:35 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8e982968007823390055ef650000d385302a061d5d1d615916ce3993238400ec20f1d7 [expires] => 1747556494 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7e175168007823390055ef650000d385302a0665eb8305e72ddeb725e1e2a8f16cb1c6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8e982968007823390055ef650000d385302a061d5d1d615916ce3993238400ec20f1d7 [expires] => 1747556494 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7e175168007823390055ef650000d385302a0665eb8305e72ddeb725e1e2a8f16cb1c6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55606 [MESSAGE] => 245/70R17 [TO_CHAT_ID] => 61900 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55606 [CHAT_ID] => 61900 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599497981|55606 [CHAT_ENTITY_DATA_1] => Y|DEAL|213069|N|N|71516|1747552787|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|191942|DEAL|213069 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 245/70R17 [TO_USER_ID] => 0 [DIALOG_ID] => chat61900 [MESSAGE_ID] => 1334888 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55606 [NAME] => Khaled [FIRST_NAME] => Khaled [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747552894 [auth] => Array ( [access_token] => 8e982968007823390055ef6500007c9c000006938633fd7590336ca6c9e0b4f99497a5 [expires] => 1747556494 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7e175168007823390055ef6500007c9c000006cab69edec4cc2dccc0ce4a16fdba82bc [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:21:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:21:35 Info Current time: 10:21 ------------------------ ------------------------ 2025.05.18 7:21:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:21:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:21:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:21:35 Deal ID Extraction Extracted Deal ID: 213069 ------------------------ ------------------------ 2025.05.18 7:21:35 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213069_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:21:35 Function Input Parameters Array ( [dealId] => 213069 [response] => 245/70R17 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 8e982968007823390055ef6500007c9c000006938633fd7590336ca6c9e0b4f99497a5 [expires] => 1747556494 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7e175168007823390055ef6500007c9c000006cab69edec4cc2dccc0ce4a16fdba82bc [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:21:35 Deal Update Parameters Array ( [id] => 213069 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 245/70R17 ) ) ------------------------ ------------------------ 2025.05.18 7:21:36 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747552895.8499 [finish] => 1747552896.0867 [duration] => 0.23681306838989 [processing] => 0.20680093765259 [date_start] => 2025-05-18T07:21:35+00:00 [date_finish] => 2025-05-18T07:21:36+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:21:36 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747552896.2086 [finish] => 1747552896.4091 [duration] => 0.20047497749329 [processing] => 0.16856479644775 [date_start] => 2025-05-18T07:21:36+00:00 [date_finish] => 2025-05-18T07:21:36+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:41:15 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2a9d2968007823390055ef650000d385302a06b8c9ce32c5f92ccc0801236969bed858 [expires] => 1747557674 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a1c5168007823390055ef650000d385302a063a8fd4c11e9a3bc57d8fae7fe490c805 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2a9d2968007823390055ef650000d385302a06b8c9ce32c5f92ccc0801236969bed858 [expires] => 1747557674 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a1c5168007823390055ef650000d385302a063a8fd4c11e9a3bc57d8fae7fe490c805 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334917 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554074 [auth] => Array ( [access_token] => 2b9d2968007823390055ef6500007c9c0000060e8235a0d96c41281f770aa07a45a198 [expires] => 1747557675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 1b1c5168007823390055ef6500007c9c0000062ebb68907c6712f158edfc00caf2d523 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:41:15 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2a9d2968007823390055ef650000d385302a06b8c9ce32c5f92ccc0801236969bed858 [expires] => 1747557674 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a1c5168007823390055ef650000d385302a063a8fd4c11e9a3bc57d8fae7fe490c805 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2a9d2968007823390055ef650000d385302a06b8c9ce32c5f92ccc0801236969bed858 [expires] => 1747557674 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a1c5168007823390055ef650000d385302a063a8fd4c11e9a3bc57d8fae7fe490c805 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat46818 [LANGUAGE] => en ) ) [ts] => 1747554074 [auth] => Array ( [access_token] => 2b9d2968007823390055ef6500007c9c0000060e8235a0d96c41281f770aa07a45a198 [expires] => 1747557675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:41:16 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:41:16 Info Current time: 10:41 ------------------------ ------------------------ 2025.05.18 7:41:16 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:41:16 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:41:16 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:41:56 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 539d2968007823390055ef650000d385302a0678dc18dbb12d78e658a1fae6bb1595da [expires] => 1747557715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 431c5168007823390055ef650000d385302a06d812a85955e8e806fc8095396e7b8078 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 539d2968007823390055ef650000d385302a0678dc18dbb12d78e658a1fae6bb1595da [expires] => 1747557715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 431c5168007823390055ef650000d385302a06d812a85955e8e806fc8095396e7b8078 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => ١ [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334919 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554115 [auth] => Array ( [access_token] => 539d2968007823390055ef6500007c9c0000061bfbd895276c40d44641ccdc52afaee4 [expires] => 1747557715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 431c5168007823390055ef6500007c9c00000675dd4d7916f33ed08c07d29b159ecf9e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:41:56 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:41:56 Info Current time: 10:41 ------------------------ ------------------------ 2025.05.18 7:41:56 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:41:56 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:41:56 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:42:09 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 619d2968007823390055ef650000d385302a067b699326837a77e2ea470a828ccc0eb0 [expires] => 1747557729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 511c5168007823390055ef650000d385302a06c424baf11f124dc40b3a757b83c19525 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 619d2968007823390055ef650000d385302a067b699326837a77e2ea470a828ccc0eb0 [expires] => 1747557729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 511c5168007823390055ef650000d385302a06c424baf11f124dc40b3a757b83c19525 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => زجاج سيارة لنكولن نافيغاتور ٢٠١٩ [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => زجاج سيارة لنكولن نافيغاتور ٢٠١٩ [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334921 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554129 [auth] => Array ( [access_token] => 619d2968007823390055ef6500007c9c00000690b1b4e952c1a33c7f201b2c96e99578 [expires] => 1747557729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 511c5168007823390055ef6500007c9c00000674b11d2df2ce43cb37071152cac2d608 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:42:10 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:42:10 Info Current time: 10:42 ------------------------ ------------------------ 2025.05.18 7:42:10 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:42:10 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:42:10 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:42:15 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 669d2968007823390055ef650000d385302a06c0fe8427aec33de903564861cef00539 [expires] => 1747557734 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 561c5168007823390055ef650000d385302a063b9eb7b7f91671e7e715b98773aa8c34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 669d2968007823390055ef650000d385302a06c0fe8427aec33de903564861cef00539 [expires] => 1747557734 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 561c5168007823390055ef650000d385302a063b9eb7b7f91671e7e715b98773aa8c34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => 1 [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334923 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554134 [auth] => Array ( [access_token] => 669d2968007823390055ef6500007c9c0000068ce0da4167472425e74bde1a4d0da617 [expires] => 1747557734 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 561c5168007823390055ef6500007c9c0000063449fdb209ec1778a079cde91ef3b22e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:42:15 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:42:15 Info Current time: 10:42 ------------------------ ------------------------ 2025.05.18 7:42:15 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:42:15 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:42:15 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:42:15 Deal ID Extraction Extracted Deal ID: 213078 ------------------------ ------------------------ 2025.05.18 7:42:15 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213078_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:42:19 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 6b9d2968007823390055ef650000d385302a0696673de8bd568308cae33d564a1ea265 [expires] => 1747557739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5b1c5168007823390055ef650000d385302a06c02a3e705dfbb0d1f9699ffacca8cc19 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 6b9d2968007823390055ef650000d385302a0696673de8bd568308cae33d564a1ea265 [expires] => 1747557739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5b1c5168007823390055ef650000d385302a06c02a3e705dfbb0d1f9699ffacca8cc19 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => 1 [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334925 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554139 [auth] => Array ( [access_token] => 6b9d2968007823390055ef6500007c9c0000066a1b53899db57f059cf3bcbf043d6929 [expires] => 1747557739 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 5b1c5168007823390055ef6500007c9c0000065dee5f139e97c1238b4f411ed568e340 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:42:20 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:42:20 Info Current time: 10:42 ------------------------ ------------------------ 2025.05.18 7:42:20 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:42:20 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:42:20 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:42:20 Deal ID Extraction Extracted Deal ID: 213078 ------------------------ ------------------------ 2025.05.18 7:42:20 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213078_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:42:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 719d2968007823390055ef650000d385302a062cec1b1570ed2fca3e347640ae5772ac [expires] => 1747557745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 611c5168007823390055ef650000d385302a06f36e8e54f7e970c1866e7e3e6e34deaf [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 719d2968007823390055ef650000d385302a062cec1b1570ed2fca3e347640ae5772ac [expires] => 1747557745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 611c5168007823390055ef650000d385302a06f36e8e54f7e970c1866e7e3e6e34deaf [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 42866 [MESSAGE] => 3 [TO_CHAT_ID] => 46818 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 42866 [CHAT_ID] => 46818 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597874196|42866 [CHAT_ENTITY_DATA_1] => Y|DEAL|213078|N|N|71518|1747554073|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|228695|DEAL|213078 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat46818 [MESSAGE_ID] => 1334927 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 42866 [NAME] => Aiman Bohendi [FIRST_NAME] => Aiman [LAST_NAME] => Bohendi [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747554145 [auth] => Array ( [access_token] => 719d2968007823390055ef6500007c9c000006ebfe9ec1361a53d56edbe487967d3996 [expires] => 1747557745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 611c5168007823390055ef6500007c9c0000066cbea13e1241b885158a1e31e1735d39 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:42:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 7:42:25 Info Current time: 10:42 ------------------------ ------------------------ 2025.05.18 7:42:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 7:42:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 7:42:25 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 7:42:26 Deal ID Extraction Extracted Deal ID: 213078 ------------------------ ------------------------ 2025.05.18 7:42:26 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213078_fieldcode.cache ------------------------ ------------------------ 2025.05.18 7:42:26 Function Input Parameters Array ( [dealId] => 213078 [response] => 3 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 719d2968007823390055ef6500007c9c000006ebfe9ec1361a53d56edbe487967d3996 [expires] => 1747557745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 611c5168007823390055ef6500007c9c0000066cbea13e1241b885158a1e31e1735d39 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 7:42:26 Deal Update Parameters Array ( [id] => 213078 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 3 ) ) ------------------------ ------------------------ 2025.05.18 7:42:26 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747554146.221 [finish] => 1747554146.4244 [duration] => 0.20333981513977 [processing] => 0.15937209129333 [date_start] => 2025-05-18T07:42:26+00:00 [date_finish] => 2025-05-18T07:42:26+00:00 ) ) ------------------------ ------------------------ 2025.05.18 7:42:26 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747554146.5528 [finish] => 1747554146.7885 [duration] => 0.23577904701233 [processing] => 0.19641494750977 [date_start] => 2025-05-18T07:42:26+00:00 [date_finish] => 2025-05-18T07:42:26+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:06:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 10a32968007823390055ef650000d385302a06d2407bdf33a55271faeeefa15664e6e2 [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 00225168007823390055ef650000d385302a0681800b48f57ba1efcb9d569c237c14db [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 10a32968007823390055ef650000d385302a06d2407bdf33a55271faeeefa15664e6e2 [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 00225168007823390055ef650000d385302a0681800b48f57ba1efcb9d569c237c14db [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55608 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61903 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55608 [CHAT_ID] => 61903 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569997789|55608 [CHAT_ENTITY_DATA_1] => Y|DEAL|213085|N|N|71519|1747555583|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538328|DEAL|213085 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61903 [MESSAGE_ID] => 1334963 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55608 [NAME] => SAH [FIRST_NAME] => SAH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747555584 [auth] => Array ( [access_token] => 10a32968007823390055ef6500007c9c000006f33ff642f15e429e9b87684a3a7075bb [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 00225168007823390055ef6500007c9c000006883aee60084be1c95668a78babaaf13e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:06:25 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 10a32968007823390055ef650000d385302a06d2407bdf33a55271faeeefa15664e6e2 [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 00225168007823390055ef650000d385302a0681800b48f57ba1efcb9d569c237c14db [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 10a32968007823390055ef650000d385302a06d2407bdf33a55271faeeefa15664e6e2 [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 00225168007823390055ef650000d385302a0681800b48f57ba1efcb9d569c237c14db [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61903 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569997789|55608 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61903 [LANGUAGE] => en ) ) [ts] => 1747555584 [auth] => Array ( [access_token] => 10a32968007823390055ef6500007c9c000006f33ff642f15e429e9b87684a3a7075bb [expires] => 1747559184 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:06:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:06:25 Info Current time: 11:06 ------------------------ ------------------------ 2025.05.18 8:06:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:06:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:06:25 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:06:41 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 21a32968007823390055ef650000d385302a06e3507a5db4eb970705a487f3dba19664 [expires] => 1747559201 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 11225168007823390055ef650000d385302a06a0f9cedc5b6b1c27f45fb599309b49ee [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 21a32968007823390055ef650000d385302a06e3507a5db4eb970705a487f3dba19664 [expires] => 1747559201 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 11225168007823390055ef650000d385302a06a0f9cedc5b6b1c27f45fb599309b49ee [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55608 [MESSAGE] => 1 [TO_CHAT_ID] => 61903 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55608 [CHAT_ID] => 61903 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569997789|55608 [CHAT_ENTITY_DATA_1] => Y|DEAL|213085|N|N|71519|1747555583|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538328|DEAL|213085 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61903 [MESSAGE_ID] => 1334965 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55608 [NAME] => SAH [FIRST_NAME] => SAH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747555601 [auth] => Array ( [access_token] => 21a32968007823390055ef6500007c9c000006f2de438d904c6d1f0e05112fdc8abc6c [expires] => 1747559201 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 11225168007823390055ef6500007c9c0000064bd779b09951a694e4f4902699aea65b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:06:42 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:06:42 Info Current time: 11:06 ------------------------ ------------------------ 2025.05.18 8:06:42 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:06:42 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:06:42 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:06:42 Deal ID Extraction Extracted Deal ID: 213085 ------------------------ ------------------------ 2025.05.18 8:06:42 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213085_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:06:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2ba32968007823390055ef650000d385302a06bb42c5ad518fd7dda8bbd3d59ecada2d [expires] => 1747559211 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1b225168007823390055ef650000d385302a06ebefb9e5b174ac2f03d14ef451a786d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2ba32968007823390055ef650000d385302a06bb42c5ad518fd7dda8bbd3d59ecada2d [expires] => 1747559211 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1b225168007823390055ef650000d385302a06ebefb9e5b174ac2f03d14ef451a786d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55608 [MESSAGE] => 1 [TO_CHAT_ID] => 61903 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55608 [CHAT_ID] => 61903 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569997789|55608 [CHAT_ENTITY_DATA_1] => Y|DEAL|213085|N|N|71519|1747555583|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538328|DEAL|213085 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61903 [MESSAGE_ID] => 1334967 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55608 [NAME] => SAH [FIRST_NAME] => SAH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747555611 [auth] => Array ( [access_token] => 2ba32968007823390055ef6500007c9c000006d53c8083ae63f3010f9b29f3a01a598e [expires] => 1747559211 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 1b225168007823390055ef6500007c9c00000613058e92abe6409ce25daf29a8ca1fc6 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:06:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:06:51 Info Current time: 11:06 ------------------------ ------------------------ 2025.05.18 8:06:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:06:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:06:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:06:51 Deal ID Extraction Extracted Deal ID: 213085 ------------------------ ------------------------ 2025.05.18 8:06:51 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213085_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:07:24 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 4ba32968007823390055ef650000d385302a06f913f68f4c2560577265b8109d710c32 [expires] => 1747559243 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3b225168007823390055ef650000d385302a062e50a26c3fd8b2045573a2aba666b54d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 4ba32968007823390055ef650000d385302a06f913f68f4c2560577265b8109d710c32 [expires] => 1747559243 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3b225168007823390055ef650000d385302a062e50a26c3fd8b2045573a2aba666b54d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55608 [MESSAGE] => Continetal [TO_CHAT_ID] => 61903 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55608 [CHAT_ID] => 61903 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569997789|55608 [CHAT_ENTITY_DATA_1] => Y|DEAL|213085|N|N|71519|1747555583|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538328|DEAL|213085 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Continetal [TO_USER_ID] => 0 [DIALOG_ID] => chat61903 [MESSAGE_ID] => 1334969 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55608 [NAME] => SAH [FIRST_NAME] => SAH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747555643 [auth] => Array ( [access_token] => 4ba32968007823390055ef6500007c9c0000069be1f0bba9443807dcb0406a4b0a56a1 [expires] => 1747559243 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 3b225168007823390055ef6500007c9c0000069ee8a7ddf954072043ce5deeb31847a9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:07:24 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:07:24 Info Current time: 11:07 ------------------------ ------------------------ 2025.05.18 8:07:24 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:07:24 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:07:24 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:07:24 Deal ID Extraction Extracted Deal ID: 213085 ------------------------ ------------------------ 2025.05.18 8:07:24 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213085_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:07:24 Function Input Parameters Array ( [dealId] => 213085 [response] => Continetal [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 4ba32968007823390055ef6500007c9c0000069be1f0bba9443807dcb0406a4b0a56a1 [expires] => 1747559243 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 3b225168007823390055ef6500007c9c0000069ee8a7ddf954072043ce5deeb31847a9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:07:24 Deal Update Parameters Array ( [id] => 213085 [fields] => Array ( [UF_CRM_65C1E38A6A372] => Continetal ) ) ------------------------ ------------------------ 2025.05.18 8:07:24 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747555644.7134 [finish] => 1747555644.8778 [duration] => 0.16434097290039 [processing] => 0.13624501228333 [date_start] => 2025-05-18T08:07:24+00:00 [date_finish] => 2025-05-18T08:07:24+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:07:25 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747555644.9922 [finish] => 1747555645.1877 [duration] => 0.19547390937805 [processing] => 0.16687202453613 [date_start] => 2025-05-18T08:07:24+00:00 [date_finish] => 2025-05-18T08:07:25+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:13:12 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a8a42968007823390055ef650000d385302a06c5e8ab1f2d89cb24e6648b6576992f61 [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 98235168007823390055ef650000d385302a0678e912e8e06ba2c80bcaf2ec5e5d5481 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a8a42968007823390055ef650000d385302a06c5e8ab1f2d89cb24e6648b6576992f61 [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 98235168007823390055ef650000d385302a0678e912e8e06ba2c80bcaf2ec5e5d5481 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1334979 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747555992 [auth] => Array ( [access_token] => a8a42968007823390055ef6500007c9c000006a9be4174be1e152aa6546ec986424e4d [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 98235168007823390055ef6500007c9c0000063722638bcc4360f41c869c1a115642c0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:13:12 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a8a42968007823390055ef650000d385302a06c5e8ab1f2d89cb24e6648b6576992f61 [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 98235168007823390055ef650000d385302a0678e912e8e06ba2c80bcaf2ec5e5d5481 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a8a42968007823390055ef650000d385302a06c5e8ab1f2d89cb24e6648b6576992f61 [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 98235168007823390055ef650000d385302a0678e912e8e06ba2c80bcaf2ec5e5d5481 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61904 [LANGUAGE] => en ) ) [ts] => 1747555992 [auth] => Array ( [access_token] => a8a42968007823390055ef6500007c9c000006a9be4174be1e152aa6546ec986424e4d [expires] => 1747559592 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:13:13 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:13:13 Info Current time: 11:13 ------------------------ ------------------------ 2025.05.18 8:13:13 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:13:13 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:13:13 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:13:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b5a42968007823390055ef650000d385302a06168907a24bc110c72ea00c6fe4b7850e [expires] => 1747559605 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a5235168007823390055ef650000d385302a06766d5dd88fd75178c8d07d43014ec778 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b5a42968007823390055ef650000d385302a06168907a24bc110c72ea00c6fe4b7850e [expires] => 1747559605 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a5235168007823390055ef650000d385302a06766d5dd88fd75178c8d07d43014ec778 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => 2 [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1334981 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556005 [auth] => Array ( [access_token] => b5a42968007823390055ef6500007c9c000006baa058e686185f0694ba617cfc79db81 [expires] => 1747559605 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a5235168007823390055ef6500007c9c000006bbfebd0c402b5c1802dc4e98e4d539ed [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:13:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:13:25 Info Current time: 11:13 ------------------------ ------------------------ 2025.05.18 8:13:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:13:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:13:25 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:13:25 Deal ID Extraction Extracted Deal ID: 213087 ------------------------ ------------------------ 2025.05.18 8:13:25 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213087_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:13:34 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bea42968007823390055ef650000d385302a06b2cd6f8b69c672c5cce858d33e3509bb [expires] => 1747559614 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ae235168007823390055ef650000d385302a0673303573249f7ef5ec9c85b06b2c6d19 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bea42968007823390055ef650000d385302a06b2cd6f8b69c672c5cce858d33e3509bb [expires] => 1747559614 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ae235168007823390055ef650000d385302a0673303573249f7ef5ec9c85b06b2c6d19 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => 1 [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1334983 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556014 [auth] => Array ( [access_token] => bea42968007823390055ef6500007c9c000006235ecbe66af34cd55514f111a76482b6 [expires] => 1747559614 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ae235168007823390055ef6500007c9c0000067ac5132b1a5c84d0152dd82db74f7f97 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:13:34 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:13:34 Info Current time: 11:13 ------------------------ ------------------------ 2025.05.18 8:13:34 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:13:34 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:13:34 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:13:34 Deal ID Extraction Extracted Deal ID: 213087 ------------------------ ------------------------ 2025.05.18 8:13:34 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213087_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:14:23 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => eea42968007823390055ef650000d385302a06ec96a813c5b058236376c51908d81a8d [expires] => 1747559662 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de235168007823390055ef650000d385302a062e774831e5be5bb48684aff81ee89167 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => eea42968007823390055ef650000d385302a06ec96a813c5b058236376c51908d81a8d [expires] => 1747559662 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de235168007823390055ef650000d385302a062e774831e5be5bb48684aff81ee89167 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61905 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|971547033482|55610 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61905 [LANGUAGE] => en ) ) [ts] => 1747556062 [auth] => Array ( [access_token] => efa42968007823390055ef6500007c9c0000060cfb7c356789b19e2b8aa798ed0dd692 [expires] => 1747559663 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:14:23 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => eea42968007823390055ef650000d385302a06ec96a813c5b058236376c51908d81a8d [expires] => 1747559662 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de235168007823390055ef650000d385302a062e774831e5be5bb48684aff81ee89167 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => eea42968007823390055ef650000d385302a06ec96a813c5b058236376c51908d81a8d [expires] => 1747559662 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de235168007823390055ef650000d385302a062e774831e5be5bb48684aff81ee89167 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55610 [MESSAGE] => Hi [TO_CHAT_ID] => 61905 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55610 [CHAT_ID] => 61905 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|971547033482|55610 [CHAT_ENTITY_DATA_1] => Y|DEAL|213088|N|N|71521|1747556062|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538330|DEAL|213088 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hi [TO_USER_ID] => 0 [DIALOG_ID] => chat61905 [MESSAGE_ID] => 1334989 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55610 [NAME] => ajcollection uae [FIRST_NAME] => ajcollection [LAST_NAME] => uae [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556062 [auth] => Array ( [access_token] => efa42968007823390055ef6500007c9c0000060cfb7c356789b19e2b8aa798ed0dd692 [expires] => 1747559663 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => df235168007823390055ef6500007c9c0000061e6fae514dc45c035c255173a808188f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:14:23 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:14:23 Info Current time: 11:14 ------------------------ ------------------------ 2025.05.18 8:14:23 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:14:23 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:14:23 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:14:37 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => fda42968007823390055ef650000d385302a06659ccb17a949512b94ea616dc1b6440c [expires] => 1747559677 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ed235168007823390055ef650000d385302a06f502c650139d22df9781e8da89707c12 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => fda42968007823390055ef650000d385302a06659ccb17a949512b94ea616dc1b6440c [expires] => 1747559677 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ed235168007823390055ef650000d385302a06f502c650139d22df9781e8da89707c12 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55610 [MESSAGE] => 2 [TO_CHAT_ID] => 61905 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55610 [CHAT_ID] => 61905 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|971547033482|55610 [CHAT_ENTITY_DATA_1] => Y|DEAL|213088|N|N|71521|1747556062|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538330|DEAL|213088 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61905 [MESSAGE_ID] => 1334991 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55610 [NAME] => ajcollection uae [FIRST_NAME] => ajcollection [LAST_NAME] => uae [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556077 [auth] => Array ( [access_token] => fda42968007823390055ef6500007c9c00000632b48bb82de44415edda01508fe280e2 [expires] => 1747559677 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ed235168007823390055ef6500007c9c000006d9bcce693e3a85c296b065e8e6d671fd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:14:37 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:14:37 Info Current time: 11:14 ------------------------ ------------------------ 2025.05.18 8:14:37 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:14:37 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:14:37 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:14:37 Deal ID Extraction Extracted Deal ID: 213088 ------------------------ ------------------------ 2025.05.18 8:14:37 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213088_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:14:50 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 09a52968007823390055ef650000d385302a0696bddff760e11f357814237583f4d8e5 [expires] => 1747559689 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f9235168007823390055ef650000d385302a06fd4ac8a872240d68d7996b7e8aaae038 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 09a52968007823390055ef650000d385302a0696bddff760e11f357814237583f4d8e5 [expires] => 1747559689 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f9235168007823390055ef650000d385302a06fd4ac8a872240d68d7996b7e8aaae038 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55610 [MESSAGE] => 1 [TO_CHAT_ID] => 61905 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55610 [CHAT_ID] => 61905 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|971547033482|55610 [CHAT_ENTITY_DATA_1] => Y|DEAL|213088|N|N|71521|1747556062|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538330|DEAL|213088 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61905 [MESSAGE_ID] => 1334993 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55610 [NAME] => ajcollection uae [FIRST_NAME] => ajcollection [LAST_NAME] => uae [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556089 [auth] => Array ( [access_token] => 0aa52968007823390055ef6500007c9c0000068126b7237f78ae5eca266db480e66838 [expires] => 1747559690 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => fa235168007823390055ef6500007c9c000006f2ac9d99c6fd891e254c3bca0ba6d80c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:14:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:14:50 Info Current time: 11:14 ------------------------ ------------------------ 2025.05.18 8:14:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:14:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:14:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:14:50 Deal ID Extraction Extracted Deal ID: 213088 ------------------------ ------------------------ 2025.05.18 8:14:50 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213088_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:15:47 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 43a52968007823390055ef650000d385302a067e4530d7ab928dbb596f088fe646bd1a [expires] => 1747559747 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 33245168007823390055ef650000d385302a06885f849263aba85e9bddeb659f540c2e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 43a52968007823390055ef650000d385302a067e4530d7ab928dbb596f088fe646bd1a [expires] => 1747559747 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 33245168007823390055ef650000d385302a06885f849263aba85e9bddeb659f540c2e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55610 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 392960 ) ) [MESSAGE] => Can you please give me the price for this tyre? [TO_CHAT_ID] => 61905 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55610 [CHAT_ID] => 61905 [FILES] => Array ( [392960] => Array ( [id] => 392960 [chatId] => 61905 [type] => image [name] => 1747556143_1921904401983771.jpg [extension] => jpg [size] => 115906 [image] => Array ( [height] => 1280 [width] => 960 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392960&fileName=1747556143_1921904401983771.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392960&width=1280&height=1280&signature=06fbfb3fce5c3022e87fd7c1d44aed5234eccbfffca96dd55badd7e59b590a17&fileName=1747556143_1921904401983771.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392960&fileName=1747556143_1921904401983771.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392960&fileName=1747556143_1921904401983771.jpg [objectId] => 392960 [viewerGroupBy] => 61905 [imChatId] => 61905 [title] => 1747556143_1921904401983771.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"392960"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|971547033482|55610 [CHAT_ENTITY_DATA_1] => Y|DEAL|213088|N|N|71521|1747556062|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538330|DEAL|213088 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Can you please give me the price for this tyre? [TO_USER_ID] => 0 [DIALOG_ID] => chat61905 [MESSAGE_ID] => 1334995 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55610 [NAME] => ajcollection uae [FIRST_NAME] => ajcollection [LAST_NAME] => uae [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556147 [auth] => Array ( [access_token] => 43a52968007823390055ef6500007c9c000006542650af931c09478c90bde1081442f1 [expires] => 1747559747 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 33245168007823390055ef6500007c9c00000687b2f1e9db39ee22781be3d856b93e48 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:15:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:15:48 Info Current time: 11:15 ------------------------ ------------------------ 2025.05.18 8:15:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:15:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:15:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:15:48 Deal ID Extraction Extracted Deal ID: 213088 ------------------------ ------------------------ 2025.05.18 8:15:48 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213088_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:15:48 Function Input Parameters Array ( [dealId] => 213088 [response] => Can you please give me the price for this tyre? [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 43a52968007823390055ef6500007c9c000006542650af931c09478c90bde1081442f1 [expires] => 1747559747 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 33245168007823390055ef6500007c9c00000687b2f1e9db39ee22781be3d856b93e48 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:15:48 Deal Update Parameters Array ( [id] => 213088 [fields] => Array ( [UF_CRM_65C1E38A6A372] => Can you please give me the price for this tyre? ) ) ------------------------ ------------------------ 2025.05.18 8:15:48 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747556148.5178 [finish] => 1747556148.699 [duration] => 0.18122506141663 [processing] => 0.15094184875488 [date_start] => 2025-05-18T08:15:48+00:00 [date_finish] => 2025-05-18T08:15:48+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:15:49 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747556148.8196 [finish] => 1747556149.0214 [duration] => 0.20182585716248 [processing] => 0.1638388633728 [date_start] => 2025-05-18T08:15:48+00:00 [date_finish] => 2025-05-18T08:15:49+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:19:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 37a62968007823390055ef650000d385302a068c32fb05ece4a30cd515eb1850afae3d [expires] => 1747559991 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 27255168007823390055ef650000d385302a06f2bee3bf6a348685e452606dcf949312 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 37a62968007823390055ef650000d385302a068c32fb05ece4a30cd515eb1850afae3d [expires] => 1747559991 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 27255168007823390055ef650000d385302a06f2bee3bf6a348685e452606dcf949312 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1335019 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556391 [auth] => Array ( [access_token] => 37a62968007823390055ef6500007c9c0000060ef627f984cdb71b32e02106d5b893ea [expires] => 1747559991 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 27255168007823390055ef6500007c9c0000065e388ff5df819d0718765ed0280f6c31 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:19:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:19:51 Info Current time: 11:19 ------------------------ ------------------------ 2025.05.18 8:19:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:19:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:19:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:20:00 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3fa62968007823390055ef650000d385302a063980bd17b174c06b5aae1e3fd6fda1af [expires] => 1747559999 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2f255168007823390055ef650000d385302a06f74d3fd761076f971a1ded3e44ee03eb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3fa62968007823390055ef650000d385302a063980bd17b174c06b5aae1e3fd6fda1af [expires] => 1747559999 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2f255168007823390055ef650000d385302a06f74d3fd761076f971a1ded3e44ee03eb [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => 2 [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1335021 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556399 [auth] => Array ( [access_token] => 3fa62968007823390055ef6500007c9c000006257d487500985e71cfa5c8acc836086e [expires] => 1747559999 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2f255168007823390055ef6500007c9c000006733430a80dbfd99ee43659d24d00e2d3 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:20:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:20:00 Info Current time: 11:20 ------------------------ ------------------------ 2025.05.18 8:20:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:20:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:20:00 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:20:00 Deal ID Extraction Extracted Deal ID: 213087 ------------------------ ------------------------ 2025.05.18 8:20:00 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213087_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:20:07 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 47a62968007823390055ef650000d385302a069de4aad63a4a32b7de523c5abcee6025 [expires] => 1747560007 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37255168007823390055ef650000d385302a06c6235a9e434a92e12fcc9a7d65698145 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 47a62968007823390055ef650000d385302a069de4aad63a4a32b7de523c5abcee6025 [expires] => 1747560007 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37255168007823390055ef650000d385302a06c6235a9e434a92e12fcc9a7d65698145 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => 1 [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1335023 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556407 [auth] => Array ( [access_token] => 47a62968007823390055ef6500007c9c0000069ffba4cdbdb5b83b6ab8a67687edb001 [expires] => 1747560007 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 37255168007823390055ef6500007c9c0000069693cf37e19544a5a3f5c605eb25954d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:20:07 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:20:07 Info Current time: 11:20 ------------------------ ------------------------ 2025.05.18 8:20:07 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:20:07 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:20:07 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:20:07 Deal ID Extraction Extracted Deal ID: 213087 ------------------------ ------------------------ 2025.05.18 8:20:07 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213087_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:20:21 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 55a62968007823390055ef650000d385302a0651af5fc82101573c177efecd218ff66b [expires] => 1747560021 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 45255168007823390055ef650000d385302a061e3326e306aff0fdde14875f07168654 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 55a62968007823390055ef650000d385302a0651af5fc82101573c177efecd218ff66b [expires] => 1747560021 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 45255168007823390055ef650000d385302a061e3326e306aff0fdde14875f07168654 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55609 [MESSAGE] => 225/65R17 [TO_CHAT_ID] => 61904 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55609 [CHAT_ID] => 61904 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565563186|55609 [CHAT_ENTITY_DATA_1] => Y|DEAL|213087|N|N|71520|1747555991|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538329|DEAL|213087 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 225/65R17 [TO_USER_ID] => 0 [DIALOG_ID] => chat61904 [MESSAGE_ID] => 1335025 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55609 [NAME] => Gibu [FIRST_NAME] => Gibu [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747556421 [auth] => Array ( [access_token] => 55a62968007823390055ef6500007c9c00000653cb83f6de883e64fbd6581bbfcf748f [expires] => 1747560021 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 45255168007823390055ef6500007c9c00000658e58988499f86b5adb9389bbe9096e0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:20:22 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:20:22 Info Current time: 11:20 ------------------------ ------------------------ 2025.05.18 8:20:22 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:20:22 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:20:22 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:20:22 Deal ID Extraction Extracted Deal ID: 213087 ------------------------ ------------------------ 2025.05.18 8:20:22 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213087_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:20:22 Function Input Parameters Array ( [dealId] => 213087 [response] => 225/65R17 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 55a62968007823390055ef6500007c9c00000653cb83f6de883e64fbd6581bbfcf748f [expires] => 1747560021 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 45255168007823390055ef6500007c9c00000658e58988499f86b5adb9389bbe9096e0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:20:22 Deal Update Parameters Array ( [id] => 213087 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 225/65R17 ) ) ------------------------ ------------------------ 2025.05.18 8:20:22 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747556422.5179 [finish] => 1747556422.6769 [duration] => 0.15906095504761 [processing] => 0.13103008270264 [date_start] => 2025-05-18T08:20:22+00:00 [date_finish] => 2025-05-18T08:20:22+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:20:23 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747556422.7885 [finish] => 1747556422.9847 [duration] => 0.19615888595581 [processing] => 0.16668105125427 [date_start] => 2025-05-18T08:20:22+00:00 [date_finish] => 2025-05-18T08:20:22+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:36:04 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 03aa2968007823390055ef650000d385302a061fc125c7ff4410ff8a52e7ad3bd2cc10 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3285168007823390055ef650000d385302a0635fc37e28212f8ec8f0e7f1abead2553 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 03aa2968007823390055ef650000d385302a061fc125c7ff4410ff8a52e7ad3bd2cc10 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3285168007823390055ef650000d385302a0635fc37e28212f8ec8f0e7f1abead2553 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55473 [MESSAGE] => Hi [TO_CHAT_ID] => 61746 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55473 [CHAT_ID] => 61746 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [CHAT_ENTITY_DATA_1] => Y|DEAL|213095|N|N|71524|1747557362|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|400976|DEAL|213095 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hi [TO_USER_ID] => 0 [DIALOG_ID] => chat61746 [MESSAGE_ID] => 1335062 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55473 [NAME] => faizal kallai [FIRST_NAME] => faizal [LAST_NAME] => kallai [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557363 [auth] => Array ( [access_token] => 03aa2968007823390055ef6500007c9c00000601db7bf5f87d979d3c394d0e69c794b1 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f3285168007823390055ef6500007c9c00000611e487ede3afa0f3d403d667dd64fbe9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:36:04 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 03aa2968007823390055ef650000d385302a061fc125c7ff4410ff8a52e7ad3bd2cc10 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3285168007823390055ef650000d385302a0635fc37e28212f8ec8f0e7f1abead2553 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 03aa2968007823390055ef650000d385302a061fc125c7ff4410ff8a52e7ad3bd2cc10 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3285168007823390055ef650000d385302a0635fc37e28212f8ec8f0e7f1abead2553 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61746 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61746 [LANGUAGE] => en ) ) [ts] => 1747557363 [auth] => Array ( [access_token] => 03aa2968007823390055ef6500007c9c00000601db7bf5f87d979d3c394d0e69c794b1 [expires] => 1747560963 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:36:05 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:36:05 Info Current time: 11:36 ------------------------ ------------------------ 2025.05.18 8:36:05 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:36:05 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:36:05 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:36:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 11aa2968007823390055ef650000d385302a06f27c191a0616cbd9198627280d92c105 [expires] => 1747560977 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 01295168007823390055ef650000d385302a0653ade472a4e79a93420fedd1ade66b62 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 11aa2968007823390055ef650000d385302a06f27c191a0616cbd9198627280d92c105 [expires] => 1747560977 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 01295168007823390055ef650000d385302a0653ade472a4e79a93420fedd1ade66b62 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55473 [MESSAGE] => Where I get the compressor [TO_CHAT_ID] => 61746 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55473 [CHAT_ID] => 61746 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [CHAT_ENTITY_DATA_1] => Y|DEAL|213095|N|N|71524|1747557362|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|400976|DEAL|213095 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Where I get the compressor [TO_USER_ID] => 0 [DIALOG_ID] => chat61746 [MESSAGE_ID] => 1335064 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55473 [NAME] => faizal kallai [FIRST_NAME] => faizal [LAST_NAME] => kallai [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557377 [auth] => Array ( [access_token] => 11aa2968007823390055ef6500007c9c000006666ce6d0e4e2813ace3846b8848b3bdb [expires] => 1747560977 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 01295168007823390055ef6500007c9c000006649913c4fb091d1660c32284f0bbc295 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:36:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:36:18 Info Current time: 11:36 ------------------------ ------------------------ 2025.05.18 8:36:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:36:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:36:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:36:24 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 18aa2968007823390055ef650000d385302a0612a9b551ef39afe05289bd11037791a0 [expires] => 1747560984 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 08295168007823390055ef650000d385302a066fb47a8fd73354dfa54a361156096c6d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 18aa2968007823390055ef650000d385302a0612a9b551ef39afe05289bd11037791a0 [expires] => 1747560984 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 08295168007823390055ef650000d385302a066fb47a8fd73354dfa54a361156096c6d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55473 [MESSAGE] => 2 [TO_CHAT_ID] => 61746 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55473 [CHAT_ID] => 61746 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [CHAT_ENTITY_DATA_1] => Y|DEAL|213095|N|N|71524|1747557362|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|400976|DEAL|213095 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61746 [MESSAGE_ID] => 1335066 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55473 [NAME] => faizal kallai [FIRST_NAME] => faizal [LAST_NAME] => kallai [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557384 [auth] => Array ( [access_token] => 18aa2968007823390055ef6500007c9c000006b6ab57e751e3b770ac28c6f4ae8f0055 [expires] => 1747560984 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 08295168007823390055ef6500007c9c00000606d0b707518318f953f0931c554f12d1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:36:24 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:36:24 Info Current time: 11:36 ------------------------ ------------------------ 2025.05.18 8:36:24 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:36:24 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:36:24 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:36:24 Deal ID Extraction Extracted Deal ID: 213095 ------------------------ ------------------------ 2025.05.18 8:36:24 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213095_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:36:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2caa2968007823390055ef650000d385302a06a045de1e51b805e7af7c7c2a2db6f704 [expires] => 1747561004 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c295168007823390055ef650000d385302a066705f7efbcb4ab249f34164c82c5392f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2caa2968007823390055ef650000d385302a06a045de1e51b805e7af7c7c2a2db6f704 [expires] => 1747561004 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c295168007823390055ef650000d385302a066705f7efbcb4ab249f34164c82c5392f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55473 [MESSAGE] => 4 [TO_CHAT_ID] => 61746 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55473 [CHAT_ID] => 61746 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [CHAT_ENTITY_DATA_1] => Y|DEAL|213095|N|N|71524|1747557362|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|400976|DEAL|213095 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61746 [MESSAGE_ID] => 1335068 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55473 [NAME] => faizal kallai [FIRST_NAME] => faizal [LAST_NAME] => kallai [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557404 [auth] => Array ( [access_token] => 2caa2968007823390055ef6500007c9c0000060cd55d70ffbd1f4443ce47c5ef73d2ed [expires] => 1747561004 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 1c295168007823390055ef6500007c9c0000063cc089b072eccb79e2660b26366ce0ab [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:36:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:36:44 Info Current time: 11:36 ------------------------ ------------------------ 2025.05.18 8:36:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:36:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:36:44 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:36:44 Deal ID Extraction Extracted Deal ID: 213095 ------------------------ ------------------------ 2025.05.18 8:36:44 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213095_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:37:10 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 46aa2968007823390055ef650000d385302a064090ec16c5d12f73552195201280be63 [expires] => 1747561030 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 36295168007823390055ef650000d385302a06911cd19c7bf272a1565325337b43220a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 46aa2968007823390055ef650000d385302a064090ec16c5d12f73552195201280be63 [expires] => 1747561030 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 36295168007823390055ef650000d385302a06911cd19c7bf272a1565325337b43220a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55473 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 392974 ) ) [TO_CHAT_ID] => 61746 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55473 [CHAT_ID] => 61746 [FILES] => Array ( [392974] => Array ( [id] => 392974 [chatId] => 61746 [type] => image [name] => 1747557426_1752626502271924.jpg [extension] => jpg [size] => 238877 [image] => Array ( [height] => 1450 [width] => 1599 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392974&width=1280&height=1280&signature=33f0100bca21c4df5f7acc6fbb43f13bd2a52811e7fbd1ea4d41db16654bfe2c&fileName=1747557426_1752626502271924.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392974&width=1280&height=1280&signature=33f0100bca21c4df5f7acc6fbb43f13bd2a52811e7fbd1ea4d41db16654bfe2c&fileName=1747557426_1752626502271924.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392974&fileName=1747557426_1752626502271924.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392974&fileName=1747557426_1752626502271924.jpg [objectId] => 392974 [viewerGroupBy] => 61746 [imChatId] => 61746 [title] => 1747557426_1752626502271924.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"392974"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96567631199|55473 [CHAT_ENTITY_DATA_1] => Y|DEAL|213095|N|N|71524|1747557362|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|400976|DEAL|213095 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61746 [MESSAGE_ID] => 1335070 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55473 [NAME] => faizal kallai [FIRST_NAME] => faizal [LAST_NAME] => kallai [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557430 [auth] => Array ( [access_token] => 46aa2968007823390055ef6500007c9c000006d1ebc6eae31f1e2876d1d66da84b4fd2 [expires] => 1747561030 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 36295168007823390055ef6500007c9c000006baa8d1f417d59a60ba24c15f4bd4bd0e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:37:11 Info Current time: 11:37 ------------------------ ------------------------ 2025.05.18 8:37:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:37:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:37:11 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:37:11 Deal ID Extraction Extracted Deal ID: 213095 ------------------------ ------------------------ 2025.05.18 8:37:11 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213095_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:37:11 Function Input Parameters Array ( [dealId] => 213095 [response] => [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 46aa2968007823390055ef6500007c9c000006d1ebc6eae31f1e2876d1d66da84b4fd2 [expires] => 1747561030 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 36295168007823390055ef6500007c9c000006baa8d1f417d59a60ba24c15f4bd4bd0e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:11 Deal Update Parameters Array ( [id] => 213095 [fields] => Array ( [UF_CRM_1719989462] => ) ) ------------------------ ------------------------ 2025.05.18 8:37:11 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747557431.6597 [finish] => 1747557431.8132 [duration] => 0.15342998504639 [processing] => 0.1226921081543 [date_start] => 2025-05-18T08:37:11+00:00 [date_finish] => 2025-05-18T08:37:11+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:37:12 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747557431.9359 [finish] => 1747557432.1432 [duration] => 0.20727109909058 [processing] => 0.17214703559875 [date_start] => 2025-05-18T08:37:11+00:00 [date_finish] => 2025-05-18T08:37:12+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:37:28 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 57aa2968007823390055ef650000d385302a06eb3bcaa4032fd968db7bc4f078b74ed3 [expires] => 1747561047 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 47295168007823390055ef650000d385302a06c145ab60da5fb1abcd46f61c14efeb94 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 57aa2968007823390055ef650000d385302a06eb3bcaa4032fd968db7bc4f078b74ed3 [expires] => 1747561047 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 47295168007823390055ef650000d385302a06c145ab60da5fb1abcd46f61c14efeb94 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 45596 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 49867 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 45596 [CHAT_ID] => 49867 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|966596259145|45596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213096|N|N|71525|1747557446|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|522681|DEAL|213096 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat49867 [MESSAGE_ID] => 1335079 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 45596 [NAME] => Ibrahim [FIRST_NAME] => Ibrahim [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557447 [auth] => Array ( [access_token] => 58aa2968007823390055ef6500007c9c000006152ee10741ab22b04e2f3ff257543d1d [expires] => 1747561048 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 48295168007823390055ef6500007c9c000006cbcdc01b3664279d04118af92ae8fea4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:28 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 57aa2968007823390055ef650000d385302a06eb3bcaa4032fd968db7bc4f078b74ed3 [expires] => 1747561047 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 47295168007823390055ef650000d385302a06c145ab60da5fb1abcd46f61c14efeb94 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 57aa2968007823390055ef650000d385302a06eb3bcaa4032fd968db7bc4f078b74ed3 [expires] => 1747561047 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 47295168007823390055ef650000d385302a06c145ab60da5fb1abcd46f61c14efeb94 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 49867 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|966596259145|45596 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat49867 [LANGUAGE] => en ) ) [ts] => 1747557447 [auth] => Array ( [access_token] => 58aa2968007823390055ef6500007c9c000006152ee10741ab22b04e2f3ff257543d1d [expires] => 1747561048 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:28 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:37:28 Info Current time: 11:37 ------------------------ ------------------------ 2025.05.18 8:37:28 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:37:28 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:37:28 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:37:42 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 65aa2968007823390055ef650000d385302a06a1532ec0a075c5f091ffb95f0f178579 [expires] => 1747561061 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 55295168007823390055ef650000d385302a06b49232befb34425af1def0dc2549da4c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 65aa2968007823390055ef650000d385302a06a1532ec0a075c5f091ffb95f0f178579 [expires] => 1747561061 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 55295168007823390055ef650000d385302a06b49232befb34425af1def0dc2549da4c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 45596 [MESSAGE] => 1 [TO_CHAT_ID] => 49867 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 45596 [CHAT_ID] => 49867 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|966596259145|45596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213096|N|N|71525|1747557446|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|522681|DEAL|213096 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat49867 [MESSAGE_ID] => 1335081 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 45596 [NAME] => Ibrahim [FIRST_NAME] => Ibrahim [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557461 [auth] => Array ( [access_token] => 65aa2968007823390055ef6500007c9c000006eaf64e569fa6b0df0637315f98207148 [expires] => 1747561061 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 55295168007823390055ef6500007c9c0000069b70427c7374895d9010a84b711c250d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:42 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:37:42 Info Current time: 11:37 ------------------------ ------------------------ 2025.05.18 8:37:42 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:37:42 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:37:42 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:37:42 Deal ID Extraction Extracted Deal ID: 213096 ------------------------ ------------------------ 2025.05.18 8:37:42 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213096_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:37:56 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 74aa2968007823390055ef650000d385302a06f6c1ccfb19f52648a4e5eef0f1147a06 [expires] => 1747561076 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 64295168007823390055ef650000d385302a0646a724c9692b8f0ceb0389d18eb37510 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 74aa2968007823390055ef650000d385302a06f6c1ccfb19f52648a4e5eef0f1147a06 [expires] => 1747561076 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 64295168007823390055ef650000d385302a0646a724c9692b8f0ceb0389d18eb37510 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 45596 [MESSAGE] => 4 [TO_CHAT_ID] => 49867 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 45596 [CHAT_ID] => 49867 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|966596259145|45596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213096|N|N|71525|1747557446|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|522681|DEAL|213096 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat49867 [MESSAGE_ID] => 1335084 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 45596 [NAME] => Ibrahim [FIRST_NAME] => Ibrahim [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557476 [auth] => Array ( [access_token] => 74aa2968007823390055ef6500007c9c000006bef40a112ecb5d030a99570ce72b8a41 [expires] => 1747561076 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 64295168007823390055ef6500007c9c000006f45dd3599213d8c97b5c0b6ba16e7f81 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:37:56 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:37:56 Info Current time: 11:37 ------------------------ ------------------------ 2025.05.18 8:37:56 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:37:56 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:37:56 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:37:56 Deal ID Extraction Extracted Deal ID: 213096 ------------------------ ------------------------ 2025.05.18 8:37:56 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213096_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:38:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 89aa2968007823390055ef650000d385302a06488f6e5a61d6d4ba0f4e2ac011deb6f1 [expires] => 1747561097 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79295168007823390055ef650000d385302a060064d99380a5e24e3a8b1cd37bdf1f69 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 89aa2968007823390055ef650000d385302a06488f6e5a61d6d4ba0f4e2ac011deb6f1 [expires] => 1747561097 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79295168007823390055ef650000d385302a060064d99380a5e24e3a8b1cd37bdf1f69 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 45596 [MESSAGE] => موجود مبرد زيت كورفيت [TO_CHAT_ID] => 49867 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 45596 [CHAT_ID] => 49867 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|966596259145|45596 [CHAT_ENTITY_DATA_1] => Y|DEAL|213096|N|N|71525|1747557446|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|522681|DEAL|213096 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => موجود مبرد زيت كورفيت [TO_USER_ID] => 0 [DIALOG_ID] => chat49867 [MESSAGE_ID] => 1335087 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 45596 [NAME] => Ibrahim [FIRST_NAME] => Ibrahim [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557497 [auth] => Array ( [access_token] => 89aa2968007823390055ef6500007c9c000006ac07c8298e0f24eeb0406b66745f997f [expires] => 1747561097 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 79295168007823390055ef6500007c9c00000616227d7842de9df638d164b1a749067d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:38:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:38:18 Info Current time: 11:38 ------------------------ ------------------------ 2025.05.18 8:38:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:38:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:38:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:38:19 Deal ID Extraction Extracted Deal ID: 213096 ------------------------ ------------------------ 2025.05.18 8:38:19 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213096_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:38:19 Function Input Parameters Array ( [dealId] => 213096 [response] => موجود مبرد زيت كورفيت [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 89aa2968007823390055ef6500007c9c000006ac07c8298e0f24eeb0406b66745f997f [expires] => 1747561097 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 79295168007823390055ef6500007c9c00000616227d7842de9df638d164b1a749067d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:38:19 Deal Update Parameters Array ( [id] => 213096 [fields] => Array ( [UF_CRM_1719989462] => موجود مبرد زيت كورفيت ) ) ------------------------ ------------------------ 2025.05.18 8:38:19 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747557499.1251 [finish] => 1747557499.3046 [duration] => 0.17953491210938 [processing] => 0.15029501914978 [date_start] => 2025-05-18T08:38:19+00:00 [date_finish] => 2025-05-18T08:38:19+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:38:19 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747557499.4359 [finish] => 1747557499.7433 [duration] => 0.30738496780396 [processing] => 0.262540102005 [date_start] => 2025-05-18T08:38:19+00:00 [date_finish] => 2025-05-18T08:38:19+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:38:50 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a9aa2968007823390055ef650000d385302a06216a96635f8549d76ba3fe433c1eccce [expires] => 1747561129 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 99295168007823390055ef650000d385302a06cec38518b21b91be3e3d97d8ebe167c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a9aa2968007823390055ef650000d385302a06216a96635f8549d76ba3fe433c1eccce [expires] => 1747561129 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 99295168007823390055ef650000d385302a06cec38518b21b91be3e3d97d8ebe167c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 38509 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 41875 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 38509 [CHAT_ID] => 41875 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566606150|38509 [CHAT_ENTITY_DATA_1] => Y|DEAL|213097|N|N|71526|1747557528|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|518778|DEAL|213097 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat41875 [MESSAGE_ID] => 1335096 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 38509 [NAME] => Mohamed Hashem [FIRST_NAME] => Mohamed [LAST_NAME] => Hashem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557529 [auth] => Array ( [access_token] => aaaa2968007823390055ef6500007c9c0000060396e9899a1ae09519b2d56014e20e86 [expires] => 1747561130 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 9a295168007823390055ef6500007c9c0000063b0d8e1a6d9785ca5c233e74658b1a7c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:38:50 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a9aa2968007823390055ef650000d385302a06216a96635f8549d76ba3fe433c1eccce [expires] => 1747561129 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 99295168007823390055ef650000d385302a06cec38518b21b91be3e3d97d8ebe167c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a9aa2968007823390055ef650000d385302a06216a96635f8549d76ba3fe433c1eccce [expires] => 1747561129 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 99295168007823390055ef650000d385302a06cec38518b21b91be3e3d97d8ebe167c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 41875 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566606150|38509 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat41875 [LANGUAGE] => en ) ) [ts] => 1747557529 [auth] => Array ( [access_token] => aaaa2968007823390055ef6500007c9c0000060396e9899a1ae09519b2d56014e20e86 [expires] => 1747561130 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:38:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:38:50 Info Current time: 11:38 ------------------------ ------------------------ 2025.05.18 8:38:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:38:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:38:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:39:01 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b5aa2968007823390055ef650000d385302a06d8430fe236401c6fbeb88d62fbac9099 [expires] => 1747561141 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a5295168007823390055ef650000d385302a060c25901a7a0f63de706ea75dc95950b1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b5aa2968007823390055ef650000d385302a06d8430fe236401c6fbeb88d62fbac9099 [expires] => 1747561141 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a5295168007823390055ef650000d385302a060c25901a7a0f63de706ea75dc95950b1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 38509 [MESSAGE] => 1 [TO_CHAT_ID] => 41875 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 38509 [CHAT_ID] => 41875 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566606150|38509 [CHAT_ENTITY_DATA_1] => Y|DEAL|213097|N|N|71526|1747557528|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|518778|DEAL|213097 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat41875 [MESSAGE_ID] => 1335101 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 38509 [NAME] => Mohamed Hashem [FIRST_NAME] => Mohamed [LAST_NAME] => Hashem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557541 [auth] => Array ( [access_token] => b5aa2968007823390055ef6500007c9c00000639a5c68ba1690d9e82abbd23144feae8 [expires] => 1747561141 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a5295168007823390055ef6500007c9c000006c2b210305ad017e9866aa08fb663bbd4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:39:01 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:39:01 Info Current time: 11:39 ------------------------ ------------------------ 2025.05.18 8:39:01 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:39:01 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:39:01 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:39:01 Deal ID Extraction Extracted Deal ID: 213097 ------------------------ ------------------------ 2025.05.18 8:39:01 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213097_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:39:20 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c7aa2968007823390055ef650000d385302a06fbce0dc064207c638b93e3067f366222 [expires] => 1747561159 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b7295168007823390055ef650000d385302a069d6f384db65c732a0d40d7b2cc62b558 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c7aa2968007823390055ef650000d385302a06fbce0dc064207c638b93e3067f366222 [expires] => 1747561159 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b7295168007823390055ef650000d385302a069d6f384db65c732a0d40d7b2cc62b558 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 38509 [MESSAGE] => 5 [TO_CHAT_ID] => 41875 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 38509 [CHAT_ID] => 41875 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566606150|38509 [CHAT_ENTITY_DATA_1] => Y|DEAL|213097|N|N|71526|1747557528|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|518778|DEAL|213097 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 5 [TO_USER_ID] => 0 [DIALOG_ID] => chat41875 [MESSAGE_ID] => 1335106 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 38509 [NAME] => Mohamed Hashem [FIRST_NAME] => Mohamed [LAST_NAME] => Hashem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557559 [auth] => Array ( [access_token] => c8aa2968007823390055ef6500007c9c0000062a0966ffb7a26aaa25e955143a6923de [expires] => 1747561160 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b8295168007823390055ef6500007c9c000006b79018bc8e766991328f7263513ff982 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:39:20 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:39:20 Info Current time: 11:39 ------------------------ ------------------------ 2025.05.18 8:39:20 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:39:20 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:39:20 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:39:20 Deal ID Extraction Extracted Deal ID: 213097 ------------------------ ------------------------ 2025.05.18 8:39:20 Field Code Save Saved Field Code: UF_CRM_1719989829 to /opt/bitnami/apache/htdocs/cache/213097_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:39:45 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e1aa2968007823390055ef650000d385302a065f4785fb2d8cfce3a0dbfbe1149068a9 [expires] => 1747561185 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d1295168007823390055ef650000d385302a067cc4e610a5d7e3e1945e674bfc4e74ea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e1aa2968007823390055ef650000d385302a065f4785fb2d8cfce3a0dbfbe1149068a9 [expires] => 1747561185 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d1295168007823390055ef650000d385302a067cc4e610a5d7e3e1945e674bfc4e74ea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 38509 [MESSAGE] => باجيرو 2015 [TO_CHAT_ID] => 41875 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 38509 [CHAT_ID] => 41875 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566606150|38509 [CHAT_ENTITY_DATA_1] => Y|DEAL|213097|N|N|71526|1747557528|18|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|518778|DEAL|213097 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => باجيرو 2015 [TO_USER_ID] => 0 [DIALOG_ID] => chat41875 [MESSAGE_ID] => 1335108 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 38509 [NAME] => Mohamed Hashem [FIRST_NAME] => Mohamed [LAST_NAME] => Hashem [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747557585 [auth] => Array ( [access_token] => e1aa2968007823390055ef6500007c9c000006587711596fa4113d8b4e4192bf1899e9 [expires] => 1747561185 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d1295168007823390055ef6500007c9c000006a5df8ca9a4fd8e61e4f729902dc381e1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:39:45 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:39:45 Info Current time: 11:39 ------------------------ ------------------------ 2025.05.18 8:39:45 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:39:45 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:39:45 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:39:45 Deal ID Extraction Extracted Deal ID: 213097 ------------------------ ------------------------ 2025.05.18 8:39:45 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213097_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:39:45 Function Input Parameters Array ( [dealId] => 213097 [response] => باجيرو 2015 [fieldCode] => UF_CRM_1719989829 [auth] => Array ( [access_token] => e1aa2968007823390055ef6500007c9c000006587711596fa4113d8b4e4192bf1899e9 [expires] => 1747561185 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d1295168007823390055ef6500007c9c000006a5df8ca9a4fd8e61e4f729902dc381e1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:39:45 Deal Update Parameters Array ( [id] => 213097 [fields] => Array ( [UF_CRM_1719989829] => باجيرو 2015 ) ) ------------------------ ------------------------ 2025.05.18 8:39:46 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747557586.0928 [finish] => 1747557586.2785 [duration] => 0.18578386306763 [processing] => 0.15311884880066 [date_start] => 2025-05-18T08:39:46+00:00 [date_finish] => 2025-05-18T08:39:46+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:39:46 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747557586.3951 [finish] => 1747557586.6433 [duration] => 0.248202085495 [processing] => 0.21649098396301 [date_start] => 2025-05-18T08:39:46+00:00 [date_finish] => 2025-05-18T08:39:46+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:47:08 ImBot Event Query Array ( ) ------------------------ ------------------------ 2025.05.18 8:50:52 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7bad2968007823390055ef650000d385302a068e0a37f0be17a414b5fc2fe527a81cdf [expires] => 1747561851 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6b2c5168007823390055ef650000d385302a060a8f89d64b08c74754e374e04b6a4ddc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7bad2968007823390055ef650000d385302a068e0a37f0be17a414b5fc2fe527a81cdf [expires] => 1747561851 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6b2c5168007823390055ef650000d385302a060a8f89d64b08c74754e374e04b6a4ddc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 53021 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599332631|48400 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat53021 [LANGUAGE] => en ) ) [ts] => 1747558251 [auth] => Array ( [access_token] => 7cad2968007823390055ef6500007c9c000006d6d6da92ebf0f03228ad415aa0d21969 [expires] => 1747561852 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:50:52 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7bad2968007823390055ef650000d385302a068e0a37f0be17a414b5fc2fe527a81cdf [expires] => 1747561851 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6b2c5168007823390055ef650000d385302a060a8f89d64b08c74754e374e04b6a4ddc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7bad2968007823390055ef650000d385302a068e0a37f0be17a414b5fc2fe527a81cdf [expires] => 1747561851 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6b2c5168007823390055ef650000d385302a060a8f89d64b08c74754e374e04b6a4ddc [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48400 [MESSAGE] => سلام عليكم [TO_CHAT_ID] => 53021 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48400 [CHAT_ID] => 53021 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599332631|48400 [CHAT_ENTITY_DATA_1] => Y|DEAL|213104|N|N|71528|1747558250|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|420860|DEAL|213104 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat53021 [MESSAGE_ID] => 1335142 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48400 [NAME] => *A* [FIRST_NAME] => *A* [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558251 [auth] => Array ( [access_token] => 7cad2968007823390055ef6500007c9c000006d6d6da92ebf0f03228ad415aa0d21969 [expires] => 1747561852 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6c2c5168007823390055ef6500007c9c00000673ffdf2becaccb20a2c5beee67eef6ad [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:50:53 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:50:53 Info Current time: 11:50 ------------------------ ------------------------ 2025.05.18 8:50:53 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:50:53 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:50:53 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:51:09 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8dad2968007823390055ef650000d385302a060e6d82a749b97f3abc81c007db05ebd4 [expires] => 1747561869 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7d2c5168007823390055ef650000d385302a061a3ec3712436e4d954619d50cd9e4503 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8dad2968007823390055ef650000d385302a060e6d82a749b97f3abc81c007db05ebd4 [expires] => 1747561869 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7d2c5168007823390055ef650000d385302a061a3ec3712436e4d954619d50cd9e4503 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48400 [MESSAGE] => 1 [TO_CHAT_ID] => 53021 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48400 [CHAT_ID] => 53021 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599332631|48400 [CHAT_ENTITY_DATA_1] => Y|DEAL|213104|N|N|71528|1747558250|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|420860|DEAL|213104 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat53021 [MESSAGE_ID] => 1335144 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48400 [NAME] => *A* [FIRST_NAME] => *A* [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558269 [auth] => Array ( [access_token] => 8dad2968007823390055ef6500007c9c0000060d2e50b07f4177365b1901d68a1bdf43 [expires] => 1747561869 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7d2c5168007823390055ef6500007c9c0000066de543e3df9f44b94dccd311683b1ee7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:51:10 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:51:10 Info Current time: 11:51 ------------------------ ------------------------ 2025.05.18 8:51:10 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:51:10 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:51:10 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:51:10 Deal ID Extraction Extracted Deal ID: 213104 ------------------------ ------------------------ 2025.05.18 8:51:10 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213104_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:51:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 95ad2968007823390055ef650000d385302a06626b020e94ee08ecf34cc2de76e59cec [expires] => 1747561877 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 852c5168007823390055ef650000d385302a06f6ae464592a88248924b0cb279b52b3e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 95ad2968007823390055ef650000d385302a06626b020e94ee08ecf34cc2de76e59cec [expires] => 1747561877 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 852c5168007823390055ef650000d385302a06f6ae464592a88248924b0cb279b52b3e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48400 [MESSAGE] => 4 [TO_CHAT_ID] => 53021 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48400 [CHAT_ID] => 53021 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599332631|48400 [CHAT_ENTITY_DATA_1] => Y|DEAL|213104|N|N|71528|1747558250|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|420860|DEAL|213104 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat53021 [MESSAGE_ID] => 1335146 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48400 [NAME] => *A* [FIRST_NAME] => *A* [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558277 [auth] => Array ( [access_token] => 95ad2968007823390055ef6500007c9c000006940ab2d99eea50e69a03bac30cc1268b [expires] => 1747561877 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 852c5168007823390055ef6500007c9c000006665776f3e247b71b9f7a1100fa622530 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:51:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:51:18 Info Current time: 11:51 ------------------------ ------------------------ 2025.05.18 8:51:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:51:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:51:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:51:18 Deal ID Extraction Extracted Deal ID: 213104 ------------------------ ------------------------ 2025.05.18 8:51:18 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213104_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:51:32 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a3ad2968007823390055ef650000d385302a06739a4e219f4f5554cabb2e95deeb90e7 [expires] => 1747561891 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 932c5168007823390055ef650000d385302a06ccd7731d11917174b8ea0165cd834e7c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a3ad2968007823390055ef650000d385302a06739a4e219f4f5554cabb2e95deeb90e7 [expires] => 1747561891 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 932c5168007823390055ef650000d385302a06ccd7731d11917174b8ea0165cd834e7c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48400 [MESSAGE] => تاهو 2010 [TO_CHAT_ID] => 53021 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48400 [CHAT_ID] => 53021 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599332631|48400 [CHAT_ENTITY_DATA_1] => Y|DEAL|213104|N|N|71528|1747558250|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|420860|DEAL|213104 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => تاهو 2010 [TO_USER_ID] => 0 [DIALOG_ID] => chat53021 [MESSAGE_ID] => 1335148 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48400 [NAME] => *A* [FIRST_NAME] => *A* [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558291 [auth] => Array ( [access_token] => a4ad2968007823390055ef6500007c9c000006b1337c64d0bb56f9dd5a775a2fca1b92 [expires] => 1747561892 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 942c5168007823390055ef6500007c9c0000067e0ad957a543ce1023130e70c906aaa6 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:51:32 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:51:32 Info Current time: 11:51 ------------------------ ------------------------ 2025.05.18 8:51:32 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:51:32 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:51:32 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:51:32 Deal ID Extraction Extracted Deal ID: 213104 ------------------------ ------------------------ 2025.05.18 8:51:32 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213104_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:51:32 Function Input Parameters Array ( [dealId] => 213104 [response] => تاهو 2010 [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => a4ad2968007823390055ef6500007c9c000006b1337c64d0bb56f9dd5a775a2fca1b92 [expires] => 1747561892 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 942c5168007823390055ef6500007c9c0000067e0ad957a543ce1023130e70c906aaa6 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:51:32 Deal Update Parameters Array ( [id] => 213104 [fields] => Array ( [UF_CRM_1719989462] => تاهو 2010 ) ) ------------------------ ------------------------ 2025.05.18 8:51:33 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747558293.044 [finish] => 1747558293.2477 [duration] => 0.20368504524231 [processing] => 0.17111802101135 [date_start] => 2025-05-18T08:51:33+00:00 [date_finish] => 2025-05-18T08:51:33+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:51:33 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747558293.3709 [finish] => 1747558293.5721 [duration] => 0.2012050151825 [processing] => 0.17255401611328 [date_start] => 2025-05-18T08:51:33+00:00 [date_finish] => 2025-05-18T08:51:33+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:57:29 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 08af2968007823390055ef650000d385302a06bee64538802b32e00c9cfa91b5d210c2 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f82d5168007823390055ef650000d385302a06126fa3ce8d47d6393c52673e4814fcc1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 08af2968007823390055ef650000d385302a06bee64538802b32e00c9cfa91b5d210c2 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f82d5168007823390055ef650000d385302a06126fa3ce8d47d6393c52673e4814fcc1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61911 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550716676|55614 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61911 [LANGUAGE] => en ) ) [ts] => 1747558648 [auth] => Array ( [access_token] => 08af2968007823390055ef6500007c9c0000064f05c2a666f025d24a2f55e26f393e49 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:57:29 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 08af2968007823390055ef650000d385302a06bee64538802b32e00c9cfa91b5d210c2 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f82d5168007823390055ef650000d385302a06126fa3ce8d47d6393c52673e4814fcc1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 08af2968007823390055ef650000d385302a06bee64538802b32e00c9cfa91b5d210c2 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f82d5168007823390055ef650000d385302a06126fa3ce8d47d6393c52673e4814fcc1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55614 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61911 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55614 [CHAT_ID] => 61911 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550716676|55614 [CHAT_ENTITY_DATA_1] => Y|DEAL|213106|N|N|71529|1747558647|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|208778|DEAL|213106 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61911 [MESSAGE_ID] => 1335166 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55614 [NAME] => Mansoor [FIRST_NAME] => Mansoor [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558648 [auth] => Array ( [access_token] => 08af2968007823390055ef6500007c9c0000064f05c2a666f025d24a2f55e26f393e49 [expires] => 1747562248 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f82d5168007823390055ef6500007c9c000006ad579dcdf52ed718660015c89cc2607c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:57:29 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:57:29 Info Current time: 11:57 ------------------------ ------------------------ 2025.05.18 8:57:29 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:57:29 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:57:29 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:57:49 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 1daf2968007823390055ef650000d385302a06152bc50508d9e678ae53c166095e73ba [expires] => 1747562269 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d2e5168007823390055ef650000d385302a066697fb89be5fee130480df50af2c0c34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 1daf2968007823390055ef650000d385302a06152bc50508d9e678ae53c166095e73ba [expires] => 1747562269 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d2e5168007823390055ef650000d385302a066697fb89be5fee130480df50af2c0c34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55614 [MESSAGE] => 2 [TO_CHAT_ID] => 61911 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55614 [CHAT_ID] => 61911 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550716676|55614 [CHAT_ENTITY_DATA_1] => Y|DEAL|213106|N|N|71529|1747558647|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|208778|DEAL|213106 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61911 [MESSAGE_ID] => 1335168 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55614 [NAME] => Mansoor [FIRST_NAME] => Mansoor [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558669 [auth] => Array ( [access_token] => 1daf2968007823390055ef6500007c9c000006cc6fbb4508adc03272baa6042f6a0cd0 [expires] => 1747562269 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 0d2e5168007823390055ef6500007c9c000006a9eb0f3aa54a8a11b5547a66b79cff0b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:57:49 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:57:49 Info Current time: 11:57 ------------------------ ------------------------ 2025.05.18 8:57:49 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:57:49 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:57:49 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:57:49 Deal ID Extraction Extracted Deal ID: 213106 ------------------------ ------------------------ 2025.05.18 8:57:49 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213106_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:58:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35af2968007823390055ef650000d385302a06448e9b3f65aa1e08b5f3c903114d60ee [expires] => 1747562293 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 252e5168007823390055ef650000d385302a067b2075866da953e35dc8734f66286d26 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35af2968007823390055ef650000d385302a06448e9b3f65aa1e08b5f3c903114d60ee [expires] => 1747562293 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 252e5168007823390055ef650000d385302a067b2075866da953e35dc8734f66286d26 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55614 [MESSAGE] => 1 [TO_CHAT_ID] => 61911 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55614 [CHAT_ID] => 61911 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550716676|55614 [CHAT_ENTITY_DATA_1] => Y|DEAL|213106|N|N|71529|1747558647|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|208778|DEAL|213106 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61911 [MESSAGE_ID] => 1335170 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55614 [NAME] => Mansoor [FIRST_NAME] => Mansoor [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558693 [auth] => Array ( [access_token] => 35af2968007823390055ef6500007c9c000006339f1ebb8e8d5ed2711a2e000b3df927 [expires] => 1747562293 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 252e5168007823390055ef6500007c9c000006494dbebda72b60a0bc48a898db7733dd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:58:14 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:58:14 Info Current time: 11:58 ------------------------ ------------------------ 2025.05.18 8:58:14 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:58:14 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:58:14 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:58:14 Deal ID Extraction Extracted Deal ID: 213106 ------------------------ ------------------------ 2025.05.18 8:58:14 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213106_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:58:41 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 50af2968007823390055ef650000d385302a0694a7c9cb57733268fc64c538be6978ee [expires] => 1747562320 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 402e5168007823390055ef650000d385302a069fa1f8dede33d7b3a752166130abcd85 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 50af2968007823390055ef650000d385302a0694a7c9cb57733268fc64c538be6978ee [expires] => 1747562320 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 402e5168007823390055ef650000d385302a069fa1f8dede33d7b3a752166130abcd85 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55614 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 392991 ) ) [TO_CHAT_ID] => 61911 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55614 [CHAT_ID] => 61911 [FILES] => Array ( [392991] => Array ( [id] => 392991 [chatId] => 61911 [type] => image [name] => 1747558718_1425322858898059.jpg [extension] => jpg [size] => 92192 [image] => Array ( [height] => 1599 [width] => 899 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392991&width=1280&height=1280&signature=d9182578c2a83d21ed4b6716e00fc0a9bdb3edda93d957eb672f3235e1c26c79&fileName=1747558718_1425322858898059.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=392991&width=1280&height=1280&signature=d9182578c2a83d21ed4b6716e00fc0a9bdb3edda93d957eb672f3235e1c26c79&fileName=1747558718_1425322858898059.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392991&fileName=1747558718_1425322858898059.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=392991&fileName=1747558718_1425322858898059.jpg [objectId] => 392991 [viewerGroupBy] => 61911 [imChatId] => 61911 [title] => 1747558718_1425322858898059.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"392991"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550716676|55614 [CHAT_ENTITY_DATA_1] => Y|DEAL|213106|N|N|71529|1747558647|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|208778|DEAL|213106 [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61911 [MESSAGE_ID] => 1335174 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55614 [NAME] => Mansoor [FIRST_NAME] => Mansoor [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747558720 [auth] => Array ( [access_token] => 51af2968007823390055ef6500007c9c0000067b0ccd8e51af4c9130029bdcdd590b98 [expires] => 1747562321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 412e5168007823390055ef6500007c9c00000641b30e06e3a328bcefab81d576906fbd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:58:41 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 8:58:41 Info Current time: 11:58 ------------------------ ------------------------ 2025.05.18 8:58:41 Info Is day off: No ------------------------ ------------------------ 2025.05.18 8:58:41 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 8:58:41 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 8:58:42 Deal ID Extraction Extracted Deal ID: 213106 ------------------------ ------------------------ 2025.05.18 8:58:42 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213106_fieldcode.cache ------------------------ ------------------------ 2025.05.18 8:58:42 Function Input Parameters Array ( [dealId] => 213106 [response] => [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 51af2968007823390055ef6500007c9c0000067b0ccd8e51af4c9130029bdcdd590b98 [expires] => 1747562321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 412e5168007823390055ef6500007c9c00000641b30e06e3a328bcefab81d576906fbd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 8:58:42 Deal Update Parameters Array ( [id] => 213106 [fields] => Array ( [UF_CRM_65C1E38A6A372] => ) ) ------------------------ ------------------------ 2025.05.18 8:58:42 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747558722.219 [finish] => 1747558722.3838 [duration] => 0.16482782363892 [processing] => 0.1356828212738 [date_start] => 2025-05-18T08:58:42+00:00 [date_finish] => 2025-05-18T08:58:42+00:00 ) ) ------------------------ ------------------------ 2025.05.18 8:58:42 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747558722.4977 [finish] => 1747558722.7048 [duration] => 0.20705604553223 [processing] => 0.1780800819397 [date_start] => 2025-05-18T08:58:42+00:00 [date_finish] => 2025-05-18T08:58:42+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:27:51 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 25b62968007823390055ef650000d385302a068557638bc10c6b6136b47aac876a7106 [expires] => 1747564069 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 15355168007823390055ef650000d385302a0674912be28d87f9cf92ec3ee647bd5f96 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 25b62968007823390055ef650000d385302a068557638bc10c6b6136b47aac876a7106 [expires] => 1747564069 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 15355168007823390055ef650000d385302a0674912be28d87f9cf92ec3ee647bd5f96 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61914 [LANGUAGE] => en ) ) [ts] => 1747560469 [auth] => Array ( [access_token] => 26b62968007823390055ef6500007c9c000006e3b05c8b084db1d750bc94185cd940f1 [expires] => 1747564070 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:27:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 25b62968007823390055ef650000d385302a068557638bc10c6b6136b47aac876a7106 [expires] => 1747564069 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 15355168007823390055ef650000d385302a0674912be28d87f9cf92ec3ee647bd5f96 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 25b62968007823390055ef650000d385302a068557638bc10c6b6136b47aac876a7106 [expires] => 1747564069 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 15355168007823390055ef650000d385302a0674912be28d87f9cf92ec3ee647bd5f96 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213110|N|N|71531|1747560468|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213110 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335211 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560469 [auth] => Array ( [access_token] => 26b62968007823390055ef6500007c9c000006e3b05c8b084db1d750bc94185cd940f1 [expires] => 1747564070 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 16355168007823390055ef6500007c9c0000060dc744f960c18e52827ad9b036962b1c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:27:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:27:51 Info Current time: 12:27 ------------------------ ------------------------ 2025.05.18 9:27:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:27:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:27:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:33:08 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63b72968007823390055ef650000d385302a06cfc2a00bd669a4502fccde12c207e767 [expires] => 1747564387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53365168007823390055ef650000d385302a06579e558e7e03af11e040a4d51bfba4df [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63b72968007823390055ef650000d385302a06cfc2a00bd669a4502fccde12c207e767 [expires] => 1747564387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53365168007823390055ef650000d385302a06579e558e7e03af11e040a4d51bfba4df [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => 1 [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213110|N|N|71531|1747560468|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213110 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335216 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560787 [auth] => Array ( [access_token] => 63b72968007823390055ef6500007c9c0000065a14e505ce1123dd80c9e18a73050024 [expires] => 1747564387 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 53365168007823390055ef6500007c9c00000621ad2e9e1ba7164ae03cc0e5da6331e5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:33:08 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:33:08 Info Current time: 12:33 ------------------------ ------------------------ 2025.05.18 9:33:08 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:33:08 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:33:08 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:33:08 Deal ID Extraction Extracted Deal ID: 213110 ------------------------ ------------------------ 2025.05.18 9:33:08 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213110_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:33:20 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 70b72968007823390055ef650000d385302a06d7bb95519fa205578fa64961bbc96904 [expires] => 1747564400 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 60365168007823390055ef650000d385302a061e154ec034fe5d7086186f553cdd6678 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 70b72968007823390055ef650000d385302a06d7bb95519fa205578fa64961bbc96904 [expires] => 1747564400 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 60365168007823390055ef650000d385302a061e154ec034fe5d7086186f553cdd6678 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => 3 [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213110|N|N|71531|1747560468|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213110 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335218 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560800 [auth] => Array ( [access_token] => 70b72968007823390055ef6500007c9c00000680c9a05e4dea904c786c5ce334e5fa04 [expires] => 1747564400 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 60365168007823390055ef6500007c9c000006eeab27dc8a6807788c3a29bada48e6c2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:33:20 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:33:20 Info Current time: 12:33 ------------------------ ------------------------ 2025.05.18 9:33:20 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:33:20 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:33:20 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:33:20 Deal ID Extraction Extracted Deal ID: 213110 ------------------------ ------------------------ 2025.05.18 9:33:20 Field Code Save Saved Field Code: UF_CRM_1719987476 to /opt/bitnami/apache/htdocs/cache/213110_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:33:35 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7eb72968007823390055ef650000d385302a069d6449ff1308dd2812b410d76be7380a [expires] => 1747564414 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6e365168007823390055ef650000d385302a06876170553192b65582df58cf1e7fb8e8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7eb72968007823390055ef650000d385302a069d6449ff1308dd2812b410d76be7380a [expires] => 1747564414 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6e365168007823390055ef650000d385302a06876170553192b65582df58cf1e7fb8e8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213110|N|N|71531|1747560468|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213110 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335220 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560814 [auth] => Array ( [access_token] => 7eb72968007823390055ef6500007c9c000006f8434879bd2833d46457ed391cc06bf7 [expires] => 1747564414 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6e365168007823390055ef6500007c9c0000065af5094b8f12676c5d6b488e33b32c56 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:33:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:33:35 Info Current time: 12:33 ------------------------ ------------------------ 2025.05.18 9:33:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:33:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:33:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:33:35 Deal ID Extraction Extracted Deal ID: 213110 ------------------------ ------------------------ 2025.05.18 9:33:35 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213110_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:33:35 Function Input Parameters Array ( [dealId] => 213110 [response] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [fieldCode] => UF_CRM_1719987476 [auth] => Array ( [access_token] => 7eb72968007823390055ef6500007c9c000006f8434879bd2833d46457ed391cc06bf7 [expires] => 1747564414 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6e365168007823390055ef6500007c9c0000065af5094b8f12676c5d6b488e33b32c56 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:33:35 Deal Update Parameters Array ( [id] => 213110 [fields] => Array ( [UF_CRM_1719987476] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية ) ) ------------------------ ------------------------ 2025.05.18 9:33:36 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747560815.9492 [finish] => 1747560816.1726 [duration] => 0.22340512275696 [processing] => 0.18959188461304 [date_start] => 2025-05-18T09:33:35+00:00 [date_finish] => 2025-05-18T09:33:36+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:33:36 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747560816.2888 [finish] => 1747560816.5141 [duration] => 0.22534894943237 [processing] => 0.19566202163696 [date_start] => 2025-05-18T09:33:36+00:00 [date_finish] => 2025-05-18T09:33:36+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:35:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 03b82968007823390055ef650000d385302a067bc2ef8ce4db2caf7939dc7379d78e25 [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3365168007823390055ef650000d385302a06643a1c922a1c417fb57978fad2a10b92 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 03b82968007823390055ef650000d385302a067bc2ef8ce4db2caf7939dc7379d78e25 [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3365168007823390055ef650000d385302a06643a1c922a1c417fb57978fad2a10b92 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55617 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61915 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55617 [CHAT_ID] => 61915 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550272457|55617 [CHAT_ENTITY_DATA_1] => Y|DEAL|213113|N|N|71532|1747560946|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538339|DEAL|213113 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61915 [MESSAGE_ID] => 1335228 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55617 [NAME] => Badrunoumi [FIRST_NAME] => Badrunoumi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560947 [auth] => Array ( [access_token] => 03b82968007823390055ef6500007c9c000006f390a7cd6fcb494974b8b9a79b8e65af [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f3365168007823390055ef6500007c9c00000622684484e8a548d6ed964984928bb018 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:35:48 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 03b82968007823390055ef650000d385302a067bc2ef8ce4db2caf7939dc7379d78e25 [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3365168007823390055ef650000d385302a06643a1c922a1c417fb57978fad2a10b92 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 03b82968007823390055ef650000d385302a067bc2ef8ce4db2caf7939dc7379d78e25 [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f3365168007823390055ef650000d385302a06643a1c922a1c417fb57978fad2a10b92 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61915 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550272457|55617 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61915 [LANGUAGE] => en ) ) [ts] => 1747560947 [auth] => Array ( [access_token] => 03b82968007823390055ef6500007c9c000006f390a7cd6fcb494974b8b9a79b8e65af [expires] => 1747564547 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:35:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:35:48 Info Current time: 12:35 ------------------------ ------------------------ 2025.05.18 9:35:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:35:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:35:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:36:22 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 26b82968007823390055ef650000d385302a06e669fb0a57b655df7654ae976e35648c [expires] => 1747564582 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 16375168007823390055ef650000d385302a061cb5f9db7d660bd360a6beb5d33c4144 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 26b82968007823390055ef650000d385302a06e669fb0a57b655df7654ae976e35648c [expires] => 1747564582 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 16375168007823390055ef650000d385302a061cb5f9db7d660bd360a6beb5d33c4144 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55617 [MESSAGE] => English [TO_CHAT_ID] => 61915 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55617 [CHAT_ID] => 61915 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550272457|55617 [CHAT_ENTITY_DATA_1] => Y|DEAL|213113|N|N|71532|1747560946|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538339|DEAL|213113 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => English [TO_USER_ID] => 0 [DIALOG_ID] => chat61915 [MESSAGE_ID] => 1335230 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55617 [NAME] => Badrunoumi [FIRST_NAME] => Badrunoumi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747560982 [auth] => Array ( [access_token] => 26b82968007823390055ef6500007c9c00000645b9b24b90e4401fafef0d9eb96f9ae3 [expires] => 1747564582 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 16375168007823390055ef6500007c9c0000065355a566b5d64817730a548f9e9e27a2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:36:23 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:36:23 Info Current time: 12:36 ------------------------ ------------------------ 2025.05.18 9:36:23 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:36:23 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:36:23 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:38:35 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => aab82968007823390055ef650000d385302a06da8ee2f0a43a026f6ce2051423def7ff [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9a375168007823390055ef650000d385302a06a7bc1e90bee07a99baeaf80d60f80ea1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => aab82968007823390055ef650000d385302a06da8ee2f0a43a026f6ce2051423def7ff [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9a375168007823390055ef650000d385302a06a7bc1e90bee07a99baeaf80d60f80ea1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55618 [MESSAGE] => سلام عليكم [TO_CHAT_ID] => 61916 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55618 [CHAT_ID] => 61916 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599105858|55618 [CHAT_ENTITY_DATA_1] => Y|DEAL|213115|N|N|71533|1747561113|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|430605|DEAL|213115 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61916 [MESSAGE_ID] => 1335244 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55618 [NAME] => A.ALSAYEGH [FIRST_NAME] => A.ALSAYEGH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561114 [auth] => Array ( [access_token] => aab82968007823390055ef6500007c9c0000066308491ae7162997e55df6b10f7aebc7 [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 9a375168007823390055ef6500007c9c00000620f9f2181e16deec5dea0efe0b256359 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:38:35 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => aab82968007823390055ef650000d385302a06da8ee2f0a43a026f6ce2051423def7ff [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9a375168007823390055ef650000d385302a06a7bc1e90bee07a99baeaf80d60f80ea1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => aab82968007823390055ef650000d385302a06da8ee2f0a43a026f6ce2051423def7ff [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9a375168007823390055ef650000d385302a06a7bc1e90bee07a99baeaf80d60f80ea1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61916 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599105858|55618 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61916 [LANGUAGE] => en ) ) [ts] => 1747561114 [auth] => Array ( [access_token] => aab82968007823390055ef6500007c9c0000066308491ae7162997e55df6b10f7aebc7 [expires] => 1747564714 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:38:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:38:35 Info Current time: 12:38 ------------------------ ------------------------ 2025.05.18 9:38:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:38:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:38:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:38:49 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b9b82968007823390055ef650000d385302a0622a2c49bb81e24fcea97e308f69fae05 [expires] => 1747564729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a9375168007823390055ef650000d385302a06ed9752f32914ac345ef1e30be141ac4e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b9b82968007823390055ef650000d385302a0622a2c49bb81e24fcea97e308f69fae05 [expires] => 1747564729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a9375168007823390055ef650000d385302a06ed9752f32914ac345ef1e30be141ac4e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55618 [MESSAGE] => 1 [TO_CHAT_ID] => 61916 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55618 [CHAT_ID] => 61916 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599105858|55618 [CHAT_ENTITY_DATA_1] => Y|DEAL|213115|N|N|71533|1747561113|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|430605|DEAL|213115 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61916 [MESSAGE_ID] => 1335246 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55618 [NAME] => A.ALSAYEGH [FIRST_NAME] => A.ALSAYEGH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561129 [auth] => Array ( [access_token] => b9b82968007823390055ef6500007c9c0000061d650d87b44773e0e8d611f434f6fbc4 [expires] => 1747564729 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a9375168007823390055ef6500007c9c000006dd8380d99ef907d5bdbe6edc683814ec [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:38:49 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:38:49 Info Current time: 12:38 ------------------------ ------------------------ 2025.05.18 9:38:49 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:38:49 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:38:49 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:38:49 Deal ID Extraction Extracted Deal ID: 213115 ------------------------ ------------------------ 2025.05.18 9:38:49 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213115_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:39:05 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c9b82968007823390055ef650000d385302a062cd4d32958ebc09bf17cfb23513800c2 [expires] => 1747564745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b9375168007823390055ef650000d385302a060336a50457f040facf001a5da27ebd61 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c9b82968007823390055ef650000d385302a062cd4d32958ebc09bf17cfb23513800c2 [expires] => 1747564745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b9375168007823390055ef650000d385302a060336a50457f040facf001a5da27ebd61 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55618 [MESSAGE] => 5 [TO_CHAT_ID] => 61916 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55618 [CHAT_ID] => 61916 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599105858|55618 [CHAT_ENTITY_DATA_1] => Y|DEAL|213115|N|N|71533|1747561113|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|430605|DEAL|213115 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 5 [TO_USER_ID] => 0 [DIALOG_ID] => chat61916 [MESSAGE_ID] => 1335248 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55618 [NAME] => A.ALSAYEGH [FIRST_NAME] => A.ALSAYEGH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561145 [auth] => Array ( [access_token] => c9b82968007823390055ef6500007c9c00000697c9b604840457b22483c23c4a439d44 [expires] => 1747564745 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b9375168007823390055ef6500007c9c000006f6c73df6fbab951e053b91349739ae7a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:39:05 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:39:05 Info Current time: 12:39 ------------------------ ------------------------ 2025.05.18 9:39:05 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:39:05 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:39:05 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:39:05 Deal ID Extraction Extracted Deal ID: 213115 ------------------------ ------------------------ 2025.05.18 9:39:05 Field Code Save Saved Field Code: UF_CRM_1719989829 to /opt/bitnami/apache/htdocs/cache/213115_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:40:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 0db92968007823390055ef650000d385302a06d6fb11be68ee56c928cbc104d2f912c2 [expires] => 1747564813 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => fd375168007823390055ef650000d385302a06e220cf0541c4c1d65c3a6ca80330e846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 0db92968007823390055ef650000d385302a06d6fb11be68ee56c928cbc104d2f912c2 [expires] => 1747564813 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => fd375168007823390055ef650000d385302a06e220cf0541c4c1d65c3a6ca80330e846 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55618 [MESSAGE] => JT8BH68X9W0003377 [TO_CHAT_ID] => 61916 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55618 [CHAT_ID] => 61916 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599105858|55618 [CHAT_ENTITY_DATA_1] => Y|DEAL|213115|N|N|71533|1747561113|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|430605|DEAL|213115 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => JT8BH68X9W0003377 [TO_USER_ID] => 0 [DIALOG_ID] => chat61916 [MESSAGE_ID] => 1335250 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55618 [NAME] => A.ALSAYEGH [FIRST_NAME] => A.ALSAYEGH [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561213 [auth] => Array ( [access_token] => 0db92968007823390055ef6500007c9c000006330bc31b2695f90036227ab72fc980ec [expires] => 1747564813 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => fd375168007823390055ef6500007c9c000006ac8b39489011f1a770b11d2de6e889ad [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:40:13 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:40:13 Info Current time: 12:40 ------------------------ ------------------------ 2025.05.18 9:40:13 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:40:13 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:40:13 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:40:14 Deal ID Extraction Extracted Deal ID: 213115 ------------------------ ------------------------ 2025.05.18 9:40:14 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213115_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:40:14 Function Input Parameters Array ( [dealId] => 213115 [response] => JT8BH68X9W0003377 [fieldCode] => UF_CRM_1719989829 [auth] => Array ( [access_token] => 0db92968007823390055ef6500007c9c000006330bc31b2695f90036227ab72fc980ec [expires] => 1747564813 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => fd375168007823390055ef6500007c9c000006ac8b39489011f1a770b11d2de6e889ad [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:40:14 Deal Update Parameters Array ( [id] => 213115 [fields] => Array ( [UF_CRM_1719989829] => JT8BH68X9W0003377 ) ) ------------------------ ------------------------ 2025.05.18 9:40:14 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747561214.3018 [finish] => 1747561214.4972 [duration] => 0.19539093971252 [processing] => 0.16598105430603 [date_start] => 2025-05-18T09:40:14+00:00 [date_finish] => 2025-05-18T09:40:14+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:40:14 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747561214.6138 [finish] => 1747561214.8365 [duration] => 0.22271800041199 [processing] => 0.18672704696655 [date_start] => 2025-05-18T09:40:14+00:00 [date_finish] => 2025-05-18T09:40:14+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:48:22 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f5ba2968007823390055ef650000d385302a0667a1b81b1f040e659bd513bd6ce95bdc [expires] => 1747565301 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e5395168007823390055ef650000d385302a06c307420e4cbfa6259196aa485514a660 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f5ba2968007823390055ef650000d385302a0667a1b81b1f040e659bd513bd6ce95bdc [expires] => 1747565301 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e5395168007823390055ef650000d385302a06c307420e4cbfa6259196aa485514a660 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61917 [LANGUAGE] => en ) ) [ts] => 1747561701 [auth] => Array ( [access_token] => f6ba2968007823390055ef6500007c9c00000604de5066baaf0cc8ea1d061bb6533030 [expires] => 1747565302 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:48:22 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f6ba2968007823390055ef650000d385302a060062ca3f3b5cb6b0ac308a1108238f40 [expires] => 1747565302 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6395168007823390055ef650000d385302a0670153ab7b9acb509efc39d69839d08c1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f6ba2968007823390055ef650000d385302a060062ca3f3b5cb6b0ac308a1108238f40 [expires] => 1747565302 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e6395168007823390055ef650000d385302a0670153ab7b9acb509efc39d69839d08c1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => مساء الخير [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => مساء الخير [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335267 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561702 [auth] => Array ( [access_token] => f6ba2968007823390055ef6500007c9c00000604de5066baaf0cc8ea1d061bb6533030 [expires] => 1747565302 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e6395168007823390055ef6500007c9c00000698efd00f28c0bc24aa3c5259b81af2e5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:48:23 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:48:23 Info Current time: 12:48 ------------------------ ------------------------ 2025.05.18 9:48:23 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:48:23 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:48:23 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:48:26 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => faba2968007823390055ef650000d385302a06180eeff43e7b421d20f73dbacf3a8e87 [expires] => 1747565306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ea395168007823390055ef650000d385302a06633d14930d715c03fd164e456122a6e5 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => faba2968007823390055ef650000d385302a06180eeff43e7b421d20f73dbacf3a8e87 [expires] => 1747565306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ea395168007823390055ef650000d385302a06633d14930d715c03fd164e456122a6e5 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => متوفره عندكم بريجستون [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => متوفره عندكم بريجستون [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335269 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561706 [auth] => Array ( [access_token] => faba2968007823390055ef6500007c9c0000066e238954b6034fe38991811e4b23eb90 [expires] => 1747565306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ea395168007823390055ef6500007c9c000006ea635c2afa1c16de6c82c96deb11a556 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:48:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:48:26 Info Current time: 12:48 ------------------------ ------------------------ 2025.05.18 9:48:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:48:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:48:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:48:42 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 09bb2968007823390055ef650000d385302a06a3e82a63fb47b2fd1737b9c8c0b63256 [expires] => 1747565321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f9395168007823390055ef650000d385302a06098d260d7377a47eab96869a16741462 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 09bb2968007823390055ef650000d385302a06a3e82a63fb47b2fd1737b9c8c0b63256 [expires] => 1747565321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f9395168007823390055ef650000d385302a06098d260d7377a47eab96869a16741462 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => ١ [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335271 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561721 [auth] => Array ( [access_token] => 09bb2968007823390055ef6500007c9c000006867333c2a862845af7131e5fb3f1ec30 [expires] => 1747565321 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f9395168007823390055ef6500007c9c0000066c61f23349746943d0290b8ecd451c74 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:48:42 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:48:42 Info Current time: 12:48 ------------------------ ------------------------ 2025.05.18 9:48:42 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:48:42 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:48:42 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:48:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 13bb2968007823390055ef650000d385302a064c0c1d2fe051212947248799d0f52457 [expires] => 1747565331 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 033a5168007823390055ef650000d385302a0674f53ae162d3e617d78ac0d32ac834ec [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 13bb2968007823390055ef650000d385302a064c0c1d2fe051212947248799d0f52457 [expires] => 1747565331 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 033a5168007823390055ef650000d385302a0674f53ae162d3e617d78ac0d32ac834ec [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => 1 [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335276 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561731 [auth] => Array ( [access_token] => 13bb2968007823390055ef6500007c9c0000067b6890a02299ef322034151413fd7a87 [expires] => 1747565331 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 033a5168007823390055ef6500007c9c000006fd88042fca4af5c75f33bd898c0d3279 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:48:52 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:48:52 Info Current time: 12:48 ------------------------ ------------------------ 2025.05.18 9:48:52 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:48:52 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:48:52 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:48:52 Deal ID Extraction Extracted Deal ID: 213117 ------------------------ ------------------------ 2025.05.18 9:48:52 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213117_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:49:01 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 1dbb2968007823390055ef650000d385302a06b2fd00be994554ecfe4b61f292b45c8f [expires] => 1747565341 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3a5168007823390055ef650000d385302a06dea3d56d5120f9a1bfd9b229635d19fe [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 1dbb2968007823390055ef650000d385302a06b2fd00be994554ecfe4b61f292b45c8f [expires] => 1747565341 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3a5168007823390055ef650000d385302a06dea3d56d5120f9a1bfd9b229635d19fe [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => 1 [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335278 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561741 [auth] => Array ( [access_token] => 1dbb2968007823390055ef6500007c9c0000063171ce194d1b0acc633353f67ee7e3d5 [expires] => 1747565341 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 0d3a5168007823390055ef6500007c9c00000682ab86b4d20cdf766c4c721e77db21c1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:49:01 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:49:01 Info Current time: 12:49 ------------------------ ------------------------ 2025.05.18 9:49:01 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:49:01 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:49:01 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:49:01 Deal ID Extraction Extracted Deal ID: 213117 ------------------------ ------------------------ 2025.05.18 9:49:01 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213117_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:49:12 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 28bb2968007823390055ef650000d385302a06cef3ea70068d89fbdffcb5e5f2ee9931 [expires] => 1747565352 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 183a5168007823390055ef650000d385302a06d033ae7f770de67342bb982354e12d42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 28bb2968007823390055ef650000d385302a06cef3ea70068d89fbdffcb5e5f2ee9931 [expires] => 1747565352 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 183a5168007823390055ef650000d385302a06d033ae7f770de67342bb982354e12d42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55619 [MESSAGE] => 235/50 [TO_CHAT_ID] => 61917 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55619 [CHAT_ID] => 61917 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560477764|55619 [CHAT_ENTITY_DATA_1] => Y|DEAL|213117|N|N|71534|1747561701|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538341|DEAL|213117 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 235/50 [TO_USER_ID] => 0 [DIALOG_ID] => chat61917 [MESSAGE_ID] => 1335280 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55619 [NAME] => N. [FIRST_NAME] => N. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561752 [auth] => Array ( [access_token] => 28bb2968007823390055ef6500007c9c000006029ac7d53426222b7515351801049860 [expires] => 1747565352 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 183a5168007823390055ef6500007c9c0000067d8002984fd14579170d0dfaf40f54c5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:49:12 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:49:12 Info Current time: 12:49 ------------------------ ------------------------ 2025.05.18 9:49:12 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:49:12 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:49:12 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:49:13 Deal ID Extraction Extracted Deal ID: 213117 ------------------------ ------------------------ 2025.05.18 9:49:13 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213117_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:49:13 Function Input Parameters Array ( [dealId] => 213117 [response] => 235/50 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 28bb2968007823390055ef6500007c9c000006029ac7d53426222b7515351801049860 [expires] => 1747565352 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 183a5168007823390055ef6500007c9c0000067d8002984fd14579170d0dfaf40f54c5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:49:13 Deal Update Parameters Array ( [id] => 213117 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 235/50 ) ) ------------------------ ------------------------ 2025.05.18 9:49:13 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747561753.2768 [finish] => 1747561753.4537 [duration] => 0.17694187164307 [processing] => 0.14797019958496 [date_start] => 2025-05-18T09:49:13+00:00 [date_finish] => 2025-05-18T09:49:13+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:49:13 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747561753.569 [finish] => 1747561753.7712 [duration] => 0.20214700698853 [processing] => 0.1730170249939 [date_start] => 2025-05-18T09:49:13+00:00 [date_finish] => 2025-05-18T09:49:13+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:53:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 1dbc2968007823390055ef650000d385302a06f5dd55e107addba7d1d4784b7a0aa411 [expires] => 1747565597 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3b5168007823390055ef650000d385302a06ce787ef754efd4f7f853e35e66b0b577 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 1dbc2968007823390055ef650000d385302a06f5dd55e107addba7d1d4784b7a0aa411 [expires] => 1747565597 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3b5168007823390055ef650000d385302a06ce787ef754efd4f7f853e35e66b0b577 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55622 [MESSAGE] => سلام عليكم [TO_CHAT_ID] => 61922 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55622 [CHAT_ID] => 61922 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599272697|55622 [CHAT_ENTITY_DATA_1] => Y|DEAL|213120|N|N|71535|1747561997|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538344|DEAL|213120 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61922 [MESSAGE_ID] => 1335291 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55622 [NAME] => . [FIRST_NAME] => . [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747561997 [auth] => Array ( [access_token] => 1ebc2968007823390055ef6500007c9c000006095bee19d383e9f238e5fe6f7483b8fd [expires] => 1747565598 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 0e3b5168007823390055ef6500007c9c000006eae19c301180ce6182edcef901bb8626 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:53:18 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 1dbc2968007823390055ef650000d385302a06f5dd55e107addba7d1d4784b7a0aa411 [expires] => 1747565597 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3b5168007823390055ef650000d385302a06ce787ef754efd4f7f853e35e66b0b577 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 1dbc2968007823390055ef650000d385302a06f5dd55e107addba7d1d4784b7a0aa411 [expires] => 1747565597 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 0d3b5168007823390055ef650000d385302a06ce787ef754efd4f7f853e35e66b0b577 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61922 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599272697|55622 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61922 [LANGUAGE] => en ) ) [ts] => 1747561997 [auth] => Array ( [access_token] => 1ebc2968007823390055ef6500007c9c000006095bee19d383e9f238e5fe6f7483b8fd [expires] => 1747565598 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:53:19 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:53:19 Info Current time: 12:53 ------------------------ ------------------------ 2025.05.18 9:53:19 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:53:19 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:53:19 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:53:30 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2abc2968007823390055ef650000d385302a06bbd24b7280aba24c3440761b4947ee6a [expires] => 1747565610 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a3b5168007823390055ef650000d385302a060e921802ff9aaf106639eccb389830e8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2abc2968007823390055ef650000d385302a06bbd24b7280aba24c3440761b4947ee6a [expires] => 1747565610 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1a3b5168007823390055ef650000d385302a060e921802ff9aaf106639eccb389830e8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55622 [MESSAGE] => 1 [TO_CHAT_ID] => 61922 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55622 [CHAT_ID] => 61922 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599272697|55622 [CHAT_ENTITY_DATA_1] => Y|DEAL|213120|N|N|71535|1747561997|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538344|DEAL|213120 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61922 [MESSAGE_ID] => 1335293 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55622 [NAME] => . [FIRST_NAME] => . [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562010 [auth] => Array ( [access_token] => 2abc2968007823390055ef6500007c9c000006923ef8e66b803352ff22aebd5de3bfc3 [expires] => 1747565610 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 1a3b5168007823390055ef6500007c9c0000069e09501d0e97b52e23e1b1e4b1bd81d5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:53:30 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:53:30 Info Current time: 12:53 ------------------------ ------------------------ 2025.05.18 9:53:30 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:53:30 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:53:30 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:53:30 Deal ID Extraction Extracted Deal ID: 213120 ------------------------ ------------------------ 2025.05.18 9:53:30 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213120_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:54:16 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 58bc2968007823390055ef650000d385302a062616d698fa3079dec0b185cebd44d135 [expires] => 1747565656 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 483b5168007823390055ef650000d385302a062c68512542e81eccd561b1a84b5f4f99 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 58bc2968007823390055ef650000d385302a062616d698fa3079dec0b185cebd44d135 [expires] => 1747565656 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 483b5168007823390055ef650000d385302a062c68512542e81eccd561b1a84b5f4f99 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55622 [MESSAGE] => 5 [TO_CHAT_ID] => 61922 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55622 [CHAT_ID] => 61922 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599272697|55622 [CHAT_ENTITY_DATA_1] => Y|DEAL|213120|N|N|71535|1747561997|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538344|DEAL|213120 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 5 [TO_USER_ID] => 0 [DIALOG_ID] => chat61922 [MESSAGE_ID] => 1335296 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55622 [NAME] => . [FIRST_NAME] => . [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562056 [auth] => Array ( [access_token] => 58bc2968007823390055ef6500007c9c000006f31e3a7153208876c53e1db0673c69b4 [expires] => 1747565656 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 483b5168007823390055ef6500007c9c000006d49a851e1cdc44a5aececeb52d7eb7c4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:54:16 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:54:16 Info Current time: 12:54 ------------------------ ------------------------ 2025.05.18 9:54:16 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:54:16 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:54:16 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:54:16 Deal ID Extraction Extracted Deal ID: 213120 ------------------------ ------------------------ 2025.05.18 9:54:16 Field Code Save Saved Field Code: UF_CRM_1719989829 to /opt/bitnami/apache/htdocs/cache/213120_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:54:40 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 70bc2968007823390055ef650000d385302a06a4f7e232419cef5ad947d53efff53e43 [expires] => 1747565680 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 603b5168007823390055ef650000d385302a06f2c6dfb955299c2580435c9e2d79ec32 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 70bc2968007823390055ef650000d385302a06a4f7e232419cef5ad947d53efff53e43 [expires] => 1747565680 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 603b5168007823390055ef650000d385302a06f2c6dfb955299c2580435c9e2d79ec32 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55622 [MESSAGE] => باجيرو 2013 [TO_CHAT_ID] => 61922 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55622 [CHAT_ID] => 61922 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599272697|55622 [CHAT_ENTITY_DATA_1] => Y|DEAL|213120|N|N|71535|1747561997|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538344|DEAL|213120 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => باجيرو 2013 [TO_USER_ID] => 0 [DIALOG_ID] => chat61922 [MESSAGE_ID] => 1335298 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55622 [NAME] => . [FIRST_NAME] => . [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562080 [auth] => Array ( [access_token] => 70bc2968007823390055ef6500007c9c00000614672c22ff098dc66e2a5c74e45aeae6 [expires] => 1747565680 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 603b5168007823390055ef6500007c9c0000068a648adb3b3831c5e46f2a40f6df7436 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:54:40 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:54:40 Info Current time: 12:54 ------------------------ ------------------------ 2025.05.18 9:54:40 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:54:40 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:54:40 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:54:40 Deal ID Extraction Extracted Deal ID: 213120 ------------------------ ------------------------ 2025.05.18 9:54:40 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213120_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:54:40 Function Input Parameters Array ( [dealId] => 213120 [response] => باجيرو 2013 [fieldCode] => UF_CRM_1719989829 [auth] => Array ( [access_token] => 70bc2968007823390055ef6500007c9c00000614672c22ff098dc66e2a5c74e45aeae6 [expires] => 1747565680 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 603b5168007823390055ef6500007c9c0000068a648adb3b3831c5e46f2a40f6df7436 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:54:40 Deal Update Parameters Array ( [id] => 213120 [fields] => Array ( [UF_CRM_1719989829] => باجيرو 2013 ) ) ------------------------ ------------------------ 2025.05.18 9:54:41 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747562080.9047 [finish] => 1747562081.072 [duration] => 0.16730999946594 [processing] => 0.14116287231445 [date_start] => 2025-05-18T09:54:40+00:00 [date_finish] => 2025-05-18T09:54:41+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:54:41 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747562081.1898 [finish] => 1747562081.4174 [duration] => 0.22756409645081 [processing] => 0.19637203216553 [date_start] => 2025-05-18T09:54:41+00:00 [date_finish] => 2025-05-18T09:54:41+00:00 ) ) ------------------------ ------------------------ 2025.05.18 9:58:29 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 54bd2968007823390055ef650000d385302a0648487ca08fe909d10980dba90712d92d [expires] => 1747565908 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 443c5168007823390055ef650000d385302a067a767d7faa4a865fbb5d1f74cf22120a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 54bd2968007823390055ef650000d385302a0648487ca08fe909d10980dba90712d92d [expires] => 1747565908 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 443c5168007823390055ef650000d385302a067a767d7faa4a865fbb5d1f74cf22120a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48867 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 53585 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48867 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [CHAT_ENTITY_DATA_1] => Y|DEAL|213121|N|N|71536|1747562307|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527803|DEAL|213121 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat53585 [MESSAGE_ID] => 1335306 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48867 [NAME] => B [FIRST_NAME] => B [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562308 [auth] => Array ( [access_token] => 55bd2968007823390055ef6500007c9c00000633924204f4cdf360ee096728791d682e [expires] => 1747565909 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 453c5168007823390055ef6500007c9c0000061eb2445512bf3fca8a2ddd84c5f3d4c5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:58:29 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 54bd2968007823390055ef650000d385302a0648487ca08fe909d10980dba90712d92d [expires] => 1747565908 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 443c5168007823390055ef650000d385302a067a767d7faa4a865fbb5d1f74cf22120a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 54bd2968007823390055ef650000d385302a0648487ca08fe909d10980dba90712d92d [expires] => 1747565908 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 443c5168007823390055ef650000d385302a067a767d7faa4a865fbb5d1f74cf22120a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat53585 [LANGUAGE] => en ) ) [ts] => 1747562308 [auth] => Array ( [access_token] => 55bd2968007823390055ef6500007c9c00000633924204f4cdf360ee096728791d682e [expires] => 1747565909 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:58:30 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:58:30 Info Current time: 12:58 ------------------------ ------------------------ 2025.05.18 9:58:30 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:58:30 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:58:30 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:58:38 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 5ebd2968007823390055ef650000d385302a069ddc3ab887bdb1e3e3059c328b89bc10 [expires] => 1747565918 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4e3c5168007823390055ef650000d385302a0629a2900aa2e3de728bbbf3368e91bd42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 5ebd2968007823390055ef650000d385302a069ddc3ab887bdb1e3e3059c328b89bc10 [expires] => 1747565918 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 4e3c5168007823390055ef650000d385302a0629a2900aa2e3de728bbbf3368e91bd42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48867 [MESSAGE] => ١ [TO_CHAT_ID] => 53585 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48867 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [CHAT_ENTITY_DATA_1] => Y|DEAL|213121|N|N|71536|1747562307|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527803|DEAL|213121 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat53585 [MESSAGE_ID] => 1335308 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48867 [NAME] => B [FIRST_NAME] => B [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562318 [auth] => Array ( [access_token] => 5ebd2968007823390055ef6500007c9c0000063d8f14157a1c0d9d7b3156a55eb61744 [expires] => 1747565918 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 4e3c5168007823390055ef6500007c9c00000609b8b36374237584871baedb774585cf [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:58:38 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:58:38 Info Current time: 12:58 ------------------------ ------------------------ 2025.05.18 9:58:38 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:58:38 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:58:38 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:58:46 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 66bd2968007823390055ef650000d385302a060134f0667df7ff7431dac765d1766905 [expires] => 1747565926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 563c5168007823390055ef650000d385302a0637fa9eeaea29d58ec5241f389d0aa12c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 66bd2968007823390055ef650000d385302a060134f0667df7ff7431dac765d1766905 [expires] => 1747565926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 563c5168007823390055ef650000d385302a0637fa9eeaea29d58ec5241f389d0aa12c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48867 [MESSAGE] => 1 [TO_CHAT_ID] => 53585 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48867 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [CHAT_ENTITY_DATA_1] => Y|DEAL|213121|N|N|71536|1747562307|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527803|DEAL|213121 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat53585 [MESSAGE_ID] => 1335310 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48867 [NAME] => B [FIRST_NAME] => B [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562326 [auth] => Array ( [access_token] => 66bd2968007823390055ef6500007c9c00000646a5880a6636e55502f672eb4b124971 [expires] => 1747565926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 563c5168007823390055ef6500007c9c0000062dadbcc5af476f0ce8ade2955959806a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:58:46 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:58:46 Info Current time: 12:58 ------------------------ ------------------------ 2025.05.18 9:58:46 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:58:46 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:58:46 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:58:46 Deal ID Extraction Extracted Deal ID: 213121 ------------------------ ------------------------ 2025.05.18 9:58:46 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213121_fieldcode.cache ------------------------ ------------------------ 2025.05.18 9:58:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 68bd2968007823390055ef650000d385302a0601fe6bc8ca65265811c494fc167a75a8 [expires] => 1747565928 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 583c5168007823390055ef650000d385302a06b929c65487270f1b1ada8f6e132732df [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 68bd2968007823390055ef650000d385302a0601fe6bc8ca65265811c494fc167a75a8 [expires] => 1747565928 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 583c5168007823390055ef650000d385302a06b929c65487270f1b1ada8f6e132732df [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48867 [MESSAGE] => العربيه [TO_CHAT_ID] => 53585 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48867 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [CHAT_ENTITY_DATA_1] => Y|DEAL|213121|N|N|71536|1747562307|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527803|DEAL|213121 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => العربيه [TO_USER_ID] => 0 [DIALOG_ID] => chat53585 [MESSAGE_ID] => 1335312 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48867 [NAME] => B [FIRST_NAME] => B [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562328 [auth] => Array ( [access_token] => 68bd2968007823390055ef6500007c9c000006baf3ffa504506d3bf537a0a398d75f53 [expires] => 1747565928 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 583c5168007823390055ef6500007c9c000006ff4d6142dde55a862e4399a4badb23c5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:58:49 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:58:49 Info Current time: 12:58 ------------------------ ------------------------ 2025.05.18 9:58:49 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:58:49 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:58:49 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 9:59:10 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7dbd2968007823390055ef650000d385302a0626798a51216df9b62a318bad5d2947be [expires] => 1747565949 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6d3c5168007823390055ef650000d385302a06d82cb6be36a1a5c660f786d03bcb1a8b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7dbd2968007823390055ef650000d385302a0626798a51216df9b62a318bad5d2947be [expires] => 1747565949 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6d3c5168007823390055ef650000d385302a06d82cb6be36a1a5c660f786d03bcb1a8b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 48867 [MESSAGE] => بغيت اسال عندكم غوايش حق شفروليه كابييفا؟ [TO_CHAT_ID] => 53585 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 48867 [CHAT_ID] => 53585 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599229535|48867 [CHAT_ENTITY_DATA_1] => Y|DEAL|213121|N|N|71536|1747562307|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|527803|DEAL|213121 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => بغيت اسال عندكم غوايش حق شفروليه كابييفا؟ [TO_USER_ID] => 0 [DIALOG_ID] => chat53585 [MESSAGE_ID] => 1335314 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 48867 [NAME] => B [FIRST_NAME] => B [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747562349 [auth] => Array ( [access_token] => 7ebd2968007823390055ef6500007c9c0000065c499f37424ef7b5a603d1a7544bdc7f [expires] => 1747565950 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6e3c5168007823390055ef6500007c9c00000652938aeb6ca5e02986108930b3eb6f6e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 9:59:10 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 9:59:10 Info Current time: 12:59 ------------------------ ------------------------ 2025.05.18 9:59:10 Info Is day off: No ------------------------ ------------------------ 2025.05.18 9:59:10 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 9:59:10 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 10:13:52 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => efc02968007823390055ef650000d385302a062bbe2f41077af9bb6253806c5e2c7da1 [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => df3f5168007823390055ef650000d385302a06d2daec9f389c6984f9a150a64c128eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => efc02968007823390055ef650000d385302a062bbe2f41077af9bb6253806c5e2c7da1 [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => df3f5168007823390055ef650000d385302a06d2daec9f389c6984f9a150a64c128eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54524 [MESSAGE] => الهيئه الاماميه و المساعدين اي فرع [TO_CHAT_ID] => 60554 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54524 [CHAT_ID] => 60554 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596778099|54524 [CHAT_ENTITY_DATA_1] => Y|DEAL|213127|N|N|71537|1747563230|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536807|DEAL|213127 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => الهيئه الاماميه و المساعدين اي فرع [TO_USER_ID] => 0 [DIALOG_ID] => chat60554 [MESSAGE_ID] => 1335328 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54524 [NAME] => Ahmed Nour [FIRST_NAME] => Ahmed [LAST_NAME] => Nour [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747563231 [auth] => Array ( [access_token] => efc02968007823390055ef6500007c9c00000681a936678f49ec28d4e45d9c862ec3aa [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => df3f5168007823390055ef6500007c9c000006e42b4677ac89da3b5ba39d3fc54dfd22 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 10:13:52 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => efc02968007823390055ef650000d385302a062bbe2f41077af9bb6253806c5e2c7da1 [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => df3f5168007823390055ef650000d385302a06d2daec9f389c6984f9a150a64c128eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => efc02968007823390055ef650000d385302a062bbe2f41077af9bb6253806c5e2c7da1 [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => df3f5168007823390055ef650000d385302a06d2daec9f389c6984f9a150a64c128eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 60554 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96596778099|54524 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat60554 [LANGUAGE] => en ) ) [ts] => 1747563231 [auth] => Array ( [access_token] => efc02968007823390055ef6500007c9c00000681a936678f49ec28d4e45d9c862ec3aa [expires] => 1747566831 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 10:13:52 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 10:13:52 Info Current time: 13:13 ------------------------ ------------------------ 2025.05.18 10:13:52 Info Is day off: No ------------------------ ------------------------ 2025.05.18 10:13:52 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 10:13:52 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 10:22:13 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e3c22968007823390055ef650000d385302a06d8c2a113b4a3d0d0a4a8bf5720a2ed3a [expires] => 1747567331 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3415168007823390055ef650000d385302a064b9df72fb6e934eac20c4da559c90eb7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e3c22968007823390055ef650000d385302a06d8c2a113b4a3d0d0a4a8bf5720a2ed3a [expires] => 1747567331 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d3415168007823390055ef650000d385302a064b9df72fb6e934eac20c4da559c90eb7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61853 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|23675609101|55566 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61853 [LANGUAGE] => en ) ) [ts] => 1747563732 [auth] => Array ( [access_token] => e4c22968007823390055ef6500007c9c000006d691322306acefc41a44c36841086152 [expires] => 1747567332 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 10:22:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e4c22968007823390055ef650000d385302a06ba8e8698d4167d3a042b92305771eec6 [expires] => 1747567332 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d4415168007823390055ef650000d385302a064becb34cb727a1dffca4ca6dfa780c8c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e4c22968007823390055ef650000d385302a06ba8e8698d4167d3a042b92305771eec6 [expires] => 1747567332 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d4415168007823390055ef650000d385302a064becb34cb727a1dffca4ca6dfa780c8c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55566 [MESSAGE] => Thank you brother [TO_CHAT_ID] => 61853 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55566 [CHAT_ID] => 61853 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|23675609101|55566 [CHAT_ENTITY_DATA_1] => Y|DEAL|213130|N|N|71539|1747563731|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538279|DEAL|213130 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Thank you brother [TO_USER_ID] => 0 [DIALOG_ID] => chat61853 [MESSAGE_ID] => 1335357 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55566 [NAME] => ssentongojohn [FIRST_NAME] => ssentongojohn [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747563732 [auth] => Array ( [access_token] => e4c22968007823390055ef6500007c9c000006d691322306acefc41a44c36841086152 [expires] => 1747567332 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d4415168007823390055ef6500007c9c0000062ef82246671a8911dbb902854cb98fc5 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 10:22:13 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 10:22:13 Info Current time: 13:22 ------------------------ ------------------------ 2025.05.18 10:22:13 Info Is day off: No ------------------------ ------------------------ 2025.05.18 10:22:13 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 10:22:13 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:27:42 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3dd22968007823390055ef650000d385302a068b8842195b0dd266504d0b2a8fd3fba9 [expires] => 1747571261 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d515168007823390055ef650000d385302a0671c43d84b2ef1a84484bc8236bd5fda4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3dd22968007823390055ef650000d385302a068b8842195b0dd266504d0b2a8fd3fba9 [expires] => 1747571261 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d515168007823390055ef650000d385302a0671c43d84b2ef1a84484bc8236bd5fda4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55624 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61925 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55624 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [CHAT_ENTITY_DATA_1] => Y|DEAL|213143|N|N|71540|1747567661|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|458861|DEAL|213143 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61925 [MESSAGE_ID] => 1335419 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55624 [NAME] => S [FIRST_NAME] => S [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747567661 [auth] => Array ( [access_token] => 3ed22968007823390055ef6500007c9c00000625a3bb4cdc4eb31ce17a527a764f593c [expires] => 1747571262 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2e515168007823390055ef6500007c9c000006cdda24f10b27a3e290c4d25be6eef26e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:27:42 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3dd22968007823390055ef650000d385302a068b8842195b0dd266504d0b2a8fd3fba9 [expires] => 1747571261 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d515168007823390055ef650000d385302a0671c43d84b2ef1a84484bc8236bd5fda4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3dd22968007823390055ef650000d385302a068b8842195b0dd266504d0b2a8fd3fba9 [expires] => 1747571261 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2d515168007823390055ef650000d385302a0671c43d84b2ef1a84484bc8236bd5fda4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61925 [LANGUAGE] => en ) ) [ts] => 1747567661 [auth] => Array ( [access_token] => 3ed22968007823390055ef6500007c9c00000625a3bb4cdc4eb31ce17a527a764f593c [expires] => 1747571262 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:27:43 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:27:43 Info Current time: 14:27 ------------------------ ------------------------ 2025.05.18 11:27:43 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:27:43 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:27:43 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:28:26 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 6ad22968007823390055ef650000d385302a0693f832786dca482a106347db4605b5a9 [expires] => 1747571306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5a515168007823390055ef650000d385302a060d62de07de3abd04d10061bcc054cc8e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 6ad22968007823390055ef650000d385302a0693f832786dca482a106347db4605b5a9 [expires] => 1747571306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5a515168007823390055ef650000d385302a060d62de07de3abd04d10061bcc054cc8e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55624 [MESSAGE] => 1 [TO_CHAT_ID] => 61925 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55624 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [CHAT_ENTITY_DATA_1] => Y|DEAL|213143|N|N|71540|1747567661|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|458861|DEAL|213143 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61925 [MESSAGE_ID] => 1335421 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55624 [NAME] => S [FIRST_NAME] => S [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747567706 [auth] => Array ( [access_token] => 6ad22968007823390055ef6500007c9c0000062c6a21c4ade91491a0534ee244076ed1 [expires] => 1747571306 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 5a515168007823390055ef6500007c9c0000067808721a3f8c6774ce334d85af7f2c94 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:28:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:28:26 Info Current time: 14:28 ------------------------ ------------------------ 2025.05.18 11:28:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:28:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:28:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:28:26 Deal ID Extraction Extracted Deal ID: 213143 ------------------------ ------------------------ 2025.05.18 11:28:26 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213143_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:28:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 74d22968007823390055ef650000d385302a06b2e7f46b210112741f45dd9cb047176f [expires] => 1747571316 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 64515168007823390055ef650000d385302a06271d0509c8f5f14a2452ed32db718c7d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 74d22968007823390055ef650000d385302a06b2e7f46b210112741f45dd9cb047176f [expires] => 1747571316 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 64515168007823390055ef650000d385302a06271d0509c8f5f14a2452ed32db718c7d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55624 [MESSAGE] => 1 [TO_CHAT_ID] => 61925 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55624 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [CHAT_ENTITY_DATA_1] => Y|DEAL|213143|N|N|71540|1747567661|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|458861|DEAL|213143 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61925 [MESSAGE_ID] => 1335423 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55624 [NAME] => S [FIRST_NAME] => S [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747567716 [auth] => Array ( [access_token] => 74d22968007823390055ef6500007c9c000006b0e7bcaef869e19958feb506e5c3df53 [expires] => 1747571316 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 64515168007823390055ef6500007c9c00000669cc9e8fd1e898c2390792a35bc13eb6 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:28:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:28:36 Info Current time: 14:28 ------------------------ ------------------------ 2025.05.18 11:28:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:28:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:28:36 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:28:36 Deal ID Extraction Extracted Deal ID: 213143 ------------------------ ------------------------ 2025.05.18 11:28:36 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213143_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:29:08 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 94d22968007823390055ef650000d385302a066851fc09ab3884be9ec97f197e52fe17 [expires] => 1747571348 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 84515168007823390055ef650000d385302a061ec4afabe03e096c88a6a133958c8df4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 94d22968007823390055ef650000d385302a066851fc09ab3884be9ec97f197e52fe17 [expires] => 1747571348 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 84515168007823390055ef650000d385302a061ec4afabe03e096c88a6a133958c8df4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55624 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 393071 ) ) [TO_CHAT_ID] => 61925 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55624 [CHAT_ID] => 61925 [FILES] => Array ( [393071] => Array ( [id] => 393071 [chatId] => 61925 [type] => image [name] => 1747567744_571875415952646.jpg [extension] => jpg [size] => 187531 [image] => Array ( [height] => 1600 [width] => 1200 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393071&width=1280&height=1280&signature=91dfc578588aa5d001986dcb968e072572f5baefcca862ecd75686e46657dbb3&fileName=1747567744_571875415952646.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393071&width=1280&height=1280&signature=91dfc578588aa5d001986dcb968e072572f5baefcca862ecd75686e46657dbb3&fileName=1747567744_571875415952646.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393071&fileName=1747567744_571875415952646.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393071&fileName=1747567744_571875415952646.jpg [objectId] => 393071 [viewerGroupBy] => 61925 [imChatId] => 61925 [title] => 1747567744_571875415952646.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"393071"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [CHAT_ENTITY_DATA_1] => Y|DEAL|213143|N|N|71540|1747567661|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|458861|DEAL|213143 [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61925 [MESSAGE_ID] => 1335425 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55624 [NAME] => S [FIRST_NAME] => S [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747567748 [auth] => Array ( [access_token] => 94d22968007823390055ef6500007c9c0000064da45ef476dbac50bef1f3b6b196a2fa [expires] => 1747571348 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 84515168007823390055ef6500007c9c000006741b7caed07daa9ba50f99d7c105629b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:29:09 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:29:09 Info Current time: 14:29 ------------------------ ------------------------ 2025.05.18 11:29:09 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:29:09 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:29:09 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:29:09 Deal ID Extraction Extracted Deal ID: 213143 ------------------------ ------------------------ 2025.05.18 11:29:09 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213143_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:29:09 Function Input Parameters Array ( [dealId] => 213143 [response] => [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 94d22968007823390055ef6500007c9c0000064da45ef476dbac50bef1f3b6b196a2fa [expires] => 1747571348 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 84515168007823390055ef6500007c9c000006741b7caed07daa9ba50f99d7c105629b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:29:09 Deal Update Parameters Array ( [id] => 213143 [fields] => Array ( [UF_CRM_65C1E38A6A372] => ) ) ------------------------ ------------------------ 2025.05.18 11:29:09 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747567749.4772 [finish] => 1747567749.6299 [duration] => 0.15265893936157 [processing] => 0.12494993209839 [date_start] => 2025-05-18T11:29:09+00:00 [date_finish] => 2025-05-18T11:29:09+00:00 ) ) ------------------------ ------------------------ 2025.05.18 11:29:09 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747567749.7444 [finish] => 1747567749.9518 [duration] => 0.20735716819763 [processing] => 0.17776608467102 [date_start] => 2025-05-18T11:29:09+00:00 [date_finish] => 2025-05-18T11:29:09+00:00 ) ) ------------------------ ------------------------ 2025.05.18 11:41:08 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63d52968007823390055ef650000d385302a06e261687e27ff3d036838206e17602154 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53545168007823390055ef650000d385302a068450a16e0fdab0bd92c203240178a2ff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63d52968007823390055ef650000d385302a06e261687e27ff3d036838206e17602154 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53545168007823390055ef650000d385302a068450a16e0fdab0bd92c203240178a2ff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 51737 [MESSAGE] => Hai [TO_CHAT_ID] => 57109 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 51737 [CHAT_ID] => 57109 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594796475|51737 [CHAT_ENTITY_DATA_1] => Y|DEAL|213146|N|N|71541|1747568466|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|532334|DEAL|213146 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hai [TO_USER_ID] => 0 [DIALOG_ID] => chat57109 [MESSAGE_ID] => 1335490 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 51737 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747568467 [auth] => Array ( [access_token] => 63d52968007823390055ef6500007c9c000006f8805cf6398899b223d076b086ba9ba7 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 53545168007823390055ef6500007c9c0000060b00f535dc2756197be6b4d2dc3ee062 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:08 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63d52968007823390055ef650000d385302a06e261687e27ff3d036838206e17602154 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53545168007823390055ef650000d385302a068450a16e0fdab0bd92c203240178a2ff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63d52968007823390055ef650000d385302a06e261687e27ff3d036838206e17602154 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53545168007823390055ef650000d385302a068450a16e0fdab0bd92c203240178a2ff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 57109 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594796475|51737 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat57109 [LANGUAGE] => en ) ) [ts] => 1747568467 [auth] => Array ( [access_token] => 63d52968007823390055ef6500007c9c000006f8805cf6398899b223d076b086ba9ba7 [expires] => 1747572067 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:08 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:41:08 Info Current time: 14:41 ------------------------ ------------------------ 2025.05.18 11:41:08 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:41:08 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:41:08 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:41:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 6ed52968007823390055ef650000d385302a06b1d387e7f7d8c43edbc588e61ce5aa6f [expires] => 1747572078 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5e545168007823390055ef650000d385302a067c4e88005cab0594cf2924c21532a541 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 6ed52968007823390055ef650000d385302a06b1d387e7f7d8c43edbc588e61ce5aa6f [expires] => 1747572078 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5e545168007823390055ef650000d385302a067c4e88005cab0594cf2924c21532a541 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 51737 [MESSAGE] => 2 [TO_CHAT_ID] => 57109 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 51737 [CHAT_ID] => 57109 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594796475|51737 [CHAT_ENTITY_DATA_1] => Y|DEAL|213146|N|N|71541|1747568466|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|532334|DEAL|213146 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat57109 [MESSAGE_ID] => 1335492 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 51737 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747568478 [auth] => Array ( [access_token] => 6ed52968007823390055ef6500007c9c000006365a0943804a8cb9840cf5386573a403 [expires] => 1747572078 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 5e545168007823390055ef6500007c9c000006fc72cd23d3caa07d828d55609266f42e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:18 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:41:18 Info Current time: 14:41 ------------------------ ------------------------ 2025.05.18 11:41:18 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:41:18 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:41:18 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:41:18 Deal ID Extraction Extracted Deal ID: 213146 ------------------------ ------------------------ 2025.05.18 11:41:18 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213146_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:41:26 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 76d52968007823390055ef650000d385302a06a60a82ce2bac83b9dda4d3be67c4a6b6 [expires] => 1747572086 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 66545168007823390055ef650000d385302a068cd3fe5531ffdaf93bfee1967e89fd42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 76d52968007823390055ef650000d385302a06a60a82ce2bac83b9dda4d3be67c4a6b6 [expires] => 1747572086 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 66545168007823390055ef650000d385302a068cd3fe5531ffdaf93bfee1967e89fd42 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 51737 [MESSAGE] => 1 [TO_CHAT_ID] => 57109 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 51737 [CHAT_ID] => 57109 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594796475|51737 [CHAT_ENTITY_DATA_1] => Y|DEAL|213146|N|N|71541|1747568466|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|532334|DEAL|213146 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat57109 [MESSAGE_ID] => 1335494 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 51737 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747568486 [auth] => Array ( [access_token] => 76d52968007823390055ef6500007c9c000006437570ef9f8f53677d1d47f269afbf5d [expires] => 1747572086 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 66545168007823390055ef6500007c9c000006a5ec79de6f85299e9207b175395b24a4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:41:26 Info Current time: 14:41 ------------------------ ------------------------ 2025.05.18 11:41:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:41:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:41:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:41:26 Deal ID Extraction Extracted Deal ID: 213146 ------------------------ ------------------------ 2025.05.18 11:41:26 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213146_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:41:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 97d52968007823390055ef650000d385302a069f9f06d93bcdbcd2263e668cc1346e73 [expires] => 1747572119 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 87545168007823390055ef650000d385302a0677b7079e8afbc49a7345254765687a86 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 97d52968007823390055ef650000d385302a069f9f06d93bcdbcd2263e668cc1346e73 [expires] => 1747572119 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 87545168007823390055ef650000d385302a0677b7079e8afbc49a7345254765687a86 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 51737 [MESSAGE] => 315/80R/22.5 [TO_CHAT_ID] => 57109 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 51737 [CHAT_ID] => 57109 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594796475|51737 [CHAT_ENTITY_DATA_1] => Y|DEAL|213146|N|N|71541|1747568466|25|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|532334|DEAL|213146 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 315/80R/22.5 [TO_USER_ID] => 0 [DIALOG_ID] => chat57109 [MESSAGE_ID] => 1335496 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 51737 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747568519 [auth] => Array ( [access_token] => 97d52968007823390055ef6500007c9c000006380fdcb92b16f10f7757fce6dcc31b6a [expires] => 1747572119 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 87545168007823390055ef6500007c9c0000063313ccb27c553b7b6106af51da0a71fd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 11:41:59 Info Current time: 14:41 ------------------------ ------------------------ 2025.05.18 11:41:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 11:41:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 11:41:59 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 11:41:59 Deal ID Extraction Extracted Deal ID: 213146 ------------------------ ------------------------ 2025.05.18 11:41:59 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213146_fieldcode.cache ------------------------ ------------------------ 2025.05.18 11:41:59 Function Input Parameters Array ( [dealId] => 213146 [response] => 315/80R/22.5 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 97d52968007823390055ef6500007c9c000006380fdcb92b16f10f7757fce6dcc31b6a [expires] => 1747572119 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 87545168007823390055ef6500007c9c0000063313ccb27c553b7b6106af51da0a71fd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 11:41:59 Deal Update Parameters Array ( [id] => 213146 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 315/80R/22.5 ) ) ------------------------ ------------------------ 2025.05.18 11:42:00 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747568519.8442 [finish] => 1747568520.0176 [duration] => 0.1734299659729 [processing] => 0.1394190788269 [date_start] => 2025-05-18T11:41:59+00:00 [date_finish] => 2025-05-18T11:42:00+00:00 ) ) ------------------------ ------------------------ 2025.05.18 11:42:00 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747568520.1396 [finish] => 1747568520.3584 [duration] => 0.21878910064697 [processing] => 0.18768095970154 [date_start] => 2025-05-18T11:42:00+00:00 [date_finish] => 2025-05-18T11:42:00+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:22:41 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 20df2968007823390055ef650000d385302a0652c7785b46707eeecad539c1d77364f1 [expires] => 1747574560 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 105e5168007823390055ef650000d385302a06d830af512f63a8bb5c3cfa04716ce5ef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 20df2968007823390055ef650000d385302a0652c7785b46707eeecad539c1d77364f1 [expires] => 1747574560 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 105e5168007823390055ef650000d385302a06d830af512f63a8bb5c3cfa04716ce5ef [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61926 [LANGUAGE] => en ) ) [ts] => 1747570960 [auth] => Array ( [access_token] => 21df2968007823390055ef6500007c9c000006777a55f9c6a59d3731dcd7448c599f1e [expires] => 1747574561 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:22:41 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 21df2968007823390055ef650000d385302a060b05ebedce1bc9ed175e6b5e71c98a0e [expires] => 1747574561 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 115e5168007823390055ef650000d385302a0672602d6ca7280dcc956218105d0ce56b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 21df2968007823390055ef650000d385302a060b05ebedce1bc9ed175e6b5e71c98a0e [expires] => 1747574561 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 115e5168007823390055ef650000d385302a0672602d6ca7280dcc956218105d0ce56b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55625 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61926 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55625 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [CHAT_ENTITY_DATA_1] => Y|DEAL|213152|N|N|71542|1747570960|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538355|DEAL|213152 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61926 [MESSAGE_ID] => 1335509 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55625 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747570961 [auth] => Array ( [access_token] => 21df2968007823390055ef6500007c9c000006777a55f9c6a59d3731dcd7448c599f1e [expires] => 1747574561 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 115e5168007823390055ef6500007c9c00000685f2205799fd59cf4b770fea38165136 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:22:42 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:22:42 Info Current time: 15:22 ------------------------ ------------------------ 2025.05.18 12:22:42 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:22:42 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:22:42 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:22:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 32df2968007823390055ef650000d385302a06f7edfe577aab67c2dad81e1cad8ae202 [expires] => 1747574578 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 225e5168007823390055ef650000d385302a06964ac3d684663aadbe2d4b5f613f0d45 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 32df2968007823390055ef650000d385302a06f7edfe577aab67c2dad81e1cad8ae202 [expires] => 1747574578 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 225e5168007823390055ef650000d385302a06964ac3d684663aadbe2d4b5f613f0d45 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55625 [MESSAGE] => ١ [TO_CHAT_ID] => 61926 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55625 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [CHAT_ENTITY_DATA_1] => Y|DEAL|213152|N|N|71542|1747570960|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538355|DEAL|213152 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61926 [MESSAGE_ID] => 1335511 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55625 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747570978 [auth] => Array ( [access_token] => 32df2968007823390055ef6500007c9c000006b5bd3c8ffcc779071bbb20c2f12a62e7 [expires] => 1747574578 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 225e5168007823390055ef6500007c9c00000608e3210d3a2be78ce50f255b0a81524f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:22:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:22:59 Info Current time: 15:22 ------------------------ ------------------------ 2025.05.18 12:22:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:22:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:22:59 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:23:10 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3edf2968007823390055ef650000d385302a0673d16fad4ebb59b1b35322a3e5b56ed8 [expires] => 1747574590 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e5e5168007823390055ef650000d385302a06f36da41114860375a1501cb692f6ed03 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3edf2968007823390055ef650000d385302a0673d16fad4ebb59b1b35322a3e5b56ed8 [expires] => 1747574590 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e5e5168007823390055ef650000d385302a06f36da41114860375a1501cb692f6ed03 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55625 [MESSAGE] => 1 [TO_CHAT_ID] => 61926 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55625 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [CHAT_ENTITY_DATA_1] => Y|DEAL|213152|N|N|71542|1747570960|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538355|DEAL|213152 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61926 [MESSAGE_ID] => 1335513 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55625 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747570990 [auth] => Array ( [access_token] => 3edf2968007823390055ef6500007c9c000006d0a39e85d5c309c915de840f5237caf3 [expires] => 1747574590 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2e5e5168007823390055ef6500007c9c0000060e16cb0f0ecf9b60f23cfec812c08655 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:23:11 Info Current time: 15:23 ------------------------ ------------------------ 2025.05.18 12:23:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:23:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:23:11 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:23:11 Deal ID Extraction Extracted Deal ID: 213152 ------------------------ ------------------------ 2025.05.18 12:23:11 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213152_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:23:21 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 49df2968007823390055ef650000d385302a063db368cb4a6ccc9317aaa5b399f2932f [expires] => 1747574601 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 395e5168007823390055ef650000d385302a0622db127787a76595373f7b435ea7397f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 49df2968007823390055ef650000d385302a063db368cb4a6ccc9317aaa5b399f2932f [expires] => 1747574601 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 395e5168007823390055ef650000d385302a0622db127787a76595373f7b435ea7397f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55625 [MESSAGE] => 3 [TO_CHAT_ID] => 61926 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55625 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [CHAT_ENTITY_DATA_1] => Y|DEAL|213152|N|N|71542|1747570960|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538355|DEAL|213152 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61926 [MESSAGE_ID] => 1335515 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55625 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571001 [auth] => Array ( [access_token] => 49df2968007823390055ef6500007c9c00000698e6acbb28c62bbd6ea5f43794ee4283 [expires] => 1747574601 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 395e5168007823390055ef6500007c9c0000064aa02c0e67b87c68af440018477dcb00 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:22 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:23:22 Info Current time: 15:23 ------------------------ ------------------------ 2025.05.18 12:23:22 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:23:22 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:23:22 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:23:22 Deal ID Extraction Extracted Deal ID: 213152 ------------------------ ------------------------ 2025.05.18 12:23:22 Field Code Save Saved Field Code: UF_CRM_1719987476 to /opt/bitnami/apache/htdocs/cache/213152_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:23:32 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 54df2968007823390055ef650000d385302a062cd7a41ee11b04b745a1b5903752628c [expires] => 1747574612 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 445e5168007823390055ef650000d385302a06dc90869a7b3b4c1df42a4568d76c63f0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 54df2968007823390055ef650000d385302a062cd7a41ee11b04b745a1b5903752628c [expires] => 1747574612 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 445e5168007823390055ef650000d385302a06dc90869a7b3b4c1df42a4568d76c63f0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55625 [MESSAGE] => بغيت استفسر عن سعر تبديل جامه السفاري فتك؟ [TO_CHAT_ID] => 61926 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55625 [CHAT_ID] => 61926 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96594080390|55625 [CHAT_ENTITY_DATA_1] => Y|DEAL|213152|N|N|71542|1747570960|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538355|DEAL|213152 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => بغيت استفسر عن سعر تبديل جامه السفاري فتك؟ [TO_USER_ID] => 0 [DIALOG_ID] => chat61926 [MESSAGE_ID] => 1335517 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55625 [NAME] => A [FIRST_NAME] => A [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571012 [auth] => Array ( [access_token] => 54df2968007823390055ef6500007c9c000006f3fc3b208b851304e606f8f88f9ad59e [expires] => 1747574612 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 445e5168007823390055ef6500007c9c0000064ec2a874dff7981352199baa7500b831 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:33 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:23:33 Info Current time: 15:23 ------------------------ ------------------------ 2025.05.18 12:23:33 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:23:33 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:23:33 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:23:33 Deal ID Extraction Extracted Deal ID: 213152 ------------------------ ------------------------ 2025.05.18 12:23:33 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213152_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:23:33 Function Input Parameters Array ( [dealId] => 213152 [response] => بغيت استفسر عن سعر تبديل جامه السفاري فتك؟ [fieldCode] => UF_CRM_1719987476 [auth] => Array ( [access_token] => 54df2968007823390055ef6500007c9c000006f3fc3b208b851304e606f8f88f9ad59e [expires] => 1747574612 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 445e5168007823390055ef6500007c9c0000064ec2a874dff7981352199baa7500b831 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:33 Deal Update Parameters Array ( [id] => 213152 [fields] => Array ( [UF_CRM_1719987476] => بغيت استفسر عن سعر تبديل جامه السفاري فتك؟ ) ) ------------------------ ------------------------ 2025.05.18 12:23:33 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747571013.4604 [finish] => 1747571013.6237 [duration] => 0.16333603858948 [processing] => 0.13369297981262 [date_start] => 2025-05-18T12:23:33+00:00 [date_finish] => 2025-05-18T12:23:33+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:23:34 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747571013.7506 [finish] => 1747571013.9828 [duration] => 0.23220205307007 [processing] => 0.19220495223999 [date_start] => 2025-05-18T12:23:33+00:00 [date_finish] => 2025-05-18T12:23:33+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:23:53 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 68df2968007823390055ef650000d385302a06445467cced708cae9d0e6e76f06892b3 [expires] => 1747574632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 585e5168007823390055ef650000d385302a063e5e9de699272e0bc1e97b19d0156db8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 68df2968007823390055ef650000d385302a06445467cced708cae9d0e6e76f06892b3 [expires] => 1747574632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 585e5168007823390055ef650000d385302a063e5e9de699272e0bc1e97b19d0156db8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61927 [LANGUAGE] => en ) ) [ts] => 1747571032 [auth] => Array ( [access_token] => 69df2968007823390055ef6500007c9c000006dd98b29e7a92d0d1e78201d3e8774334 [expires] => 1747574633 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:53 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 68df2968007823390055ef650000d385302a06445467cced708cae9d0e6e76f06892b3 [expires] => 1747574632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 585e5168007823390055ef650000d385302a063e5e9de699272e0bc1e97b19d0156db8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 68df2968007823390055ef650000d385302a06445467cced708cae9d0e6e76f06892b3 [expires] => 1747574632 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 585e5168007823390055ef650000d385302a063e5e9de699272e0bc1e97b19d0156db8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55626 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61927 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55626 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [CHAT_ENTITY_DATA_1] => Y|DEAL|213153|N|N|71543|1747571031|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538356|DEAL|213153 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61927 [MESSAGE_ID] => 1335525 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55626 [NAME] => mohiuddin [FIRST_NAME] => mohiuddin [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571032 [auth] => Array ( [access_token] => 69df2968007823390055ef6500007c9c000006dd98b29e7a92d0d1e78201d3e8774334 [expires] => 1747574633 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 595e5168007823390055ef6500007c9c0000061af07c8a09b64f692705905cdfe28bae [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:23:54 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:23:54 Info Current time: 15:23 ------------------------ ------------------------ 2025.05.18 12:23:54 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:23:54 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:23:54 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:25:50 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => dddf2968007823390055ef650000d385302a067a7da2f07936783c742c815f85bef0c7 [expires] => 1747574749 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => cd5e5168007823390055ef650000d385302a0660d2cf734b4a9c27d4e654f59b5f6584 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => dddf2968007823390055ef650000d385302a067a7da2f07936783c742c815f85bef0c7 [expires] => 1747574749 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => cd5e5168007823390055ef650000d385302a0660d2cf734b4a9c27d4e654f59b5f6584 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55626 [MESSAGE] => I need change 4 tires Size 265/65 R17 how much per price [TO_CHAT_ID] => 61927 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55626 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [CHAT_ENTITY_DATA_1] => Y|DEAL|213153|N|N|71543|1747571031|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538356|DEAL|213153 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => I need change 4 tires Size 265/65 R17 how much per price [TO_USER_ID] => 0 [DIALOG_ID] => chat61927 [MESSAGE_ID] => 1335530 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55626 [NAME] => mohiuddin [FIRST_NAME] => mohiuddin [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571149 [auth] => Array ( [access_token] => dddf2968007823390055ef6500007c9c000006a0fb7b9f2c662a2a1f984795121ebfa7 [expires] => 1747574749 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => cd5e5168007823390055ef6500007c9c000006a0a97096334d6f164febd2f87c61e143 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:25:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:25:50 Info Current time: 15:25 ------------------------ ------------------------ 2025.05.18 12:25:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:25:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:25:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:26:06 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => eedf2968007823390055ef650000d385302a0699a24b46f04b4dd09453b5172015ee36 [expires] => 1747574766 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de5e5168007823390055ef650000d385302a06466cef06859f226cf5cace7c3c6c8df1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => eedf2968007823390055ef650000d385302a0699a24b46f04b4dd09453b5172015ee36 [expires] => 1747574766 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de5e5168007823390055ef650000d385302a06466cef06859f226cf5cace7c3c6c8df1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55626 [MESSAGE] => 2 [TO_CHAT_ID] => 61927 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55626 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [CHAT_ENTITY_DATA_1] => Y|DEAL|213153|N|N|71543|1747571031|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538356|DEAL|213153 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61927 [MESSAGE_ID] => 1335532 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55626 [NAME] => mohiuddin [FIRST_NAME] => mohiuddin [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571166 [auth] => Array ( [access_token] => eedf2968007823390055ef6500007c9c0000060c0cea870abfbe8d4bc0ca500ba4ed9c [expires] => 1747574766 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => de5e5168007823390055ef6500007c9c00000680f2d561814a89ad0e523b6d8aa58b8d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:26:06 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:26:06 Info Current time: 15:26 ------------------------ ------------------------ 2025.05.18 12:26:06 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:26:06 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:26:06 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:26:06 Deal ID Extraction Extracted Deal ID: 213153 ------------------------ ------------------------ 2025.05.18 12:26:06 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213153_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:26:31 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 06e02968007823390055ef650000d385302a0651aba8942b7a8951232ba1ac703e9f76 [expires] => 1747574790 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f65e5168007823390055ef650000d385302a06fb8c3dff380a763579d56189e6afc7c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 06e02968007823390055ef650000d385302a0651aba8942b7a8951232ba1ac703e9f76 [expires] => 1747574790 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f65e5168007823390055ef650000d385302a06fb8c3dff380a763579d56189e6afc7c9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55626 [MESSAGE] => 1 [TO_CHAT_ID] => 61927 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55626 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [CHAT_ENTITY_DATA_1] => Y|DEAL|213153|N|N|71543|1747571031|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538356|DEAL|213153 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61927 [MESSAGE_ID] => 1335534 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55626 [NAME] => mohiuddin [FIRST_NAME] => mohiuddin [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571190 [auth] => Array ( [access_token] => 06e02968007823390055ef6500007c9c000006f0b6f25d73a8edf9e0d593df57fe50b2 [expires] => 1747574790 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f65e5168007823390055ef6500007c9c000006ef58b1a70c0698722069444d4ec39770 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:26:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:26:31 Info Current time: 15:26 ------------------------ ------------------------ 2025.05.18 12:26:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:26:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:26:31 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:26:31 Deal ID Extraction Extracted Deal ID: 213153 ------------------------ ------------------------ 2025.05.18 12:26:31 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213153_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:27:26 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3ee02968007823390055ef650000d385302a0692f7ffcfed981795a82af5a2e1210ae5 [expires] => 1747574846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e5f5168007823390055ef650000d385302a06eabd26079314fea6072ba36a06982695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3ee02968007823390055ef650000d385302a0692f7ffcfed981795a82af5a2e1210ae5 [expires] => 1747574846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2e5f5168007823390055ef650000d385302a06eabd26079314fea6072ba36a06982695 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55626 [MESSAGE] => I need change 4 tyres Size 265/65 R17 how much per lower price [TO_CHAT_ID] => 61927 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55626 [CHAT_ID] => 61927 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|8801865352727|55626 [CHAT_ENTITY_DATA_1] => Y|DEAL|213153|N|N|71543|1747571031|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538356|DEAL|213153 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => I need change 4 tyres Size 265/65 R17 how much per lower price [TO_USER_ID] => 0 [DIALOG_ID] => chat61927 [MESSAGE_ID] => 1335536 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55626 [NAME] => mohiuddin [FIRST_NAME] => mohiuddin [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747571246 [auth] => Array ( [access_token] => 3ee02968007823390055ef6500007c9c00000601199fd61fe225a388be02e03ff6426c [expires] => 1747574846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2e5f5168007823390055ef6500007c9c000006ba5a35ed6ff78c291f5aa0acaceea395 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:27:27 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:27:27 Info Current time: 15:27 ------------------------ ------------------------ 2025.05.18 12:27:27 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:27:27 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:27:27 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:27:27 Deal ID Extraction Extracted Deal ID: 213153 ------------------------ ------------------------ 2025.05.18 12:27:27 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213153_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:27:27 Function Input Parameters Array ( [dealId] => 213153 [response] => I need change 4 tyres Size 265/65 R17 how much per lower price [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 3ee02968007823390055ef6500007c9c00000601199fd61fe225a388be02e03ff6426c [expires] => 1747574846 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2e5f5168007823390055ef6500007c9c000006ba5a35ed6ff78c291f5aa0acaceea395 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:27:27 Deal Update Parameters Array ( [id] => 213153 [fields] => Array ( [UF_CRM_65C1E38A6A372] => I need change 4 tyres Size 265/65 R17 how much per lower price ) ) ------------------------ ------------------------ 2025.05.18 12:27:27 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747571247.4324 [finish] => 1747571247.6277 [duration] => 0.19532918930054 [processing] => 0.16715002059937 [date_start] => 2025-05-18T12:27:27+00:00 [date_finish] => 2025-05-18T12:27:27+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:27:27 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747571247.7439 [finish] => 1747571247.9609 [duration] => 0.2170238494873 [processing] => 0.17844700813293 [date_start] => 2025-05-18T12:27:27+00:00 [date_finish] => 2025-05-18T12:27:27+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:43:54 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 19e42968007823390055ef650000d385302a063b429d088a9e8139f40e80ac1f967713 [expires] => 1747575833 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 09635168007823390055ef650000d385302a067e3104ca6ec0225e12d8a061031d7e89 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 19e42968007823390055ef650000d385302a063b429d088a9e8139f40e80ac1f967713 [expires] => 1747575833 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 09635168007823390055ef650000d385302a067e3104ca6ec0225e12d8a061031d7e89 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61928 [LANGUAGE] => en ) ) [ts] => 1747572233 [auth] => Array ( [access_token] => 1ae42968007823390055ef6500007c9c0000066a10c0407c1cafebe5a3a89b1348234b [expires] => 1747575834 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:43:54 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 19e42968007823390055ef650000d385302a063b429d088a9e8139f40e80ac1f967713 [expires] => 1747575833 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 09635168007823390055ef650000d385302a067e3104ca6ec0225e12d8a061031d7e89 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 19e42968007823390055ef650000d385302a063b429d088a9e8139f40e80ac1f967713 [expires] => 1747575833 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 09635168007823390055ef650000d385302a067e3104ca6ec0225e12d8a061031d7e89 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => I want a regular 2005 Yukon thermostat [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => I want a regular 2005 Yukon thermostat [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335560 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572233 [auth] => Array ( [access_token] => 1ae42968007823390055ef6500007c9c0000066a10c0407c1cafebe5a3a89b1348234b [expires] => 1747575834 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 0a635168007823390055ef6500007c9c0000069aa12b3ffb2fb042ad2426f8988538ab [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:43:54 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:43:54 Info Current time: 15:43 ------------------------ ------------------------ 2025.05.18 12:43:54 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:43:54 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:43:54 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:44:48 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 4fe42968007823390055ef650000d385302a06229df0167288ccc34f088dc6728b6d65 [expires] => 1747575887 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3f635168007823390055ef650000d385302a064c606a714c6e106f41ad85259c3b0f01 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 4fe42968007823390055ef650000d385302a06229df0167288ccc34f088dc6728b6d65 [expires] => 1747575887 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 3f635168007823390055ef650000d385302a064c606a714c6e106f41ad85259c3b0f01 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => اريد صباب ماء يوكن عادي 2005 [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => اريد صباب ماء يوكن عادي 2005 [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335562 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572287 [auth] => Array ( [access_token] => 4fe42968007823390055ef6500007c9c000006d50376aaf524f2991cb54ec27843d8b7 [expires] => 1747575887 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 3f635168007823390055ef6500007c9c000006fd9897ecb3b89ab0562dcfa915ca08be [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:44:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:44:48 Info Current time: 15:44 ------------------------ ------------------------ 2025.05.18 12:44:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:44:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:44:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:45:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8fe42968007823390055ef650000d385302a06431a828c4c31161994778694f87deb56 [expires] => 1747575951 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7f635168007823390055ef650000d385302a06972557e97bcf9816eb950973fc708286 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8fe42968007823390055ef650000d385302a06431a828c4c31161994778694f87deb56 [expires] => 1747575951 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7f635168007823390055ef650000d385302a06972557e97bcf9816eb950973fc708286 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335564 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572351 [auth] => Array ( [access_token] => 8fe42968007823390055ef6500007c9c000006439325584100a4648e84f1b10ec48788 [expires] => 1747575951 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7f635168007823390055ef6500007c9c000006e0e801e535a7f9d756aedf2953acea87 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:45:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:45:51 Info Current time: 15:45 ------------------------ ------------------------ 2025.05.18 12:45:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:45:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:45:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:46:27 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b2e42968007823390055ef650000d385302a06e057d425a3f5fbdbac08694cc3dcd1ce [expires] => 1747575986 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a2635168007823390055ef650000d385302a06d1b38c309cddb4e4007582d73b456ca0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b2e42968007823390055ef650000d385302a06e057d425a3f5fbdbac08694cc3dcd1ce [expires] => 1747575986 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a2635168007823390055ef650000d385302a06d1b38c309cddb4e4007582d73b456ca0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => لوسمحت عندك صباب يوكن عادي 2005 [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => لوسمحت عندك صباب يوكن عادي 2005 [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335566 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572386 [auth] => Array ( [access_token] => b2e42968007823390055ef6500007c9c0000064622bb0edf44eef05127eab4e2ad93f0 [expires] => 1747575986 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a2635168007823390055ef6500007c9c0000060ccd946db72d4847d5abb09cc75b4dda [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:46:27 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:46:27 Info Current time: 15:46 ------------------------ ------------------------ 2025.05.18 12:46:27 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:46:27 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:46:27 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:46:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c3e42968007823390055ef650000d385302a06a10dbdfee483cc656deadd036b168e89 [expires] => 1747576003 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b3635168007823390055ef650000d385302a060f1ac2c81365f78f0c52f745e9360f83 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c3e42968007823390055ef650000d385302a06a10dbdfee483cc656deadd036b168e89 [expires] => 1747576003 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b3635168007823390055ef650000d385302a060f1ac2c81365f78f0c52f745e9360f83 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => 1 [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335568 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572403 [auth] => Array ( [access_token] => c4e42968007823390055ef6500007c9c000006da0a74653d07638581abf57cbf160614 [expires] => 1747576004 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b4635168007823390055ef6500007c9c0000061127c85c16b61688e51bf39dadd098ce [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:46:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:46:44 Info Current time: 15:46 ------------------------ ------------------------ 2025.05.18 12:46:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:46:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:46:44 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:46:44 Deal ID Extraction Extracted Deal ID: 213160 ------------------------ ------------------------ 2025.05.18 12:46:44 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213160_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:47:00 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d3e42968007823390055ef650000d385302a06375894d7fd4171a9d21f658a7668617f [expires] => 1747576019 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c3635168007823390055ef650000d385302a065104c7f0a7697872fb9116bc6d26aabd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d3e42968007823390055ef650000d385302a06375894d7fd4171a9d21f658a7668617f [expires] => 1747576019 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c3635168007823390055ef650000d385302a065104c7f0a7697872fb9116bc6d26aabd [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => 4 [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335570 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572419 [auth] => Array ( [access_token] => d3e42968007823390055ef6500007c9c000006878f6fa3e16bd7bbf38e3dcb741df23d [expires] => 1747576019 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c3635168007823390055ef6500007c9c000006473ca49a684783f79aee9b67652e194b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:47:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:47:00 Info Current time: 15:47 ------------------------ ------------------------ 2025.05.18 12:47:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:47:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:47:00 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:47:00 Deal ID Extraction Extracted Deal ID: 213160 ------------------------ ------------------------ 2025.05.18 12:47:00 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213160_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:47:46 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 02e52968007823390055ef650000d385302a06d2744c49a2cebddeac20ad5b19beaeea [expires] => 1747576066 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f2635168007823390055ef650000d385302a067e11b24f84bb273871a649f85f07f98e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 02e52968007823390055ef650000d385302a06d2744c49a2cebddeac20ad5b19beaeea [expires] => 1747576066 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f2635168007823390055ef650000d385302a067e11b24f84bb273871a649f85f07f98e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55627 [MESSAGE] => يوكن 2005 عادي [TO_CHAT_ID] => 61928 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55627 [CHAT_ID] => 61928 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550896504|55627 [CHAT_ENTITY_DATA_1] => Y|DEAL|213160|N|N|71544|1747572232|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538360|DEAL|213160 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => يوكن 2005 عادي [TO_USER_ID] => 0 [DIALOG_ID] => chat61928 [MESSAGE_ID] => 1335572 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55627 [NAME] => فاروق محمود قيروط [FIRST_NAME] => فاروق محمود قيروط [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747572466 [auth] => Array ( [access_token] => 02e52968007823390055ef6500007c9c000006f0d34b9cd0ee74c8d5746b8d40e5209e [expires] => 1747576066 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f2635168007823390055ef6500007c9c0000061b81902283bd5de3f6161faa7b7ed9f3 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:47:47 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:47:47 Info Current time: 15:47 ------------------------ ------------------------ 2025.05.18 12:47:47 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:47:47 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:47:47 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:47:47 Deal ID Extraction Extracted Deal ID: 213160 ------------------------ ------------------------ 2025.05.18 12:47:47 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213160_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:47:47 Function Input Parameters Array ( [dealId] => 213160 [response] => يوكن 2005 عادي [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 02e52968007823390055ef6500007c9c000006f0d34b9cd0ee74c8d5746b8d40e5209e [expires] => 1747576066 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f2635168007823390055ef6500007c9c0000061b81902283bd5de3f6161faa7b7ed9f3 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:47:47 Deal Update Parameters Array ( [id] => 213160 [fields] => Array ( [UF_CRM_1719989462] => يوكن 2005 عادي ) ) ------------------------ ------------------------ 2025.05.18 12:47:47 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747572467.4062 [finish] => 1747572467.578 [duration] => 0.17178416252136 [processing] => 0.13915514945984 [date_start] => 2025-05-18T12:47:47+00:00 [date_finish] => 2025-05-18T12:47:47+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:47:47 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747572467.6982 [finish] => 1747572467.9453 [duration] => 0.2471330165863 [processing] => 0.21933579444885 [date_start] => 2025-05-18T12:47:47+00:00 [date_finish] => 2025-05-18T12:47:47+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:57:56 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63e72968007823390055ef650000d385302a069b99d1affd323ca84467079d71980391 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53665168007823390055ef650000d385302a064fb336522a7b9ab380966a1077c95ca7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63e72968007823390055ef650000d385302a069b99d1affd323ca84467079d71980391 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53665168007823390055ef650000d385302a064fb336522a7b9ab380966a1077c95ca7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61914 [LANGUAGE] => en ) ) [ts] => 1747573075 [auth] => Array ( [access_token] => 63e72968007823390055ef6500007c9c000006e001965e5407286842506641ce3443f6 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:57:56 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 63e72968007823390055ef650000d385302a069b99d1affd323ca84467079d71980391 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53665168007823390055ef650000d385302a064fb336522a7b9ab380966a1077c95ca7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 63e72968007823390055ef650000d385302a069b99d1affd323ca84467079d71980391 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 53665168007823390055ef650000d385302a064fb336522a7b9ab380966a1077c95ca7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => محد تواصل معاي يبلغني عن السعر [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213166|N|N|71545|1747573074|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213166 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => محد تواصل معاي يبلغني عن السعر [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335619 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573075 [auth] => Array ( [access_token] => 63e72968007823390055ef6500007c9c000006e001965e5407286842506641ce3443f6 [expires] => 1747576675 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 53665168007823390055ef6500007c9c0000069d127fff747cc437b31a1e29dfe327ec [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:57:56 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:57:56 Info Current time: 15:57 ------------------------ ------------------------ 2025.05.18 12:57:56 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:57:56 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:57:56 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:57:59 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 66e72968007823390055ef650000d385302a0662c7b8b4c30a61dabbca71335c0e28b8 [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56665168007823390055ef650000d385302a06c4dcc5c4b96e1222565c6d7e5c070d23 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 66e72968007823390055ef650000d385302a0662c7b8b4c30a61dabbca71335c0e28b8 [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56665168007823390055ef650000d385302a06c4dcc5c4b96e1222565c6d7e5c070d23 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61929 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598813999|55628 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61929 [LANGUAGE] => en ) ) [ts] => 1747573078 [auth] => Array ( [access_token] => 66e72968007823390055ef6500007c9c000006e0d2534bb38f676eec69ab4c8cbb0b6d [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:57:59 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 66e72968007823390055ef650000d385302a0662c7b8b4c30a61dabbca71335c0e28b8 [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56665168007823390055ef650000d385302a06c4dcc5c4b96e1222565c6d7e5c070d23 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 66e72968007823390055ef650000d385302a0662c7b8b4c30a61dabbca71335c0e28b8 [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 56665168007823390055ef650000d385302a06c4dcc5c4b96e1222565c6d7e5c070d23 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55628 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61929 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55628 [CHAT_ID] => 61929 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598813999|55628 [CHAT_ENTITY_DATA_1] => Y|DEAL|213167|N|N|71546|1747573077|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|359817|DEAL|213167 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61929 [MESSAGE_ID] => 1335626 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55628 [NAME] => Yousef [FIRST_NAME] => Yousef [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573078 [auth] => Array ( [access_token] => 66e72968007823390055ef6500007c9c000006e0d2534bb38f676eec69ab4c8cbb0b6d [expires] => 1747576678 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 56665168007823390055ef6500007c9c000006b7a1b8d0599dbdd9338a956437caa169 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:57:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:57:59 Info Current time: 15:57 ------------------------ ------------------------ 2025.05.18 12:57:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:57:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:57:59 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:10 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 72e72968007823390055ef650000d385302a0609d3b1cbc9a90fc61e81b62eeed35e3d [expires] => 1747576690 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 62665168007823390055ef650000d385302a06fcf3d2f1462a743424e1c4a01ad2b916 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 72e72968007823390055ef650000d385302a0609d3b1cbc9a90fc61e81b62eeed35e3d [expires] => 1747576690 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 62665168007823390055ef650000d385302a06fcf3d2f1462a743424e1c4a01ad2b916 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55628 [MESSAGE] => ١ [TO_CHAT_ID] => 61929 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55628 [CHAT_ID] => 61929 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598813999|55628 [CHAT_ENTITY_DATA_1] => Y|DEAL|213167|N|N|71546|1747573077|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|359817|DEAL|213167 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61929 [MESSAGE_ID] => 1335628 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55628 [NAME] => Yousef [FIRST_NAME] => Yousef [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573090 [auth] => Array ( [access_token] => 72e72968007823390055ef6500007c9c000006f939e4079be11fcba711e6f9d481b44a [expires] => 1747576690 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 62665168007823390055ef6500007c9c00000616912d2d69938980659ba983aa0d1c53 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:11 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:11 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:23 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 7fe72968007823390055ef650000d385302a06747844d4c68e191dfc143f14f079f408 [expires] => 1747576703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6f665168007823390055ef650000d385302a06d5aaf67048e636d340b0516a5cd4d15d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 7fe72968007823390055ef650000d385302a06747844d4c68e191dfc143f14f079f408 [expires] => 1747576703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 6f665168007823390055ef650000d385302a06d5aaf67048e636d340b0516a5cd4d15d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => 1 [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213166|N|N|71545|1747573074|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213166 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335630 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573103 [auth] => Array ( [access_token] => 7fe72968007823390055ef6500007c9c00000660eae26cdad790aac87b04506068665f [expires] => 1747576703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 6f665168007823390055ef6500007c9c000006312d776c5f4977d263257881feb72323 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:24 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:24 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:24 Deal ID Extraction Extracted Deal ID: 213166 ------------------------ ------------------------ 2025.05.18 12:58:24 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213166_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:58:24 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 80e72968007823390055ef650000d385302a06eac8bcb9bd2c93157236b42c8a978699 [expires] => 1747576704 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 70665168007823390055ef650000d385302a065968198f6fa6aaa3e3c9c829ee1aaf34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 80e72968007823390055ef650000d385302a06eac8bcb9bd2c93157236b42c8a978699 [expires] => 1747576704 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 70665168007823390055ef650000d385302a065968198f6fa6aaa3e3c9c829ee1aaf34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55628 [MESSAGE] => ١ [TO_CHAT_ID] => 61929 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55628 [CHAT_ID] => 61929 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598813999|55628 [CHAT_ENTITY_DATA_1] => Y|DEAL|213167|N|N|71546|1747573077|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|359817|DEAL|213167 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ١ [TO_USER_ID] => 0 [DIALOG_ID] => chat61929 [MESSAGE_ID] => 1335631 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55628 [NAME] => Yousef [FIRST_NAME] => Yousef [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573104 [auth] => Array ( [access_token] => 80e72968007823390055ef6500007c9c0000062569022d30945404a2e6278eb696443e [expires] => 1747576704 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 70665168007823390055ef6500007c9c0000061aba443a98d543fcdc7a07a1ab1f2577 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:24 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:24 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:24 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:33 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 89e72968007823390055ef650000d385302a06e5a0066de950e437efe7fdc608edfce7 [expires] => 1747576713 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79665168007823390055ef650000d385302a06c2f939b8262d8f30e8281e3ae4664e06 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 89e72968007823390055ef650000d385302a06e5a0066de950e437efe7fdc608edfce7 [expires] => 1747576713 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 79665168007823390055ef650000d385302a06c2f939b8262d8f30e8281e3ae4664e06 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => 3 [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213166|N|N|71545|1747573074|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213166 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335634 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573113 [auth] => Array ( [access_token] => 89e72968007823390055ef6500007c9c0000067aee4edab20926e2e9952e0316e0bcab [expires] => 1747576713 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 79665168007823390055ef6500007c9c0000068c6a0463c34a99e34f48c164596872a1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:34 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:34 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:34 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:34 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:34 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:34 Deal ID Extraction Extracted Deal ID: 213166 ------------------------ ------------------------ 2025.05.18 12:58:34 Field Code Save Saved Field Code: UF_CRM_1719987476 to /opt/bitnami/apache/htdocs/cache/213166_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:58:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8be72968007823390055ef650000d385302a06da7d34e13156717695637c29e79d8d7c [expires] => 1747576715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7b665168007823390055ef650000d385302a063d477f819f6729200c4702e0bdf4d382 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8be72968007823390055ef650000d385302a06da7d34e13156717695637c29e79d8d7c [expires] => 1747576715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7b665168007823390055ef650000d385302a063d477f819f6729200c4702e0bdf4d382 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55628 [MESSAGE] => العربية [TO_CHAT_ID] => 61929 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55628 [CHAT_ID] => 61929 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598813999|55628 [CHAT_ENTITY_DATA_1] => Y|DEAL|213167|N|N|71546|1747573077|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|359817|DEAL|213167 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => العربية [TO_USER_ID] => 0 [DIALOG_ID] => chat61929 [MESSAGE_ID] => 1335636 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55628 [NAME] => Yousef [FIRST_NAME] => Yousef [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573115 [auth] => Array ( [access_token] => 8be72968007823390055ef6500007c9c000006acbd48c81785efddda5eae43f5daeadc [expires] => 1747576715 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7b665168007823390055ef6500007c9c00000631ff7d88f2656858057917ba005b5ddd [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:36 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:36 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 94e72968007823390055ef650000d385302a06dbe1b2623ca1740c6d616abf965984c7 [expires] => 1747576724 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 84665168007823390055ef650000d385302a0632c7e0275090463a858493db8c66e073 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 94e72968007823390055ef650000d385302a06dbe1b2623ca1740c6d616abf965984c7 [expires] => 1747576724 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 84665168007823390055ef650000d385302a0632c7e0275090463a858493db8c66e073 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55616 [MESSAGE] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_CHAT_ID] => 61914 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55616 [CHAT_ID] => 61914 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96592227537|55616 [CHAT_ENTITY_DATA_1] => Y|DEAL|213166|N|N|71545|1747573074|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|500897|DEAL|213166 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [TO_USER_ID] => 0 [DIALOG_ID] => chat61914 [MESSAGE_ID] => 1335638 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55616 [NAME] => Sayed Mohammad Al-Mousawi [FIRST_NAME] => Sayed Mohammad Al-Mousawi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573124 [auth] => Array ( [access_token] => 94e72968007823390055ef6500007c9c000006486b29501075c8b1dfa5b72d0e660b5b [expires] => 1747576724 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 84665168007823390055ef6500007c9c0000060edfed04d50c68e9db5ac5da0fe52ca9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:58:44 Info Current time: 15:58 ------------------------ ------------------------ 2025.05.18 12:58:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:58:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:58:44 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:58:44 Deal ID Extraction Extracted Deal ID: 213166 ------------------------ ------------------------ 2025.05.18 12:58:44 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213166_fieldcode.cache ------------------------ ------------------------ 2025.05.18 12:58:44 Function Input Parameters Array ( [dealId] => 213166 [response] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية [fieldCode] => UF_CRM_1719987476 [auth] => Array ( [access_token] => 94e72968007823390055ef6500007c9c000006486b29501075c8b1dfa5b72d0e660b5b [expires] => 1747576724 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 84665168007823390055ef6500007c9c0000060edfed04d50c68e9db5ac5da0fe52ca9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:58:44 Deal Update Parameters Array ( [id] => 213166 [fields] => Array ( [UF_CRM_1719987476] => السلام عليكم بغيت ابدل جامة سيارتي Honda Accord 2013 الجامة الامامية ) ) ------------------------ ------------------------ 2025.05.18 12:58:45 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747573125.0149 [finish] => 1747573125.1964 [duration] => 0.18155097961426 [processing] => 0.14601302146912 [date_start] => 2025-05-18T12:58:45+00:00 [date_finish] => 2025-05-18T12:58:45+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:58:45 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747573125.3095 [finish] => 1747573125.51 [duration] => 0.20048189163208 [processing] => 0.17414903640747 [date_start] => 2025-05-18T12:58:45+00:00 [date_finish] => 2025-05-18T12:58:45+00:00 ) ) ------------------------ ------------------------ 2025.05.18 12:59:47 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d2e72968007823390055ef650000d385302a067262977b73193272abbf7cce096b2630 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c2665168007823390055ef650000d385302a060c781302a4ea496dc09c07e70d4a5ede [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d2e72968007823390055ef650000d385302a067262977b73193272abbf7cce096b2630 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c2665168007823390055ef650000d385302a060c781302a4ea496dc09c07e70d4a5ede [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61930 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560000774|55629 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61930 [LANGUAGE] => en ) ) [ts] => 1747573186 [auth] => Array ( [access_token] => d2e72968007823390055ef6500007c9c000006dbc65398ffc88bfab97790138681a576 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:59:47 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d2e72968007823390055ef650000d385302a067262977b73193272abbf7cce096b2630 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c2665168007823390055ef650000d385302a060c781302a4ea496dc09c07e70d4a5ede [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d2e72968007823390055ef650000d385302a067262977b73193272abbf7cce096b2630 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c2665168007823390055ef650000d385302a060c781302a4ea496dc09c07e70d4a5ede [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55629 [MESSAGE] => How can we help you related to Tire, Spare parts, Auto Glass, Battery etc? [TO_CHAT_ID] => 61930 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55629 [CHAT_ID] => 61930 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560000774|55629 [CHAT_ENTITY_DATA_1] => Y|DEAL|213168|N|N|71547|1747573185|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|262934|DEAL|213168 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => How can we help you related to Tire, Spare parts, Auto Glass, Battery etc? [TO_USER_ID] => 0 [DIALOG_ID] => chat61930 [MESSAGE_ID] => 1335646 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55629 [NAME] => Bu.Fahad.ALMutairy [FIRST_NAME] => Bu.Fahad.ALMutairy [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573186 [auth] => Array ( [access_token] => d2e72968007823390055ef6500007c9c000006dbc65398ffc88bfab97790138681a576 [expires] => 1747576786 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c2665168007823390055ef6500007c9c0000064de6aec6f3d84d2b7ca137aba9daa217 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 12:59:47 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 12:59:47 Info Current time: 15:59 ------------------------ ------------------------ 2025.05.18 12:59:47 Info Is day off: No ------------------------ ------------------------ 2025.05.18 12:59:47 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 12:59:47 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 12:59:52 ImBot Event Query Array ( ) ------------------------ ------------------------ 2025.05.18 13:00:40 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 08e82968007823390055ef650000d385302a061466557d6706e117a1b48886aa73e683 [expires] => 1747576840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f8665168007823390055ef650000d385302a062f2e97e2776d686715d3c376691e4cf6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 08e82968007823390055ef650000d385302a061466557d6706e117a1b48886aa73e683 [expires] => 1747576840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f8665168007823390055ef650000d385302a062f2e97e2776d686715d3c376691e4cf6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55629 [MESSAGE] => 1 [TO_CHAT_ID] => 61930 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55629 [CHAT_ID] => 61930 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560000774|55629 [CHAT_ENTITY_DATA_1] => Y|DEAL|213168|N|N|71547|1747573185|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|262934|DEAL|213168 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61930 [MESSAGE_ID] => 1335648 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55629 [NAME] => Bu.Fahad.ALMutairy [FIRST_NAME] => Bu.Fahad.ALMutairy [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573240 [auth] => Array ( [access_token] => 08e82968007823390055ef6500007c9c0000063fa59a4fd9a6adc13353d25022e96a34 [expires] => 1747576840 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f8665168007823390055ef6500007c9c00000610c51e98ebeb1b7a53315d004d4a8761 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:00:40 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:00:40 Info Current time: 16:00 ------------------------ ------------------------ 2025.05.18 13:00:40 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:00:40 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:00:40 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:00:40 Deal ID Extraction Extracted Deal ID: 213168 ------------------------ ------------------------ 2025.05.18 13:00:40 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213168_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:00:49 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 11e82968007823390055ef650000d385302a065d9d520284f2c076738e565971139ce4 [expires] => 1747576849 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 01675168007823390055ef650000d385302a06321e3c07f491e6f6a5bb2a19b4ec816c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 11e82968007823390055ef650000d385302a065d9d520284f2c076738e565971139ce4 [expires] => 1747576849 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 01675168007823390055ef650000d385302a06321e3c07f491e6f6a5bb2a19b4ec816c [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55629 [MESSAGE] => 1 [TO_CHAT_ID] => 61930 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55629 [CHAT_ID] => 61930 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560000774|55629 [CHAT_ENTITY_DATA_1] => Y|DEAL|213168|N|N|71547|1747573185|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|262934|DEAL|213168 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61930 [MESSAGE_ID] => 1335650 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55629 [NAME] => Bu.Fahad.ALMutairy [FIRST_NAME] => Bu.Fahad.ALMutairy [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573249 [auth] => Array ( [access_token] => 11e82968007823390055ef6500007c9c00000641da611c4590033bb2a58830627be6ce [expires] => 1747576849 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 01675168007823390055ef6500007c9c0000063084cfe1ca9ea16a7b210c9ddda81ce4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:00:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:00:50 Info Current time: 16:00 ------------------------ ------------------------ 2025.05.18 13:00:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:00:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:00:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:00:50 Deal ID Extraction Extracted Deal ID: 213168 ------------------------ ------------------------ 2025.05.18 13:00:50 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213168_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:01:12 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 28e82968007823390055ef650000d385302a06c96dd9aa2fe62ce96074bc688d425606 [expires] => 1747576872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 18675168007823390055ef650000d385302a063f1ecc5c0f2c3343f5f27690d0de4eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 28e82968007823390055ef650000d385302a06c96dd9aa2fe62ce96074bc688d425606 [expires] => 1747576872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 18675168007823390055ef650000d385302a063f1ecc5c0f2c3343f5f27690d0de4eea [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55629 [MESSAGE] => 285/50 R20 [TO_CHAT_ID] => 61930 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55629 [CHAT_ID] => 61930 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96560000774|55629 [CHAT_ENTITY_DATA_1] => Y|DEAL|213168|N|N|71547|1747573185|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|262934|DEAL|213168 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 285/50 R20 [TO_USER_ID] => 0 [DIALOG_ID] => chat61930 [MESSAGE_ID] => 1335652 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55629 [NAME] => Bu.Fahad.ALMutairy [FIRST_NAME] => Bu.Fahad.ALMutairy [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573272 [auth] => Array ( [access_token] => 28e82968007823390055ef6500007c9c0000063a817c9221160aa6d9ec08b129a250d7 [expires] => 1747576872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 18675168007823390055ef6500007c9c000006aeb2d98ff4fc7bff2af2b0b4085d2413 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:01:12 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:01:12 Info Current time: 16:01 ------------------------ ------------------------ 2025.05.18 13:01:12 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:01:12 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:01:12 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:01:13 Deal ID Extraction Extracted Deal ID: 213168 ------------------------ ------------------------ 2025.05.18 13:01:13 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213168_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:01:13 Function Input Parameters Array ( [dealId] => 213168 [response] => 285/50 R20 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 28e82968007823390055ef6500007c9c0000063a817c9221160aa6d9ec08b129a250d7 [expires] => 1747576872 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 18675168007823390055ef6500007c9c000006aeb2d98ff4fc7bff2af2b0b4085d2413 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:01:13 Deal Update Parameters Array ( [id] => 213168 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 285/50 R20 ) ) ------------------------ ------------------------ 2025.05.18 13:01:13 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747573273.1696 [finish] => 1747573273.3301 [duration] => 0.16054081916809 [processing] => 0.13178491592407 [date_start] => 2025-05-18T13:01:13+00:00 [date_finish] => 2025-05-18T13:01:13+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:01:13 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747573273.4374 [finish] => 1747573273.6425 [duration] => 0.20505309104919 [processing] => 0.17799401283264 [date_start] => 2025-05-18T13:01:13+00:00 [date_finish] => 2025-05-18T13:01:13+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:02:53 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8ce82968007823390055ef650000d385302a064ec49f35714897b85bb9daecbd037526 [expires] => 1747576972 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7c675168007823390055ef650000d385302a0641eef45af100ba80aadfedc953ff8220 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8ce82968007823390055ef650000d385302a064ec49f35714897b85bb9daecbd037526 [expires] => 1747576972 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7c675168007823390055ef650000d385302a0641eef45af100ba80aadfedc953ff8220 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54512 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 60541 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54512 [CHAT_ID] => 60541 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555878503|54512 [CHAT_ENTITY_DATA_1] => Y|DEAL|213170|N|N|71548|1747573371|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536774|DEAL|213170 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat60541 [MESSAGE_ID] => 1335660 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54512 [NAME] => ابو زياد [FIRST_NAME] => ابو [LAST_NAME] => زياد [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573372 [auth] => Array ( [access_token] => 8ce82968007823390055ef6500007c9c000006d00f4d0ccb02872add874dff7da77bfe [expires] => 1747576972 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7c675168007823390055ef6500007c9c00000604b390f8c4c18adb0c6fdea479ed31f1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:02:53 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8be82968007823390055ef650000d385302a06e3bd6eec4d654e7fc99b5a39b851ee7e [expires] => 1747576971 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7b675168007823390055ef650000d385302a06a70f449471e1ce81040f626b0b7c7791 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8be82968007823390055ef650000d385302a06e3bd6eec4d654e7fc99b5a39b851ee7e [expires] => 1747576971 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7b675168007823390055ef650000d385302a06a70f449471e1ce81040f626b0b7c7791 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 60541 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555878503|54512 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat60541 [LANGUAGE] => en ) ) [ts] => 1747573371 [auth] => Array ( [access_token] => 8ce82968007823390055ef6500007c9c000006d00f4d0ccb02872add874dff7da77bfe [expires] => 1747576972 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:02:53 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:02:53 Info Current time: 16:02 ------------------------ ------------------------ 2025.05.18 13:02:53 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:02:53 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:02:53 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:03:08 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9ce82968007823390055ef650000d385302a062b3cea279b9969437cc1b93231ed33dc [expires] => 1747576988 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8c675168007823390055ef650000d385302a0619f12be5dfc153ae293997acfa733c9d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9ce82968007823390055ef650000d385302a062b3cea279b9969437cc1b93231ed33dc [expires] => 1747576988 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8c675168007823390055ef650000d385302a0619f12be5dfc153ae293997acfa733c9d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54512 [MESSAGE] => 1 [TO_CHAT_ID] => 60541 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54512 [CHAT_ID] => 60541 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555878503|54512 [CHAT_ENTITY_DATA_1] => Y|DEAL|213170|N|N|71548|1747573371|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536774|DEAL|213170 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat60541 [MESSAGE_ID] => 1335664 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54512 [NAME] => ابو زياد [FIRST_NAME] => ابو [LAST_NAME] => زياد [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573388 [auth] => Array ( [access_token] => 9ce82968007823390055ef6500007c9c00000621ad6c459a993f81036db15b88a93ba4 [expires] => 1747576988 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8c675168007823390055ef6500007c9c000006b608adcd64df44b8b00bfcd32701babc [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:03:08 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:03:08 Info Current time: 16:03 ------------------------ ------------------------ 2025.05.18 13:03:08 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:03:08 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:03:08 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:03:08 Deal ID Extraction Extracted Deal ID: 213170 ------------------------ ------------------------ 2025.05.18 13:03:08 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213170_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:03:19 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a6e82968007823390055ef650000d385302a060fa8482ca317f828cbfadc7623a6622e [expires] => 1747576998 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 96675168007823390055ef650000d385302a06d12b11263d8d3b4e111470c54c479388 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a6e82968007823390055ef650000d385302a060fa8482ca317f828cbfadc7623a6622e [expires] => 1747576998 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 96675168007823390055ef650000d385302a06d12b11263d8d3b4e111470c54c479388 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54512 [MESSAGE] => 1 [TO_CHAT_ID] => 60541 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54512 [CHAT_ID] => 60541 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555878503|54512 [CHAT_ENTITY_DATA_1] => Y|DEAL|213170|N|N|71548|1747573371|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536774|DEAL|213170 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat60541 [MESSAGE_ID] => 1335666 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54512 [NAME] => ابو زياد [FIRST_NAME] => ابو [LAST_NAME] => زياد [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573398 [auth] => Array ( [access_token] => a6e82968007823390055ef6500007c9c000006cde388ab571a095ab049d104b180ee78 [expires] => 1747576998 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 96675168007823390055ef6500007c9c000006028f714da3d915b105c9ac4ada5c44d7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:03:19 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:03:19 Info Current time: 16:03 ------------------------ ------------------------ 2025.05.18 13:03:19 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:03:19 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:03:19 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:03:19 Deal ID Extraction Extracted Deal ID: 213170 ------------------------ ------------------------ 2025.05.18 13:03:19 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213170_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:03:43 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bfe82968007823390055ef650000d385302a06ce82289f3bc138662c1fe8c982a5e78d [expires] => 1747577023 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af675168007823390055ef650000d385302a067a75d51892f37864ddd3a036a920bf82 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bfe82968007823390055ef650000d385302a06ce82289f3bc138662c1fe8c982a5e78d [expires] => 1747577023 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af675168007823390055ef650000d385302a067a75d51892f37864ddd3a036a920bf82 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 54512 [MESSAGE] => 7 [TO_CHAT_ID] => 60541 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 54512 [CHAT_ID] => 60541 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555878503|54512 [CHAT_ENTITY_DATA_1] => Y|DEAL|213170|N|N|71548|1747573371|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|536774|DEAL|213170 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 7 [TO_USER_ID] => 0 [DIALOG_ID] => chat60541 [MESSAGE_ID] => 1335668 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 54512 [NAME] => ابو زياد [FIRST_NAME] => ابو [LAST_NAME] => زياد [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573423 [auth] => Array ( [access_token] => bfe82968007823390055ef6500007c9c000006982c93daeab2cb9dcde53c8288ec7bde [expires] => 1747577023 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => af675168007823390055ef6500007c9c0000061387f5a6d54016f63c72c4e7e916445a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:03:43 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:03:43 Info Current time: 16:03 ------------------------ ------------------------ 2025.05.18 13:03:43 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:03:43 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:03:43 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:03:44 Deal ID Extraction Extracted Deal ID: 213170 ------------------------ ------------------------ 2025.05.18 13:03:44 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213170_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:03:44 Function Input Parameters Array ( [dealId] => 213170 [response] => 7 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => bfe82968007823390055ef6500007c9c000006982c93daeab2cb9dcde53c8288ec7bde [expires] => 1747577023 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => af675168007823390055ef6500007c9c0000061387f5a6d54016f63c72c4e7e916445a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:03:44 Deal Update Parameters Array ( [id] => 213170 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 7 ) ) ------------------------ ------------------------ 2025.05.18 13:03:44 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747573424.1871 [finish] => 1747573424.3578 [duration] => 0.17071104049683 [processing] => 0.14260387420654 [date_start] => 2025-05-18T13:03:44+00:00 [date_finish] => 2025-05-18T13:03:44+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:03:44 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747573424.4713 [finish] => 1747573424.6682 [duration] => 0.19684290885925 [processing] => 0.17080688476562 [date_start] => 2025-05-18T13:03:44+00:00 [date_finish] => 2025-05-18T13:03:44+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:12:23 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c6ea2968007823390055ef650000d385302a0643f402417438c39422319ea72731d84f [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6695168007823390055ef650000d385302a06e07259b271e07cce7eaa03ac6cfae99b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c6ea2968007823390055ef650000d385302a0643f402417438c39422319ea72731d84f [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6695168007823390055ef650000d385302a06e07259b271e07cce7eaa03ac6cfae99b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61931 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555480319|55630 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61931 [LANGUAGE] => en ) ) [ts] => 1747573942 [auth] => Array ( [access_token] => c6ea2968007823390055ef6500007c9c0000063ce1fa779539450da4fa35bc0151c17c [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:12:23 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c6ea2968007823390055ef650000d385302a0643f402417438c39422319ea72731d84f [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6695168007823390055ef650000d385302a06e07259b271e07cce7eaa03ac6cfae99b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c6ea2968007823390055ef650000d385302a0643f402417438c39422319ea72731d84f [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6695168007823390055ef650000d385302a06e07259b271e07cce7eaa03ac6cfae99b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55630 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61931 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55630 [CHAT_ID] => 61931 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555480319|55630 [CHAT_ENTITY_DATA_1] => Y|DEAL|213176|N|N|71549|1747573941|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|491029|DEAL|213176 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61931 [MESSAGE_ID] => 1335694 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55630 [NAME] => Feroz Khan [FIRST_NAME] => Feroz [LAST_NAME] => Khan [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573942 [auth] => Array ( [access_token] => c6ea2968007823390055ef6500007c9c0000063ce1fa779539450da4fa35bc0151c17c [expires] => 1747577542 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b6695168007823390055ef6500007c9c000006247e274dab3486fea662a2b7e636c396 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:12:24 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:12:24 Info Current time: 16:12 ------------------------ ------------------------ 2025.05.18 13:12:24 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:12:24 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:12:24 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:12:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d4ea2968007823390055ef650000d385302a0659e92c6878a6259044bae5f2b8ff68ce [expires] => 1747577556 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c4695168007823390055ef650000d385302a06d5aba850497f4ef20fc0006026e35e35 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d4ea2968007823390055ef650000d385302a0659e92c6878a6259044bae5f2b8ff68ce [expires] => 1747577556 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c4695168007823390055ef650000d385302a06d5aba850497f4ef20fc0006026e35e35 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55630 [MESSAGE] => 2 [TO_CHAT_ID] => 61931 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55630 [CHAT_ID] => 61931 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555480319|55630 [CHAT_ENTITY_DATA_1] => Y|DEAL|213176|N|N|71549|1747573941|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|491029|DEAL|213176 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61931 [MESSAGE_ID] => 1335697 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55630 [NAME] => Feroz Khan [FIRST_NAME] => Feroz [LAST_NAME] => Khan [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573956 [auth] => Array ( [access_token] => d4ea2968007823390055ef6500007c9c000006ac3e2294fc5cd0293671980739134a6b [expires] => 1747577556 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c4695168007823390055ef6500007c9c000006720c4dd711b45a17e945365b9322b067 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:12:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:12:36 Info Current time: 16:12 ------------------------ ------------------------ 2025.05.18 13:12:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:12:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:12:36 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:12:36 Deal ID Extraction Extracted Deal ID: 213176 ------------------------ ------------------------ 2025.05.18 13:12:36 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213176_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:13:01 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => edea2968007823390055ef650000d385302a06660202d6f8e9039dcfbf09c91e77c26d [expires] => 1747577581 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => dd695168007823390055ef650000d385302a068a766310056119caa88436df1b041a97 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => edea2968007823390055ef650000d385302a06660202d6f8e9039dcfbf09c91e77c26d [expires] => 1747577581 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => dd695168007823390055ef650000d385302a068a766310056119caa88436df1b041a97 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55630 [MESSAGE] => 6 [TO_CHAT_ID] => 61931 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55630 [CHAT_ID] => 61931 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555480319|55630 [CHAT_ENTITY_DATA_1] => Y|DEAL|213176|N|N|71549|1747573941|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|491029|DEAL|213176 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 6 [TO_USER_ID] => 0 [DIALOG_ID] => chat61931 [MESSAGE_ID] => 1335699 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55630 [NAME] => Feroz Khan [FIRST_NAME] => Feroz [LAST_NAME] => Khan [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747573981 [auth] => Array ( [access_token] => edea2968007823390055ef6500007c9c0000065f9383bea8dffd82a5d748ad6f2e9ad4 [expires] => 1747577581 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => dd695168007823390055ef6500007c9c000006af4f6d0580798a76873f11d1a4b40cd9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:13:01 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:13:01 Info Current time: 16:13 ------------------------ ------------------------ 2025.05.18 13:13:01 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:13:01 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:13:01 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:13:01 Deal ID Extraction Extracted Deal ID: 213176 ------------------------ ------------------------ 2025.05.18 13:13:01 Field Code Save Saved Field Code: UF_CRM_1719988915 to /opt/bitnami/apache/htdocs/cache/213176_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:13:20 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 00eb2968007823390055ef650000d385302a064d0d6e690cfe3966242c37a7ffed8fed [expires] => 1747577600 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0695168007823390055ef650000d385302a0601be6862c42158c03bc7c4edc5b601e9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 00eb2968007823390055ef650000d385302a064d0d6e690cfe3966242c37a7ffed8fed [expires] => 1747577600 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0695168007823390055ef650000d385302a0601be6862c42158c03bc7c4edc5b601e9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55630 [MESSAGE] => Sorry 5 [TO_CHAT_ID] => 61931 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55630 [CHAT_ID] => 61931 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96555480319|55630 [CHAT_ENTITY_DATA_1] => Y|DEAL|213176|N|N|71549|1747573941|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|491029|DEAL|213176 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Sorry 5 [TO_USER_ID] => 0 [DIALOG_ID] => chat61931 [MESSAGE_ID] => 1335702 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55630 [NAME] => Feroz Khan [FIRST_NAME] => Feroz [LAST_NAME] => Khan [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574000 [auth] => Array ( [access_token] => 00eb2968007823390055ef6500007c9c0000066feeb62b1f45fca7ae367973c3b73f5a [expires] => 1747577600 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f0695168007823390055ef6500007c9c0000066082f80df891174c7690bd065e9c4bc2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:13:21 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:13:21 Info Current time: 16:13 ------------------------ ------------------------ 2025.05.18 13:13:21 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:13:21 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:13:21 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:13:21 Deal ID Extraction Extracted Deal ID: 213176 ------------------------ ------------------------ 2025.05.18 13:13:21 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213176_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:13:21 Function Input Parameters Array ( [dealId] => 213176 [response] => Sorry 5 [fieldCode] => UF_CRM_1719988915 [auth] => Array ( [access_token] => 00eb2968007823390055ef6500007c9c0000066feeb62b1f45fca7ae367973c3b73f5a [expires] => 1747577600 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f0695168007823390055ef6500007c9c0000066082f80df891174c7690bd065e9c4bc2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:13:21 Deal Update Parameters Array ( [id] => 213176 [fields] => Array ( [UF_CRM_1719988915] => Sorry 5 ) ) ------------------------ ------------------------ 2025.05.18 13:13:21 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574001.4157 [finish] => 1747574001.5922 [duration] => 0.17651391029358 [processing] => 0.14698004722595 [date_start] => 2025-05-18T13:13:21+00:00 [date_finish] => 2025-05-18T13:13:21+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:13:21 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574001.706 [finish] => 1747574001.9069 [duration] => 0.20088601112366 [processing] => 0.1708619594574 [date_start] => 2025-05-18T13:13:21+00:00 [date_finish] => 2025-05-18T13:13:21+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:15:58 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9deb2968007823390055ef650000d385302a0621f933fdd00f0b0ef29cba65c0c52823 [expires] => 1747577757 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8d6a5168007823390055ef650000d385302a069714e38150c622ffef62e5c68ddfc4b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9deb2968007823390055ef650000d385302a0621f933fdd00f0b0ef29cba65c0c52823 [expires] => 1747577757 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8d6a5168007823390055ef650000d385302a069714e38150c622ffef62e5c68ddfc4b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61899 [LANGUAGE] => en ) ) [ts] => 1747574157 [auth] => Array ( [access_token] => 9eeb2968007823390055ef6500007c9c000006e32996cb7f5da2ae42d396a7759b93ed [expires] => 1747577758 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:15:58 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9deb2968007823390055ef650000d385302a0621f933fdd00f0b0ef29cba65c0c52823 [expires] => 1747577757 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8d6a5168007823390055ef650000d385302a069714e38150c622ffef62e5c68ddfc4b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9deb2968007823390055ef650000d385302a0621f933fdd00f0b0ef29cba65c0c52823 [expires] => 1747577757 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8d6a5168007823390055ef650000d385302a069714e38150c622ffef62e5c68ddfc4b6 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55605 [MESSAGE] => Salam I need macnice job [TO_CHAT_ID] => 61899 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55605 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [CHAT_ENTITY_DATA_1] => Y|DEAL|213177|N|N|71550|1747574157|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538318|DEAL|213177 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Salam I need macnice job [TO_USER_ID] => 0 [DIALOG_ID] => chat61899 [MESSAGE_ID] => 1335728 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55605 [NAME] => asif [FIRST_NAME] => asif [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574157 [auth] => Array ( [access_token] => 9eeb2968007823390055ef6500007c9c000006e32996cb7f5da2ae42d396a7759b93ed [expires] => 1747577758 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8e6a5168007823390055ef6500007c9c0000060dc67cdd519ab312e70855a43fca083d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:15:59 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:15:59 Info Current time: 16:15 ------------------------ ------------------------ 2025.05.18 13:15:59 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:15:59 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:15:59 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:21 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2cec2968007823390055ef650000d385302a065bc31c0a9d08480bc7737b4a0b52dde5 [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c6b5168007823390055ef650000d385302a06733bef29d66476c2ada1ed69d6b9c9fa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2cec2968007823390055ef650000d385302a065bc31c0a9d08480bc7737b4a0b52dde5 [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c6b5168007823390055ef650000d385302a06733bef29d66476c2ada1ed69d6b9c9fa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335736 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574300 [auth] => Array ( [access_token] => 2cec2968007823390055ef6500007c9c00000609a2810d7ed8ed598c42e93a5dd4ab1e [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 1c6b5168007823390055ef6500007c9c0000062ce6a98f55aa099d8a0ba29521391ace [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:21 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 2cec2968007823390055ef650000d385302a065bc31c0a9d08480bc7737b4a0b52dde5 [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c6b5168007823390055ef650000d385302a06733bef29d66476c2ada1ed69d6b9c9fa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 2cec2968007823390055ef650000d385302a065bc31c0a9d08480bc7737b4a0b52dde5 [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 1c6b5168007823390055ef650000d385302a06733bef29d66476c2ada1ed69d6b9c9fa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61932 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61932 [LANGUAGE] => en ) ) [ts] => 1747574300 [auth] => Array ( [access_token] => 2cec2968007823390055ef6500007c9c00000609a2810d7ed8ed598c42e93a5dd4ab1e [expires] => 1747577900 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:21 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:21 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:21 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:21 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:21 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:34 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3aec2968007823390055ef650000d385302a06227c496d525bc86babe8488678195644 [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2a6b5168007823390055ef650000d385302a065f2c7bc91e8eac19d0fddb8b7d7dd24a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3aec2968007823390055ef650000d385302a06227c496d525bc86babe8488678195644 [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2a6b5168007823390055ef650000d385302a065f2c7bc91e8eac19d0fddb8b7d7dd24a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 393135 ) ) [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [FILES] => Array ( [393135] => Array ( [id] => 393135 [chatId] => 61932 [type] => image [name] => 1747574310_1361822568417250.jpg [extension] => jpg [size] => 219751 [image] => Array ( [height] => 1600 [width] => 1200 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393135&width=1280&height=1280&signature=44389dc2534cbb5c72ad7b13c4ddda204eff15383306fd861d13b20271d0eb46&fileName=1747574310_1361822568417250.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393135&width=1280&height=1280&signature=44389dc2534cbb5c72ad7b13c4ddda204eff15383306fd861d13b20271d0eb46&fileName=1747574310_1361822568417250.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393135&fileName=1747574310_1361822568417250.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393135&fileName=1747574310_1361822568417250.jpg [objectId] => 393135 [viewerGroupBy] => 61932 [imChatId] => 61932 [title] => 1747574310_1361822568417250.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"393135"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335738 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574314 [auth] => Array ( [access_token] => 3aec2968007823390055ef6500007c9c000006be88233b1ccd3fb9873bd858bbec64cb [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2a6b5168007823390055ef6500007c9c0000069fbc024da7e21ec75f111359d65fe6cb [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:34 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:34 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:34 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:34 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:34 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:34 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3aec2968007823390055ef650000d385302a06227c496d525bc86babe8488678195644 [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2a6b5168007823390055ef650000d385302a065f2c7bc91e8eac19d0fddb8b7d7dd24a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3aec2968007823390055ef650000d385302a06227c496d525bc86babe8488678195644 [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2a6b5168007823390055ef650000d385302a065f2c7bc91e8eac19d0fddb8b7d7dd24a [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [MESSAGE] => 2 [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335739 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574314 [auth] => Array ( [access_token] => 3aec2968007823390055ef6500007c9c000006be88233b1ccd3fb9873bd858bbec64cb [expires] => 1747577914 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2a6b5168007823390055ef6500007c9c0000069fbc024da7e21ec75f111359d65fe6cb [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:35 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:35 Deal ID Extraction Extracted Deal ID: 213179 ------------------------ ------------------------ 2025.05.18 13:18:35 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213179_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:18:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3cec2968007823390055ef650000d385302a069ff639721da9d9b757c1bd119141c1fe [expires] => 1747577916 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2c6b5168007823390055ef650000d385302a06d6fee5875da3ba3614a712c37d8c585e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3cec2968007823390055ef650000d385302a069ff639721da9d9b757c1bd119141c1fe [expires] => 1747577916 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2c6b5168007823390055ef650000d385302a06d6fee5875da3ba3614a712c37d8c585e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 393136 ) ) [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [FILES] => Array ( [393136] => Array ( [id] => 393136 [chatId] => 61932 [type] => image [name] => 1747574311_709201185393026.jpg [extension] => jpg [size] => 268916 [image] => Array ( [height] => 1600 [width] => 1200 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393136&width=1280&height=1280&signature=5e75b4e738d9c6ff40bcfd1f9ff5e48c3facd329cd50012dc4e400665ef95d3b&fileName=1747574311_709201185393026.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393136&width=1280&height=1280&signature=5e75b4e738d9c6ff40bcfd1f9ff5e48c3facd329cd50012dc4e400665ef95d3b&fileName=1747574311_709201185393026.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393136&fileName=1747574311_709201185393026.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393136&fileName=1747574311_709201185393026.jpg [objectId] => 393136 [viewerGroupBy] => 61932 [imChatId] => 61932 [title] => 1747574311_709201185393026.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"393136"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [TO_USER_ID] => 0 [MESSAGE] => [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335742 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574316 [auth] => Array ( [access_token] => 3cec2968007823390055ef6500007c9c00000692d03e2827bfc2e38b1ff7d8c16fcff5 [expires] => 1747577916 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2c6b5168007823390055ef6500007c9c00000648f0d757c3456c2bd719b961b86d4bb8 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:36 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:36 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 44ec2968007823390055ef650000d385302a06981d8807b2d5f7c92108512942e87f00 [expires] => 1747577924 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 346b5168007823390055ef650000d385302a06018bad029d423d29b96c8a55a525cdca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 44ec2968007823390055ef650000d385302a06981d8807b2d5f7c92108512942e87f00 [expires] => 1747577924 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 346b5168007823390055ef650000d385302a06018bad029d423d29b96c8a55a525cdca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [MESSAGE] => 1 [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335744 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574324 [auth] => Array ( [access_token] => 44ec2968007823390055ef6500007c9c000006dc715a517ded9e3a36d3a590174c0348 [expires] => 1747577924 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 346b5168007823390055ef6500007c9c000006f75ef4284d364354a0b98eff485741c7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:44 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:44 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:18:44 Deal ID Extraction Extracted Deal ID: 213179 ------------------------ ------------------------ 2025.05.18 13:18:44 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213179_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:18:47 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 46ec2968007823390055ef650000d385302a065c180ab8ac567d88eaadd581561e20d0 [expires] => 1747577926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 366b5168007823390055ef650000d385302a06b7600631c11e3ebfe9e911f1bb577eb9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 46ec2968007823390055ef650000d385302a065c180ab8ac567d88eaadd581561e20d0 [expires] => 1747577926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 366b5168007823390055ef650000d385302a06b7600631c11e3ebfe9e911f1bb577eb9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61933 [LANGUAGE] => en ) ) [ts] => 1747574326 [auth] => Array ( [access_token] => 47ec2968007823390055ef6500007c9c000006dcf6fb84447889c9a17ec6a374e43898 [expires] => 1747577927 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:47 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 46ec2968007823390055ef650000d385302a065c180ab8ac567d88eaadd581561e20d0 [expires] => 1747577926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 366b5168007823390055ef650000d385302a06b7600631c11e3ebfe9e911f1bb577eb9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 46ec2968007823390055ef650000d385302a065c180ab8ac567d88eaadd581561e20d0 [expires] => 1747577926 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 366b5168007823390055ef650000d385302a06b7600631c11e3ebfe9e911f1bb577eb9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => سلام عليكم [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335751 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574326 [auth] => Array ( [access_token] => 47ec2968007823390055ef6500007c9c000006dcf6fb84447889c9a17ec6a374e43898 [expires] => 1747577927 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 376b5168007823390055ef6500007c9c0000061ec26d8a9ccabeceded7fe9b01d32933 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:18:48 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:18:48 Info Current time: 16:18 ------------------------ ------------------------ 2025.05.18 13:18:48 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:18:48 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:18:48 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:02 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 55ec2968007823390055ef650000d385302a069d298ccc436185df4fb85b7a8fb31019 [expires] => 1747577941 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 456b5168007823390055ef650000d385302a0645c336b0a69b982742f709a44f6b4898 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 55ec2968007823390055ef650000d385302a069d298ccc436185df4fb85b7a8fb31019 [expires] => 1747577941 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 456b5168007823390055ef650000d385302a0645c336b0a69b982742f709a44f6b4898 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335757 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574341 [auth] => Array ( [access_token] => 56ec2968007823390055ef6500007c9c0000060fec7fc194ffbc4795d55b7a345db4b0 [expires] => 1747577942 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 466b5168007823390055ef6500007c9c00000614f187d058810c6c5d87b26e74244ce4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:02 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 55ec2968007823390055ef650000d385302a069d298ccc436185df4fb85b7a8fb31019 [expires] => 1747577941 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 456b5168007823390055ef650000d385302a0645c336b0a69b982742f709a44f6b4898 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 55ec2968007823390055ef650000d385302a069d298ccc436185df4fb85b7a8fb31019 [expires] => 1747577941 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 456b5168007823390055ef650000d385302a0645c336b0a69b982742f709a44f6b4898 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61934 [LANGUAGE] => en ) ) [ts] => 1747574341 [auth] => Array ( [access_token] => 56ec2968007823390055ef6500007c9c0000060fec7fc194ffbc4795d55b7a345db4b0 [expires] => 1747577942 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:02 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:02 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:02 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 56ec2968007823390055ef650000d385302a06ca494656275daa16d0d345253428f011 [expires] => 1747577942 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 466b5168007823390055ef650000d385302a06d2f9d74231e39b23c5682fc066e87c56 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 56ec2968007823390055ef650000d385302a06ca494656275daa16d0d345253428f011 [expires] => 1747577942 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 466b5168007823390055ef650000d385302a06d2f9d74231e39b23c5682fc066e87c56 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => 1 [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335758 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574342 [auth] => Array ( [access_token] => 56ec2968007823390055ef6500007c9c0000060fec7fc194ffbc4795d55b7a345db4b0 [expires] => 1747577942 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 466b5168007823390055ef6500007c9c00000614f187d058810c6c5d87b26e74244ce4 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:02 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:02 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:02 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:02 Deal ID Extraction Extracted Deal ID: 213180 ------------------------ ------------------------ 2025.05.18 13:19:02 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213180_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:13 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 61ec2968007823390055ef650000d385302a069713b74142e33b69515ca98f0a25a3f5 [expires] => 1747577953 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 516b5168007823390055ef650000d385302a06964fa19bd1614b05a2c5b20f6d1f9e3e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 61ec2968007823390055ef650000d385302a069713b74142e33b69515ca98f0a25a3f5 [expires] => 1747577953 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 516b5168007823390055ef650000d385302a06964fa19bd1614b05a2c5b20f6d1f9e3e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 2 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335761 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574353 [auth] => Array ( [access_token] => 61ec2968007823390055ef6500007c9c00000673be8bd91dbbafd37eb7c6d2a57f1c49 [expires] => 1747577953 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 516b5168007823390055ef6500007c9c0000062314190af50d9fce1e00728eb2d8455a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:13 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:13 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:13 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:13 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:13 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:13 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:19:13 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:14 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 62ec2968007823390055ef650000d385302a06c3e462cba9009e1e1aeb17a772be49dc [expires] => 1747577954 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 526b5168007823390055ef650000d385302a068169bc47df312f1f8aa55aa0222b19a1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 62ec2968007823390055ef650000d385302a06c3e462cba9009e1e1aeb17a772be49dc [expires] => 1747577954 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 526b5168007823390055ef650000d385302a068169bc47df312f1f8aa55aa0222b19a1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => 4 [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335763 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574354 [auth] => Array ( [access_token] => 62ec2968007823390055ef6500007c9c000006f3e63a27de39138745fbb04a1b814820 [expires] => 1747577954 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 526b5168007823390055ef6500007c9c0000065c228b2e4ca35d3624406261a5c03d06 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:14 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:14 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:14 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:14 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:14 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:14 Deal ID Extraction Extracted Deal ID: 213180 ------------------------ ------------------------ 2025.05.18 13:19:14 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213180_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:26 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 6eec2968007823390055ef650000d385302a06fc230c6ae4acd532ac7a8440a29dd6d0 [expires] => 1747577966 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5e6b5168007823390055ef650000d385302a06e4e8558fd60a8bf78de187022e9f130d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 6eec2968007823390055ef650000d385302a06fc230c6ae4acd532ac7a8440a29dd6d0 [expires] => 1747577966 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 5e6b5168007823390055ef650000d385302a06e4e8558fd60a8bf78de187022e9f130d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 3 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335765 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574366 [auth] => Array ( [access_token] => 6eec2968007823390055ef6500007c9c0000064f357e49b5aaf27d51f5ad46fbabd485 [expires] => 1747577966 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 5e6b5168007823390055ef6500007c9c0000063013998f14a578368c017c248faa3c90 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:27 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:27 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:27 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:27 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:27 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:27 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:19:27 Field Code Save Saved Field Code: UF_CRM_1719987476 to /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:29 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 71ec2968007823390055ef650000d385302a0659d2b6a13775f8a39d35116f4deaa245 [expires] => 1747577969 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 616b5168007823390055ef650000d385302a06b609ace656e4cba99ca59d6977bf6439 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 71ec2968007823390055ef650000d385302a0659d2b6a13775f8a39d35116f4deaa245 [expires] => 1747577969 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 616b5168007823390055ef650000d385302a06b609ace656e4cba99ca59d6977bf6439 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55631 [MESSAGE] => 235/55/18r [TO_CHAT_ID] => 61932 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55631 [CHAT_ID] => 61932 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597999737|55631 [CHAT_ENTITY_DATA_1] => Y|DEAL|213179|N|N|71551|1747574299|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|398688|DEAL|213179 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 235/55/18r [TO_USER_ID] => 0 [DIALOG_ID] => chat61932 [MESSAGE_ID] => 1335767 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55631 [NAME] => M.N.D [FIRST_NAME] => M.N.D [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574369 [auth] => Array ( [access_token] => 71ec2968007823390055ef6500007c9c000006d72e29b37d8b020603233db8dd112919 [expires] => 1747577969 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 616b5168007823390055ef6500007c9c000006b2d8048fea2e9ec5752f9dbb663e6937 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:29 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:29 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:29 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:29 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:29 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:29 Deal ID Extraction Extracted Deal ID: 213179 ------------------------ ------------------------ 2025.05.18 13:19:29 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213179_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:29 Function Input Parameters Array ( [dealId] => 213179 [response] => 235/55/18r [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 71ec2968007823390055ef6500007c9c000006d72e29b37d8b020603233db8dd112919 [expires] => 1747577969 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 616b5168007823390055ef6500007c9c000006b2d8048fea2e9ec5752f9dbb663e6937 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:29 Deal Update Parameters Array ( [id] => 213179 [fields] => Array ( [UF_CRM_65C1E38A6A372] => 235/55/18r ) ) ------------------------ ------------------------ 2025.05.18 13:19:30 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574370.0838 [finish] => 1747574370.2814 [duration] => 0.19762110710144 [processing] => 0.16441297531128 [date_start] => 2025-05-18T13:19:30+00:00 [date_finish] => 2025-05-18T13:19:30+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:19:30 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 72ec2968007823390055ef650000d385302a064ebd8fdea98ae48d9bf3773938e70b42 [expires] => 1747577970 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 626b5168007823390055ef650000d385302a06c8092019fd6e4cb9bdc3ab35a8d53725 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 72ec2968007823390055ef650000d385302a064ebd8fdea98ae48d9bf3773938e70b42 [expires] => 1747577970 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 626b5168007823390055ef650000d385302a06c8092019fd6e4cb9bdc3ab35a8d53725 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => سلفرادو ٢٠١٨ [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلفرادو ٢٠١٨ [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335769 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574370 [auth] => Array ( [access_token] => 72ec2968007823390055ef6500007c9c0000068b3a3c62517d124c335cb1e406e7994e [expires] => 1747577970 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 626b5168007823390055ef6500007c9c0000067388dcb307f5cd278b83f075bb056ace [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:30 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574370.417 [finish] => 1747574370.6485 [duration] => 0.23151206970215 [processing] => 0.17265820503235 [date_start] => 2025-05-18T13:19:30+00:00 [date_finish] => 2025-05-18T13:19:30+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:19:30 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:30 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:30 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:30 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:30 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:47 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 83ec2968007823390055ef650000d385302a06b0a6ddca5534f00a9774383ce02db57e [expires] => 1747577987 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 736b5168007823390055ef650000d385302a069a3acebed5693c44946f37c6f3434b34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 83ec2968007823390055ef650000d385302a06b0a6ddca5534f00a9774383ce02db57e [expires] => 1747577987 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 736b5168007823390055ef650000d385302a069a3acebed5693c44946f37c6f3434b34 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => 1 [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335772 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574387 [auth] => Array ( [access_token] => 83ec2968007823390055ef6500007c9c000006ae6533268c486adab46f2b651e121dc2 [expires] => 1747577987 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 736b5168007823390055ef6500007c9c000006b8263f8ab530720f5abf24475a21dee9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:47 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:47 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:47 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:47 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:47 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:47 Deal ID Extraction Extracted Deal ID: 213180 ------------------------ ------------------------ 2025.05.18 13:19:47 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213180_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:19:57 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 8dec2968007823390055ef650000d385302a06839bbb2226350faa674a091d12d69ca0 [expires] => 1747577997 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7d6b5168007823390055ef650000d385302a06837681b47ed601d773da233d34aff8f2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 8dec2968007823390055ef650000d385302a06839bbb2226350faa674a091d12d69ca0 [expires] => 1747577997 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 7d6b5168007823390055ef650000d385302a06837681b47ed601d773da233d34aff8f2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => 4 [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335775 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574397 [auth] => Array ( [access_token] => 8dec2968007823390055ef6500007c9c0000063248b779e8398a4f1fe281c5af059283 [expires] => 1747577997 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 7d6b5168007823390055ef6500007c9c000006ba877f49ac4fd4fcda1165bebb228ed8 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:19:57 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:19:57 Info Current time: 16:19 ------------------------ ------------------------ 2025.05.18 13:19:57 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:19:57 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:19:57 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:19:57 Deal ID Extraction Extracted Deal ID: 213180 ------------------------ ------------------------ 2025.05.18 13:19:57 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213180_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:20:06 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 96ec2968007823390055ef650000d385302a06280d5564a46835e37c5d8a94b8b5f22f [expires] => 1747578006 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 866b5168007823390055ef650000d385302a06040af4c72a2fba863a02fde51f5fb2a8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 96ec2968007823390055ef650000d385302a06280d5564a46835e37c5d8a94b8b5f22f [expires] => 1747578006 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 866b5168007823390055ef650000d385302a06040af4c72a2fba863a02fde51f5fb2a8 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => Yaris hatchback 2007 model [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Yaris hatchback 2007 model [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335777 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574406 [auth] => Array ( [access_token] => 96ec2968007823390055ef6500007c9c000006e5779f67a76164e09723857a83553c8c [expires] => 1747578006 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 866b5168007823390055ef6500007c9c0000069eb5fb5772552acf12355b28eb848e9f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:06 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:06 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:06 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:06 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:06 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:15 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 9fec2968007823390055ef650000d385302a06af5cb286d9105ad556b330332965d77a [expires] => 1747578015 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8f6b5168007823390055ef650000d385302a06520b8a26570012bf95425129517631c2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 9fec2968007823390055ef650000d385302a06af5cb286d9105ad556b330332965d77a [expires] => 1747578015 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 8f6b5168007823390055ef650000d385302a06520b8a26570012bf95425129517631c2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 2 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335779 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574415 [auth] => Array ( [access_token] => 9fec2968007823390055ef6500007c9c0000060d07e002d70ef22c0869619ecfb28efb [expires] => 1747578015 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 8f6b5168007823390055ef6500007c9c0000062462a84fedd1213655ccc913e26832b2 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:16 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:16 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:16 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:20:16 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:20:16 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a0ec2968007823390055ef650000d385302a0661b015419a989ff4e4f0793f8eebca8d [expires] => 1747578016 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 906b5168007823390055ef650000d385302a0639ced34dc198a68cfe176a6b2efae3ad [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a0ec2968007823390055ef650000d385302a0661b015419a989ff4e4f0793f8eebca8d [expires] => 1747578016 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 906b5168007823390055ef650000d385302a0639ced34dc198a68cfe176a6b2efae3ad [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55632 [MESSAGE] => سلفرادو 2018 ls [TO_CHAT_ID] => 61933 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55632 [CHAT_ID] => 61933 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569656836|55632 [CHAT_ENTITY_DATA_1] => Y|DEAL|213180|N|N|71552|1747574326|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538363|DEAL|213180 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلفرادو 2018 ls [TO_USER_ID] => 0 [DIALOG_ID] => chat61933 [MESSAGE_ID] => 1335780 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55632 [NAME] => AAM. [FIRST_NAME] => AAM. [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574416 [auth] => Array ( [access_token] => a0ec2968007823390055ef6500007c9c000006cb369c86cdc2feae8739bf3ddf4360f6 [expires] => 1747578016 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 906b5168007823390055ef6500007c9c000006c21d69a4a365586ccc4327d242dec2c1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:16 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:16 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:16 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:16 Deal ID Extraction Extracted Deal ID: 213180 ------------------------ ------------------------ 2025.05.18 13:20:16 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213180_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:20:16 Function Input Parameters Array ( [dealId] => 213180 [response] => سلفرادو 2018 ls [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => a0ec2968007823390055ef6500007c9c000006cb369c86cdc2feae8739bf3ddf4360f6 [expires] => 1747578016 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 906b5168007823390055ef6500007c9c000006c21d69a4a365586ccc4327d242dec2c1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:16 Deal Update Parameters Array ( [id] => 213180 [fields] => Array ( [UF_CRM_1719989462] => سلفرادو 2018 ls ) ) ------------------------ ------------------------ 2025.05.18 13:20:17 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574416.9919 [finish] => 1747574417.1678 [duration] => 0.17589902877808 [processing] => 0.14234590530396 [date_start] => 2025-05-18T13:20:16+00:00 [date_finish] => 2025-05-18T13:20:17+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:20:17 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574417.2904 [finish] => 1747574417.5368 [duration] => 0.24645900726318 [processing] => 0.21776294708252 [date_start] => 2025-05-18T13:20:17+00:00 [date_finish] => 2025-05-18T13:20:17+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:20:24 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a8ec2968007823390055ef650000d385302a06adcfa8d01e210267b8c857b153780345 [expires] => 1747578024 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 986b5168007823390055ef650000d385302a068bdbc9eddd7517347b3287c77ffe4666 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a8ec2968007823390055ef650000d385302a06adcfa8d01e210267b8c857b153780345 [expires] => 1747578024 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 986b5168007823390055ef650000d385302a068bdbc9eddd7517347b3287c77ffe4666 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 3 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335784 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574424 [auth] => Array ( [access_token] => a8ec2968007823390055ef6500007c9c000006e399286408e5f0fbcb14e95b8f3d8761 [expires] => 1747578024 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 986b5168007823390055ef6500007c9c00000641208f8f8409c5b8ff2ef1239ba075d8 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:25 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:25 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:25 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:25 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:25 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:35 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => b2ec2968007823390055ef650000d385302a06fccc85149ef6d0068ba7f429dc308ab3 [expires] => 1747578034 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a26b5168007823390055ef650000d385302a06070c8e5fd7782dc1a8a9bc6b6794e437 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => b2ec2968007823390055ef650000d385302a06fccc85149ef6d0068ba7f429dc308ab3 [expires] => 1747578034 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => a26b5168007823390055ef650000d385302a06070c8e5fd7782dc1a8a9bc6b6794e437 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 2 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335786 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574434 [auth] => Array ( [access_token] => b2ec2968007823390055ef6500007c9c000006b1d39ed2990a951122c0675989832b3b [expires] => 1747578034 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => a26b5168007823390055ef6500007c9c0000066f73508c710ff8d7790709bb0d4951ad [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:35 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:35 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:20:35 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:20:43 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bbec2968007823390055ef650000d385302a063ec3e6ae744f4187ef0650e17ebc0d86 [expires] => 1747578043 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ab6b5168007823390055ef650000d385302a0608b90364c3814c7c1d86225b9a2ac84f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bbec2968007823390055ef650000d385302a063ec3e6ae744f4187ef0650e17ebc0d86 [expires] => 1747578043 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ab6b5168007823390055ef650000d385302a0608b90364c3814c7c1d86225b9a2ac84f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 3 [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 3 [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335788 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574443 [auth] => Array ( [access_token] => bbec2968007823390055ef6500007c9c000006d6a4baf84f90e7bc5222fb4a9a737861 [expires] => 1747578043 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ab6b5168007823390055ef6500007c9c000006d15217823c82606cb64ed71021ed50a1 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:20:43 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:20:43 Info Current time: 16:20 ------------------------ ------------------------ 2025.05.18 13:20:43 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:20:43 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:20:43 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:20:43 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:20:43 Field Code Save Saved Field Code: UF_CRM_1719987476 to /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:21:05 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d1ec2968007823390055ef650000d385302a06b04e75b2a23ffdccb789682feacd8bfa [expires] => 1747578065 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c16b5168007823390055ef650000d385302a06eb5694df486ad48550dbeea947470eff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d1ec2968007823390055ef650000d385302a06b04e75b2a23ffdccb789682feacd8bfa [expires] => 1747578065 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c16b5168007823390055ef650000d385302a06eb5694df486ad48550dbeea947470eff [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55633 [MESSAGE] => 2007 yaris hatchback [TO_CHAT_ID] => 61934 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55633 [CHAT_ID] => 61934 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96566948763|55633 [CHAT_ENTITY_DATA_1] => Y|DEAL|213181|N|N|71553|1747574340|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538366|DEAL|213181 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2007 yaris hatchback [TO_USER_ID] => 0 [DIALOG_ID] => chat61934 [MESSAGE_ID] => 1335792 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55633 [NAME] => Nisar [FIRST_NAME] => Nisar [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574465 [auth] => Array ( [access_token] => d1ec2968007823390055ef6500007c9c000006c2f94ab17a8781e8cb5e70b061c72317 [expires] => 1747578065 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c16b5168007823390055ef6500007c9c000006bc3a6bcf20f6bc8bc591b009c3948944 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:21:06 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:21:06 Info Current time: 16:21 ------------------------ ------------------------ 2025.05.18 13:21:06 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:21:06 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:21:06 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:21:06 Deal ID Extraction Extracted Deal ID: 213181 ------------------------ ------------------------ 2025.05.18 13:21:06 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213181_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:21:06 Function Input Parameters Array ( [dealId] => 213181 [response] => 2007 yaris hatchback [fieldCode] => UF_CRM_1719987476 [auth] => Array ( [access_token] => d1ec2968007823390055ef6500007c9c000006c2f94ab17a8781e8cb5e70b061c72317 [expires] => 1747578065 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c16b5168007823390055ef6500007c9c000006bc3a6bcf20f6bc8bc591b009c3948944 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:21:06 Deal Update Parameters Array ( [id] => 213181 [fields] => Array ( [UF_CRM_1719987476] => 2007 yaris hatchback ) ) ------------------------ ------------------------ 2025.05.18 13:21:06 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574466.533 [finish] => 1747574466.7073 [duration] => 0.17430305480957 [processing] => 0.13945579528809 [date_start] => 2025-05-18T13:21:06+00:00 [date_finish] => 2025-05-18T13:21:06+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:21:07 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574466.8204 [finish] => 1747574467.013 [duration] => 0.19257998466492 [processing] => 0.16534900665283 [date_start] => 2025-05-18T13:21:06+00:00 [date_finish] => 2025-05-18T13:21:07+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:21:40 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55634 [MESSAGE] => Tire for gx 460 [TO_CHAT_ID] => 61935 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55634 [CHAT_ID] => 61935 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|917715991947|55634 [CHAT_ENTITY_DATA_1] => Y|DEAL|213184|N|N|71554|1747574498|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538368|DEAL|213184 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Tire for gx 460 [TO_USER_ID] => 0 [DIALOG_ID] => chat61935 [MESSAGE_ID] => 1335801 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55634 [NAME] => rizwan [FIRST_NAME] => rizwan [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574499 [auth] => Array ( [access_token] => f3ec2968007823390055ef6500007c9c000006a69962413ea9dfd300d591f51b17dee0 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e36b5168007823390055ef6500007c9c0000068b0d1b4bd82879342cb770d2c0cf9d1c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:21:40 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61935 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|917715991947|55634 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61935 [LANGUAGE] => en ) ) [ts] => 1747574499 [auth] => Array ( [access_token] => f3ec2968007823390055ef6500007c9c000006a69962413ea9dfd300d591f51b17dee0 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:21:40 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f3ec2968007823390055ef650000d385302a065934b7cedf8615d4f073cedd5bdad687 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e36b5168007823390055ef650000d385302a06114f519a326d12550fb44e07ff5e2dca [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55634 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61935 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55634 [CHAT_ID] => 61935 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|917715991947|55634 [CHAT_ENTITY_DATA_1] => Y|DEAL|213184|N|N|71554|1747574498|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538368|DEAL|213184 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61935 [MESSAGE_ID] => 1335800 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55634 [NAME] => rizwan [FIRST_NAME] => rizwan [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574499 [auth] => Array ( [access_token] => f3ec2968007823390055ef6500007c9c000006a69962413ea9dfd300d591f51b17dee0 [expires] => 1747578099 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e36b5168007823390055ef6500007c9c0000068b0d1b4bd82879342cb770d2c0cf9d1c [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:21:40 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:21:40 Info Current time: 16:21 ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:21:40 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:21:40 Info Current time: 16:21 ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:21:40 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:24:44 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => aced2968007823390055ef650000d385302a0642391f37273cdfc5248b85d40da4e41c [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9c6c5168007823390055ef650000d385302a068d5b408665758eae41b7ab152c2d620b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => aced2968007823390055ef650000d385302a0642391f37273cdfc5248b85d40da4e41c [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9c6c5168007823390055ef650000d385302a068d5b408665758eae41b7ab152c2d620b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61936 [LANGUAGE] => en ) ) [ts] => 1747574684 [auth] => Array ( [access_token] => aced2968007823390055ef6500007c9c00000659c32cbd7665e36764954c3f1d2ab7aa [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:24:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => aced2968007823390055ef650000d385302a0642391f37273cdfc5248b85d40da4e41c [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9c6c5168007823390055ef650000d385302a068d5b408665758eae41b7ab152c2d620b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => aced2968007823390055ef650000d385302a0642391f37273cdfc5248b85d40da4e41c [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 9c6c5168007823390055ef650000d385302a068d5b408665758eae41b7ab152c2d620b [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335808 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574684 [auth] => Array ( [access_token] => aced2968007823390055ef6500007c9c00000659c32cbd7665e36764954c3f1d2ab7aa [expires] => 1747578284 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 9c6c5168007823390055ef6500007c9c000006bc27078c3d459c7e82823f831e96c396 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:24:45 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:24:45 Info Current time: 16:24 ------------------------ ------------------------ 2025.05.18 13:24:45 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:24:45 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:24:45 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:25:20 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => cfed2968007823390055ef650000d385302a062bffdfb799f033808905bb30c65aeacd [expires] => 1747578319 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => bf6c5168007823390055ef650000d385302a0640cb652fb51110ce66923cdf39eefbf7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => cfed2968007823390055ef650000d385302a062bffdfb799f033808905bb30c65aeacd [expires] => 1747578319 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => bf6c5168007823390055ef650000d385302a0640cb652fb51110ce66923cdf39eefbf7 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => 2 [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335813 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574719 [auth] => Array ( [access_token] => cfed2968007823390055ef6500007c9c0000064c732ca9f0eeb9d0c311967478d0ab0f [expires] => 1747578319 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => bf6c5168007823390055ef6500007c9c000006cb835fa3d3140dc9c640b2af8448847a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:25:20 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:25:20 Info Current time: 16:25 ------------------------ ------------------------ 2025.05.18 13:25:20 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:25:20 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:25:20 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:25:20 Deal ID Extraction Extracted Deal ID: 213186 ------------------------ ------------------------ 2025.05.18 13:25:20 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213186_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:25:34 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => deed2968007823390055ef650000d385302a0682c2cbe802a35f94a60b107b500d6abd [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ce6c5168007823390055ef650000d385302a06202d2da5cde6a0fefb19c895728bcf7e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => deed2968007823390055ef650000d385302a0682c2cbe802a35f94a60b107b500d6abd [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ce6c5168007823390055ef650000d385302a06202d2da5cde6a0fefb19c895728bcf7e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61937 [LANGUAGE] => en ) ) [ts] => 1747574734 [auth] => Array ( [access_token] => deed2968007823390055ef6500007c9c000006ed7a401474b4e56a370d3b10433ee24f [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:25:34 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => deed2968007823390055ef650000d385302a0682c2cbe802a35f94a60b107b500d6abd [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ce6c5168007823390055ef650000d385302a06202d2da5cde6a0fefb19c895728bcf7e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => deed2968007823390055ef650000d385302a0682c2cbe802a35f94a60b107b500d6abd [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => ce6c5168007823390055ef650000d385302a06202d2da5cde6a0fefb19c895728bcf7e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55636 [MESSAGE] => السلام عليكم [TO_CHAT_ID] => 61937 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55636 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [CHAT_ENTITY_DATA_1] => Y|DEAL|213187|N|N|71556|1747574733|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538371|DEAL|213187 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61937 [MESSAGE_ID] => 1335819 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55636 [NAME] => Albawi • [FIRST_NAME] => Albawi [LAST_NAME] => • [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574734 [auth] => Array ( [access_token] => deed2968007823390055ef6500007c9c000006ed7a401474b4e56a370d3b10433ee24f [expires] => 1747578334 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => ce6c5168007823390055ef6500007c9c000006ae2129f82f7d1dbc8bc840ea610326cf [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:25:35 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:25:35 Info Current time: 16:25 ------------------------ ------------------------ 2025.05.18 13:25:35 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:25:35 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:25:35 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:25:38 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e2ed2968007823390055ef650000d385302a06d2db99585db2bca034eaf0d69c10a296 [expires] => 1747578338 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d26c5168007823390055ef650000d385302a06b02a3ecbf634a3080fd61024e08c210d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e2ed2968007823390055ef650000d385302a06d2db99585db2bca034eaf0d69c10a296 [expires] => 1747578338 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d26c5168007823390055ef650000d385302a06b02a3ecbf634a3080fd61024e08c210d [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => 4 [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335821 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574738 [auth] => Array ( [access_token] => e2ed2968007823390055ef6500007c9c000006d2a91eed4e971f2b9e0018319a87bb02 [expires] => 1747578338 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d26c5168007823390055ef6500007c9c000006ce560c3a0c35531a7d9baac4c10af4fb [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:25:39 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:25:39 Info Current time: 16:25 ------------------------ ------------------------ 2025.05.18 13:25:39 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:25:39 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:25:39 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:25:39 Deal ID Extraction Extracted Deal ID: 213186 ------------------------ ------------------------ 2025.05.18 13:25:39 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213186_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:25:51 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => eeed2968007823390055ef650000d385302a064a151d22366f2121e67bf7b96bffe9da [expires] => 1747578350 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de6c5168007823390055ef650000d385302a06a4bff888f3de3d6b1663aa1ee0db189e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => eeed2968007823390055ef650000d385302a064a151d22366f2121e67bf7b96bffe9da [expires] => 1747578350 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => de6c5168007823390055ef650000d385302a06a4bff888f3de3d6b1663aa1ee0db189e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55636 [MESSAGE] => 1 [TO_CHAT_ID] => 61937 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55636 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [CHAT_ENTITY_DATA_1] => Y|DEAL|213187|N|N|71556|1747574733|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538371|DEAL|213187 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61937 [MESSAGE_ID] => 1335823 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55636 [NAME] => Albawi • [FIRST_NAME] => Albawi [LAST_NAME] => • [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574750 [auth] => Array ( [access_token] => eeed2968007823390055ef6500007c9c000006ef00b835757a9da78941b778582268f0 [expires] => 1747578350 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => de6c5168007823390055ef6500007c9c000006601f70ecab31980365e8d351281af86d [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:25:51 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:25:51 Info Current time: 16:25 ------------------------ ------------------------ 2025.05.18 13:25:51 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:25:51 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:25:51 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:25:51 Deal ID Extraction Extracted Deal ID: 213187 ------------------------ ------------------------ 2025.05.18 13:25:51 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213187_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:00 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => f7ed2968007823390055ef650000d385302a06c0549939b091a9a009f9bf0e1087023f [expires] => 1747578359 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e76c5168007823390055ef650000d385302a0677b3c15128ac2b4f4259ff8ecef54408 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => f7ed2968007823390055ef650000d385302a06c0549939b091a9a009f9bf0e1087023f [expires] => 1747578359 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => e76c5168007823390055ef650000d385302a0677b3c15128ac2b4f4259ff8ecef54408 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55636 [MESSAGE] => 1 [TO_CHAT_ID] => 61937 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55636 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [CHAT_ENTITY_DATA_1] => Y|DEAL|213187|N|N|71556|1747574733|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538371|DEAL|213187 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 1 [TO_USER_ID] => 0 [DIALOG_ID] => chat61937 [MESSAGE_ID] => 1335825 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55636 [NAME] => Albawi • [FIRST_NAME] => Albawi [LAST_NAME] => • [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574759 [auth] => Array ( [access_token] => f7ed2968007823390055ef6500007c9c000006cbc43fffcaacd855ce8da9111b369802 [expires] => 1747578359 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => e76c5168007823390055ef6500007c9c000006649e1a564697f33d17b87dd4d306325f [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:00 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:00 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:00 Deal ID Extraction Extracted Deal ID: 213187 ------------------------ ------------------------ 2025.05.18 13:26:00 Field Code Save Saved Field Code: UF_CRM_65C1E38A6A372 to /opt/bitnami/apache/htdocs/cache/213187_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:11 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 02ee2968007823390055ef650000d385302a069d13e0a3e04c2487c500a75a359e0873 [expires] => 1747578370 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f26c5168007823390055ef650000d385302a06ce9ce4164151168c5689f6e074621528 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 02ee2968007823390055ef650000d385302a069d13e0a3e04c2487c500a75a359e0873 [expires] => 1747578370 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f26c5168007823390055ef650000d385302a06ce9ce4164151168c5689f6e074621528 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55636 [MESSAGE] => Front: 275/35R19, Rear: 285/30R20 [TO_CHAT_ID] => 61937 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55636 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [CHAT_ENTITY_DATA_1] => Y|DEAL|213187|N|N|71556|1747574733|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538371|DEAL|213187 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Front: 275/35R19, Rear: 285/30R20 [TO_USER_ID] => 0 [DIALOG_ID] => chat61937 [MESSAGE_ID] => 1335827 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55636 [NAME] => Albawi • [FIRST_NAME] => Albawi [LAST_NAME] => • [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574770 [auth] => Array ( [access_token] => 03ee2968007823390055ef6500007c9c000006a34de39b8cc734c0612dd18215c6ac73 [expires] => 1747578371 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f36c5168007823390055ef6500007c9c0000060e1a5ee7b404702b3c4629e2112c3ed7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:11 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:11 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:11 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:11 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:11 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:11 Deal ID Extraction Extracted Deal ID: 213187 ------------------------ ------------------------ 2025.05.18 13:26:11 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213187_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:11 Function Input Parameters Array ( [dealId] => 213187 [response] => Front: 275/35R19, Rear: 285/30R20 [fieldCode] => UF_CRM_65C1E38A6A372 [auth] => Array ( [access_token] => 03ee2968007823390055ef6500007c9c000006a34de39b8cc734c0612dd18215c6ac73 [expires] => 1747578371 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f36c5168007823390055ef6500007c9c0000060e1a5ee7b404702b3c4629e2112c3ed7 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:11 Deal Update Parameters Array ( [id] => 213187 [fields] => Array ( [UF_CRM_65C1E38A6A372] => Front: 275/35R19, Rear: 285/30R20 ) ) ------------------------ ------------------------ 2025.05.18 13:26:12 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574771.9735 [finish] => 1747574772.1543 [duration] => 0.18081784248352 [processing] => 0.15095615386963 [date_start] => 2025-05-18T13:26:11+00:00 [date_finish] => 2025-05-18T13:26:12+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:26:12 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574772.2728 [finish] => 1747574772.4912 [duration] => 0.21841907501221 [processing] => 0.18407011032104 [date_start] => 2025-05-18T13:26:12+00:00 [date_finish] => 2025-05-18T13:26:12+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:26:14 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 05ee2968007823390055ef650000d385302a064acf8ed46d8ace330776b5030951234a [expires] => 1747578373 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f56c5168007823390055ef650000d385302a06d0433b391cda8864e43d3724fdc22969 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 05ee2968007823390055ef650000d385302a064acf8ed46d8ace330776b5030951234a [expires] => 1747578373 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f56c5168007823390055ef650000d385302a06d0433b391cda8864e43d3724fdc22969 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => Ford f150 2016 5.0L [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Ford f150 2016 5.0L [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335830 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574773 [auth] => Array ( [access_token] => 05ee2968007823390055ef6500007c9c00000661f6d45809c068ab2568e00560d9794a [expires] => 1747578373 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f56c5168007823390055ef6500007c9c0000062c554207135427de369d16b0122dc9c0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:14 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:14 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:14 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:14 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:14 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:31 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 17ee2968007823390055ef650000d385302a068aa5d1f446cacb87f61247c35d4abce0 [expires] => 1747578391 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 076d5168007823390055ef650000d385302a069ad8fdd0fc94fc74ba0843b5d732da84 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 17ee2968007823390055ef650000d385302a068aa5d1f446cacb87f61247c35d4abce0 [expires] => 1747578391 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 076d5168007823390055ef650000d385302a069ad8fdd0fc94fc74ba0843b5d732da84 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => 2 [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 2 [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335832 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574791 [auth] => Array ( [access_token] => 17ee2968007823390055ef6500007c9c000006b27c4720666016cfb0f91b4282781024 [expires] => 1747578391 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 076d5168007823390055ef6500007c9c000006f55d9ac89b988974a341bab8cc498031 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:31 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:31 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:31 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:31 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:31 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:31 Deal ID Extraction Extracted Deal ID: 213186 ------------------------ ------------------------ 2025.05.18 13:26:31 Field Code Save Saved Field Code: UF_CRM_1719987892 to /opt/bitnami/apache/htdocs/cache/213186_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:43 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 22ee2968007823390055ef650000d385302a0690e5b5eedb206da137017267fa968bbe [expires] => 1747578402 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 126d5168007823390055ef650000d385302a06953c103721d017951de9f074f887db1e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 22ee2968007823390055ef650000d385302a0690e5b5eedb206da137017267fa968bbe [expires] => 1747578402 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 126d5168007823390055ef650000d385302a06953c103721d017951de9f074f887db1e [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => 4 [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 4 [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335834 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574802 [auth] => Array ( [access_token] => 23ee2968007823390055ef6500007c9c0000060051aad2f1c524268f3ab91e4d273bce [expires] => 1747578403 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 136d5168007823390055ef6500007c9c00000658f59ef5be4dc4702c96b46bc6552a9e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:43 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:43 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:43 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:43 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:43 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:43 Deal ID Extraction Extracted Deal ID: 213186 ------------------------ ------------------------ 2025.05.18 13:26:43 Field Code Save Saved Field Code: UF_CRM_1719989462 to /opt/bitnami/apache/htdocs/cache/213186_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:49 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 29ee2968007823390055ef650000d385302a064bd80fd5a8acc3c249157b80845994da [expires] => 1747578409 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 196d5168007823390055ef650000d385302a06ff4fea24ded134f4eb3c873d4feb7594 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 29ee2968007823390055ef650000d385302a064bd80fd5a8acc3c249157b80845994da [expires] => 1747578409 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 196d5168007823390055ef650000d385302a06ff4fea24ded134f4eb3c873d4feb7594 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55635 [MESSAGE] => Ford f150 2016 5.0L [TO_CHAT_ID] => 61936 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55635 [CHAT_ID] => 61936 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96550562272|55635 [CHAT_ENTITY_DATA_1] => Y|DEAL|213186|N|N|71555|1747574683|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538370|DEAL|213186 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Ford f150 2016 5.0L [TO_USER_ID] => 0 [DIALOG_ID] => chat61936 [MESSAGE_ID] => 1335836 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55635 [NAME] => Bader [FIRST_NAME] => Bader [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747574809 [auth] => Array ( [access_token] => 29ee2968007823390055ef6500007c9c000006d353c5abaabee4d5dbc536928c2bcc0c [expires] => 1747578409 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 196d5168007823390055ef6500007c9c000006c0ef4fac24bab4be5763d6ee1f227a20 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:50 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:26:50 Info Current time: 16:26 ------------------------ ------------------------ 2025.05.18 13:26:50 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:26:50 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:26:50 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 13:26:50 Deal ID Extraction Extracted Deal ID: 213186 ------------------------ ------------------------ 2025.05.18 13:26:50 File Path Field code file path: /opt/bitnami/apache/htdocs/cache/213186_fieldcode.cache ------------------------ ------------------------ 2025.05.18 13:26:50 Function Input Parameters Array ( [dealId] => 213186 [response] => Ford f150 2016 5.0L [fieldCode] => UF_CRM_1719989462 [auth] => Array ( [access_token] => 29ee2968007823390055ef6500007c9c000006d353c5abaabee4d5dbc536928c2bcc0c [expires] => 1747578409 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 196d5168007823390055ef6500007c9c000006c0ef4fac24bab4be5763d6ee1f227a20 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:26:50 Deal Update Parameters Array ( [id] => 213186 [fields] => Array ( [UF_CRM_1719989462] => Ford f150 2016 5.0L ) ) ------------------------ ------------------------ 2025.05.18 13:26:50 Update Deal Response Array ( [result] => 1 [time] => Array ( [start] => 1747574810.5539 [finish] => 1747574810.7422 [duration] => 0.1883659362793 [processing] => 0.15062117576599 [date_start] => 2025-05-18T13:26:50+00:00 [date_finish] => 2025-05-18T13:26:50+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:26:51 Transfer Response Array ( [result] => 1 [time] => Array ( [start] => 1747574810.8635 [finish] => 1747574811.0909 [duration] => 0.22732281684875 [processing] => 0.18886113166809 [date_start] => 2025-05-18T13:26:50+00:00 [date_finish] => 2025-05-18T13:26:51+00:00 ) ) ------------------------ ------------------------ 2025.05.18 13:39:57 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3bf12968007823390055ef650000d385302a06bed6e70d21cdec33671ddfb707b98367 [expires] => 1747579195 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2b705168007823390055ef650000d385302a06e7bc4f83e08191f525686e0a58edfd7f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3bf12968007823390055ef650000d385302a06bed6e70d21cdec33671ddfb707b98367 [expires] => 1747579195 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2b705168007823390055ef650000d385302a06e7bc4f83e08191f525686e0a58edfd7f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61925 [LANGUAGE] => en ) ) [ts] => 1747575595 [auth] => Array ( [access_token] => 3cf12968007823390055ef6500007c9c000006b1b7fdb7da22f7160c7a1e3950590a1e [expires] => 1747579196 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:39:57 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 3cf12968007823390055ef650000d385302a06693677224f1c7d1e0c5ce56d363af6b3 [expires] => 1747579196 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2c705168007823390055ef650000d385302a06e28723d132c0cb2f9397393c748d7757 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 3cf12968007823390055ef650000d385302a06693677224f1c7d1e0c5ce56d363af6b3 [expires] => 1747579196 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 2c705168007823390055ef650000d385302a06e28723d132c0cb2f9397393c748d7757 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55624 [MESSAGE] => ------------------------------------------------------ تاخذ اربعه هانكوك توصيل وتركيب مجانا مع كرت بانزين بقيمة 15 دينار [01:33 pm]------------------------------------------------------ هنكوك بكم [TO_CHAT_ID] => 61925 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55624 [CHAT_ID] => 61925 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599669230|55624 [CHAT_ENTITY_DATA_1] => Y|DEAL|213194|N|N|71557|1747575595|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|458861|DEAL|213194 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ------------------------------------------------------ تاخذ اربعه هانكوك توصيل وتركيب مجانا مع كرت بانزين بقيمة 15 دينار [01:33 pm]------------------------------------------------------ هنكوك بكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61925 [MESSAGE_ID] => 1335934 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55624 [NAME] => S [FIRST_NAME] => S [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747575596 [auth] => Array ( [access_token] => 3cf12968007823390055ef6500007c9c000006b1b7fdb7da22f7160c7a1e3950590a1e [expires] => 1747579196 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 2c705168007823390055ef6500007c9c000006dbe3131ca98a3adb68a38413d17d8e96 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 13:39:57 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 13:39:57 Info Current time: 16:39 ------------------------ ------------------------ 2025.05.18 13:39:57 Info Is day off: No ------------------------ ------------------------ 2025.05.18 13:39:57 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 13:39:57 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 14:00:37 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 14f62968007823390055ef650000d385302a06a769f6f594099ea281fca8e52f5568a1 [expires] => 1747580436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04755168007823390055ef650000d385302a067b263a91fe74cc3beaabef62af15c026 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 14f62968007823390055ef650000d385302a06a769f6f594099ea281fca8e52f5568a1 [expires] => 1747580436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04755168007823390055ef650000d385302a067b263a91fe74cc3beaabef62af15c026 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61899 [LANGUAGE] => en ) ) [ts] => 1747576836 [auth] => Array ( [access_token] => 15f62968007823390055ef6500007c9c000006a37308f14474692004667657624ddb94 [expires] => 1747580437 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 14:00:37 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 14f62968007823390055ef650000d385302a06a769f6f594099ea281fca8e52f5568a1 [expires] => 1747580436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04755168007823390055ef650000d385302a067b263a91fe74cc3beaabef62af15c026 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 14f62968007823390055ef650000d385302a06a769f6f594099ea281fca8e52f5568a1 [expires] => 1747580436 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04755168007823390055ef650000d385302a067b263a91fe74cc3beaabef62af15c026 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55605 [MESSAGE] => Ok [TO_CHAT_ID] => 61899 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55605 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [CHAT_ENTITY_DATA_1] => Y|DEAL|213197|N|N|71558|1747576835|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538318|DEAL|213197 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Ok [TO_USER_ID] => 0 [DIALOG_ID] => chat61899 [MESSAGE_ID] => 1336037 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55605 [NAME] => asif [FIRST_NAME] => asif [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747576836 [auth] => Array ( [access_token] => 15f62968007823390055ef6500007c9c000006a37308f14474692004667657624ddb94 [expires] => 1747580437 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 05755168007823390055ef6500007c9c0000064f09e364bf3ec7a5975d91515b19c32e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 14:00:37 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 15f62968007823390055ef650000d385302a06c1d7f086c5c24068ab6dae14331cc039 [expires] => 1747580437 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 05755168007823390055ef650000d385302a062c0425dd34b23e65eeba765a1de57ab4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 15f62968007823390055ef650000d385302a06c1d7f086c5c24068ab6dae14331cc039 [expires] => 1747580437 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 05755168007823390055ef650000d385302a062c0425dd34b23e65eeba765a1de57ab4 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55605 [MESSAGE] => ❤️ [TO_CHAT_ID] => 61899 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55605 [CHAT_ID] => 61899 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|923342539805|55605 [CHAT_ENTITY_DATA_1] => Y|DEAL|213197|N|N|71558|1747576835|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538318|DEAL|213197 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ❤️ [TO_USER_ID] => 0 [DIALOG_ID] => chat61899 [MESSAGE_ID] => 1336038 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55605 [NAME] => asif [FIRST_NAME] => asif [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747576837 [auth] => Array ( [access_token] => 15f62968007823390055ef6500007c9c000006a37308f14474692004667657624ddb94 [expires] => 1747580437 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 05755168007823390055ef6500007c9c0000064f09e364bf3ec7a5975d91515b19c32e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 14:00:38 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 14:00:38 Info Current time: 17:00 ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is day off: No ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 14:00:38 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 14:00:38 Info Current time: 17:00 ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is day off: No ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 14:00:38 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 14:08:25 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e9f72968007823390055ef650000d385302a06208a3d3b15794b704adcd31517f7dc74 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9765168007823390055ef650000d385302a06c604de331240ceb3b41642e6ccabdfe1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e9f72968007823390055ef650000d385302a06208a3d3b15794b704adcd31517f7dc74 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9765168007823390055ef650000d385302a06c604de331240ceb3b41642e6ccabdfe1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61937 [LANGUAGE] => en ) ) [ts] => 1747577305 [auth] => Array ( [access_token] => e9f72968007823390055ef6500007c9c000006e004c384311242c7fa45c4ff23f00646 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 14:08:25 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => e9f72968007823390055ef650000d385302a06208a3d3b15794b704adcd31517f7dc74 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9765168007823390055ef650000d385302a06c604de331240ceb3b41642e6ccabdfe1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => e9f72968007823390055ef650000d385302a06208a3d3b15794b704adcd31517f7dc74 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => d9765168007823390055ef650000d385302a06c604de331240ceb3b41642e6ccabdfe1 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55636 [MESSAGE] => متوفر ميشلن؟ [TO_CHAT_ID] => 61937 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55636 [CHAT_ID] => 61937 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569687100|55636 [CHAT_ENTITY_DATA_1] => Y|DEAL|213200|N|N|71559|1747577304|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538371|DEAL|213200 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => متوفر ميشلن؟ [TO_USER_ID] => 0 [DIALOG_ID] => chat61937 [MESSAGE_ID] => 1336089 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55636 [NAME] => Albawi • [FIRST_NAME] => Albawi [LAST_NAME] => • [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747577305 [auth] => Array ( [access_token] => e9f72968007823390055ef6500007c9c000006e004c384311242c7fa45c4ff23f00646 [expires] => 1747580905 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => d9765168007823390055ef6500007c9c0000062b5d180eceff9b20daa69369bdd3dd34 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 14:08:26 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 14:08:26 Info Current time: 17:08 ------------------------ ------------------------ 2025.05.18 14:08:26 Info Is day off: No ------------------------ ------------------------ 2025.05.18 14:08:26 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 14:08:26 Info Is outside working hours: No ------------------------ ------------------------ 2025.05.18 15:00:18 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 12042a68007823390055ef650000d385302a06c8ce7244f71734584a25706fb8e2697a [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 02835168007823390055ef650000d385302a06f56d53b6e2a9bc8189b45e25d0946069 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 12042a68007823390055ef650000d385302a06c8ce7244f71734584a25706fb8e2697a [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 02835168007823390055ef650000d385302a06f56d53b6e2a9bc8189b45e25d0946069 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55638 [MESSAGE] => سلام عليكم [TO_CHAT_ID] => 61939 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55638 [CHAT_ID] => 61939 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599481640|55638 [CHAT_ENTITY_DATA_1] => Y|DEAL|213207|N|N|71561|1747580417|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538377|DEAL|213207 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => سلام عليكم [TO_USER_ID] => 0 [DIALOG_ID] => chat61939 [MESSAGE_ID] => 1336130 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55638 [NAME] => احمد الميموني. [FIRST_NAME] => احمد [LAST_NAME] => الميموني. [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747580418 [auth] => Array ( [access_token] => 12042a68007823390055ef6500007c9c0000067de3ae335a5fdc39b066184bc9598404 [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 02835168007823390055ef6500007c9c00000695ac0bd74c4d5624ba45a7cebeab58f9 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:00:18 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 12042a68007823390055ef650000d385302a06c8ce7244f71734584a25706fb8e2697a [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 02835168007823390055ef650000d385302a06f56d53b6e2a9bc8189b45e25d0946069 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 12042a68007823390055ef650000d385302a06c8ce7244f71734584a25706fb8e2697a [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 02835168007823390055ef650000d385302a06f56d53b6e2a9bc8189b45e25d0946069 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61939 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599481640|55638 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61939 [LANGUAGE] => en ) ) [ts] => 1747580418 [auth] => Array ( [access_token] => 12042a68007823390055ef6500007c9c0000067de3ae335a5fdc39b066184bc9598404 [expires] => 1747584018 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:00:19 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:00:19 Info Current time: 18:00 ------------------------ ------------------------ 2025.05.18 15:00:19 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:00:19 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:00:19 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:00:19 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:00:19 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:00:20 Info Closed message response: {"result":1336132,"time":{"start":1747580420.085444,"finish":1747580420.215602,"duration":0.1301579475402832,"processing":0.09083890914916992,"date_start":"2025-05-18T15:00:20+00:00","date_finish":"2025-05-18T15:00:20+00:00"}} ------------------------ ------------------------ 2025.05.18 15:00:20 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:00:53 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 35042a68007823390055ef650000d385302a06ebb6296eda59c178bb2c1adc12763ba9 [expires] => 1747584053 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25835168007823390055ef650000d385302a0625ef7ab039b6ef2ed0e5b25460897740 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 35042a68007823390055ef650000d385302a06ebb6296eda59c178bb2c1adc12763ba9 [expires] => 1747584053 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 25835168007823390055ef650000d385302a0625ef7ab039b6ef2ed0e5b25460897740 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55638 [MESSAGE] => عندي وانيت سيرا sle موديل ٢٠٢٣ [TO_CHAT_ID] => 61939 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55638 [CHAT_ID] => 61939 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599481640|55638 [CHAT_ENTITY_DATA_1] => Y|DEAL|213207|N|N|71561|1747580417|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538377|DEAL|213207 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => عندي وانيت سيرا sle موديل ٢٠٢٣ [TO_USER_ID] => 0 [DIALOG_ID] => chat61939 [MESSAGE_ID] => 1336133 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55638 [NAME] => احمد الميموني. [FIRST_NAME] => احمد [LAST_NAME] => الميموني. [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747580453 [auth] => Array ( [access_token] => 35042a68007823390055ef6500007c9c0000068d1199d2d3884dd6a0ebab0de2ee0e8f [expires] => 1747584053 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 25835168007823390055ef6500007c9c000006b9bf20b41402dfddb55d14b83fe73c75 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:00:53 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:00:53 Info Current time: 18:00 ------------------------ ------------------------ 2025.05.18 15:00:53 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:00:53 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:00:53 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:00:53 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:00:53 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:00:54 Info Closed message response: {"result":1336135,"time":{"start":1747580454.283433,"finish":1747580454.389123,"duration":0.10569000244140625,"processing":0.07246685028076172,"date_start":"2025-05-18T15:00:54+00:00","date_finish":"2025-05-18T15:00:54+00:00"}} ------------------------ ------------------------ 2025.05.18 15:00:54 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:01:12 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 47042a68007823390055ef650000d385302a06e519d1e9efc87ccc38b9ba9308f3de89 [expires] => 1747584071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37835168007823390055ef650000d385302a0609e3090ff33c5f409f459e212b3e17f2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 47042a68007823390055ef650000d385302a06e519d1e9efc87ccc38b9ba9308f3de89 [expires] => 1747584071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37835168007823390055ef650000d385302a0609e3090ff33c5f409f459e212b3e17f2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55638 [MESSAGE] => بغيت تواير good year [TO_CHAT_ID] => 61939 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55638 [CHAT_ID] => 61939 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96599481640|55638 [CHAT_ENTITY_DATA_1] => Y|DEAL|213207|N|N|71561|1747580417|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538377|DEAL|213207 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => بغيت تواير good year [TO_USER_ID] => 0 [DIALOG_ID] => chat61939 [MESSAGE_ID] => 1336136 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55638 [NAME] => احمد الميموني. [FIRST_NAME] => احمد [LAST_NAME] => الميموني. [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747580471 [auth] => Array ( [access_token] => 47042a68007823390055ef6500007c9c000006b95bce634b4040bd86dc5e381ebbf8ec [expires] => 1747584071 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 37835168007823390055ef6500007c9c000006229291a03c5ae49fb5a5fb03ad5b8f9e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:01:12 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:01:12 Info Current time: 18:01 ------------------------ ------------------------ 2025.05.18 15:01:12 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:01:12 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:01:12 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:01:12 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:01:12 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:01:13 Info Closed message response: {"result":1336139,"time":{"start":1747580472.942684,"finish":1747580473.040584,"duration":0.0979001522064209,"processing":0.06792593002319336,"date_start":"2025-05-18T15:01:12+00:00","date_finish":"2025-05-18T15:01:13+00:00"}} ------------------------ ------------------------ 2025.05.18 15:01:13 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:11:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bf062a68007823390055ef650000d385302a06ecc2ce75c06022a6dc2dd5061f98b441 [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af855168007823390055ef650000d385302a06adc505011f3114ced16641447159c4d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bf062a68007823390055ef650000d385302a06ecc2ce75c06022a6dc2dd5061f98b441 [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af855168007823390055ef650000d385302a06adc505011f3114ced16641447159c4d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => ------------------------------------------------------ https://maps.app.goo.gl/4EbMPTeCiEkwQDVx8 [01:36 pm] Please review the sponsorship department.------------------------------------------------------ I came here [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213208|N|N|71562|1747581102|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213208 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => ------------------------------------------------------ https://maps.app.goo.gl/4EbMPTeCiEkwQDVx8 [01:36 pm] Please review the sponsorship department.------------------------------------------------------ I came here [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1336146 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747581103 [auth] => Array ( [access_token] => bf062a68007823390055ef6500007c9c0000067f373a5160fcad59c96df1868204d32c [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => af855168007823390055ef6500007c9c0000065a44828b946fd90c4ce56725e2aa82ec [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:11:44 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => bf062a68007823390055ef650000d385302a06ecc2ce75c06022a6dc2dd5061f98b441 [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af855168007823390055ef650000d385302a06adc505011f3114ced16641447159c4d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => bf062a68007823390055ef650000d385302a06ecc2ce75c06022a6dc2dd5061f98b441 [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => af855168007823390055ef650000d385302a06adc505011f3114ced16641447159c4d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61894 [LANGUAGE] => en ) ) [ts] => 1747581103 [auth] => Array ( [access_token] => bf062a68007823390055ef6500007c9c0000067f373a5160fcad59c96df1868204d32c [expires] => 1747584703 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:11:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:11:44 Info Current time: 18:11 ------------------------ ------------------------ 2025.05.18 15:11:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:11:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:11:44 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:11:44 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:11:44 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:11:44 Info Closed message response: {"result":1336149,"time":{"start":1747581104.868234,"finish":1747581104.968165,"duration":0.09993100166320801,"processing":0.07131505012512207,"date_start":"2025-05-18T15:11:44+00:00","date_finish":"2025-05-18T15:11:44+00:00"}} ------------------------ ------------------------ 2025.05.18 15:11:44 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:11:52 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c8062a68007823390055ef650000d385302a06faef5bebb0f5954fb6758f3b1c4b5fc5 [expires] => 1747584712 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b8855168007823390055ef650000d385302a0621782dd408b7dcd8a2f2c91a74471473 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c8062a68007823390055ef650000d385302a06faef5bebb0f5954fb6758f3b1c4b5fc5 [expires] => 1747584712 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b8855168007823390055ef650000d385302a0621782dd408b7dcd8a2f2c91a74471473 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => And they are saying we are not responsible [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213208|N|N|71562|1747581102|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213208 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => And they are saying we are not responsible [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1336150 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747581112 [auth] => Array ( [access_token] => c8062a68007823390055ef6500007c9c0000060035d53a2f1704f1c491963f2cf22f86 [expires] => 1747584712 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b8855168007823390055ef6500007c9c0000064d1115a327d78a656dabd72649aa3264 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:11:53 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:11:53 Info Current time: 18:11 ------------------------ ------------------------ 2025.05.18 15:11:53 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:11:53 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:11:53 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:11:53 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:11:53 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:11:53 Info Closed message response: {"result":1336152,"time":{"start":1747581113.481163,"finish":1747581113.578694,"duration":0.09753108024597168,"processing":0.06984615325927734,"date_start":"2025-05-18T15:11:53+00:00","date_finish":"2025-05-18T15:11:53+00:00"}} ------------------------ ------------------------ 2025.05.18 15:11:53 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:12:03 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => d3062a68007823390055ef650000d385302a06bc56dde2daeeac94fc1353ba9e25fd70 [expires] => 1747584723 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c3855168007823390055ef650000d385302a06b66738623ded006fe1a09b36b13439b2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => d3062a68007823390055ef650000d385302a06bc56dde2daeeac94fc1353ba9e25fd70 [expires] => 1747584723 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => c3855168007823390055ef650000d385302a06b66738623ded006fe1a09b36b13439b2 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55601 [MESSAGE] => He is different contractor [TO_CHAT_ID] => 61894 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55601 [CHAT_ID] => 61894 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96569003327|55601 [CHAT_ENTITY_DATA_1] => Y|DEAL|213208|N|N|71562|1747581102|16|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|305256|DEAL|213208 [CHAT_ENTITY_DATA_3] => N [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => He is different contractor [TO_USER_ID] => 0 [DIALOG_ID] => chat61894 [MESSAGE_ID] => 1336154 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55601 [NAME] => Ravi [FIRST_NAME] => Ravi [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747581123 [auth] => Array ( [access_token] => d3062a68007823390055ef6500007c9c000006aa23edb658a80600dfc0b69e46ab5d48 [expires] => 1747584723 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => c3855168007823390055ef6500007c9c000006ebffc9804d86edd24c4dcb33190db196 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:12:03 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:12:03 Info Current time: 18:12 ------------------------ ------------------------ 2025.05.18 15:12:03 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:12:03 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:12:03 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:12:03 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:12:03 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:12:04 Info Closed message response: {"result":1336156,"time":{"start":1747581124.295259,"finish":1747581124.395118,"duration":0.09985899925231934,"processing":0.07400703430175781,"date_start":"2025-05-18T15:12:04+00:00","date_finish":"2025-05-18T15:12:04+00:00"}} ------------------------ ------------------------ 2025.05.18 15:12:04 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:53:21 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 80102a68007823390055ef650000d385302a067504bf0851eec600d0105ad8dc5d4d5c [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 708f5168007823390055ef650000d385302a06ee5d7df2785c30057ce545524bd728f9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 80102a68007823390055ef650000d385302a067504bf0851eec600d0105ad8dc5d4d5c [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 708f5168007823390055ef650000d385302a06ee5d7df2785c30057ce545524bd728f9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55640 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61942 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55640 [CHAT_ID] => 61942 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597911003|55640 [CHAT_ENTITY_DATA_1] => Y|DEAL|213218|N|N|71563|1747583599|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538381|DEAL|213218 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61942 [MESSAGE_ID] => 1336166 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55640 [NAME] => @ayado [FIRST_NAME] => @ayado [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747583600 [auth] => Array ( [access_token] => 80102a68007823390055ef6500007c9c000006a73e83755f685da010f0663e9d8dbf39 [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 708f5168007823390055ef6500007c9c0000066f32ec34d80863703e10f0482c3ca98a [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:53:21 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 80102a68007823390055ef650000d385302a067504bf0851eec600d0105ad8dc5d4d5c [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 708f5168007823390055ef650000d385302a06ee5d7df2785c30057ce545524bd728f9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 80102a68007823390055ef650000d385302a067504bf0851eec600d0105ad8dc5d4d5c [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 708f5168007823390055ef650000d385302a06ee5d7df2785c30057ce545524bd728f9 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61942 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597911003|55640 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61942 [LANGUAGE] => en ) ) [ts] => 1747583600 [auth] => Array ( [access_token] => 80102a68007823390055ef6500007c9c000006a73e83755f685da010f0663e9d8dbf39 [expires] => 1747587200 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:53:21 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:53:21 Info Current time: 18:53 ------------------------ ------------------------ 2025.05.18 15:53:21 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:53:21 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:53:21 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:53:21 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:53:21 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:53:22 Info Closed message response: {"result":1336169,"time":{"start":1747583602.109252,"finish":1747583602.213935,"duration":0.10468292236328125,"processing":0.07241106033325195,"date_start":"2025-05-18T15:53:22+00:00","date_finish":"2025-05-18T15:53:22+00:00"}} ------------------------ ------------------------ 2025.05.18 15:53:22 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:53:55 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a3102a68007823390055ef650000d385302a069a78cbbea8d1f1d278f53e3c5eb95b32 [expires] => 1747587235 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 938f5168007823390055ef650000d385302a06a4e89d44c9ea08db2bcd0a08c5606083 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a3102a68007823390055ef650000d385302a069a78cbbea8d1f1d278f53e3c5eb95b32 [expires] => 1747587235 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 938f5168007823390055ef650000d385302a06a4e89d44c9ea08db2bcd0a08c5606083 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55640 [MESSAGE] => Please call me [TO_CHAT_ID] => 61942 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55640 [CHAT_ID] => 61942 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597911003|55640 [CHAT_ENTITY_DATA_1] => Y|DEAL|213218|N|N|71563|1747583599|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538381|DEAL|213218 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Please call me [TO_USER_ID] => 0 [DIALOG_ID] => chat61942 [MESSAGE_ID] => 1336170 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55640 [NAME] => @ayado [FIRST_NAME] => @ayado [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747583635 [auth] => Array ( [access_token] => a3102a68007823390055ef6500007c9c000006493fe62606521fb0a96f289d64d53ea5 [expires] => 1747587235 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 938f5168007823390055ef6500007c9c00000688416726571b143084a7430847507e78 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 15:53:56 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 15:53:56 Info Current time: 18:53 ------------------------ ------------------------ 2025.05.18 15:53:56 Info Is day off: No ------------------------ ------------------------ 2025.05.18 15:53:56 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 15:53:56 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 15:53:56 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 15:53:56 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 15:53:56 Info Closed message response: {"result":1336172,"time":{"start":1747583636.51263,"finish":1747583636.626598,"duration":0.1139678955078125,"processing":0.08583307266235352,"date_start":"2025-05-18T15:53:56+00:00","date_finish":"2025-05-18T15:53:56+00:00"}} ------------------------ ------------------------ 2025.05.18 15:53:56 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 16:28:39 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c6182a68007823390055ef650000d385302a064082b73eda032d7530ecdb13593a8ccf [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6975168007823390055ef650000d385302a068497f98a47b28ff2307ae44ac4c0b882 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c6182a68007823390055ef650000d385302a064082b73eda032d7530ecdb13593a8ccf [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6975168007823390055ef650000d385302a068497f98a47b28ff2307ae44ac4c0b882 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55642 [MESSAGE] => How can we help you related to Tire, Spare parts, Auto Glass, Battery etc? [TO_CHAT_ID] => 61945 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55642 [CHAT_ID] => 61945 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96595524410|55642 [CHAT_ENTITY_DATA_1] => Y|DEAL|213224|N|N|71565|1747585717|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|13450|DEAL|213224 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => How can we help you related to Tire, Spare parts, Auto Glass, Battery etc? [TO_USER_ID] => 0 [DIALOG_ID] => chat61945 [MESSAGE_ID] => 1336192 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55642 [NAME] => Abdulrahman Reyadh [FIRST_NAME] => Abdulrahman [LAST_NAME] => Reyadh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747585718 [auth] => Array ( [access_token] => c6182a68007823390055ef6500007c9c0000062a52ceb5b61ddaeb30d677bee6c7a4ad [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => b6975168007823390055ef6500007c9c000006cb6aeacfabf3c694b4ef0c70ffd32ab0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 16:28:39 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => c6182a68007823390055ef650000d385302a064082b73eda032d7530ecdb13593a8ccf [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6975168007823390055ef650000d385302a068497f98a47b28ff2307ae44ac4c0b882 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => c6182a68007823390055ef650000d385302a064082b73eda032d7530ecdb13593a8ccf [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => b6975168007823390055ef650000d385302a068497f98a47b28ff2307ae44ac4c0b882 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61945 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96595524410|55642 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61945 [LANGUAGE] => en ) ) [ts] => 1747585718 [auth] => Array ( [access_token] => c6182a68007823390055ef6500007c9c0000062a52ceb5b61ddaeb30d677bee6c7a4ad [expires] => 1747589318 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 16:28:39 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 16:28:39 Info Current time: 19:28 ------------------------ ------------------------ 2025.05.18 16:28:39 Info Is day off: No ------------------------ ------------------------ 2025.05.18 16:28:39 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 16:28:39 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 16:28:39 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 16:28:39 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 16:28:40 Info Closed message response: {"result":1336195,"time":{"start":1747585720.052397,"finish":1747585720.155793,"duration":0.10339593887329102,"processing":0.0709378719329834,"date_start":"2025-05-18T16:28:40+00:00","date_finish":"2025-05-18T16:28:40+00:00"}} ------------------------ ------------------------ 2025.05.18 16:28:40 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 16:28:44 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => cb182a68007823390055ef650000d385302a0693e2640ec6291277e83dc0dc0952bdfd [expires] => 1747589323 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => bb975168007823390055ef650000d385302a06b6391ae103935259e94f64c84d8bf2d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => cb182a68007823390055ef650000d385302a0693e2640ec6291277e83dc0dc0952bdfd [expires] => 1747589323 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => bb975168007823390055ef650000d385302a06b6391ae103935259e94f64c84d8bf2d0 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55642 [MESSAGE] => 215/65R17 [TO_CHAT_ID] => 61945 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55642 [CHAT_ID] => 61945 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96595524410|55642 [CHAT_ENTITY_DATA_1] => Y|DEAL|213224|N|N|71565|1747585717|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|13450|DEAL|213224 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => 215/65R17 [TO_USER_ID] => 0 [DIALOG_ID] => chat61945 [MESSAGE_ID] => 1336196 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55642 [NAME] => Abdulrahman Reyadh [FIRST_NAME] => Abdulrahman [LAST_NAME] => Reyadh [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747585723 [auth] => Array ( [access_token] => cb182a68007823390055ef6500007c9c00000687ecc6e19088a7e2da2f637ce3e5024b [expires] => 1747589323 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => bb975168007823390055ef6500007c9c000006c0a00ddbd45d86aa98e606aa80a7075e [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 16:28:44 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 16:28:44 Info Current time: 19:28 ------------------------ ------------------------ 2025.05.18 16:28:44 Info Is day off: No ------------------------ ------------------------ 2025.05.18 16:28:44 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 16:28:44 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 16:28:44 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 16:28:44 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 16:28:44 Info Closed message response: {"result":1336198,"time":{"start":1747585724.627189,"finish":1747585724.734765,"duration":0.10757613182067871,"processing":0.07332992553710938,"date_start":"2025-05-18T16:28:44+00:00","date_finish":"2025-05-18T16:28:44+00:00"}} ------------------------ ------------------------ 2025.05.18 16:28:44 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 17:05:22 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 61212a68007823390055ef650000d385302a061789b507745eccb4b36a689b81f4b3a4 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 51a05168007823390055ef650000d385302a06fca78921575a7511d2b7869976eebb36 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 61212a68007823390055ef650000d385302a061789b507745eccb4b36a689b81f4b3a4 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 51a05168007823390055ef650000d385302a06fca78921575a7511d2b7869976eebb36 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61949 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590001791|55646 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61949 [LANGUAGE] => en ) ) [ts] => 1747587921 [auth] => Array ( [access_token] => 61212a68007823390055ef6500007c9c000006dd76af73901b117a2b3043a3449bd418 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 17:05:22 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 61212a68007823390055ef650000d385302a061789b507745eccb4b36a689b81f4b3a4 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 51a05168007823390055ef650000d385302a06fca78921575a7511d2b7869976eebb36 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 61212a68007823390055ef650000d385302a061789b507745eccb4b36a689b81f4b3a4 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 51a05168007823390055ef650000d385302a06fca78921575a7511d2b7869976eebb36 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55646 [MESSAGE] => السلام عليكم في عروض على التواير؟ جم أسعاركم حق جيب جاقوار تويو او هانكوك [TO_CHAT_ID] => 61949 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55646 [CHAT_ID] => 61949 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96590001791|55646 [CHAT_ENTITY_DATA_1] => Y|DEAL|213229|N|N|71567|1747587920|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538387|DEAL|213229 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => السلام عليكم في عروض على التواير؟ جم أسعاركم حق جيب جاقوار تويو او هانكوك [TO_USER_ID] => 0 [DIALOG_ID] => chat61949 [MESSAGE_ID] => 1336215 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55646 [NAME] => Batoul H. [FIRST_NAME] => Batoul [LAST_NAME] => H. [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747587921 [auth] => Array ( [access_token] => 61212a68007823390055ef6500007c9c000006dd76af73901b117a2b3043a3449bd418 [expires] => 1747591521 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 51a05168007823390055ef6500007c9c000006c342f418e411f0973f64fb8b32e1fd3b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 17:05:22 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 17:05:22 Info Current time: 20:05 ------------------------ ------------------------ 2025.05.18 17:05:22 Info Is day off: No ------------------------ ------------------------ 2025.05.18 17:05:22 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 17:05:22 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 17:05:22 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 17:05:22 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 17:05:23 Info Closed message response: {"result":1336218,"time":{"start":1747587923.193086,"finish":1747587923.297133,"duration":0.10404706001281738,"processing":0.07207798957824707,"date_start":"2025-05-18T17:05:23+00:00","date_finish":"2025-05-18T17:05:23+00:00"}} ------------------------ ------------------------ 2025.05.18 17:05:23 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 17:27:46 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a1262a68007823390055ef650000d385302a06001e100786f33be492e6fce9e5af136a [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91a55168007823390055ef650000d385302a06635b6c6a3a667197e7645b16d41753aa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a1262a68007823390055ef650000d385302a06001e100786f33be492e6fce9e5af136a [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91a55168007823390055ef650000d385302a06635b6c6a3a667197e7645b16d41753aa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61950 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565577866|55647 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61950 [LANGUAGE] => en ) ) [ts] => 1747589265 [auth] => Array ( [access_token] => a1262a68007823390055ef6500007c9c0000060644931e772896151f1e88388808f6e0 [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 17:27:46 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => a1262a68007823390055ef650000d385302a06001e100786f33be492e6fce9e5af136a [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91a55168007823390055ef650000d385302a06635b6c6a3a667197e7645b16d41753aa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => a1262a68007823390055ef650000d385302a06001e100786f33be492e6fce9e5af136a [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 91a55168007823390055ef650000d385302a06635b6c6a3a667197e7645b16d41753aa [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55647 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61950 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55647 [CHAT_ID] => 61950 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96565577866|55647 [CHAT_ENTITY_DATA_1] => Y|DEAL|213232|N|N|71568|1747589264|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|160154|DEAL|213232 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61950 [MESSAGE_ID] => 1336224 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55647 [NAME] => ابوحمد [FIRST_NAME] => ابوحمد [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747589265 [auth] => Array ( [access_token] => a1262a68007823390055ef6500007c9c0000060644931e772896151f1e88388808f6e0 [expires] => 1747592865 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 91a55168007823390055ef6500007c9c00000699aeed7c68fce39165f6b4043e9fe0be [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 17:27:46 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 17:27:46 Info Current time: 20:27 ------------------------ ------------------------ 2025.05.18 17:27:46 Info Is day off: No ------------------------ ------------------------ 2025.05.18 17:27:46 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 17:27:46 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 17:27:46 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 17:27:46 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 17:27:47 Info Closed message response: {"result":1336227,"time":{"start":1747589267.105494,"finish":1747589267.212847,"duration":0.10735297203063965,"processing":0.07650899887084961,"date_start":"2025-05-18T17:27:47+00:00","date_finish":"2025-05-18T17:27:47+00:00"}} ------------------------ ------------------------ 2025.05.18 17:27:47 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:32:17 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 006e2a68007823390055ef650000d385302a06b8f42d2d64bc63538fd1c12c33385b8e [expires] => 1747611136 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0ec5168007823390055ef650000d385302a061fcd0a373af1bec441e2f3eea4ae4d25 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 006e2a68007823390055ef650000d385302a06b8f42d2d64bc63538fd1c12c33385b8e [expires] => 1747611136 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0ec5168007823390055ef650000d385302a061fcd0a373af1bec441e2f3eea4ae4d25 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61956 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598787226|55651 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61956 [LANGUAGE] => en ) ) [ts] => 1747607536 [auth] => Array ( [access_token] => 016e2a68007823390055ef6500007c9c00000693f9a0cd3cfa3584142143e039a6dc0c [expires] => 1747611137 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 22:32:17 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 006e2a68007823390055ef650000d385302a06b8f42d2d64bc63538fd1c12c33385b8e [expires] => 1747611136 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0ec5168007823390055ef650000d385302a061fcd0a373af1bec441e2f3eea4ae4d25 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 006e2a68007823390055ef650000d385302a06b8f42d2d64bc63538fd1c12c33385b8e [expires] => 1747611136 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => f0ec5168007823390055ef650000d385302a061fcd0a373af1bec441e2f3eea4ae4d25 [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55651 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61956 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55651 [CHAT_ID] => 61956 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598787226|55651 [CHAT_ENTITY_DATA_1] => Y|DEAL|213242|N|N|71572|1747607536|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538394|DEAL|213242 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61956 [MESSAGE_ID] => 1336266 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55651 [NAME] => f [FIRST_NAME] => f [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747607536 [auth] => Array ( [access_token] => 016e2a68007823390055ef6500007c9c00000693f9a0cd3cfa3584142143e039a6dc0c [expires] => 1747611137 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => f1ec5168007823390055ef6500007c9c00000669dd05208016a74b156925ec333866e0 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 22:32:17 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 22:32:17 Info Current time: 01:32 ------------------------ ------------------------ 2025.05.18 22:32:17 Info Is day off: No ------------------------ ------------------------ 2025.05.18 22:32:17 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 22:32:17 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 22:32:17 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 22:32:17 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:32:18 Info Closed message response: {"result":1336269,"time":{"start":1747607538.249048,"finish":1747607538.355064,"duration":0.10601592063903809,"processing":0.07349610328674316,"date_start":"2025-05-18T22:32:18+00:00","date_finish":"2025-05-18T22:32:18+00:00"}} ------------------------ ------------------------ 2025.05.18 22:32:18 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:32:36 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 146e2a68007823390055ef650000d385302a06b7a6e0d88aeab1b906daf3d3ab44ec18 [expires] => 1747611156 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04ed5168007823390055ef650000d385302a0672b9cd02d151fd5bf229de9da4a3ac0f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 146e2a68007823390055ef650000d385302a06b7a6e0d88aeab1b906daf3d3ab44ec18 [expires] => 1747611156 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 04ed5168007823390055ef650000d385302a0672b9cd02d151fd5bf229de9da4a3ac0f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55651 [PARAMS] => Array ( [FILE_ID] => Array ( [0] => 393209 ) ) [MESSAGE] => i want to ask about this [TO_CHAT_ID] => 61956 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55651 [CHAT_ID] => 61956 [FILES] => Array ( [393209] => Array ( [id] => 393209 [chatId] => 61956 [type] => image [name] => 1747607552_1393277575206814.jpg [extension] => jpg [size] => 156806 [image] => Array ( [height] => 2048 [width] => 944 ) [status] => done [progress] => 100 [authorId] => 0 [authorName] => Anonymous [urlPreview] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393209&width=1280&height=1280&signature=82a1e70cedeb17111f6f1f8d519bde855f6c40fd26cc5de9d6613e1d18452c09&fileName=1747607552_1393277575206814.jpg [urlShow] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.showImage&SITE_ID=s1&humanRE=1&fileId=393209&width=1280&height=1280&signature=82a1e70cedeb17111f6f1f8d519bde855f6c40fd26cc5de9d6613e1d18452c09&fileName=1747607552_1393277575206814.jpg [urlDownload] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393209&fileName=1747607552_1393277575206814.jpg [viewerAttrs] => Array ( [viewerType] => image [src] => https://bitrix24.almailemgroup.com/bitrix/services/main/ajax.php?action=disk.api.file.download&SITE_ID=s1&humanRE=1&fileId=393209&fileName=1747607552_1393277575206814.jpg [objectId] => 393209 [viewerGroupBy] => 61956 [imChatId] => 61956 [title] => 1747607552_1393277575206814.jpg [actions] => [{"type":"download"},{"type":"copyToMe","text":"Save to Drive","action":"BXIM.disk.saveToDiskAction","params":{"fileId":"393209"},"extension":"disk.viewer.actions","buttonIconClass":"ui-btn-icon-cloud"}] ) ) ) [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96598787226|55651 [CHAT_ENTITY_DATA_1] => Y|DEAL|213242|N|N|71572|1747607536|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538394|DEAL|213242 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => i want to ask about this [TO_USER_ID] => 0 [DIALOG_ID] => chat61956 [MESSAGE_ID] => 1336270 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55651 [NAME] => f [FIRST_NAME] => f [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747607556 [auth] => Array ( [access_token] => 146e2a68007823390055ef6500007c9c000006efd1f199b04d9a7feac4819a2e5c3b6f [expires] => 1747611156 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 04ed5168007823390055ef6500007c9c000006410734da0625327a02632cc1a7bf3ade [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 22:32:36 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 22:32:36 Info Current time: 01:32 ------------------------ ------------------------ 2025.05.18 22:32:36 Info Is day off: No ------------------------ ------------------------ 2025.05.18 22:32:36 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 22:32:36 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 22:32:36 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 22:32:36 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:32:37 Info Closed message response: {"result":1336272,"time":{"start":1747607557.255616,"finish":1747607557.369397,"duration":0.11378097534179688,"processing":0.07721996307373047,"date_start":"2025-05-18T22:32:37+00:00","date_finish":"2025-05-18T22:32:37+00:00"}} ------------------------ ------------------------ 2025.05.18 22:32:37 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:42:00 ImBot Event Query Array ( [event] => ONIMBOTJOINCHAT [event_handler_id] => 157 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 47702a68007823390055ef650000d385302a06df78af251a30494ea1ac5f139c516470 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37ef5168007823390055ef650000d385302a065735c92d5f83638273be67008b3df24f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 47702a68007823390055ef650000d385302a06df78af251a30494ea1ac5f139c516470 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37ef5168007823390055ef650000d385302a065735c92d5f83638273be67008b3df24f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [CHAT_TYPE] => L [MESSAGE_TYPE] => L [BOT_ID] => 54149 [USER_ID] => 0 [CHAT_ID] => 61957 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597954890|55652 [ACCESS_HISTORY] => 1 [DIALOG_ID] => chat61957 [LANGUAGE] => en ) ) [ts] => 1747608119 [auth] => Array ( [access_token] => 47702a68007823390055ef6500007c9c00000678f33cb6c3b909b47588e62388642c00 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 22:42:00 ImBot Event Query Array ( [event] => ONIMBOTMESSAGEADD [event_handler_id] => 156 [data] => Array ( [BOT] => Array ( [54149] => Array ( [access_token] => 47702a68007823390055ef650000d385302a06df78af251a30494ea1ac5f139c516470 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37ef5168007823390055ef650000d385302a065735c92d5f83638273be67008b3df24f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 [AUTH] => Array ( [access_token] => 47702a68007823390055ef650000d385302a06df78af251a30494ea1ac5f139c516470 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [refresh_token] => 37ef5168007823390055ef650000d385302a065735c92d5f83638273be67008b3df24f [user_id] => 54149 [client_id] => local.680f6473388a32.28315419 [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) [BOT_ID] => 54149 [BOT_CODE] => almailem_bot189 ) ) [PARAMS] => Array ( [FROM_USER_ID] => 55652 [MESSAGE] => Hello, I would like to inquire about your services/products. [TO_CHAT_ID] => 61957 [MESSAGE_TYPE] => L [SKIP_URL_INDEX] => N [SKIP_COUNTER_INCREMENTS] => N [SKIP_COMMAND] => N [SKIP_CONNECTOR] => N [IMPORTANT_CONNECTOR] => N [SILENT_CONNECTOR] => N [AUTHOR_ID] => 55652 [CHAT_ID] => 61957 [CHAT_AUTHOR_ID] => 0 [CHAT_ENTITY_TYPE] => LINES [CHAT_ENTITY_ID] => btwhatsapp|16|96597954890|55652 [CHAT_ENTITY_DATA_1] => Y|DEAL|213243|N|N|71573|1747608118|0|0|0 [CHAT_ENTITY_DATA_2] => LEAD|0|COMPANY|0|CONTACT|538395|DEAL|213243 [COMMAND_CONTEXT] => TEXTAREA [MESSAGE_ORIGINAL] => Hello, I would like to inquire about your services/products. [TO_USER_ID] => 0 [DIALOG_ID] => chat61957 [MESSAGE_ID] => 1336277 [CHAT_TYPE] => L [LANGUAGE] => en ) [USER] => Array ( [ID] => 55652 [NAME] => aslamshaikh [FIRST_NAME] => aslamshaikh [LAST_NAME] => [GENDER] => M [IS_BOT] => N [IS_CONNECTOR] => Y [IS_NETWORK] => N [IS_EXTRANET] => Y ) ) [ts] => 1747608119 [auth] => Array ( [access_token] => 47702a68007823390055ef6500007c9c00000678f33cb6c3b909b47588e62388642c00 [expires] => 1747611719 [expires_in] => 3600 [scope] => crm,imbot,im,imopenlines,user,user_brief,task,tasks_extended [domain] => bitrix24.almailemgroup.com [server_endpoint] => https://oauth.bitrix.info/rest/ [status] => L [client_endpoint] => https://bitrix24.almailemgroup.com/rest/ [member_id] => c8dc3dd407ae821ea4a65ff594d01339 [user_id] => 31900 [refresh_token] => 37ef5168007823390055ef6500007c9c000006cc46fb6b6cc13d235d95b90ee999815b [application_token] => 3967865a1136cfbc4966b4f5262a20d5 ) ) ------------------------ ------------------------ 2025.05.18 22:42:00 Info Fetched working hours: {"WORKTIME_FROM":"8","WORKTIME_TO":"18","WORKTIME_TIMEZONE":"Asia\/Kuwait","WORKTIME_HOLIDAYS":[""],"WORKTIME_DAYOFF":["FR"]} ------------------------ ------------------------ 2025.05.18 22:42:00 Info Current time: 01:42 ------------------------ ------------------------ 2025.05.18 22:42:00 Info Is day off: No ------------------------ ------------------------ 2025.05.18 22:42:00 Info Is holiday: No ------------------------ ------------------------ 2025.05.18 22:42:00 Info Is outside working hours: Yes ------------------------ ------------------------ 2025.05.18 22:42:00 Info Is working hour: No ------------------------ ------------------------ 2025.05.18 22:42:00 Info Reason for closed message: outside working hours ------------------------ ------------------------ 2025.05.18 22:42:00 Info Closed message response: {"result":1336280,"time":{"start":1747608120.760048,"finish":1747608120.852012,"duration":0.0919640064239502,"processing":0.06322121620178223,"date_start":"2025-05-18T22:42:00+00:00","date_finish":"2025-05-18T22:42:00+00:00"}} ------------------------ ------------------------ 2025.05.18 22:42:00 Info Reason for closed message: outside working hours ------------------------