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,
Not unless you use inline=true probably on the action tag. On Mon, Nov 25, 2019 at 12:53 PM Ruslan Shevchenko < ruslan@shevchenko.kiev.ua> wrote:
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 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (2)
-
Brian West
-
Ruslan Shevchenko