From miconda@gmail.com Tue Apr 20 13:05:13 2021 From: Daniel-Constantin Mierla To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] Dialog - Profile cleanup before event_route[dialog:end] Date: Tue, 20 Apr 2021 13:05:02 +0200 Message-ID: <69c3f5ea-561b-3909-8f67-9468810140c1@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1459831328==" --===============1459831328== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, On 14.04.21 16:20, Andre Barbosa wrote: > 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: