Hello All,
I've got Asterisk CVS-HEAD-11/03/04-14:36:44 installed and running.
I have a TDM04B (wildcard with 4 FXO modules) using fxs_ks signalling
(I'm under the suspicion that my lines (2500 lines from a Nortel
Option11 PBX) are merely loopstart, but that's a side issue (which, if
anyone knows for sure, would be nice to know)).
I have a fairly simple extensions.conf consisting of:
[open]
exten = s,1,Wait(1)
exten = s,2,Answer
exten = s,3,MP3Player(/var/lib/asterisk/sounds/P73_hoho.mp3)
exten = s,4,Flash()
exten = s,5,SendDTMF(1300)
exten = s,6,Hangup
[closed]
exten = s,1,Wait(1)
exten = s,2,Answer
exten = s,3,Background(beep)
exten = s,4,Flash()
exten = s,5,SendDTMF(7112)
exten = s,6,Hangup
[default]
include = closed|00:00-16:00|mon|*|*
include = closed|02:00-16:00|tue-wed|*|*
include = closed|02:00-16:00|thu|*|*
include = closed|02:00-11:00|fri|*|*
include = closed|04:00-11:00|sat|*|*
include = closed|04:00-11:00|sun|*|*
include = open
When I make a call during the open hours, no problems. and I get this
output from the console:
Connected to Asterisk CVS-HEAD-11/03/04-14:36:44 currently running on
asterisk1 (pid = 1421)
Verbosity is atleast 3
-- Remote UNIX connection
-- Starting simple switch on 'Zap/3-1'
-- Executing Wait(Zap/3-1, 1) in new stack
-- Executing Answer(Zap/3-1, ) in new stack
-- Executing MP3Player(Zap/3-1,
/var/lib/asterisk/sounds/P73_hoho.mp3) in new stack
-- Executing Flash(Zap/3-1, ) in new stack
-- Flashed channel Zap/3-1
-- Executing SendDTMF(Zap/3-1, 1300) in new stack
-- Executing Hangup(Zap/3-1, ) in new stack
== Spawn extension (default, s, 6) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
asterisk1*CLI
HOWEVER; when I call during the closed period, it doesn't go so well:
Connected to Asterisk CVS-HEAD-11/03/04-14:36:44 currently running on
asterisk1 (pid = 1521)
Verbosity is atleast 3
Asterisk Ready.
-- Remote UNIX connection
-- Starting simple switch on 'Zap/3-1'
-- Executing Wait(Zap/3-1, 1) in new stack
-- Executing Answer(Zap/3-1, ) in new stack
-- Executing BackGround(Zap/3-1, beep) in new stack
-- Playing 'beep' (language 'en')
-- Executing Flash(Zap/3-1, ) in new stack
Nov 10 16:09:40 WARNING[1535]: app_flash.c:82 flash_exec: Unable to
flash channel Zap/3-1: Device or resource busy
== Spawn extension (default, s, 4) exited non-zero on 'Zap/3-1'
-- Hungup 'Zap/3-1'
asterisk1*CLI
I put the Background(beep) in because asterisk wasn't even picking up
the line previously. I'd tried a NoOp before that, and it made no
difference.
Can anyone tell me how to make this work? Any patches (in or out of
CVS) to app_flash.c that relieve this issue? I'll be trying a 1/4
second silent mp3 shortly.
Thanks.
Jeff
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users