Skip to main content
Question

How to identify call received after business hours call or not from Telephony Events

  • February 17, 2025
  • 2 replies
  • 11 views

Hi, I’m subscribed to Telephony Session events through webhook. receiving bunch of events. I want to identify a call which is received after Business hours, is there any flag in the Telephony event data to identify this ?

2 replies

  • Author
  • New Participant
  • 1 reply
  • February 17, 2025

@PhongVu could you please help me here. 


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2310 replies
  • February 18, 2025

The telephony event does not tell you about the call handling rule. You will need to implement your own logic to detect that. E.g. you can call this API to detect the company business hour, or even better call the company or the user call handling rule API (ruleId = business-hours-rule) (double check and convert to UTC time if needed). Then when you receive telephony events, convert the call time to date/hours and compare with the business hours to verify the call.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings