Hi!

I have the following extension at the beginning of my context:

<extension name="prepare call intercept" continue="true">
    <condition>
        <action application="set" data="nolocal:execute_on_ring=db insert/call_intercept/${dialed_user}@{dialed_domain}/${originator}"/>
    </condition>
</extension>

However, I get an error from the db application because these variables are expanded to empty strings.
If I change the action’s data to nolocal:execute_on_ring=info I see the variables in the console.
What am I missing here?
Thank you!

Kind regards,
Iskren

​