Help with Dial Plan issue

General discussions about Asterisk.

Moderators: Moderator, Support

Help with Dial Plan issue

Postby dbrooke » Fri Jun 05, 2015 4:01 pm

Disclaimer: new to Asterisk!

Hello,
I have this:
Code: Select all
;same=>n,Playback(/var/lib/asterisk/sounds/edc/greeting)
same=>n,Background(/var/lib/asterisk/sounds/edc/greeting&/var/lib/asterisk/sounds/edc/options)
same=>n,Saydigits(${orderfour})


Notice that I used to use Playback... which would say a greeting, then Saydigits would say 4 numbers.
When I moved to "Background", Saydigits no longer works.

I have read about Background(digits/).. but I must be using an incorrect syntax or something, as it didn't work.

Any ideas to get the four digits to speak in between 'greeting' and 'options'?

Thanks!
Donovan
dbrooke
Newsterisk
 
Posts: 12
Joined: Mon Apr 06, 2015 3:50 pm

Re: Help with Dial Plan issue

Postby dbrooke » Fri Jun 05, 2015 4:39 pm

Code: Select all
same=>n,Background(/var/lib/asterisk/sounds/edc/greeting)
same=>n,Saydigits(${orderfour})
same=>n,Background(/var/lib/asterisk/sounds/edc/options)


Okay, the above works.. but of course, a user can't DTMF when the Saydigits is being read.. I guess that is okay, but not ideal.

Donovan
dbrooke
Newsterisk
 
Posts: 12
Joined: Mon Apr 06, 2015 3:50 pm


Return to Asterisk General

Who is online

Users browsing this forum: No registered users and 1 guest

cron