leg_delay_start does not work in bridge enterprise
leg_delay_start is ignored when using the enterprise syntax below. I need the second target delayed and there appears no other way to do this. Both targets are called at the same time. Mario G <action application="bridge" data="{originate_timeout=60}${group_call(main@${domain_name}+A)}:_:{leg_delay_start=20,leg_timeout=23}sofia/gateway/${dial_gateway}/19161234567"/>
leg_delay_start is meant to not wait if there are no other legs it is waiting on, this was designed to try a local user for example before trying their cell phone, but if they are not registered it goes right to the secondary leg. ~Mitch On Thu, Jul 19, 2012 at 1:01 PM, Mario G <mario_fs@mgtech.com> wrote:
leg_delay_start is ignored when using the enterprise syntax below. I need the second target delayed and there appears no other way to do this. Both targets are called at the same time.
Mario G
<action application="bridge" data="{originate_timeout=60}${group_call(main@${domain_name}+A)}:_:{leg_delay_start=20,leg_timeout=23}sofia/gateway/${dial_gateway}/19161234567"/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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 thought that might be the case. OK then we need an enhancement request to FreeSwitch I guess. Thanks! On Jul 19, 2012, at 12:02 PM, Mitch Capper wrote:
leg_delay_start is meant to not wait if there are no other legs it is waiting on, this was designed to try a local user for example before trying their cell phone, but if they are not registered it goes right to the secondary leg.
~Mitch
On Thu, Jul 19, 2012 at 1:01 PM, Mario G <mario_fs@mgtech.com> wrote:
leg_delay_start is ignored when using the enterprise syntax below. I need the second target delayed and there appears no other way to do this. Both targets are called at the same time.
Mario G
<action application="bridge" data="{originate_timeout=60}${group_call(main@${domain_name}+A)}:_:{leg_delay_start=20,leg_timeout=23}sofia/gateway/${dial_gateway}/19161234567"/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
Also suffering from this problem. I guess what you're saying is that it only works in single-threaded mode due to the way in which the legs communicate with eachother. Any workarounds, I wonder? I guess we'll have to get a lua script written for this.
I thought that might be the case. OK then we need an enhancement request to FreeSwitch I guess. Thanks!
On Jul 19, 2012, at 12:02 PM, Mitch Capper wrote:
leg_delay_start is meant to not wait if there are no other legs it is waiting on, this was designed to try a local user for example before trying their cell phone, but if they are not registered it goes right to the secondary leg.
~Mitch
On Thu, Jul 19, 2012 at 1:01 PM, Mario G <mario_fs@mgtech.com> wrote:
leg_delay_start is ignored when using the enterprise syntax below. I need the second target delayed and there appears no other way to do this. Both targets are called at the same time.
Mario G
<action application="bridge" data="{originate_timeout=60}${group_call(main@${domain_name}+A)}:_:{leg_delay_start=20,leg_timeout=23}sofia/gateway/${dial_gateway}/19161234567"/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5142 - Release Date: 07/19/12
Also suffering from this problem and it's a biggie for us. I suppose the problem is due to the way in which the legs communicate. Looks like using enterprise originate was just a little too optimistic! Wish I'd known about this sooner and could have got on with writing our own lua script that can do the job better. If anyone's done this already and prepared to share, do get in touch.
You can use it in each sub originate between :_: but not at the top level, that would require some kind of feature bounty enhancement. each string sep by the :_: is its own entire function originate, so it really would never work how you expect once you clear that up. On Wed, Jul 25, 2012 at 3:09 AM, Alex <alex@thewinelake.com> wrote:
Also suffering from this problem and it's a biggie for us. I suppose the problem is due to the way in which the legs communicate. Looks like using enterprise originate was just a little too optimistic! Wish I'd known about this sooner and could have got on with writing our own lua script that can do the job better. If anyone's done this already and prepared to share, do get in touch.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
I did wonder if there would be a cunning way to workaround this by having each enterprise destination that needed it to have a fake first destination eg <FirstRealDestination>:_:<FakeDestination>,[leg_delay_start=10]<SecondDestination>:_:<FakeDestination>,[leg_delay_start=20]<SecondDestination> The fake destination would never answer, but would have to be of the right type to avoid the problem that non-enterprise origin has (which is that it doesn't work with multiple SIP registrations)
You can use it in each sub originate between :_: but not at the top level, that would require some kind of feature bounty enhancement. each string sep by the :_: is its own entire function originate, so it really would never work how you expect once you clear that up.
On Wed, Jul 25, 2012 at 3:09 AM, Alex <alex@thewinelake.com> wrote:
Also suffering from this problem and it's a biggie for us. I suppose the problem is due to the way in which the legs communicate. Looks like using enterprise originate was just a little too optimistic! Wish I'd known about this sooner and could have got on with writing our own lua script that can do the job better. If anyone's done this already and prepared to share, do get in touch.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
This is why I had to bridge to internal extensions, then after a timeout another bridge to all extensions plus the cells. And this is why if you pickup exactly between extensions you have to hangup and pickup to get the call. A real pain. Dropping enterprise fixes it but caused other issues. I am interested if your trick will work, but the even if it does the potential problem is that FS may change and this "trick" might stop working. I had that happen when I upgraded FS this year. Had situations were sometimes the caller was actually one of the targets (don't ask why), worked from 2010 to spring 2012 and the bridge stopped working. Something changed and I had to execute another extension so I could test the caller (can't do nested if/then/else). So the moral of the story is that unless the technique is officially supported, it may not work in the future. On Jul 26, 2012, at 2:04 AM, Alex wrote:
I did wonder if there would be a cunning way to workaround this by having each enterprise destination that needed it to have a fake first destination
eg
<FirstRealDestination>:_:<FakeDestination>,[leg_delay_start=10]<SecondDestination>:_:<FakeDestination>,[leg_delay_start=20]<SecondDestination>
The fake destination would never answer, but would have to be of the right type to avoid the problem that non-enterprise origin has (which is that it doesn't work with multiple SIP registrations)
You can use it in each sub originate between :_: but not at the top level, that would require some kind of feature bounty enhancement. each string sep by the :_: is its own entire function originate, so it really would never work how you expect once you clear that up.
On Wed, Jul 25, 2012 at 3:09 AM, Alex <alex@thewinelake.com> wrote:
Also suffering from this problem and it's a biggie for us. I suppose the problem is due to the way in which the legs communicate. Looks like using enterprise originate was just a little too optimistic! Wish I'd known about this sooner and could have got on with writing our own lua script that can do the job better. If anyone's done this already and prepared to share, do get in touch.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
If I want to allow someone to enter an empty string of digits, how is it done? I've tried various things... My latest effort (that still doesn't work!) is keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used") I note that the minimum value for the first param is 1 - so maybe it can't be done?
After the timeout it simply moves on to the next application. Would that not suffice? -MC On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
In that case 0 means no maximum. Brian Foster Endigo Computer LLC Sent from a mobile device. On Jul 31, 2012 9:45 AM, "Alex" <alex@thewinelake.com> wrote:
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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 is it a minimum? What I wanted was to ask the user to enter a number terminated with # - or press * to cancel. I was having the problem that if I had * as a terminator and 1 as a minimum length, the users kept getting asked to enter again. This problem has been solved, although possibly not in the most elegant way!
In that case 0 means no maximum.
Brian Foster Endigo Computer LLC
Sent from a mobile device.
On Jul 31, 2012 9:45 AM, "Alex" <alex@thewinelake.com <mailto:alex@thewinelake.com>> wrote:
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
The elegant solution would probably require a LUA script. Brian Foster Endigo Computer LLC Sent from a mobile device. On Jul 31, 2012 11:20 AM, "Alex" <alex@thewinelake.com> wrote:
...or is it a minimum? What I wanted was to ask the user to enter a number terminated with # - or press * to cancel. I was having the problem that if I had * as a terminator and 1 as a minimum length, the users kept getting asked to enter again. This problem has been solved, although possibly not in the most elegant way!
In that case 0 means no maximum.
Brian Foster Endigo Computer LLC
Sent from a mobile device. On Jul 31, 2012 9:45 AM, "Alex" <alex@thewinelake.com> wrote:
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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 must confess: I do not know how to enter no digits without using the timeout... -MC On Tue, Jul 31, 2012 at 6:45 AM, Alex <alex@thewinelake.com> wrote:
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
Just press #
I must confess: I do not know how to enter no digits without using the timeout... -MC
On Tue, Jul 31, 2012 at 6:45 AM, Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>> wrote:
Not really. But I discovered that 0 IS a valid value for max digits.
After the timeout it simply moves on to the next application. Would that not suffice? -MC
On Fri, Jul 27, 2012 at 5:01 AM, Alex <alex@thewinelake.com <mailto:alex@thewinelake.com>> wrote:
If I want to allow someone to enter an empty string of digits, how is it done?
I've tried various things...
My latest effort (that still doesn't work!) is
keypress = session:playAndGetDigits(1, 1, 3, 5000, "*#", what_to_play, "", "\\d{0,1}|\\#|\\*") terminator = session:getVariable("read_terminator_used")
I note that the minimum value for the first param is 1 - so maybe it can't be done?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
No virus found in this message. Checked by AVG - www.avg.com <http://www.avg.com> Version: 2012.0.2196 / Virus Database: 2437/5166 - Release Date: 07/30/12
participants (6)
-
Alex
-
Anthony Minessale
-
Brian Foster
-
Mario G
-
Michael Collins
-
Mitch Capper