I just see, that i have a second problem. If I have a call and this call is without any response on the called side, the FS doesn´t call the script.
NOx-WHV wrote: > > Thanks for help! > > I works, but now i have a new problem. The script works with the csv file > from /FS/log/cdr-csv/XXX.csv. > > The problem is that the action application first starts and then the FS > write the entry in the csv file. > > Does anybody have a tipp, how to call the script after writing the csv > file? > > Thanks > > NOx > > > > mercutioviz wrote: >> >> >> >> Sent from my iPhone >> >> On Sep 3, 2009, at 6:08 AM, NOx-WHV <enno.egb...@googlemail.com> wrote: >> >>> >>> Hi, >>> >>> does anybody have a tip how to start a batchfile after hanging up. >>> >>> After ext. 1000 calls 1001 and hang up, i need a request to call: >>> >>> /../../FS/batchfile 1000 >>> >>> if 1001 calls 1000 i need: >>> >>> /../../FS/batchfile 1001 >>> >>> and so on... >>> >> Try something like this in your Dialplan: >> >> <action application="set" data="api_hangup_hook=system batchfile $ >> {sip_from_user}"/> >> >> -MC >>> >>> Thanks for help >>> -- >>> View this message in context: >>> http://www.nabble.com/select-batchfile-after-call-tp25275633p25275633.html >>> Sent from the Freeswitch-users mailing list archive at Nabble.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 >>> http://www.freeswitch.org >> >> _______________________________________________ >> 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 >> http://www.freeswitch.org >> >> > > -- View this message in context: http://www.nabble.com/select-batchfile-after-call-tp25275633p25329259.html Sent from the Freeswitch-users mailing list archive at Nabble.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 http://www.freeswitch.org