[Asterisk-Users] Asterisk and Internet Phone/Line Jack
Rob Emanuele
rje at shoreis.com
Thu Oct 14 14:36:01 MST 2004
Greetings,
I've been toying with Asterisk for a while now and I'm trying to get it
seriously working as a PBX for my home with multiple stations. I've got a
lot of linux and telephony experiance so this shouldn't be this hard.
Anyway....
In using 2 ISA Quicknet Cards, one Phone Jack and one Line Jack. I cannot
get my Phone Jack to function properly yet the Line Jack works fine. The
demo works with the Line Jack and I can call the digum office, voice mail,
etc. Any phone hooked to the Phone jack is completely unresponsive, no
dial tone, no dead air.
The driver for the ixj is the one with the kernel. I have seen other
drivers and was wondering if I should try those too.
I've tried to give all the relevant info below.
Thanks,
Rob
In the Server:
1 Line Jack as a station
1 Phone Jack as a station
Linux 2.6.8.1 (Fedora Core 2 recompiled
kernel RPM with ixj modules)
modules loaded with "modprobe ixj"
In my dev directory (these were created by hand):
[root at wildduck dev]# ls -l phone*
crw-r--r-- 1 root root 100, 0 Oct 12 21:10 phone0
crw-r--r-- 1 root root 100, 1 Oct 12 21:47 phone1
/var/log/messages shows:
Oct 14 13:43:27 wildduck kernel: Linux telephony interface: v1.00
Oct 14 13:43:27 wildduck kernel: pnp: Device 00:02.00 activated.
Oct 14 13:43:27 wildduck kernel: ixj: found Internet PhoneJACK at 0x300
Oct 14 13:43:27 wildduck kernel: pnp: Device 00:01.00 activated.
Oct 14 13:43:30 wildduck kernel: ixj: found Internet LineJACK at 0x310
Oct 14 13:43:30 wildduck kernel: $Id: ixj.c,v 4.7 2001/08/13 06:19:33
craigs Exp $
/etc/asterisk/phone.conf has these snips:
mode=dialtone
format=ulaw
echocancel=medium
device => /dev/phone0
device => /dev/phone1
/etc/asterisk/extensions.conf has these snips:
CONSOLE=Phone/phone0
exten => 1265,1,Dial(Phone/phone0,15)
exten => 1265,2,Goto(s,5)
exten => 1266,1,Dial(Phone/phone1,15)
exten => 1266,2,Goto(s,5)
/proc/ixj might be useful also:
$Id: ixj.c,v 4.7 2001/08/13 06:19:33 craigs Exp $
$Id: ixj.h,v 4.1 2001/08/04 14:49:27 craigs Exp $
$Id: ixjuser.h,v 4.1 2001/08/05 00:17:37 craigs Exp $
Driver version 1.0.1
sizeof IXJ struct 21248 bytes
sizeof DAA struct 642 bytes
Using old telephony API
Debug Level 0
Card Num 0
DSP Base Address 0x0300
DSP Type 8020
DSP Version 01.14
Serial Number 101000df
Card Type = Internet PhoneJACK
Readers 0
Writers 0
Capabilities 15
Caller ID data not sent
Play CODEC NO CODEC CHOSEN
Record CODEC NO CODEC CHOSEN
AEC Off
Rec volume 0x100
Play volume 0x100
DTMF prescale 0x40
Hook state 0
Port POTS
Base Frame 00.00
CID Base Frame 0
Timer Checks 160613
RX Ready Checks 160613
TX Ready Checks 160613
Frames Read 0
Frames Written 0
Dry Buffer 0
Read Waits 0
Write Waits 0
Status Waits 840257
Status Wait Fails 0
PControl Waits 0
PControl Wait Fails 0
Is Control Ready Checks 0
Is Control Ready Check failures 0
Card Num 1
DSP Base Address 0x0310
XILINX Base Address 0x0320
DSP Type 8021
DSP Version 01.15
Serial Number 321100c1
Card Type = Internet LineJACK Country = 1
Readers 0
Writers 0
Capabilities 15
DSP Processor load 223
Caller ID data not sent
Play CODEC NO CODEC CHOSEN
Record CODEC NO CODEC CHOSEN
AEC Off
Rec volume 0x100
Play volume 0x100
DTMF prescale 0x10
Hook state 0
POTS Correct 1
PSTN Present 0
PSTN Check 0
POTS to PSTN 1
DAA PSTN On Hook
DAA RMR = 0
DAA VDD OK = 0
DAA CR0 = 0xff
DAA CR1 = 0x05
DAA CR2 = 0x04
DAA CR3 = 0x00
DAA CR4 = 0x02
DAA CR5 = 0x02
DAA XR0 = 0x00
DAA ringstop 0 - jiffies 1569291
Port PSTN
SLIC state ACTIVE
Base Frame 07.f0
CID Base Frame 0
Timer Checks 160373
RX Ready Checks 160373
TX Ready Checks 160373
Frames Read 0
Frames Written 0
Dry Buffer 0
Read Waits 0
Write Waits 0
Status Waits 2005
Status Wait Fails 0
PControl Waits 0
PControl Wait Fails 0
Is Control Ready Checks 0
Is Control Ready Check failures 0
More information about the asterisk-users
mailing list