Skypopen: start_skype_clients script permissions
First, Giovanni, Thank You for the new skypopen installer, it really makes things easy... and stable. I am curious though, why must skype run as root? I'd prefer that it didn't, but I can't quite get it working when run as a normal user. I've given all rw permissions to /dev/dsp and the skype-clients-configuration-dir, which allows me to load mod_skypeopen and a skype call to ring in, but as soon as I answer, skypopen reports a hangup with normal clearing. Am I missing a permission somewhere else, or is there a fundamental reason why skype must be root for this to work? Thanks, Chris
On Sat, May 7, 2011 at 1:07 AM, Chris Monkey <ckmonkey158@yahoo.com> wrote:
I am curious though, why must skype run as root? I'd prefer that it didn't, but I can't quite get it working when run as a normal user. I've given all rw permissions to /dev/dsp and the skype-clients-configuration-dir, which allows me to load mod_skypeopen and a skype call to ring in, but as soon as I answer, skypopen reports a hangup with normal clearing.
Am I missing a permission somewhere else, or is there a fundamental reason why skype must be root for this to work?
Hi Chris, no, there is no any reason I know of. Can you double check if you got all permission right? Also, the permissions to reach that configuration directory and the /dev/dsp. Which OS-distro are you using? -giovanni -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
--- On Sun, 5/8/11, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote: Can you double check if you got all permission right? Also, the permissions to reach that configuration directory and the /dev/dsp. Which OS-distro are you using? Thanks Giovanni, Yup, I lost track of permissions on /dev/dsp somewhere along the way and didn't actually have rw access for my skype user. Made a udev rule to keep that straight. Thanks for your help though, Chris
Hi all, I don.t find a funtion to cut a variable string in fs. Support Fs a funtion for example: cut varname, delimiter, fieldspec? Thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi all, i found in the fs-wiki only confirmation key, only one action. Can i make a multiple selection? for example: Press 1 to accept the call. Press 2 to forward to voicemail. Press 3 to transfer to cellphone, and so on? This is very nice for a callscreeningconstruct for examle: press 1 to eccept or 2 to blacklist the caller. thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi, As far as I know, you can use group_confirm_key=exec and group_confirm_file=perl <your script> and do what ever you want in that script. I'm using it to do answer confirmation and also to play some messages before bridging the call. On Thu, May 12, 2011 at 10:13 AM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi all, i found in the fs-wiki only confirmation key, only one action. Can i make a multiple selection? for example: Press 1 to accept the call. Press 2 to forward to voicemail. Press 3 to transfer to cellphone, and so on? This is very nice for a callscreeningconstruct for examle: press 1 to eccept or 2 to blacklist the caller.
thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
Hi lakshmaan, Ok you execute a script. U Don.t unserstand: how can you defined different digits to execute from script? Do you have a example please? My solution: i like to search a callscreening, to press1 to accept, press 2 for the blacklist. thanks. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
This is a feature request and will require some coding in the module. You can open a jira feature request and maybe offer a bounty if it is a serious need. -MC On Thu, May 12, 2011 at 5:41 AM, Thomas Hoellriegel <admin@blindi.net>wrote:
Hi lakshmaan,
Ok you execute a script. U Don.t unserstand: how can you defined different digits to execute from script? Do you have a example please? My solution: i like to search a callscreening, to press1 to accept, press 2 for the blacklist.
thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
When you exec a script such as a lua script then you do whatever you want in the script play a file ask for input etc just like any other time. The script takes the place of the default behavior. The first channel to be done with the script that is not hungup is considered the winner. On Thu, May 12, 2011 at 7:41 AM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi lakshmaan,
Ok you execute a script. U Don.t unserstand: how can you defined different digits to execute from script? Do you have a example please? My solution: i like to search a callscreening, to press1 to accept, press 2 for the blacklist. thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
For trimming, etc. use this: http://wiki.freeswitch.org/wiki/Manipulating_Channel_Variables If you want to do serious variable manipulation then just use regex. It's "more powerful than you can possibly imagine." ;) http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_regex -MC 2011/5/11 Thomas Hoellriegel <admin@blindi.net>
Hi all, I don.t find a funtion to cut a variable string in fs. Support Fs a funtion for example: cut varname, delimiter, fieldspec? Thanks
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
Hi Michael, Sorry, i don.t find a command to cut digits for example: I like to remove a sipheader in a variable. cut all strings afer the @ character, und remove the @ character. I search on: http://wiki.freeswitch.org/wiki/Regular_Expression A description can.t be fine. Do you have a string please? thank you --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
if you do expresion="^(\whatever)@(whatever)$" $1 will be the id @ will be ignored $2 the ip/domain/hostname hope this helps ----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Friday, May 13, 2011 2:50 PM Subject: Re: [Freeswitch-users] question how to cut a string from a variable in fs? Hi Michael, Sorry, i don.t find a command to cut digits for example: I like to remove a sipheader in a variable. cut all strings afer the @ character, und remove the @ character. I search on: http://wiki.freeswitch.org/wiki/Regular_Expression A description can.t be fine. Do you have a string please? thank you --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc --------------------------------------------------------------------------------
_______________________________________________ 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
Or: <action application="set" data="after=${regex(${before}|^.*?@|%1"/> before = abc@def.com gives: after = abc -Steve On 13 May 2011 19:57, Madovsky <infos@madovsky.org> wrote:
if you do expresion="^(\whatever)@(whatever)$" $1 will be the id @ will be ignored $2 the ip/domain/hostname
hope this helps
----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Friday, May 13, 2011 2:50 PM Subject: Re: [Freeswitch-users] question how to cut a string from a variable in fs?
Hi Michael, Sorry, i don.t find a command to cut digits for example: I like to remove a sipheader in a variable. cut all strings afer the @ character, und remove the @ character. I search on: http://wiki.freeswitch.org/wiki/Regular_Expression A description can.t be fine. Do you have a string please? thank you
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
--------------------------------------------------------------------------------
_______________________________________________ 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
Sorry, that should be: <action application="set" data="after=${regex(${before}|^(.*?)@|%1"/> -Steve On 13 May 2011 20:05, Steven Ayre <steveayre@gmail.com> wrote:
Or: <action application="set" data="after=${regex(${before}|^.*?@|%1"/>
before = abc@def.com gives: after = abc
-Steve
On 13 May 2011 19:57, Madovsky <infos@madovsky.org> wrote:
if you do expresion="^(\whatever)@(whatever)$" $1 will be the id @ will be ignored $2 the ip/domain/hostname
hope this helps
----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Friday, May 13, 2011 2:50 PM Subject: Re: [Freeswitch-users] question how to cut a string from a variable in fs?
Hi Michael, Sorry, i don.t find a command to cut digits for example: I like to remove a sipheader in a variable. cut all strings afer the @ character, und remove the @ character. I search on: http://wiki.freeswitch.org/wiki/Regular_Expression A description can.t be fine. Do you have a string please? thank you
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
--------------------------------------------------------------------------------
_______________________________________________ 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
Hi Steven, thank you for you help. I.ts very going fine. My problem: I have troubles to search its self. i enter in google a searchstring and become manny results. I can.t select the right result. My brailledisplay reads letter for letter. This is very slowly. I working as systemadministrator under unix and unix like systems freebsd solaris und oter linuxsystem. I manage all systems from the console remotly with openssh. Fs is very nice to handle without guis. I edit all configurationfile manually. I have tested yate asterisk callweaver. why is these profucs so very instabil? Fs have a nice voicequality, is stable my server run 1 week on the uptime. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi all, i have written a schellscript. I can.t export variables from this script to Fs. Is a special syntax needed? thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
2011/5/13 Thomas Hoellriegel <admin@blindi.net>:
Hi all, i have written a schellscript. I can.t export variables from this script to Fs. Is a special syntax needed?
You're not giving us very much to work with. Can you tell us how you're doing it and what you're seeing? An example would be best. Regards, Gabe
Hi gabriel, I have written a datecheck. I like to compare the inputdate to the systmdate. This is my script: #!/bin/bash date1=`date -d $1 +%s` if test $? -ne 0 then dateerror="yes" exit 0 fi exit 0 I can.t export the variable dateerror. Is the given date wrong, give a yes return. fs ignore action. Can you see please what is wrong? thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
On Fri, May 13, 2011 at 4:40 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
I have written a datecheck. I like to compare the inputdate to the systmdate.
<bash code here>
I can.t export the variable dateerror. Is the given date wrong, give a yes return. fs ignore action.
I'm not able to see how you're working with FreeSWITCH in this case. Is this a bash script that that will call fs_cli -x "some_command"? Are you trying to set environmental variables in the shell before starting freeswitch so they will be available to it? Is this in a bash script that's called from the dialplan? If so, consider using the date-time related conditions (year, yday, mon, mday, week, mweek, wday, hour, minute, minute-of-day, time-of-day, date-time): http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML#Condition Lastly, there are also time real dialplan tools that might help: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_strepoch http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_strftime http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_strftime_tz I don't think we'll be able to offer any more help without better information. However, we're happy to help if you can get us more details. Best, Gabe
Am 13.05.11 um 17:15 schrieb Gabriel Gunderson: This is a bashscript. I call this script from dialplan i compate with play_and_get_digits:: <extension name="datechecking"> <condition field="destination_number" expression="^4411$"/> <condition field="${dateerror}" expression="^$" break="never"> <action application="set" data="domain_name=$${domain}"/> <action application="play_and_get_digits" data="0 8 1 1000 # $${base_dir}/sounds/date/enter_correct_date.wav $${base_dir}/sounds/ivr/invalid.wav nr \d+"/> <action application="system" data="$${base_dir}/scripts/datechk.sh ${nr} " /> <action application="transfer" data="${destination_number}"/> </condition> <condition field="${dateerror}" expression="^(.*)\d" break="on-true" > break="never"> <action application="playback" data="/ivr/date.ok.wav"/> <anti-action application="playback" data="/ivr/invalid-date.wav"/> </condition> </extension> I can.t to export the variable from the shellscript to fs. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
I think you have to escape the $ 3 times \\\${nir} \ ----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Friday, May 13, 2011 9:49 PM Subject: Re: [Freeswitch-users] problem exporting variables from shellsctipt not working Am 13.05.11 um 17:15 schrieb Gabriel Gunderson: This is a bashscript. I call this script from dialplan i compate with play_and_get_digits:: <extension name="datechecking"> <condition field="destination_number" expression="^4411$"/> <condition field="${dateerror}" expression="^$" break="never"> <action application="set" data="domain_name=$${domain}"/> <action application="play_and_get_digits" data="0 8 1 1000 # $${base_dir}/sounds/date/enter_correct_date.wav $${base_dir}/sounds/ivr/invalid.wav nr \d+"/> <action application="system" data="$${base_dir}/scripts/datechk.sh ${nr} " /> <action application="transfer" data="${destination_number}"/> </condition> <condition field="${dateerror}" expression="^(.*)\d" break="on-true" > break="never"> <action application="playback" data="/ivr/date.ok.wav"/> <anti-action application="playback" data="/ivr/invalid-date.wav"/> </condition> </extension> I can.t to export the variable from the shellscript to fs. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc --------------------------------------------------------------------------------
_______________________________________________ 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
Am 14.05.11 um 01:37 schrieb Madovsky:
I think you have to escape the $ 3 times I don.t no. $3? I like to export the variable: dateerror from the shellscript in my fs dialplan, to make a selection from condidion field. \\\${nir} what is the syntax in the dialplan? thank you.
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
You can't export variables from a system command such as a shellscript. -Steve On 14 May 2011 13:11, Thomas Hoellriegel <admin@blindi.net> wrote:
Am 14.05.11 um 01:37 schrieb Madovsky:
I think you have to escape the $ 3 times
I don.t no. $3? I like to export the variable: dateerror from the shellscript in my fs dialplan, to make a selection from condidion field.
\\\${nir}
what is the syntax in the dialplan? thank you. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_______________________________________________ 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
I mean you need 3 backslashes in front of every variable dollar ----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Saturday, May 14, 2011 8:11 AM Subject: Re: [Freeswitch-users] problem exporting variables from shellsctipt not working Am 14.05.11 um 01:37 schrieb Madovsky:
I think you have to escape the $ 3 times I don.t no. $3? I like to export the variable: dateerror from the shellscript in my fs dialplan, to make a selection from condidion field. \\\${nir} what is the syntax in the dialplan? thank you.
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc --------------------------------------------------------------------------------
_______________________________________________ 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
ZOMG I wish I was blind like Thomas, Covici, and DelphiWorld so I wouldn't have to read this thread any more!! :P </rant> What you want to do is not possible directly from the dialplan, or even from the console. There are probably several ways to address this problem. Since I like Lua I thought a simple demonstration using a small amount of Lua to get what you want would be good. Here is a generic Lua script that you can call from the command line and feed it an argument which it will in turn execute as a system call, then return the system's output: -- sys_call.lua -- -- simple read from pipe -- Be sure to escape spaces in the argument cuz I was to lazy to parse args properly... cmd = argv[1]; freeswitch.consoleLog("DEBUG","sys_call.lua call with arg: '" .. cmd .. "'\n"); f = assert (io.popen(cmd)); res_data = ''; for line in f:lines() do res_data = res_data .. line .. "\n"; end stream:write(res_data); freeswitch.consoleLog("DEBUG","sys_call.lua result: '" .. res_data .. "'\n"); f:close(); Now you can go to fs_cli and do things like: lua sys_call.lua ls\ -l Now, Thomas, in your specific case you are trying to capture input from the caller and compare that to the output from the command: date -d <date argument> +%s and you have a script that does this comparison for you. To call your shell script from the command line with my Lua script would be this: lua sys_call.lua datechk.sh\ <date value argument> (Don't forget to put a backslash in front of the space character.) To do this in the dialplan you need to use the special notation that lets you execute an API call using the "set" dialplan application. Let's say the input you capture from your caller is in variable ${nr}. You can set a new channel variable that captures the output of your script: <action application="set" data="my_result=${lua sys_call.lua datechk.sh\ ${nr}}"/> Now you have a new channel variable ${my_result} that contains the result of the system call to your date script. From here you will need use the dialplan "transfer" or "execute_extension" in order to do something with the result. I recommend that you create a separate dialplan context and transfer the call into that context for further processing. <action application="transfer" data="${my_result} XML handle_date_test"/> Then your new context could be something like this: <context name="handle_date_test"> <extension name="date match is good"> <condition field="destination_number" expression="^good\s*$"> <action application="log" data="INFO date matches, do stuff in action tags..."/> <anti-action application="log" data="INFO date does not match, handle this in anti-action tags..."/> </condtion> </extension> </context> For all of this to work you will have to change your script so that if the dates match then the script will echo "good" to the console. If the dates do not match then your script will need to echo anything other than "good". Thomas, I respect you for trying so hard to make this work with only a braille reader and in a language that is not your first. Keep up the good work. I hope this helps. -MC On Sat, May 14, 2011 at 5:11 AM, Thomas Hoellriegel <admin@blindi.net>wrote:
Am 14.05.11 um 01:37 schrieb Madovsky:
I think you have to escape the $ 3 times
I don.t no. $3? I like to export the variable: dateerror from the shellscript in my fs dialplan, to make a selection from condidion field.
\\\${nir}
what is the syntax in the dialplan? thank you.
Hi Michael, thank you for your help. From day to day I get more and more forward with fs. I have already call back, call trough, call handling, email for missed calls, and hammer out sms missed call in to. All beginnings are difficult. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi all, i don.t become a iax-connection fs break the connection. This is my consoleoutput: 2011-05-14 04:49:54.362667 [DEBUG] switch_ivr_originate.c:1873 Parsing global va riables 2011-05-14 04:49:54.362667 [ERR] switch_core_session.c:413 Could not locate channel type iax 2011-05-14 04:49:54.362667 [ERR] switch_ivr_originate.c:2447 Cannot create outgo ing channel of type [iax] cause: [CHAN_NOT_IMPLEMENTED] I don.t find a mod_iax entry in the modules.conf my dialplansyntax is: <action application="bridge" data="iax/user:password@server.net/3311"/> Do your have a tip? thanks --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
mod_iax was removed [2010-01-22] http://thread.gmane.org/gmane.comp.telephony.freeswitch.devel/2432/focus=225... -- W
participants (10)
-
Anthony Minessale
-
Chris Monkey
-
Gabriel Gunderson
-
Giovanni Maruzzelli
-
lakshmanan ganapathy
-
Madovsky
-
Michael Collins
-
Steven Ayre
-
Thomas Hoellriegel
-
William Suffill