Greetings, I have a fresh asterisk installation. When I install I get all of the config files. What is the best way to get a 'stripped' down system with just the bare config files I would need to do a sip connection? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091014/4e1042b1/attachment.htm
Here is sample configuration
Just add a registry string and a sip account and send all calls to this account.
For example in dial string in extensions.conf
exten=>,_X.,1,Dial(SIP/14168404433 at adf)
///////////////////////////////////////
;??????????? sip.conf
; Registry string
register=> adf:123 at voip-provider.com:9060
;sip account
[adf]
type=peer
host=voip-provider.com
port=9060
context=default
country=us
dtmfmode=rfc2833
restrictcid=no
canreinvite=yes
insecure=no
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
promiscredir=yes
t38_udptl=yes
qualify=25000
nat=yes
////////////////////////////////////////////
Muhammad Faheem
--- On Wed, 10/14/09, Matt <mhoppes at gmail.com> wrote:
From: Matt <mhoppes at gmail.com>
Subject: [asterisk-users] Config Files
To: asterisk-users at lists.digium.com
Date: Wednesday, October 14, 2009, 7:39 PM
Greetings,
I have a fresh asterisk installation. When I install I get all of the config
files. What is the best way to get a 'stripped' down system with just
the bare config files I would need to do a sip connection?
-----Inline Attachment Follows-----
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
???http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20091014/bb4f01fd/attachment.htm
At 10:39 AM on 14 Oct 2009, Matt wrote:> Greetings, > I have a fresh asterisk installation. When I install I get all of the > config files. What is the best way to get a 'stripped' down system > with just the bare config files I would need to do a sip connection?In my experience, this was a bit of a procedure. But I thought it was worth it to reduce clutter. Basically, you need to find out which modules you need, and set "autoload=no" in modules.conf, and then load (with "load=xxx.so") each module individually, making sure you've also loaded each module's dependencies. Finding these dependencies was a bit of leg work. I don't remember where I figured that out... sorry. Then you need to find out which modules need which configuration files, and then delete the rest of them... To get you started, I've attached my modules.conf (with sparse comments), and here's a list of the files in my /etc/asterisk directory: asterisk.conf cdr.conf cdr_custom.conf extensions.ael extensions.conf features.conf indications.conf logger.conf modules.conf musiconhold.conf queues.conf sip.conf voicemail.conf zapata-channels.conf zapata.conf YMMV, HTH, HAND. :-) -- C. Chad Wallace, B.Sc. The Lodging Company http://www.skihills.com/ OpenPGP Public Key ID: 0x262208A0 -------------- next part -------------- A non-text attachment was scrubbed... Name: modules.conf Type: application/octet-stream Size: 1387 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091014/eb40cde2/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20091014/eb40cde2/attachment.pgp