All pastes #187 Raw Edit

WizardWlf

public ini v1 · immutable
#187 ·published 2004-06-07 06:12 UTC
rendered paste body
[channels];set up some basic defaults;these keywords can enable some features...more features are available;on PRI lines, but we don't get as much control on POTS;these govern the features available on the FXS adaptorcallwaiting=yescallwaitingcallerid=yesthreewaycalling=yestransfer=yescancallforward=yes;of course we want to run the software echo cancellerechocancel=yesechocancelwhenbridged=yes;we can tune the gain on incoming and outgoing audio;adjust these if you have a device that seems 'quiet' or 'loud'rxgain=0.0txgain=0.0;we're not really making use of groups here, but I'll leave it here.  We can;use groups multiple channels we want to be able to use on a 'first-available';basis, i.e. if we have 4 provider POTS lines, we point the dialout extension;to group 2 (device Zap/g2) and group all the POTS lines from the provider in;one group.group=1;if immediate is set to yes, asterisk will automatically answer the line;and jump to the 's' extension for the context.immediate=no;context will set the initial context for a given channel or channels;asterisk will allow the channel to access extensions in the same context;in extensions.conf. access to other contexts can be enabled globally via;'include' statements (in extensions.conf) or selectively allowed access to;certain extensions in other contexts with 'Goto' applications.context=bell;set the signalling type for each available channel. remember that we signal;an fxs channel with fxo, and vice versa. This is the signalling that Asterisk;will use to talk to the device, and should be OPPOSITE the signalling of;the device.  So for the X100P FXO interface, signalling=fxs_ks.;these definitions in zapata.conf should match the definitions in zaptel.conf;I set up these files assuming that wcfxo (the PCI fxo driver) would be loaded;before wcusb (the USB FXS driver) this is recommended, as disconnecting channel;one will lose channel 2, and all drivers would have to be unloaded and reloaded.;obviously this only matters for the USB device, so we want it LAST.signalling=fxs_ksrxgain=6.0channel=1;of course I place my incoming callers in a different context from local users;context=home;and reverse the signalling;signalling=fxo_ks;rxgain=7.1;txgain=1.0;callerid="Server Desk" <13>;mailbox=11@bell;callgroup=1;pickupgroup=1;channel=2