Cant make outgoing calls using E1

All installation and configuration problems and questions

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

Cant make outgoing calls using E1

Postby markirving » Sun Nov 25, 2012 12:55 am

Hi,

VICIBOX v3.1.15 - VICIDIAL2.4-357a - Asterisk 1.4.39.2-vici - Single Server - Digium Wildcard TE410P (3rd Gen) (VPMOCT128)

I am getting these errors in my cli and cannot make outgoing calls:

Our provider told me that the number should be 7digits and it should have a prefix of 02. This is the first time we are using e1 so Please help! Thanks alot!

Code: Select all
[Nov 25 05:38:14]     -- Executing [98102125@default:1] AGI("SIP/gs102-00000007", "agi://127.0.0.1:4577/call_log") in new stack
[Nov 25 05:38:14]     -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Nov 25 05:38:14]     -- Executing [98102125@default:2] Dial("SIP/gs102-00000007", "DAHDI/g0/028102125||To") in new stack
[Nov 25 05:38:14] WARNING[3659]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
[Nov 25 05:38:14]   == Everyone is busy/congested at this time (1:0/1/0)
[Nov 25 05:38:14]     -- Executing [98102125@default:3] Hangup("SIP/gs102-00000007", "") in new stack
[Nov 25 05:38:14]   == Spawn extension (default, 98102125, 3) exited non-zero on 'SIP/gs102-00000007'
[Nov 25 05:38:14]     -- Executing [h@default:1] DeadAGI("SIP/gs102-00000007", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION----------") in new stack
[Nov 25 05:38:14]     -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----34-----CONGESTION---------- completed, returning 0


Code: Select all
NOTICE[7963]: chan_dahdi.c:10518 pri_dchannel: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1


MY CONFIG:

system.conf

Code: Select all
# Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31


dahd-channels.conf

Code: Select all
; Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER)
group=0
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63


chan_dahdi.conf

Code: Select all
default config with #include dahdi-channels.conf at the bottom


extensions.conf

Code: Select all
TRUNK=DAHDI/g0

exten => _9NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _9NXXXXXX,2,Dial(${TRUNK}/02${EXTEN:1},,To)
exten => _9NXXXXXX,3,Hangup



Code: Select all
CLI> dahdi show status
Description                              Alarms     IRQ        bpviol     CRC4
T4XXP (PCI) Card 0 Span 1                OK         0          0          1719293


Code: Select all
CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret
 pseudo            default                    default
      1            from-pstn                  default
      2            from-pstn                  default
      3            from-pstn                  default
    ................................................
   ................................................
    113            from-pstn                  default
    114            from-pstn                  default
    115            from-pstn                  default
    116            from-pstn                  default
markirving
 
Posts: 4
Joined: Fri Jun 01, 2012 12:30 pm

Re: Cant make outgoing calls using E1

Postby williamconley » Sun Nov 25, 2012 1:55 pm

there are many items to account for in provisioning an E1. Having "02" in front of each phone number is not even related to the provisioning, that's for dialing after. You should therefore list all the other provisioning information given by your E1 provider.

Location also makes a difference (usually in the "unmentioned" provisioning items that the E1 provider "assumes" you know because it's "always like that" in your area, as far as they know). So listing your location is also helpful.

And last but not least there is installation and configuration according to the installer .iso and the digium install scripts. Was the E1 card installed before you installed Vicidial or was it "added" after? What installation information have you provided to the install script? Have you checked the digium instructions to make this card work in asterisk 1.4? (If so, what scripts have you executed and what information did you provide them?).

Configuring your E1 card several times will not hurt anything if the system is not already running, but can be educational. Finding the appropriate Digium installation instructions helps quite a bit. Merging a functional E1 trunk group with Vicidial after it is running is not particularly difficult. Mostly, though: getting used to installing that E1 in your system manually and again during .iso installation BEFORE the system is operational (so you can practice doing it several times ... and become very familiar with the necessary steps and tools ...) is highly recommended.

This forum has several examples of some of these commands, but installing a digium E1 card in an asterisk system with version 1.4 is covered on many different asterisk forums and by digium itself.
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: Cant make outgoing calls using E1

Postby rsaaris » Mon Nov 26, 2012 5:33 am

Have you tried to disable the crc4 -framing from the system.conf? I've had some similar problems with E1 connections and framing.

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am


Return to Support

Who is online

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