Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed the Asterisks by using yum in fedora 10. can someone tell me how can i set it up to use with two SIP phones. Actually i didnt have installed or configured the Asterisks before. I have Digium Analog card for Asterisks. Please tell me the detailed steps. Thank you
I hope this will help you to set-up asterisk because this working configuration and dialplan
vim /etc/zaptel.conf
Quote:
;here we are using Digium AXE800p it has 4fxo and 4fxs
;assign fxo ports to fxsks module and fxo ports to fxoks module
;so configure this according to the card and zone
fxsks=1,2,3,4
fxoks=5,6,7,8
loadzone = us
defaultzone=us
[7153]
disallow=all
allow=ulaw
allow=alaw
allow=gsm
;allow=h263
;allow=h263p
;allow=h264
type=friend
username=7153
secret=kirukaa@1
host=dynamic
callerid=7153
context=internal ; internal context group allowed for outbound calls, sip calls and local pbx extensions
nat=yes ; check for default no
reinvite=no
caninvite=no
fromdomain=domain.com
vim /etc/asterisk/extensions.conf
Quote:
[internal]
include => pstn_outbound
include => pbx_outbound
include => sipusers_outbound
[sipusers_outbound]
exten => _0XXXX,1,Wait(1) ; Wait a second, just for fun
exten => _0XXXX,n,Answer ; Answer the line
exten => _0XXXX,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => _0XXXX,n,Set(TIMEOUT(response)=10)
;exten => _0XXXX,n,Set(passkey=${DB(auth_user/${CALLERID(num)})})
;exten => _0XXXX,n,Authenticate(${passkey}|aj) ; Set Digit Timeout to 5 seconds
exten => _0XXXX,n,Dial(SIP/${EXTEN:1});
exten => _XXXX,1,Wait(1) ; Wait a second, just for fun
exten => _XXXX,n,Answer ; Answer the line
exten => _XXXX,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => _XXXX,n,Set(TIMEOUT(response)=10)
;exten => _0XXXX,n,Set(passkey=${DB(auth_user/${CALLERID(num)})})
;exten => _0XXXX,n,Authenticate(${passkey}|aj) ; Set Digit Timeout to 5 seconds
exten => _XXXX,n,Dial(SIP/${EXTEN});
[pstn_outbound]
;Any out going number
exten => _9.,1,Wait(1) ; Wait a second, just for fun
exten => _9.,n,Answer ; Answer the line
exten => _9.,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds
exten => _9.,n,Set(TIMEOUT(response)=10)
;exten => _.,n,Set(passkey=${DB(auth_user/${CALLERID(num)})})
;exten => _9.,n,Authenticate(${passkey}|aj) ; Set Digit Timeout to 5 seconds
;exten => _9.,n,ChanIsAvail(ZAP/g1);
;exten => _9.,n,Dial(${CUT(AVAILCHAN||1)}/${EXTEN:1});
exten => _9.,n,Dial(Zap/g1/${EXTEN:1});
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.