Re: [asterisk-users] issue with speech in IVR

2013-12-06 Thread Salaheddine Elharit
hello johan,

i use Authenticate and i get what i want thank you so much for your help :)

exten = 600,1,Ringing(2)
exten = 600,n,Answer
exten = 600,n,Authenticate(1234)
exten = 600,n,Goto(home,s,1)


2013/12/5 Steve Edwards asterisk@sedwards.com

 On Thu, 5 Dec 2013, Salaheddine Elharit wrote:

  i have one question related to the IVR below

 exten = 600,1,Ringing()
 exten = 600,n,Wait(2)
 exten = 600,n,Goto(home,s,1)

 how can i ask the customer to enter a password before to go to (home,s,1)

 and where i must to store a password for example password 1234

 if the customer enter 1234 he can Goto(home,s,1) and if the password is
 wrong i playback an error message


 That's 3 questions :)

 You need to provide more details.

 Is the password fixed or stored in a database? Is it the same as their
 voicemail password?

 There are examples for all these scenarios. Goggle about, read ATFOT,
 visit voip-info.org or use the Asterisk 'help' commands.


  exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
 exten = s,n,Background(${sounds_path}error


 Why are you fiddling with global variables? Isn't
 '/var/lib/asterisk/sounds/' your 'default' sounds path?

 Please don't top post.

 Please trim irrelevent cruft from previous posts.

 Please don't burn all your karma points asking simple questions.

 --
 Thanks in advance,
 -
 Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
 Newline  Fax: +1-760-731-3000


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-12-05 Thread Salaheddine Elharit
hello list

i have  one question related to the IVR below

exten = 600,1,Ringing()
exten = 600,n,Wait(2)
exten = 600,n,Goto(home,s,1)

how can i ask the customer to enter a password before to go to (home,s,1)

and where i must to store a password for example password 1234

if the customer enter 1234 he can Goto(home,s,1) and if the password is
wrong i playback an error message

exten = 600,1,Ringing()
exten = 600,n,Wait(2)
the customer must enter 1234 if yes go to (home,s,1) if no go to error
exten = 600,n,Goto(home,s,1)

[error]

exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}error


any example would be appreciated


2013/11/29 Mitul Limbani mi...@enterux.in

 Sounds cool, I suspected the echo cancel situation, these are usually
 issue even for FAX communication on dahdi.

 Mitul


 On Friday, November 29, 2013, Salaheddine Elharit wrote:

 hello

 i add the following in chan_dahdi and the issue has been solved  thanks a
 lot for your help and support now ican stop the speech and go to my context

 i really appreciate your help and support

 immediate = yes
 echocancel = no
 dtmfmode = auto

 -- Forwarded message --
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Date: 2013/11/29
 Subject: Re: [asterisk-users] issue with speech in IVR
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com


 hello

 i add the following in chan_dahdi and the issue has been solved  thanks
 a lot for your help and support now ican stop the speech and go to my
 context

 i really appreciate your help and support


  2013/11/29 Mitul Limbani mi...@enterux.in

 Try following in chan_dahdi

 immediate = yes
 echocancel = no
 dtmfmode = auto

 Mitul
 On Nov 29, 2013 1:42 PM, isr...@gmail.com wrote:

 Are you using a mp3 file?
 I have noticed that using control playback with a mp3 file I cannot use
 the keypad to control the playback

 -Original Message-
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
 08:05:16
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
  asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] issue with speech in IVR

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





 --
 Regards,
 Mitul Limbani,
 Chief Architech  Founder,
 Enterux Solutions Pvt. Ltd.
 110 Reena Complex, Opp. Nathani Steel,
 Vidyavihar (W), Mumbai - 400 086. India
 http://www.enterux.com/
 http://www.entvoice.com/
 email: mi...@enterux.in
 DID: +91-22-71967196
 Cell: +91-9820332422



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-12-05 Thread Tech Support
What you want to use is Asterisk's dialplan Read command. Check it out
here. http://www.voip-info.org/wiki/view/Asterisk+cmd+Read

