On Tue, 08 Mar 2011 13:22:18 +0100, Gilles codecompl...@free.fr
wrote:
I need to write a script which prompts the callee to type a number,
and then read it back to them as confirmation:
Apparently, the right way to read a phone number back to the user is
not to use SayNumber() (which might be OK
On 10/03/11 12:55, Gilles wrote:
On Tue, 08 Mar 2011 13:22:18 +0100, Gillescodecompl...@free.fr
wrote:
I need to write a script which prompts the callee to type a number,
and then read it back to them as confirmation:
Apparently, the right way to read a phone number back to the user is
not to
On Thu, 10 Mar 2011 13:18:41 +0100, Dave Cotton
dcot...@linuxautrement.com wrote:
Look at the GotoIf statement for example
Thanks Dave for the tip, but I found that I needed to change a pattern
that was already in say.conf:
===
[fr](date-base,digit-base) ;BAD _[n]um:0. = num:${SAY:1}
On Thu, Mar 10, 2011 at 12:55:18PM +0100, Gilles wrote:
On Tue, 08 Mar 2011 13:22:18 +0100, Gilles codecompl...@free.fr
wrote:
I need to write a script which prompts the callee to type a number,
and then read it back to them as confirmation:
Apparently, the right way to read a phone number
On Thu, 10 Mar 2011 15:30:51 +0200, Tzafrir Cohen
tzafrir.co...@xorcom.com wrote:
I think you're missing SayDigits().
say.conf does use the syntax of the extensions.conf, but it's not a
dialplan.
Thanks for the input, but SayDigit() isn't right for what I want to
do, since it simply reads a
On Thu, 10 Mar 2011 14:37:45 +0100, Gilles codecompl...@free.fr
wrote:
I figured out how extensions.conf and say.conf work and posted my
results in the reply to Dave.
Noticed something strange, though: 0800123456 is played OK (ie.
0.800.12.34.56) , but 092123456 is played digit by digit (0.8.9.2,
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gilles
Sent: Thursday, March 10, 2011 8:32 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] [1.4] Reading phone number the French way
On Thu, 10 Mar 2011 08:34:51 -0600, Danny Nicholas
da...@debsinc.com wrote:
== say.conf
;1-9
_[n]um:X = digits/${SAY}
;10-99
_[n]um:1X = digits/${SAY}
_[n]um:[2-9]0 = digits/${SAY}
_[n]um:[2-6]1 = digits/${SAY:0:1}0, vm-and, digits/${SAY:1}
_[n]um:71 = digits/60, vm-and, num:1${SAY:1}
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gilles
Sent: Thursday, March 10, 2011 8:39 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] [1.4] Reading phone number the French way?
On Thu
On Thu, 10 Mar 2011 08:49:43 -0600, Danny Nicholas
da...@debsinc.com wrote:
sip set debug peer is probably going to be
your best bet for say.conf debugging. If you do sip set debug peer
as opposed to core set debug 10, you are getting nodal debugging as
opposed to general debugging.
Thanks
In article elnhn616qu3tcfss2lmfn6jhtn57q3f...@4ax.com,
Gilles codecompl...@free.fr wrote:
On Thu, 10 Mar 2011 14:37:45 +0100, Gilles codecompl...@free.fr
wrote:
I figured out how extensions.conf and say.conf work and posted my
results in the reply to Dave.
Noticed something strange, though:
On Thu, 10 Mar 2011 15:10:19 + (UTC), t...@softins.co.uk (Tony
Mountifield) wrote:
-- Executing [@internal:6] Playback(SIP/xlite-02a56004,
phone:0892123456}|say) in new stack
...
You have a spurious } after 0892123456 which is preventing it
from matching the pattern in say.conf
Some
On Tue, Mar 08, 2011 at 02:58:02PM -0600, Tilghman Lesher wrote:
On Tuesday 08 March 2011 06:49:55 Faisal Hanif wrote:
You can also set it in dialplan using Set(LANGUAGE=FR)
Actually, the right way to do this is:
Set(CHANNEL(language)=fr)
The LANGUAGE pseudo-variable is read-only.
Also
On Tue, 08 Mar 2011 07:47:39 EST, ken...@gnat.com (Richard Kenner)
wrote:
Maybe something like:
exten = s,n,SayDigits(${NBR2CALL:0:1})
exten = s,n,SayNumber(${NBR2CALL:2:2})
exten = s,n,SayNumber(${NBR2CALL:4:2})
exten = s,n,SayNumber(${NBR2CALL:6:2})
exten = s,n,SayNumber(${NBR2CALL:8:2})
Or
On Wed, 9 Mar 2011 12:43:37 +0200, Tzafrir Cohen
tzafrir.co...@xorcom.com wrote:
On Tue, Mar 08, 2011 at 02:58:02PM -0600, Tilghman Lesher wrote:
On Tuesday 08 March 2011 06:49:55 Faisal Hanif wrote:
You can also set it in dialplan using Set(LANGUAGE=FR)
Actually, the right way to do this
Hello,
I need to write a script which prompts the callee to type a number,
and then read it back to them as confirmation:
=== extensions.conf
[robocall]
;Expect 10-digit number excluding final #, 2 tries, 20s time-out
exten = s,n(nbr2call),Read(NBR2CALL,please-type-number,10,,2,20)
exten =
Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Gilles
Sent: Tuesday, March 08, 2011 5:22 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] [1.4] Reading phone number the French way?
Hello,
I need to write
On Tue, 8 Mar 2011 17:31:26 +0500, Faisal Hanif fai...@vopium.com
wrote:
When you compile asterisk you can select multiple language files by using
make menuselect additionally you find lot of free sources on internet for
language files. Simply create a folder with language short-code in sounds
and
exten = s,n(nbr2call),Read(NBR2CALL,please-type-number,10,,2,20)
For instance, a landline number in Paris like 01 42 92 81 00 is read
zero-one, forty-two, ninety-two, eighty-one, zero-zero, where I
assume Americans would read all the digits individually (zero, one,
four, two, etc.)
Maybe
-users] [1.4] Reading phone number the French way?
On Tue, 8 Mar 2011 17:31:26 +0500, Faisal Hanif fai...@vopium.com
wrote:
When you compile asterisk you can select multiple language files by
using make menuselect additionally you find lot of free sources on
internet for language files. Simply create
20 matches
Mail list logo