From andre.emanuel.barbosa@gmail.com Wed Apr 14 16:20:33 2021 From: Andre Barbosa To: sr-users@lists.kamailio.org Subject: [SR-Users] Dialog - Profile cleanup before event_route[dialog:end] Date: Wed, 14 Apr 2021 15:20:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0850830256==" --===============0850830256== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi guys, I was trying to read the profile of a dialog on the event_route[dialog:end] and noticed that dialog profiles are not available at this point. My cfg code that doesn't work: event_route[dialog:end] { if (is_in_profile("orig")) { xinfo("this dialog belongs to a orig call\n"); route(EMIT_ORIG_CALL_ENDED); } } Log: | 3(12) INFO: