How can I change the channel_variable like destination_number at run time (dynamically) in Freeswitch? -
i looking solution dynamically changing channel_variable, destination_number without needing reloadxml (as might affect ongoing or incoming call). basically, fs has wait till provide appropriate destination_number. till now, have been doing xml way (editing xml files) , reloadxml command @ fs prompt. not viable requirement
you can use lua(or other freeswitch supported scripting language) script this. using lua can write custom script sophisticated logic.
more details:
https://freeswitch.org/confluence/display/freeswitch/lua+api+reference
Comments
Post a Comment