Regards;

John

 

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Salaheddine
Elharit
Sent: Thursday, December 05, 2013 5:50 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] issue with speech in IVR

 

hello list 

 

i have  one question related to the IVR below 

 

exten = 600,1,Ringing()

exten = 600,n,Wait(2)

exten = 600,n,Goto(home,s,1)

 

how can i ask the customer to enter a password before to go to (home,s,1)

 

and where i must to store a password for example password 1234 

 

if the customer enter 1234 he can Goto(home,s,1) and if the password is
wrong i playback an error message 

 

exten = 600,1,Ringing()

exten = 600,n,Wait(2)

the customer must enter 1234 if yes go to (home,s,1) if no go to error 

exten = 600,n,Goto(home,s,1)

 

[error]

 

exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)

exten = s,n,Background(${sounds_path}error

 

 

any example would be appreciated

 

2013/11/29 Mitul Limbani mi...@enterux.in

Sounds cool, I suspected the echo cancel situation, these are usually issue
even for FAX communication on dahdi. 

 

Mitul

 


On Friday, November 29, 2013, Salaheddine Elharit wrote:

hello 

 

i add the following in chan_dahdi and the issue has been solved  thanks a
lot for your help and support now ican stop the speech and go to my context 

 

i really appreciate your help and support

 

immediate = yes

echocancel = no

dtmfmode = auto

 

-- Forwarded message --
From: Salaheddine Elharit salah.elharit...@gmail.com
Date: 2013/11/29
Subject: Re: [asterisk-users] issue with speech in IVR
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com



hello 

 

i add the following in chan_dahdi and the issue has been solved  thanks a
lot for your help and support now ican stop the speech and go to my context 

 

i really appreciate your help and support

 

2013/11/29 Mitul Limbani mi...@enterux.in

Try following in chan_dahdi

immediate = yes
echocancel = no
dtmfmode = auto

Mitul

On Nov 29, 2013 1:42 PM, isr...@gmail.com wrote:

Are you using a mp3 file?
I have noticed that using control playback with a mp3 file I cannot use the
keypad to control the playback

-Original Message-
From: Salaheddine Elharit salah.elharit...@gmail.com
Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
08:05:16
To: Asterisk Users Mailing List - Non-Commercial
Discussionasterisk-users@lists.digium.com
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] issue with speech in IVR

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 

 



-- 

Regards,
Mitul Limbani,
Chief Architech  Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel, 
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967196
Cell: +91-9820332422



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE

Re: [asterisk-users] issue with speech in IVR

2013-12-05 Thread John Kiniston
Look into the Authenticate application
https://wiki.asterisk.org/wiki/display/AST/Application_Authenticate

exten = 600,1,Ringing(2)
exten = 600,n,Answer
exten = 600,n,Authenticate(1234)
exten = 600,n,Goto(home,s,1)



