I need help creating a channel for my phone device (Quicknet PhoneJack). I have installed and loaded the driver and phone devices listen in /dev (phone0 - phone15). [phone.conf] mode=dialtone format=slinear device => /dev/phone0 fxoks=2 ;Quicknet PhoneJack [extensions.conf] ... exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 ... When I try to make a call, I get the following output: Executing Dial("Phone/phone0", "Phone/phone0) in new stack NOTICE[262159]: File app_dial.c, Line 476 (dial_exec): Unable to create channel of type 'Phone' Any help is appreciated. _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
Presumably you did actually read the phone.conf.sample file ?? Might I suggest you do, in what you have below you seem to have created your own options (hey its late here, i might be wrong). and if you have only one phonejack, you only create one entry into the file. (phone0) On Tue, 29 Apr 2003 09:39:27 -0400, Derek Beaumont wrote:>I need help creating a channel for my phone device (Quicknet PhoneJack). >I have installed and loaded the driver and phone devices listen in /dev >(phone0 - phone15). > >[phone.conf] >mode=dialtone >format=slinear >device => /dev/phone0 >fxoks=2 ;Quicknet PhoneJack > >[extensions.conf] > >... >exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 >... > > >When I try to make a call, I get the following output: > >Executing Dial("Phone/phone0", "Phone/phone0) in new stack >NOTICE[262159]: File app_dial.c, Line 476 (dial_exec): Unable to create >channel of type 'Phone' > > >Any help is appreciated. > >_________________________________________________________________ >The new MSN 8: advanced junk mail protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users.
Try to put Dial,phone/phone0:${EXTEN} into the extensions.conf -- Stefano ----- Original Message ----- From: "Derek Beaumont" <jerkface2098@hotmail.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, April 29, 2003 3:39 PM Subject: [Asterisk-Users] Creating a phone channel> I need help creating a channel for my phone device (Quicknet PhoneJack). > I have installed and loaded the driver and phone devices listen in /dev > (phone0 - phone15). > > ... > exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 > ... >
On Tue, 29 Apr 2003 16:06:11 +0200, Stefano Finetti wrote:>Try to put Dial,phone/phone0:${EXTEN} > >into the extensions.confThat wont work, remember that the phonejack is an fsx device, thus telling it to dial is useless ;-)>-- >Stefano >----- Original Message ----- >From: "Derek Beaumont" <jerkface2098@hotmail.com> >To: <asterisk-users@lists.digium.com> >Sent: Tuesday, April 29, 2003 3:39 PM >Subject: [Asterisk-Users] Creating a phone channel > > >> I need help creating a channel for my phone device (Quicknet PhoneJack). >> I have installed and loaded the driver and phone devices listen in /dev >> (phone0 - phone15). >> >> ... >> exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 >> ... >> > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users.
============================================================="Try to put Dial,phone/phone0:${EXTEN} into the extensions.conf" =============================================================That did not work. It changed the error message in that it adds the extension that I dialed. ==============================================================Presumably you did actually read the phone.conf.sample file ?? ==============================================================Yes I did. ==============================================================and if you have only one phonejack, you only create one entry into the file. (phone0) ==============================================================There is only one entry in the file (device=>/dev/phone0) If that comment refers to me having phone0 - phone15 in my /dev folder, I believe that is because the ixj driver supports up to 15 Quicknet devices (I'm pretty sure that I read that somewhere). ----- Original Message ----- From: "Derek Beaumont" <jerkface2098@hotmail.com> To: <asterisk-users@lists.digium.com> Sent: Tuesday, April 29, 2003 3:39 PM Subject: [Asterisk-Users] Creating a phone channel>I need help creating a channel for my phone device (Quicknet PhoneJack). >I have installed and loaded the driver and phone devices listen in /dev >(phone0 - phone15). > >... >exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 >... > >When I try to make a call, I get the following output: > >Executing Dial("Phone/phone0", "Phone/phone0) in new stack >NOTICE[262159]: File app_dial.c, Line 476 (dial_exec): Unable to create >channel of type 'Phone' > > >Any help is appreciated. >_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
----- Original Message ----- From: "Gary" <gary@ausmail.com>> > That wont work, remember that the phonejack is an fsx device, thus > telling it to dial is useless ;-) >Whops! Too much time spent to solve the problem with my I4L modem, I forgot the simple fact that the phonejack IS a phone and not a modem :-) Sorry (going back over the Asterisk box walking on his kneels) ;-) -- Stefano
===================================================================>Try to put Dial,phone/phone0:${EXTEN}> >into the extensions.confThat wont work, remember that the phonejack is an fsx device, thus telling it to dial is useless ;-) =================================================================== If I don't use the PhoneJack to dial, then what am I supposed to use? Do I use the X100P to dial? If that is the case, what is the purpose of the PhoneJack? _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
First of all do a cat /proc/ixj See what number is your card, if it is the only card it should be Card ) being /dev/phone0 Then check the phone conf make sure your device is listed there and is in mode=immediate ou mode=dialtone finally you should have an extension on the proper context stating something like: exten => _NXXNXXXXXX,1,Dial(Phone/phone0,20) This should ring the phone on /dev/phone0 for 20 seconds, you can remove the ,20 part if you wish to ring it infinitely. On * console you can try and dial it by issuing the following command: * CLI> dial 2002123456@Your_context If that is a plain new install the easiest way to start is to put it on [demo] context. -P ----- Original Message ----- From: "Stefano Finetti" <ssfinetti@lynxautomotive.it> Date: Tue, 29 Apr 2003 16:06:11 +0200 To: <asterisk-users@lists.digium.com> Subject: Re: [Asterisk-Users] Creating a phone channel> Try to put Dial,phone/phone0:${EXTEN} > > into the extensions.conf > > -- > Stefano > ----- Original Message ----- > From: "Derek Beaumont" <jerkface2098@hotmail.com> > To: <asterisk-users@lists.digium.com> > Sent: Tuesday, April 29, 2003 3:39 PM > Subject: [Asterisk-Users] Creating a phone channel > > > > I need help creating a channel for my phone device (Quicknet PhoneJack). > > I have installed and loaded the driver and phone devices listen in /dev > > (phone0 - phone15). > > > > ... > > exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 > > ... > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
Exactly, an FXS card has a POTS port, so there is nothing you can send TO IT but ringing. Sending digits to it won't help, it does not dial. Unfortunatly this causes a bit of confusion on * config because you send digits by the Command Dial and you send ringing with the same command, th e point is if you want to send ringing you don't put anything else in front of the device you're specifying, but the no of secs you want it to ring before it goes to the next step. FXS cards provide dial tone to the device connected to it(that must be a terminal), accept digits from that terminal and gives ringing to the terminal. - That is all it does. Cheers, -P ----- Original Message ----- From: "Gary" <gary@ausmail.com> Date: Wed, 30 Apr 2003 00:32:00 +1000 To: "asterisk-users@lists.digium.com" <asterisk-users@lists.digium.com> Subject: Re: [Asterisk-Users] Creating a phone channel> On Tue, 29 Apr 2003 16:06:11 +0200, Stefano Finetti wrote: > > >Try to put Dial,phone/phone0:${EXTEN} > > > >into the extensions.conf > > That wont work, remember that the phonejack is an fsx device, thus > telling it to dial is useless ;-) > > >-- > >Stefano > >----- Original Message ----- > >From: "Derek Beaumont" <jerkface2098@hotmail.com> > >To: <asterisk-users@lists.digium.com> > >Sent: Tuesday, April 29, 2003 3:39 PM > >Subject: [Asterisk-Users] Creating a phone channel > > > > > >> I need help creating a channel for my phone device (Quicknet PhoneJack). > >> I have installed and loaded the driver and phone devices listen in /dev > >> (phone0 - phone15). > >> > >> ... > >> exten=>_NXXNXXXXXX,1,Dial,Phone/phone0 > >> ... > >> > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > > . > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup
=========================================================First of all do a cat /proc/ixj =========================================================This shows that my card is "Card Num 0" =========================================================Then check the phone conf make sure your device is listed there and is in mode=immediate ou mode=dialtone =========================================================**phone.conf** [interfaces] mode=dialtone format=slinear echocancel=medium fxoks=>2 ;Quicknet PhoneJack on channel 2 context=local device=>/dev/phone0 =========================================================finally you should have an extension on the proper context stating something like: exten => _NXXNXXXXXX,1,Dial(Phone/phone0,20) =========================================================I have that =========================================================This should ring the phone on /dev/phone0 for 20 seconds, you can remove the ,20 part if you wish to ring it infinitely. =========================================================I don't understand that last part. If I have an extension _NXXNXXXXXX, then why would it ring the phone at /dev/phone0? Shouldn't I be able to pick up /dev/phone0 and call an outside number at the extension _NXXNXXXXXX? More lost than when I started... _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
Derek, I don't know how to tell you this... PhoneJacks DO NOT DIAL OUT in the sense that You DO NOT connect phones lines to it. If you want to pickup THE PHONE connected to it and dial an extension, you should just create that extension and make sure /dev/phone0 is in that context, thus, you don't DIAL phone0. I'm so sorry, but maybe I don't understand properly what you want to do... -P ----- Original Message ----- From: "Derek Beaumont" <jerkface2098@hotmail.com> Date: Tue, 29 Apr 2003 12:45:57 -0400 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: Creating a phone channel> =========================================================> First of all do a cat /proc/ixj > =========================================================> This shows that my card is "Card Num 0" > > =========================================================> Then check the phone conf make sure your device is listed > there and is in mode=immediate ou mode=dialtone > =========================================================> **phone.conf** > [interfaces] > mode=dialtone > format=slinear > echocancel=medium > fxoks=>2 ;Quicknet PhoneJack on channel 2 > context=local > device=>/dev/phone0 > > =========================================================> finally you should have an extension on the proper context > stating something like: > > exten => _NXXNXXXXXX,1,Dial(Phone/phone0,20) > =========================================================> I have that > > =========================================================> This should ring the phone on /dev/phone0 for 20 seconds, > you can remove the ,20 part if you wish to ring it > infinitely. > =========================================================> I don't understand that last part. If I have an extension > _NXXNXXXXXX, then why would it ring the phone at /dev/phone0? > Shouldn't I be able to pick up /dev/phone0 and call an outside > number at the extension _NXXNXXXXXX? > > More lost than when I started... > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup