
2025-10-17T23:25:17.473+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-2] org.hibernate.orm.results                : Initializer list:
	  com.saas.admin.entity.PhoneNumber(24) -> EntityJoinedFetchInitializer(com.saas.admin.entity.PhoneNumber(24))@789818156 (SingleTableEntityPersister(com.saas.admin.entity.PhoneNumber))

2025-10-17T23:25:17.473+01:00  WARN 78736 --- [saas-multitenant-api] [nio-7001-exec-2] c.s.v.controller.TelnyxVoiceController   : ⚠️ No Telnyx tenant found for phone number: +18066983980
2025-10-17T23:25:17.473+01:00  INFO 78736 --- [saas-multitenant-api] [nio-7001-exec-2] c.s.v.controller.TelnyxVoiceController   : 🤖 Starting Telnyx Voice AI on call: v3:k61X2Yd0gSC3or1BkuYpHIzSZLPoE5E-fs49H7FXKxMjGhAJOHS5Ig
2025-10-17T23:25:17.474+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json]
2025-10-17T23:25:17.474+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-2] m.m.a.RequestResponseBodyMethodProcessor : Writing [{command=start_ai_assistant, ai_assistant_id=default-assistant, metadata={schema_name=unknown, tenan (truncated)...]
2025-10-17T23:25:17.474+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-2] o.j.s.OpenEntityManagerInViewInterceptor : Closing JPA EntityManager in OpenEntityManagerInViewInterceptor
2025-10-17T23:25:17.475+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-2] o.s.web.servlet.DispatcherServlet        : Completed 200 OK
2025-10-17T23:25:17.565+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.s.security.web.FilterChainProxy        : Securing POST /api/voip/telnyx/incoming-call
2025-10-17T23:25:17.573+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.s.s.w.a.AnonymousAuthenticationFilter  : Set SecurityContextHolder to anonymous SecurityContext
2025-10-17T23:25:17.574+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.s.security.web.FilterChainProxy        : Secured POST /api/voip/telnyx/incoming-call
2025-10-17T23:25:17.574+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.s.web.servlet.DispatcherServlet        : POST "/api/voip/telnyx/incoming-call", parameters={}
2025-10-17T23:25:17.576+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.saas.voip.controller.TelnyxVoiceController#handleIncomingCall(HttpServletRequest, Map)
2025-10-17T23:25:17.576+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.j.s.OpenEntityManagerInViewInterceptor : Opening JPA EntityManager in OpenEntityManagerInViewInterceptor
2025-10-17T23:25:17.578+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [{data={event_type=call.cost, id=1d84b70f-2515-4ca0-bdc3-141fde770fa8, occurred_at=2025-10-17T22:25:1 (truncated)...]
2025-10-17T23:25:17.579+01:00  INFO 78736 --- [saas-multitenant-api] [nio-7001-exec-3] c.s.v.controller.TelnyxVoiceController   : === INCOMING CALL FROM TELNYX ===
2025-10-17T23:25:17.579+01:00  INFO 78736 --- [saas-multitenant-api] [nio-7001-exec-3] c.s.v.controller.TelnyxVoiceController   : 📞 Telnyx webhook received
2025-10-17T23:25:17.579+01:00  INFO 78736 --- [saas-multitenant-api] [nio-7001-exec-3] c.s.v.controller.TelnyxVoiceController   : To: null, Call Control ID: v3:k61X2Yd0gSC3or1BkuYpHIzSZLPoE5E-fs49H7FXKxMjGhAJOHS5Ig, Call Session ID: 1951f450-aba8-11f0-8054-02420aefe81f
2025-10-17T23:25:17.579+01:00  INFO 78736 --- [saas-multitenant-api] [nio-7001-exec-3] c.s.v.controller.TelnyxVoiceController   : 🤖 Starting Telnyx Voice AI on call: v3:k61X2Yd0gSC3or1BkuYpHIzSZLPoE5E-fs49H7FXKxMjGhAJOHS5Ig
2025-10-17T23:25:17.579+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json]
2025-10-17T23:25:17.579+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] m.m.a.RequestResponseBodyMethodProcessor : Writing [{command=start_ai_assistant, ai_assistant_id=default-assistant, metadata={schema_name=unknown, tenan (truncated)...]
2025-10-17T23:25:17.580+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.j.s.OpenEntityManagerInViewInterceptor : Closing JPA EntityManager in OpenEntityManagerInViewInterceptor
2025-10-17T23:25:17.580+01:00 DEBUG 78736 --- [saas-multitenant-api] [nio-7001-exec-3] o.s.web.servlet.DispatcherServlet        : Completed 200 OK