On Thu, Dec 5, 2013 at 3:49 AM, Salaheddine Elharit 
salah.elharit...@gmail.com wrote:

 hello list

 i have  one question related to the IVR below

 exten = 600,1,Ringing()
 exten = 600,n,Wait(2)
 exten = 600,n,Goto(home,s,1)

 how can i ask the customer to enter a password before to go to (home,s,1)

 and where i must to store a password for example password 1234

 if the customer enter 1234 he can Goto(home,s,1) and if the password is
 wrong i playback an error message

 exten = 600,1,Ringing()
 exten = 600,n,Wait(2)
 the customer must enter 1234 if yes go to (home,s,1) if no go to error
 exten = 600,n,Goto(home,s,1)

 [error]

 exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
 exten = s,n,Background(${sounds_path}error


 any example would be appreciated


 2013/11/29 Mitul Limbani mi...@enterux.in

 Sounds cool, I suspected the echo cancel situation, these are usually
 issue even for FAX communication on dahdi.

 Mitul


 On Friday, November 29, 2013, Salaheddine Elharit wrote:

 hello

 i add the following in chan_dahdi and the issue has been solved  thanks
 a lot for your help and support now ican stop the speech and go to my
 context

 i really appreciate your help and support

 immediate = yes
 echocancel = no
 dtmfmode = auto

 -- Forwarded message --
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Date: 2013/11/29
 Subject: Re: [asterisk-users] issue with speech in IVR
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com


 hello

 i add the following in chan_dahdi and the issue has been solved  thanks
 a lot for your help and support now ican stop the speech and go to my
 context

 i really appreciate your help and support


  2013/11/29 Mitul Limbani mi...@enterux.in

 Try following in chan_dahdi

 immediate = yes
 echocancel = no
 dtmfmode = auto

 Mitul
 On Nov 29, 2013 1:42 PM, isr...@gmail.com wrote:

 Are you using a mp3 file?
 I have noticed that using control playback with a mp3 file I cannot
 use the keypad to control the playback

 -Original Message-
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
 08:05:16
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
  asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] issue with speech in IVR

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





 --
 Regards,
 Mitul Limbani,
 Chief Architech  Founder,
 Enterux Solutions Pvt. Ltd.
 110 Reena Complex, Opp. Nathani Steel,
 Vidyavihar (W), Mumbai - 400 086. India
 http://www.enterux.com/
 http://www.entvoice.com/
 email: mi...@enterux.in
 DID: +91-22-71967196
 Cell: +91-9820332422



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
A human being

Re: [asterisk-users] issue with speech in IVR

2013-12-05 Thread Steve Edwards

On Thu, 5 Dec 2013, Salaheddine Elharit wrote:


i have one question related to the IVR below

exten = 600,1,Ringing()
exten = 600,n,Wait(2)
exten = 600,n,Goto(home,s,1)

how can i ask the customer to enter a password before to go to (home,s,1)

and where i must to store a password for example password 1234

if the customer enter 1234 he can Goto(home,s,1) and if the password is wrong i 
playback an error message


That's 3 questions :)

You need to provide more details.

Is the password fixed or stored in a database? Is it the same as their 
voicemail password?


There are examples for all these scenarios. Goggle about, read ATFOT, 
visit voip-info.org or use the Asterisk 'help' commands.



exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}error


Why are you fiddling with global variables? Isn't 
'/var/lib/asterisk/sounds/' your 'default' sounds path?


Please don't top post.

Please trim irrelevent cruft from previous posts.

Please don't burn all your karma points asking simple questions.

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread Salaheddine Elharit
hi

yes  if imake an extension-to-extension call,  i can  send DTMF, Both ways 
yes

in my case i don't need a Hardware SIP phone or a software SIP phones

i have just a number 05xx600

when the customer call this number i stor his number in my database and i
call him later

if he press 1 for xx 1 press 2 for  yyy

i sotre his phone number and his choice in my database

for me the issue the customer he can nto wait the speech of unless  and
 finished .

best regards



i use a diguim card with PRI


2013/11/29 A J Stiles asterisk_l...@earthshod.co.uk

  On 28/11/13 15:36, Salaheddine Elharit wrote:

 hi
 i follow your dialplan but the issue still the same ican't stop the speech
 and go to another context

  any other idea  please

  best regards .

 It sounds as thgough the DTMF tones are not being sent in a way that
 Asterisk is seeing .

 What type of telephone technology are you using?  Hardware SIP phones,
 software SIP phones, analogue phones via an FXS card, analogue phones via a
 SIP ATA?  What codec are you using?

 If you make an extension-to-extension call, can you send DTMF tones down
 the line?  Both ways around?  Do they decode properly?  (You can get a
 mobile phone app for this.)


  --
  AJS

  Answers come *after* questions.


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread isrlgb
Are you using a mp3 file?
I have noticed that using control playback with a mp3 file I cannot use the 
keypad to control the playback
 
-Original Message-
From: Salaheddine Elharit salah.elharit...@gmail.com
Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013 08:05:16 
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] issue with speech in IVR

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread Mitul Limbani
Try following in chan_dahdi

