[Asterisk-Users] Re: Creating a phone channel

Derek Beaumont jerkface2098 at hotmail.com
Tue Apr 29 09:45:57 MST 2003


==========================================================
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




More information about the asterisk-users mailing list