Hi, I try to use 'bgsystem' call from mod_dptools API. With the next two entries in dialplan, I guess, the session should wait until calling party stop call:_________________________________________________________________________
<action application=“bgsystem” data=” …. “>
<action aapplication=“playback” data=“silence_stream://-1 >But looks, like the session, endsed immediately after the process, spawned by bgsystem, finished (and before we receive result).
Also, looks like the help page on the wiki (about the possibility to return data from bgsystem: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+bgsystem) is incorrect, it is impossible to receive output in channel variable, as I can understand.
Is handling session is expected behavior ? Maybe exists some way to handle events from bgprocess ?Thanks,
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
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com