I'm trying to setup a primitive announcement-paging system in my house using the line-out from my * box to a cheap amplifier that runs to speakers on our first and second floors from the basement. I have a extension that connects to Console, and console is set to auto-pickup. I'm using alsa drivers. This all works great, except for one thing. I want to play a tone over the console after the console picks up. What i'm doing right now is calling Playback after the Dial. However, No playback sound or background sound is being heard over the console speakers or are any error messages appearing in the command line. The extensions.conf entry looks like this: [access-internal] include => parkedcalls exten => 31,1,Dial(SIP/line1,30,t) exten => 31,2,Voicemail(u1) exten => 32,1,Dial(SIP/line2,30,t) exten => 32,2,Voicemail(u1) exten => 33,1,Dial(SIP/grand,30,t) exten => 33,2,Voicemail(u1) exten => 310,1,Dial(Console/dsp) ;; intercom exten => 310,2,Playback(tt-weasels) Thanks to anybody who can help!
do you got your speakers in the 2 floors of your house hooked up to the computer? am just curious. how do you got your sound system set up? email me off list. this may be off topic. email hank@hanksmith.net ----- Original Message ----- From: "Chris Foster" <masteryoda305@gmail.com> To: <Asterisk-Users@lists.digium.com> Sent: Monday, July 05, 2004 5:48 PM Subject: [Asterisk-Users] Playback over Console> I'm trying to setup a primitive announcement-paging system in my house > using the line-out from my * box to a cheap amplifier that runs to > speakers on our first and second floors from the basement. I have a > extension that connects to Console, and console is set to auto-pickup. > I'm using alsa drivers. > > This all works great, except for one thing. I want to play a tone over > the console after the console picks up. What i'm doing right now is > calling Playback after the Dial. However, No playback sound or > background sound is being heard over the console speakers or are any > error messages appearing in the command line. > > The extensions.conf entry looks like this: > [access-internal] > include => parkedcalls > exten => 31,1,Dial(SIP/line1,30,t) > exten => 31,2,Voicemail(u1) > exten => 32,1,Dial(SIP/line2,30,t) > exten => 32,2,Voicemail(u1) > exten => 33,1,Dial(SIP/grand,30,t) > exten => 33,2,Voicemail(u1) > exten => 310,1,Dial(Console/dsp) ;; intercom > exten => 310,2,Playback(tt-weasels) > > Thanks to anybody who can help! > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
On Mon, 5 Jul 2004, Chris Foster wrote:> I'm trying to setup a primitive announcement-paging system in my house > using the line-out from my * box to a cheap amplifier that runs to > speakers on our first and second floors from the basement. I have a > extension that connects to Console, and console is set to auto-pickup. > I'm using alsa drivers. > > This all works great, except for one thing. I want to play a tone over > the console after the console picks up. What i'm doing right now is > calling Playback after the Dial. However, No playback sound or > background sound is being heard over the console speakers or are any > error messages appearing in the command line.I suspect that after Dial has happened the auto-answer connects you to the console, and the call doesn't reach Playback until after the console hangs up. Watch the CLI while you make the call to see if this is what happens (and try issuing a hangup command at the CLI to see whether you get the Playback sent to whatever device placed the call). As for how to do what you're after.. I dunno! Maybe you can find a way to "pick up" the console as if to dial from the console out to somewhere and issue the Playback then. After it completes, hangup and Dial() the original call to the console, with auto-answer turned on. Greg