immediate = yes
echocancel = no
dtmfmode = auto

Mitul
On Nov 29, 2013 1:42 PM, isr...@gmail.com wrote:

 Are you using a mp3 file?
 I have noticed that using control playback with a mp3 file I cannot use
 the keypad to control the playback

 -Original Message-
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
 08:05:16
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
  asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] issue with speech in IVR

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread A J Stiles
On Thursday 28 November 2013, Salaheddine Elharit wrote:
 hi
 i follow your dialplan but the issue still the same ican't stop the speech
 and go to another context
 
 any other idea  please
 
 best regards .

Well, the Background() application should definitely allow you to interrupt a 
sound being played.

One possibility is that DTMF tones being generated within a call are not 
reaching Asterisk.  If you phone someone and then press keys in-call, do they 
hear the DTMF tones in their handset?

What kind of phones are you using?  Analogue phones via an ATA, SIP phones or 
something else?

Have you a scrap PC on which you could temporarily install a newer Asterisk 
and Dahdi version and try my VPJB app again?  (I don't actually think your 
problem is caused by an out-of-date version, but it wouldn't hurt to check.)

-- 
AJS

Answers come *after* questions.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread Salaheddine Elharit
hello

i add the following in chan_dahdi and the issue has been solved  thanks a
lot for your help and support now ican stop the speech and go to my context

i really appreciate your help and support


2013/11/29 Mitul Limbani mi...@enterux.in

 Try following in chan_dahdi

 immediate = yes
 echocancel = no
 dtmfmode = auto

 Mitul
 On Nov 29, 2013 1:42 PM, isr...@gmail.com wrote:

 Are you using a mp3 file?
 I have noticed that using control playback with a mp3 file I cannot use
 the keypad to control the playback

 -Original Message-
 From: Salaheddine Elharit salah.elharit...@gmail.com
 Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
 08:05:16
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
  asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] issue with speech in IVR

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-29 Thread Mitul Limbani
Sounds cool, I suspected the echo cancel situation, these are usually issue
even for FAX communication on dahdi.

Mitul

On Friday, November 29, 2013, Salaheddine Elharit wrote:

 hello

 i add the following in chan_dahdi and the issue has been solved  thanks a
 lot for your help and support now ican stop the speech and go to my context

 i really appreciate your help and support

 immediate = yes
 echocancel = no
 dtmfmode = auto

 -- Forwarded message --
 From: Salaheddine Elharit salah.elharit...@gmail.com javascript:_e({},
 'cvml', 'salah.elharit...@gmail.com');
 Date: 2013/11/29
 Subject: Re: [asterisk-users] issue with speech in IVR
 To: Asterisk Users Mailing List - Non-Commercial Discussion 
 asterisk-users@lists.digium.com javascript:_e({}, 'cvml',
 'asterisk-users@lists.digium.com');


 hello

 i add the following in chan_dahdi and the issue has been solved  thanks a
 lot for your help and support now ican stop the speech and go to my context

 i really appreciate your help and support


  2013/11/29 Mitul Limbani mi...@enterux.in javascript:_e({}, 'cvml',
 'mi...@enterux.in');

 Try following in chan_dahdi

 immediate = yes
 echocancel = no
 dtmfmode = auto

 Mitul
 On Nov 29, 2013 1:42 PM, isr...@gmail.com javascript:_e({}, 'cvml',
 'isr...@gmail.com'); wrote:

 Are you using a mp3 file?
 I have noticed that using control playback with a mp3 file I cannot use
 the keypad to control the playback

 -Original Message-
 From: Salaheddine Elharit salah.elharit...@gmail.comjavascript:_e({}, 
 'cvml', 'salah.elharit...@gmail.com');
 
 Sender: asterisk-users-bounces@lists.digium.comDate: Fri, 29 Nov 2013
 08:05:16
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com javascript:_e({}, 'cvml',
 'asterisk-users@lists.digium.com');
 Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
  asterisk-users@lists.digium.com javascript:_e({}, 'cvml',
 'asterisk-users@lists.digium.com');
 Subject: Re: [asterisk-users] issue with speech in IVR

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users





