[Freeswitch-users] Using b-leg variables with execute_on_ring

Iskren Hadzhinedev iskren.hadzhinedev at ikiji.com
Fri Apr 14 19:04:10 MSD 2017


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

​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170414/d5542247/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list