Try to set verto_dvar_{variable} in originate 

On Sat, Aug 17, 2019, 19:47 Jose Figueroa <josen.figueroa@unixmexico.org> wrote:
Hello,

I need to pass some variables from originate command on fs_cli or lua script to verto client I have already and backwards from verto to the fs_cli.

I have this from fs_cli ->
originate {foo=val1,bar=val2,ignore_early_media=true,origination_caller_id_number=1003}user/1002 &echo()

What I want is to get the foo and bar variables on verto client.

In addition, I see the documentation https://evoluxbr.github.io/verto-docs/tut/making-a-call.html that if you want to make a call and pass a userVariables they will be visible to dialplan as verto_dvar_{variable} which is correct I can catch them. 

But not from the fs_cli to the verto, or even if I can do it from lua script to verto might work for my need.

Any help would be appreciated.

Thanks!
Jose Figueroa

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com