-- 
Regards,
Mitul Limbani,
Chief Architech  Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967196
Cell: +91-9820332422
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread Salaheddine Elharit
hello,

i have add the the code below but the issue still the same i can't go to
the project during the speech
any other solution

best regards

NB:for the version of asterisk i can't move to another version for the
moment

exten = _X,1,NoOp(Digit entered during prompt)
exten = _X,2,Goto(project,s,1)


2013/11/28 Paul Belanger paul.belan...@polybeacon.com

 On 13-11-27 04:57 PM, Salaheddine Elharit wrote:

 hello list

 i have an IVR menu in asterisk 1.4

 like below

 exten = 600,1,Ringing()
 exten = 600,n,Wait(2)
 exten = 600,n,Goto(home,s,1)




 [home]
 exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
 exten = s,n,Background(${sounds_path}music1)
 exten = s,n,Background(${sounds_path}music2)
 exten = s,n,Background(${sounds_path}music3)
 exten = s,n,WaitExten(5)
 exten = s,n,goto(home,s,1)
 exten = i,1,Playback(${sounds_path}error)
 exten = i,n,WaitExten(5)
 exten = i,n,goto(home,s,1)
 exten = 1,1,Goto(project,s,1)

  exten = _X,1,NoOp(Digit entered during prompt)
 exten = _X,2,Goto(project,s,1)



 [project]


 exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
 exten = s,n,Background(${sounds_path}mymusic)
 exten = s,n,WaitExten(5)
 exten = s,n,Goto(project,s,1)
 exten = i,1,Playback(${sounds_path}error)
 exten = i,n,goto(project,s,1)

 my problem when the customor call the number 600 and press 1 in order to
 go
 to the project menu  he must wait all the speech music1 music2 and music 3

 if there is any way to go to project menu during the speech

 thanks and regards





 --
 Paul Belanger | PolyBeacon, Inc.
 Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
 Github: https://github.com/pabelanger | Twitter:
 https://twitter.com/pabelanger


 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread A J Stiles
On Wednesday 27 November 2013, Salaheddine Elharit wrote:
 hello list
 
 i have an IVR menu in asterisk 1.4
 
 [stuff deleted]
 
 my problem when the customor call the number 600 and press 1 in order to go
 to the project menu  he must wait all the speech music1 music2 and music 3
 
 if there is any way to go to project menu during the speech
 
 thanks and regards

This is an actual dialplan application that I wrote.  It's a spike -- a 
proof of concept that is all depth and no breadth.  It's known to work in 
Asterisk 1.8.  

The sound files ajs_juke01 and ajs_anykey you will need to create for 
yourself, depending what MP3s you have available  (and replace ajs_ with your 
own prefix).  You can interrupt the announcements or the MP3s by pressing keys 
while playing.



;;;  VERY PRIMITIVE  JUKE BOX CONTEXT  ;;;
[vpjb]
exten = s,1,Background(ajs_juke01)
; Press 1 for Ocean Colour Scene, 2 for Crowded House
exten = s,n,WaitExten(1)
exten = s,n,Goto(1)

exten = i,1,Hangup()

exten = 1,1,Background(ajs_anykey)
; Press any key to stop the music and return to the menu
exten = 1,n,MP3Player(/songs/09_policemen+pirates.mp3)
exten = 1,n,Goto(vpjb,s,1)

exten = 2,1,Background(ajs_anykey)
; Press any key to stop the music and return to the menu
exten = 2,n,MP3Player(/songs/15_distant_sun.mp3)
exten = 2,n,Goto(vpjb,s,1)

exten = _X,1,Hangup()


-- 
AJS

Answers come *after* questions.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread Salaheddine Elharit
hi
i follow your dialplan but the issue still the same ican't stop the speech
and go to another context

any other idea  please

best regards .


