[Asterisk-Users] 'background' problem

Mark Elkins mje at posix.co.za
Sat Jun 12 08:47:19 MST 2004


I have a 'day' and a 'night' mode. In the day mode, I play a
'background' message which is interruptable by the pushing of a DTMF key
- ie - all is normal.

In night mode - I decided to get smarter...

I play two backgrounds with a 'sayunixtime' in between and now DTMF does
nothing - the menu times out to my 'lets get the operator then'...

If I change the three commands to a single 'playback' - everything works
as expected.

Is this because 'sayunixtime' breaks things?
Should I use something else instead of the first 'playback'?
This is with a very recent version of Head CVS.

Code:
exten => s,7,Playback(posix-welcome-afterhours) ; "Welcome to Posix" 	;
"Systems After hours support, Our business hours are Monday"	
	; "to Friday, 8am to 5pm. The time is now.... "
exten => s,8,SayUnixTime(||AIMP)    ; A:Day, I:Hours, M:Minutes, P:am/pm
exten => s,9,Playback(posix-welcome-afterhours-try) ; "Please dial 1"
	; "for support, ...Blah... or Stay on the line for an operator"
                                                                                       Suggestions?

-- 
  .  .     ___. .__      Posix Systems - Sth Africa
 /| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496




More information about the asterisk-users mailing list