Install Vicidial to use E1 as carrier trunk

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Install Vicidial to use E1 as carrier trunk

Postby worseo » Fri Jul 16, 2021 2:32 pm

Hello,
I am new to Vicidial. We have the following requirements and would need some suggestions to decide if Vicidial/vicibox is ideal for our environment.
1. We have 12 agents currently to grow up to 25 in three to five years.
2. All our customers are in country using GSM
3. We have an E1 line from the same GSM provider to provide local DID numbers with short code

Our plan
Option One
We want to install a digium E1 card to our HP server, install vicibox on the same server and connect the E1 line from the telco to the same server as Vicidial

Option two
Get a digital gateway to interconnect with telco, install free PBX and install vicibox.

Please assist me find the approate way to setup a call center with vicidial using E1 Carrier.
Vicibox 10
Version: 2.14b0.5
SVN Version: 3533
DB Schema Version: 1646
Cluster of 3 Servers
2 Dialer, 1Web/DB
worseo
 
Posts: 39
Joined: Sat Jul 10, 2021 6:46 am

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Fri Jul 16, 2021 6:30 pm

Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby worseo » Wed Aug 25, 2021 7:53 pm

I followed the post to install TE133p digium card. I can't find the file /etc/modprob/dahdi.conf to set the default pri line to E1. Any reason and what can I do?
Vicibox 10
Version: 2.14b0.5
SVN Version: 3533
DB Schema Version: 1646
Cluster of 3 Servers
2 Dialer, 1Web/DB
worseo
 
Posts: 39
Joined: Sat Jul 10, 2021 6:46 am

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Wed Aug 25, 2021 8:54 pm

its in /etc/modprobe.d/
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby worseo » Thu Aug 26, 2021 4:28 am

Sorry, I ment dahdi.conf file is not in /etc/modprobe.d/, I am using vicibox 9.0
Vicibox 10
Version: 2.14b0.5
SVN Version: 3533
DB Schema Version: 1646
Cluster of 3 Servers
2 Dialer, 1Web/DB
worseo
 
Posts: 39
Joined: Sat Jul 10, 2021 6:46 am

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Thu Aug 26, 2021 7:38 am

create it and put this line:

options wcte43x default_linemode=e1
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby ambiorixg12 » Thu Aug 26, 2021 11:59 am

Option two
Get a digital gateway to interconnect with telco, install free PBX and install vicibox


I assume you want to install FreePBX to handle the E1 card as you're having hard time to set up the card with VICIBOX most the time the problem with PCI card and Asterisk is the dahdi version, there are certain versions of dahdi who doesn't work properly on current kernel
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Thu Aug 26, 2021 12:20 pm

I just installed this very setup on vicidial, it wasnt very hard if you follow the link from striker I gave you, if you need help, just hit me up on skype
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby williamconley » Thu Aug 26, 2021 6:54 pm

Advice for "smooth running":

Set up the machine that has the E1 card with Vanilla Asterisk. This will allow that box to convert the calls to SIP and send them to ... wherever you need them. If there are any requirements for upgrade, this box is now immune to any requirements from any other part of the system and can even be used to shunt calls to other servers or systems easily. Support is now "pure asterisk" vs "E1 card" which tends to reduce the stress level of any support requests. (There is often finger pointing and "this is not a standard system so we can't help" .. easily refuted with "STOCK asterisk, which is what your card was built for, fix it or give back my $$.")

When the HD for the Vicidial server dies and you must reinstall (or for any other reason) this server is once again immune.
Additionally, when the E1 card dies, you don't need to disassemble the Vicidial server or work out Drivers for the new card. Also applies to getting a newer-cooler card. 8-)

If you end up with a multi-server solution ... the Vanilla Vicidial server can send calls to any/all servers independently without affecting any Vicidial functions.

It does require an extra server, but that can make your E1 card a "sip conversion appliance" and as far as Vicidial is concerned, that box is your SIP Provider. So now even your Vicidial support questions are simplified since there's No E1 card involved in that server.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Install Vicidial to use E1 as carrier trunk

Postby worseo » Fri Aug 27, 2021 8:40 am

vicibox9:~ # cat /etc/modprobe.d/dahdi.conf
# This is the dahdi conf file where the Pri line is set
# /etc/init.d/dahdi installs them in the correct order so that the spans are

options wcte13xp default_linemode=e1



vicibox9:~ # modprobe wcte13xp default_linemode-e1

vicibox9:~ # dahdi_genconf -v
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/assigned-spans.conf
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf



vicibox9:~ # dahdi_cfg -v
DAHDI Tools Version - 3.1.0

DAHDI Version: 3.1.0
Echo Canceller(s): MG2
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

