I found a couple of tips on how to configure the console sound card for use in Overhead paging. I'm using the Asterisk@home 0.8. I copied the oss.conf from /etc/asterisk/default to /etc/asterisk. I added the chan_oss module to the modules.conf file. After rebooting the system I checked to see if the chan_oss module was loaded (show modules) and it was. I created an extension in asterisk with the following parameters:
;INTERCOM added 4/21/05 pat
exten => 111,1,Ringing
exten => 111,2,Dial(CONSOLE/dsp,20,A(beep))
exten => 111,3,Hangup
This was in the tech article I found. Here is the output of asterisk when I cal extension 111:
login as: root
root@192.168.1.107's password:
Last login: Thu Apr 21 22:50:52 2005
Welcome to Asterisk@Home
-------------------------------------------------
For access to the Asterisk@Home web GUI use this URL
http://192.168.1.107
For help on Asterisk@Home commands you can use from this
command shell type help-aah.
[root@asterisk1 root]# clear
[root@asterisk1 root]# asterisk -r
Asterisk 1.0.7, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
================================================== =======================
Connected to Asterisk 1.0.7 currently running on asterisk1 (pid = 1513)
Verbosity is at least 3
-- Executing Ringing("SIP/200-21e0", "") in new stack
-- Executing Dial("SIP/200-21e0", "CONSOLE/dsp|20|A(beep)") in new stack
== Everyone is busy/congested at this time
-- Executing Hangup("SIP/200-21e0", "") in new stack
== Spawn extension (from-internal, 111, 3) exited non-zero on 'SIP/200-21e0'
-- Executing Macro("SIP/200-21e0", "hangupcall") in new stack
-- Executing ResetCDR("SIP/200-21e0", "w") in new stack
-- Executing NoCDR("SIP/200-21e0", "") in new stack
-- Executing Wait("SIP/200-21e0", "5") in new stack
-- Executing Hangup("SIP/200-21e0", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/200-21e0' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/200-21e0'
asterisk1*CLI>
I'm not sure how to trouble shoot this from here.
Pat Delaney