[Asterisk-Users] phonejack and linejack in the same system

Karl Brose karlbrose at optonline.net
Sun May 2 11:31:55 MST 2004


If you are indeed running RH9.0  you don't need to install any extra ixj
drivers.
This distro has all drivers included and they work fine.
ztdummy has nothing to do with chan_phone.
However, you do need to create the device nodes and load the driver with
modprobe.
It wasn't clear to me from the post that you did that.
to make sure you actually have a working device, try this before running
asterisk:
as root run:
cat /proc/ixj
It should list all the device parameters.

If you are running more than one card, you have to be careful of the
limitations
of the config file, the parameter apply to all cards.  Make sure the device=
lines are at the end of the file.
I have a rewritten driver for chan_phone, that corrects all these problems
and lets
you configure each device separately. You are welcome to try it.
Send me a private e-mail if you're interested.

Karl Brose

----- Original Message ----- 
From: "Raul Elizondo (wizardteam)" <rauleli at wizardteam.com>
To: <asterisk-users at lists.digium.com>
Sent: Sunday, May 02, 2004 06:03
Subject: RE: [Asterisk-Users] phonejack and linejack in the same system


> This is as far as i could go...
>
> I readed about the archives for "ztdummy", and made the fix and recompiled
> after using ./configure --disable-isa-pnp, i edited the phone.conf and
> extensions.conf, but i still get this messages:
>
>
>  [chan_phone.so] => (Linux Telephony API Support)
>   == Parsing '/etc/asterisk/phone.conf': Found
> May  2 03:52:44 WARNING[16384]: chan_phone.c:950 mkif: Unable to open
> '/dev/phone0'
> May  2 03:52:44 ERROR[16384]: chan_phone.c:1141 load_module: Unable to
> register channel '/dev/phone0'
>   == Unregistered channel type 'Phone'
> May  2 03:52:44 WARNING[16384]: loader.c:326 ast_load_resource:
> chan_phone.so: load_module failed, returning -1
>   == Unregistered channel type 'Phone'
> May  2 03:52:44 WARNING[16384]: loader.c:421 load_modules: Loading module
> chan_phone.so failed!
> [root at homepbx asterisk]# ls /dev/phone0
> /dev/phone0
>
> I am going to compile openh323 just to make sure both quicknet cards work
in
> this box, but it was working in another box with redhat9.
>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Raul Elizondo
> (wizardteam)
> Sent: Sunday, May 02, 2004 3:28 AM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] phonejack and linejack in the same system
>
>
> i actually found a couple things interesting in the archives after i wrote
> my first email, and i deleted the soundcard, but i still got problems with
> the linejack, i m testing all possible options.
>
> -=Raul=-
>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Jay Milk
> Sent: Sunday, May 02, 2004 1:45 AM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] phonejack and linejack in the same system
>
>
> I'm a newbie too -- search the archives for "ztdummy".
>
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Raul
> Elizondo (wizardteam)
> Sent: Sunday, May 02, 2004 2:32 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] phonejack and linejack in the same system
>
>
> Hi,
>
> I am a newbie in asterisk, i could compile it and run it with no problem
> on a RedHat 9. In the same box, i got a linejack and a phonejack cards
> and i downloaded the CVS driver from quicknet.  This 2 card were working
> in a openh323 (openphone and pstn) project with gnugk on a RedHat 9.
>
> I am using the default samples, and i tried /dev/phone0 and /dev/phone1,
> but when i run asterisk, i get this error:
>
>  [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
> May  2 01:16:42 WARNING[16384]: chan_iax2.c:6789 load_module: Unable to
> open IAX timing interface: No such device
>   == Manager registered action IAXpeers
>   == Parsing '/etc/asterisk/iax.conf': Found
>   == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver
> 2))
>   == Using TOS bits 16
>   == IAX Ready and Listening on 0.0.0.0 port 4569
>   == Loaded firmware 'iaxy.bin'
>  [chan_local.so] => (Local Proxy Channel)
>   == Registered channel type 'Local' (Local Proxy Channel Driver)
> [chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
>   == Parsing '/etc/asterisk/skinny.conf': Found
>   == Skinny listening on 0.0.0.0:2000
>   == Registered channel type 'Skinny' (Skinny Client Control Protocol
> (Skinny))
>  [chan_oss.so] => (OSS Console Channel Driver)
> May  2 01:16:42 WARNING[16384]: chan_oss.c:429 soundcard_init: Unable to
> open /dev/dsp: No such device
>   == No sound card detected -- console channel will be unavailable
>   == Turn off OSS support by adding 'noload=chan_oss.so' in
> /etc/asterisk/modules.conf  [chan_phone.so] => (Linux Telephony API
> Support)
>   == Parsing '/etc/asterisk/phone.conf': Found
> May  2 01:16:42 WARNING[16384]: chan_phone.c:950 mkif: Unable to open
> '/dev/phone0' May  2 01:16:42 ERROR[16384]: chan_phone.c:1141
> load_module: Unable to register channel '/dev/phone0'
>   == Unregistered channel type 'Phone'
> May  2 01:16:42 WARNING[16384]: loader.c:326 ast_load_resource:
> chan_phone.so: load_module failed, returning -1
>   == Unregistered channel type 'Phone'
> May  2 01:16:43 WARNING[16384]: loader.c:421 load_modules: Loading
> module chan_phone.so failed!
>
> this does not happend and asterisk runs ok and gives a CLI> prompt if i
> comment back these lines.
>
> Any hint?
>
> Regards,
>
> -=Raul=-
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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




More information about the asterisk-users mailing list