24 channels to configure.

Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
Setting echocan for channel 5 to mg2
Setting echocan for channel 6 to mg2
Setting echocan for channel 7 to mg2
Setting echocan for channel 8 to mg2
Setting echocan for channel 9 to mg2
Setting echocan for channel 10 to mg2
Setting echocan for channel 11 to mg2
Setting echocan for channel 12 to mg2
Setting echocan for channel 13 to mg2
Setting echocan for channel 14 to mg2
Setting echocan for channel 15 to mg2
Setting echocan for channel 16 to mg2
Setting echocan for channel 17 to mg2
Setting echocan for channel 18 to mg2
Setting echocan for channel 19 to mg2
Setting echocan for channel 20 to mg2
Setting echocan for channel 21 to mg2
Setting echocan for channel 22 to mg2
Setting echocan for channel 23 to mg2
Setting echocan for channel 24 to none


vicibox9:~ # dahdi_scan
[1]
active=yes
alarms=RED
description=Wildcard TE131/TE133 Card 0
name=WCT13x/0
manufacturer=Digium
devicetype=Wildcard TE131/TE133
location=PCI Bus 132 Slot 01
basechan=1
totchans=24
irq=0
type=digital-T1
syncsrc=1
lbo=0 db (CSU)/0-133 feet (DSX-1)
coding_opts=B8ZS,AMI
framing_opts=ESF,D4
coding=B8ZS
framing=ESF


As seen above, I still see 24 channels rather than 32. Do I need internet connection to install the card? Do I need the E1 line connected to my server?
Vicibox 10
Version: 2.14b0.5
SVN Version: 3533
DB Schema Version: 1646
Cluster of 3 Servers
2 Dialer, 1Web/DB
worseo
 
Posts: 39
Joined: Sat Jul 10, 2021 6:46 am

Re: Install Vicidial to use E1 as carrier trunk

Postby ambiorixg12 » Fri Aug 27, 2021 9:30 am

1) Set the driver to E1 mode
2) specify the loadzone and defaultzone.
3) Configure the SPAN Map.
For each T1/E1 you are using, you will need to define a span. The SPAN map includes defining the SPAN number, timing, line build out, framing, and coding.

4) Specify the channel definitions.

5) Specify the echo canceller to be used for each channel.

https://support.digium.com/s/article/Ho ... 1-PRI-card
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Fri Aug 27, 2021 10:31 am

try changing the totchans to = 32
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby worseo » Fri Aug 27, 2021 10:38 am

Where, in which file do I change the totchans?
Vicibox 10
Version: 2.14b0.5
SVN Version: 3533
DB Schema Version: 1646
Cluster of 3 Servers
2 Dialer, 1Web/DB
worseo
 
Posts: 39
Joined: Sat Jul 10, 2021 6:46 am

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Fri Aug 27, 2021 1:50 pm

/etc/dahdi/system.conf it should look somethingl ike this:

# Autogenerated by /usr/sbin/dahdi_genconf on Fri Aug 6 13:25:18 2021
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTE4/0/1 "WCTE43X (PCI) Card 0 Span 1" (MASTER) ESF/B8ZS ClockSource
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24
echocanceller=mg2,1-23

# Span 2: WCTE4/0/2 "WCTE43X (PCI) Card 0 Span 2" ESF/B8ZS
span=2,2,0,esf,b8zs
# termtype: te
bchan=25-47
dchan=48
echocanceller=mg2,25-47

# Span 3: WCTE4/0/3 "WCTE43X (PCI) Card 0 Span 3" ESF/B8ZS
span=3,3,0,esf,b8zs
# termtype: te
bchan=49-71
dchan=72
echocanceller=mg2,49-71

# Span 4: WCTE4/0/4 "WCTE43X (PCI) Card 0 Span 4" ESF/B8ZS
span=4,4,0,esf,b8zs
# termtype: te
bchan=73-95
dchan=96
echocanceller=mg2,73-95

# Global data

loadzone = us
defaultzone = us


Change the bchan from 1-23 to 1-31 and the dchan to 32 on each span change the number accordingly
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: Install Vicidial to use E1 as carrier trunk

Postby striker » Sat Aug 28, 2021 8:03 am

you are using single span card T133

make sure to load correct driver
options wcte13xp default_linemode=e1
modprobe wcte13xp default_linemode=e1

Below is the right link to configure DIgium single span card
https://striker24x7.blogspot.com/2013/12/how-to-configure-digium-te133-and-te134.html

Remove the previous driver and restart once the dahdi driver.
modprobe -r dahdi wcte43xp

then run
modprobe wcte13xp default_linemode=e1
dahdi_genconf -v
systemctl restrart dahdi
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Install Vicidial to use E1 as carrier trunk

Postby carpenox » Sat Aug 28, 2021 9:46 am

now you have the expert for this to help you, he helped me with mine, but i saw your message on skype, so if you need help applying these changes i got you
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2428
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 42 guests