2013/11/28 A J Stiles asterisk_l...@earthshod.co.uk

 On Wednesday 27 November 2013, Salaheddine Elharit wrote:
  hello list
 
  i have an IVR menu in asterisk 1.4
 
  [stuff deleted]
 
  my problem when the customor call the number 600 and press 1 in order to
 go
  to the project menu  he must wait all the speech music1 music2 and music
 3
 
  if there is any way to go to project menu during the speech
 
  thanks and regards

 This is an actual dialplan application that I wrote.  It's a spike -- a
 proof of concept that is all depth and no breadth.  It's known to work in
 Asterisk 1.8.

 The sound files ajs_juke01 and ajs_anykey you will need to create for
 yourself, depending what MP3s you have available  (and replace ajs_ with
 your
 own prefix).  You can interrupt the announcements or the MP3s by pressing
 keys
 while playing.



 ;;;  VERY PRIMITIVE  JUKE BOX CONTEXT  ;;;
 [vpjb]
 exten = s,1,Background(ajs_juke01)
 ; Press 1 for Ocean Colour Scene, 2 for Crowded House
 exten = s,n,WaitExten(1)
 exten = s,n,Goto(1)

 exten = i,1,Hangup()

 exten = 1,1,Background(ajs_anykey)
 ; Press any key to stop the music and return to the menu
 exten = 1,n,MP3Player(/songs/09_policemen+pirates.mp3)
 exten = 1,n,Goto(vpjb,s,1)

 exten = 2,1,Background(ajs_anykey)
 ; Press any key to stop the music and return to the menu
 exten = 2,n,MP3Player(/songs/15_distant_sun.mp3)
 exten = 2,n,Goto(vpjb,s,1)

 exten = _X,1,Hangup()


 --
 AJS

 Answers come *after* questions.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread Steve Murphy
On Thu, Nov 28, 2013 at 8:36 AM, Salaheddine Elharit 
salah.elharit...@gmail.com wrote:

 hi
 i follow your dialplan but the issue still the same ican't stop the speech
 and go to another context

 any other idea  please

 best regards .


​My guess is that your DTMF tones are not reaching Asterisk. Seen it many
times.

Study the path whereby the DTMF is generated and recognized and processed
by
Asterisk. What kind of device are you using? Dahdi? SIP? You can use the
rtp set debug to see if the DTMF is coming thru; look at your channel
config,
there may be something there that might prevent DTMF. Same with the phone
settings.

Best of Luck,

murf​



-- 

Steve Murphy
ParseTree Corporation
57 Lane 17
Cody, WY 82414
✉  murf at parsetree dott com
☎ 307-899-5535
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread Salaheddine Elharit
thanks steve for your response i use dahdi. and  in my sip.conf i
have dtmfmode=auto

idon't know if i must to put relaxdtmf=yes ? in sip.conf or i need to it in
another files

FYI i have a diguim card with dahdi and asterisk 1.4

thanks and regards


2013/11/28 Steve Murphy m...@parsetree.com




 On Thu, Nov 28, 2013 at 8:36 AM, Salaheddine Elharit 
 salah.elharit...@gmail.com wrote:

 hi
 i follow your dialplan but the issue still the same ican't stop the
 speech and go to another context

 any other idea  please

 best regards .


 ​My guess is that your DTMF tones are not reaching Asterisk. Seen it many
 times.

 Study the path whereby the DTMF is generated and recognized and processed
 by
 Asterisk. What kind of device are you using? Dahdi? SIP? You can use the
 rtp set debug to see if the DTMF is coming thru; look at your channel
 config,
 there may be something there that might prevent DTMF. Same with the phone
 settings.

 Best of Luck,

 murf​



 --

 Steve Murphy
 ParseTree Corporation
 57 Lane 17
 Cody, WY 82414
 ✉  murf at parsetree dott com
 ☎ 307-899-5535



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread Paul Belanger

On 13-11-28 05:22 AM, Salaheddine Elharit wrote:

hello,

i have add the the code below but the issue still the same i can't go to
the project during the speech
any other solution

