[Asterisk-Users] Re: Creating a phone channel

Zara Trousk zaratrousk at mindless.com
Wed Apr 30 02:19:22 MST 2003


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 at hotmail.com>
Date: Tue, 29 Apr 2003 12:45:57 -0400 
To: asterisk-users at 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 at 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




More information about the asterisk-users mailing list