Difference between revisions of "User:Mduno"

From LinuxMCE
Jump to: navigation, search
Line 24: Line 24:
 
3.2 Trunk section changes:
 
3.2 Trunk section changes:
 
* <font>Change </font>channelid<font> to </font>callcentric
 
* <font>Change </font>channelid<font> to </font>callcentric
 +
$TRUNK_VARS{'channelid'}="callcentric";
 +
* <font>Remove the following '</font>usercontext<font>' and '</font>userconfig<font>' lines:</font>
 +
$TRUNK_VARS{'usercontext'}="$DECLARED_HOST";
 +
$TRUNK_VARS{'userconfig'} ="context=from-pstn\n";
 +
$TRUNK_VARS{'userconfig'} .="dtmf=inband\n";
 +
$TRUNK_VARS{'userconfig'} .="dtmfmode=inband\n";
 +
$TRUNK_VARS{'userconfig'} .="fromdomain=$DECLARED_HOST\n";
 +
$TRUNK_VARS{'userconfig'} .="host=$DECLARED_HOST\n";
 +
$TRUNK_VARS{'userconfig'} .="insecure=very\n";
 +
$TRUNK_VARS{'userconfig'} .="nat=yes\n";
 +
$TRUNK_VARS{'userconfig'} .="secret=$DECLARED_USERPASSWD\n";
 +
$TRUNK_VARS{'userconfig'} .="type=user\n";
 +
$TRUNK_VARS{'userconfig'} .="user=$DECLARED_USERNAME\n";
 +
$TRUNK_VARS{'userconfig'} .="username=$DECLARED_USERNAME\n";

Revision as of 01:48, 28 April 2010

TELECOM SETUP

Setting up LinuxMCE to use Callcentric's VoIP Service(s)

Setting up LinuxMCE to use Callcentric's VoIP service(s) is fairly straightforward using the steps provided in "How to Properly Add Support for SIP Providers":

http://wiki.linuxmce.org/index.php/How_to_properly_add_support_for_SIP_providers

as well as Callcentric's freepbx / trixbox configuration page:

http://www.callcentric.com/support/device/trixbox

Create the Callcentric Config File

1. In a terminal session, make yourself "sudo su" user.

2. Since Callcentric provides VoIP based phone services using the SIP protocol, copy the Broadvoice config file as a template for editing with Callcentric's parameters:

"cp /usr/pluto/bin/create_amp_broadvoice.pl /usr/pluto/bin/create_amp_callcentric.pl"

3. Edit the Callcentric config file:

"nano /usr/pluto/bin/create_amp_callcentric.pl"

making the following changes:

3.1 Phone Line declaration section; change the declared host to reflect callcentric.com

my $DECLARED_HOST = "callcentric.com";

3.2 Trunk section changes:

  • Change channelid to callcentric
$TRUNK_VARS{'channelid'}="callcentric";
  • Remove the following 'usercontext' and 'userconfig' lines:
$TRUNK_VARS{'usercontext'}="$DECLARED_HOST";
$TRUNK_VARS{'userconfig'} ="context=from-pstn\n";
$TRUNK_VARS{'userconfig'} .="dtmf=inband\n";
$TRUNK_VARS{'userconfig'} .="dtmfmode=inband\n";
$TRUNK_VARS{'userconfig'} .="fromdomain=$DECLARED_HOST\n";
$TRUNK_VARS{'userconfig'} .="host=$DECLARED_HOST\n";
$TRUNK_VARS{'userconfig'} .="insecure=very\n";
$TRUNK_VARS{'userconfig'} .="nat=yes\n";
$TRUNK_VARS{'userconfig'} .="secret=$DECLARED_USERPASSWD\n";
$TRUNK_VARS{'userconfig'} .="type=user\n";
$TRUNK_VARS{'userconfig'} .="user=$DECLARED_USERNAME\n";
$TRUNK_VARS{'userconfig'} .="username=$DECLARED_USERNAME\n";