best regards

NB:for the version of asterisk i can't move to another version for the
moment

exten = _X,1,NoOp(Digit entered during prompt)
exten = _X,2,Goto(project,s,1)

Then you have a DTMF issue, Background will allow DTMF to interrupt the 
prompts.


--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-28 Thread A J Stiles

On 28/11/13 15:36, Salaheddine Elharit wrote:

hi
i follow your dialplan but the issue still the same ican't stop the 
speech and go to another context


any other idea  please

best regards .
It sounds as thgough the DTMF tones are not being sent in a way that 
Asterisk is seeing .


What type of telephone technology are you using?  Hardware SIP phones, 
software SIP phones, analogue phones via an FXS card, analogue phones 
via a SIP ATA?  What codec are you using?


If you make an extension-to-extension call, can you send DTMF tones down 
the line?  Both ways around?  Do they decode properly?  (You can get a 
mobile phone app for this.)


--
AJS

Answers come *after* questions.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] issue with speech in IVR

2013-11-27 Thread Salaheddine Elharit
hello list

i have an IVR menu in asterisk 1.4

like below

exten = 600,1,Ringing()
exten = 600,n,Wait(2)
exten = 600,n,Goto(home,s,1)




[home]
exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}music1)
exten = s,n,Background(${sounds_path}music2)
exten = s,n,Background(${sounds_path}music3)
exten = s,n,WaitExten(5)
exten = s,n,goto(home,s,1)
exten = i,1,Playback(${sounds_path}error)
exten = i,n,WaitExten(5)
exten = i,n,goto(home,s,1)
exten = 1,1,Goto(project,s,1)


[project]


exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}mymusic)
exten = s,n,WaitExten(5)
exten = s,n,Goto(project,s,1)
exten = i,1,Playback(${sounds_path}error)
exten = i,n,goto(project,s,1)

my problem when the customor call the number 600 and press 1 in order to go
to the project menu  he must wait all the speech music1 music2 and music 3

if there is any way to go to project menu during the speech

thanks and regards
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] issue with speech in IVR

2013-11-27 Thread emilianovazquez
Go inside the time machine and come back to 2013!

Use a newer version asterisk and you will get help. There are a lot of changes 
and a lot of bugs solved.


Best regards.

Emiliano



Enviado desde mi BlackBerry de Personal (http://www.personal.com.ar/)

-Original Message-
From: Salaheddine Elharit salah.elharit...@gmail.com
Sender: asterisk-users-bounces@lists.digium.comDate: Wed, 27 Nov 2013 21:57:35 
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
Subject: [asterisk-users] issue with speech in IVR

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] issue with speech in IVR

2013-11-27 Thread Paul Belanger

On 13-11-27 04:57 PM, Salaheddine Elharit wrote:

hello list

i have an IVR menu in asterisk 1.4

like below

exten = 600,1,Ringing()
exten = 600,n,Wait(2)
exten = 600,n,Goto(home,s,1)




[home]
exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}music1)
exten = s,n,Background(${sounds_path}music2)
exten = s,n,Background(${sounds_path}music3)
exten = s,n,WaitExten(5)
exten = s,n,goto(home,s,1)
exten = i,1,Playback(${sounds_path}error)
exten = i,n,WaitExten(5)
exten = i,n,goto(home,s,1)
exten = 1,1,Goto(project,s,1)


exten = _X,1,NoOp(Digit entered during prompt)
exten = _X,2,Goto(project,s,1)



[project]


exten = s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/)
exten = s,n,Background(${sounds_path}mymusic)
exten = s,n,WaitExten(5)
exten = s,n,Goto(project,s,1)
exten = i,1,Playback(${sounds_path}error)
exten = i,n,goto(project,s,1)

my problem when the customor call the number 600 and press 1 in order to go
to the project menu  he must wait all the speech music1 music2 and music 3

if there is any way to go to project menu during the speech

thanks and regards






--
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: 
https://twitter.com/pabelanger


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users