Re: [asterisk-users] Issue with PRI connection

2012-10-16 Thread Ashish Agarwal
Hello,

Thanks for the help list. I reinstalled the OS and that has fixed the
problem for me. I appreciate your contribution.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-26 Thread Ashish Agarwal
Hello,

I have set the default_linemode=e1 even then it does not work. The pri show
spans show as down.

I added the below line in /etc/modeprobe.d/dahdi.conf

options wct4xxp default_linemode=e1

I also removed dahdi and asterisk complete and reinstalled the entire
package but with now success.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-24 Thread Shaun Ruffell
On Mon, Sep 24, 2012 at 09:02:47AM +0100, A J Stiles wrote:
> 
> Make sure you set the jumpers on the card correctly for E1
> operation  (they are often set as T1 on delivery)...

A minor FYI not directly related to this discussion: Since
DAHDI-Linux 2.6.0 the jumpers can be overridden in the wcte12xp [1]
and wct4xxp [2] drivers with the "default_linemode" module
parameter. Before that it could be set with the "t1e1override"
module parameter

[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=10243
[2] http://svnview.digium.com/svn/dahdi?view=revision&revision=10269

The code in the drivers is present to set the linemode as part of
the normal DAHDI configuration files (i.e. processed with dahdi_cfg)
but the method of expressing that settings is not there yet. The
vision is that dahdi_genconf will be able to pick a default line
mode based on the locale information on the server.

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-24 Thread A J Stiles
On Sunday 23 September 2012, Ashish Agarwal wrote:
> For some reason pri show spans does not show up. Can someone assist me to
> fix this issue.

DAHDI is fussy about its configuration files.  A single misconfiguration 
anywhere 
can break the whole thing, so get it working with just one span first.

Make sure you set the jumpers on the card correctly for E1 operation  (they 
are often set as T1 on delivery)  and specify the correct channel to use as a 
D-channel  (usually 16 on span 1; 1-15 and 17-31 are the B-channels.  Add 31 
for span 2, and so forth)  and the correct signalling system.  Ask someone at 
your telco if not certain.

Another thing that can go wrong is the cabling from the NTE to the Asterisk 
box.  Sometimes you need a straight-through cable, other times you need a 
crossover.  Usually the active pairs are 4 and 5, and 2 and 1; so you need to 
cross over 1 with 5 and 2 with 4.  Sometimes the polarity on pins 4 and 5 is 
wrong  (this is the only pair with the lower-numbered pin coloured and the 
higher-numbered pin white)  and sometimes the equipment is bothered about 
this, so try also a crossover from 1-4 and 2-5.  Again, ask someone from your 
telco if not certain.

Once you've got span 1 working, bring up the others one by one; and don't be 
afraid to grow your configs with comments where you have commented out lines 
and/or added explanations of what you have changed.  It's always easier to 
take extraneous stuff out later than to try to remember what you were thinking 
before something interesting happened.

-- 
AJS

Answers come *after* questions.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Mitul Limbani
put signalling=euroisdn in chan_dahdi.conf and restart asterisk.

Regards,
Mitul Limbani,
Chief Architech & Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967121
Cell: +91-9820332422




On Mon, Sep 24, 2012 at 11:33 AM, Ashish Agarwal wrote:

> Hi,
>
> I have tried disabling and enabling crc4 before but that did not help.
>
> I have not defined any signalling value under chan_dahdi.conf
>
> Also, with respect to cabling we tried switching tx and rx but in that
> case we see alarm on the dahdhi status.
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Ashish Agarwal
Hi,

I have tried disabling and enabling crc4 before but that did not help.

I have not defined any signalling value under chan_dahdi.conf

Also, with respect to cabling we tried switching tx and rx but in that case
we see alarm on the dahdhi status.
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Mitul Limbani
On Mon, Sep 24, 2012 at 10:11 AM, Raj Mathur (राज माथुर) <
r...@linux-delhi.org> wrote:

> On Monday 24 Sep 2012, Mitul Limbani wrote:
> > Signalling frm remote side is down.
> >
> > Also just add crc4 in span 1,0,0 in dahdi/system.conf just like other
> > spans.
> >
> > what is signalling=" " defined in your asterisk/chan_dahdi.conf ?
>
> Not necessarily.  I guess you remember the problems we had in getting
> lines to work in Mumbai until we found the correct wire connections for
> each of our providers (Reliance and BSNL AFAIR).  Eventually Raj Kumar
> (the wizard) did manage to figure it out and after that the lines worked
> just fine.
>
> I m aware of that, however just wanted to double check with his configs
before any of these conclusions :)
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Raj Mathur (राज माथुर)
On Monday 24 Sep 2012, Mitul Limbani wrote:
> Signalling frm remote side is down.
> 
> Also just add crc4 in span 1,0,0 in dahdi/system.conf just like other
> spans.
> 
> what is signalling=" " defined in your asterisk/chan_dahdi.conf ?

Not necessarily.  I guess you remember the problems we had in getting 
lines to work in Mumbai until we found the correct wire connections for 
each of our providers (Reliance and BSNL AFAIR).  Eventually Raj Kumar 
(the wizard) did manage to figure it out and after that the lines worked 
just fine.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Mitul Limbani
Signalling frm remote side is down.

Also just add crc4 in span 1,0,0 in dahdi/system.conf just like other spans.

what is signalling=" " defined in your asterisk/chan_dahdi.conf ?

Regards,
Mitul Limbani,
Chief Architech & Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967121
Cell: +91-9820332422




On Mon, Sep 24, 2012 at 9:01 AM, Raj Mathur (राज माथुर) <
r...@linux-delhi.org> wrote:

> On Monday 24 Sep 2012, Ashish Agarwal wrote:
> > I have used 1 2 4 5 combination. Is that right?
>
> I wouldn't know, since I'm not the wizard :)  But basically we had to do
> each provider's connections from scratch -- Airtel, BSNL, MTNL,
> Reliance, Tata.  And as far as I recall, each provider had a different
> cable signalling scheme.
>
> Please don't top-post, it may get your posts ignored on the list.  Use
> bottom- or inline-posting, and trim your replies.
>
> Regards,
>
> -- Raj
> --
> Raj Mathur  || r...@kandalaya.org   || GPG:
> http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
> It is the mind that moves   || http://schizoid.in   || D17F
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Raj Mathur (राज माथुर)
On Monday 24 Sep 2012, Ashish Agarwal wrote:
> I have used 1 2 4 5 combination. Is that right?

I wouldn't know, since I'm not the wizard :)  But basically we had to do 
each provider's connections from scratch -- Airtel, BSNL, MTNL, 
Reliance, Tata.  And as far as I recall, each provider had a different 
cable signalling scheme.

Please don't top-post, it may get your posts ignored on the list.  Use 
bottom- or inline-posting, and trim your replies.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Ashish Agarwal
I have used 1 2 4 5 combination. Is that right?
On Sep 24, 2012 7:43 AM, "Raj Mathur (राज माथुर)" 
wrote:

> On Sunday 23 Sep 2012, Ashish Agarwal wrote:
> > vi*CLI> dahdi show status
> > Description  Alarms  IRQbpviol CRC
> > Fra Codi Options  LBO
> > T4XXP (PCI) Card 0 Span 1OK  0  0  0
> > CCS HDB3  0 db (CSU)/0-133 feet (DSX-1)
> > T4XXP (PCI) Card 0 Span 2OK  0  0  0
> > CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> > T4XXP (PCI) Card 0 Span 3OK  0  0  0
> > CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> > T4XXP (PCI) Card 0 Span 4OK  0  0  0
> > CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> >
> > vi*CLI> pri show spans
> > PRI span 1/0: Down, Active
> > PRI span 2/0: Down, Active
> > PRI span 3/0: Down, Active
> > PRI span 4/0: Down, Active
>
> A client had similar issues with providers in India until a wizard in
> their office figured out the correct cabling.  Don't go by what the
> provider tells you, figure out the cable connections yourself.
>
> Regards,
>
> -- Raj
> --
> Raj Mathur  || r...@kandalaya.org   || GPG:
> http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
> It is the mind that moves   || http://schizoid.in   || D17F
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Raj Mathur (राज माथुर)
On Sunday 23 Sep 2012, Ashish Agarwal wrote:
> vi*CLI> dahdi show status
> Description  Alarms  IRQbpviol CRC   
> Fra Codi Options  LBO
> T4XXP (PCI) Card 0 Span 1OK  0  0  0 
> CCS HDB3  0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 2OK  0  0  0 
> CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 3OK  0  0  0 
> CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 4OK  0  0  0 
> CCS HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> 
> vi*CLI> pri show spans
> PRI span 1/0: Down, Active
> PRI span 2/0: Down, Active
> PRI span 3/0: Down, Active
> PRI span 4/0: Down, Active

A client had similar issues with providers in India until a wizard in 
their office figured out the correct cabling.  Don't go by what the 
provider tells you, figure out the cable connections yourself.

Regards,

-- Raj
-- 
Raj Mathur  || r...@kandalaya.org   || GPG:
http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
It is the mind that moves   || http://schizoid.in   || D17F

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Doug Lytle

Ashish Agarwal wrote:
The data center where I am hosted we had checked the same link with a 
existing other servers and the PRI is surely turned up.


Then I'd suggest that you review the settings of the working server.  
I'm not familiar with the setup of an E1.  I'm in the US it's primarily 
T1.  In my case, it'd be:


esf,b8zs with the d channel on 24.

Doug



--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Doug Lytle

Ashish Agarwal wrote:
For some reason pri show spans does not show up. Can someone assist me 
to fix this issue.


If you're sure that your signalling is correct.  It's my experience that 
this mean your provider hasn't turned up your PRIs.


Is this a new system install?

Doug


--
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety."


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Issue with PRI connection

2012-09-23 Thread Mitul Limbani
Are you sure if PRI is the signalling or its E&M based E1 links.

Regards,
Mitul Limbani,
Chief Architech & Founder,
Enterux Solutions Pvt. Ltd.
110 Reena Complex, Opp. Nathani Steel,
Vidyavihar (W), Mumbai - 400 086. India
http://www.enterux.com/
http://www.entvoice.com/
email: mi...@enterux.in
DID: +91-22-71967121
Cell: +91-9820332422




On Sun, Sep 23, 2012 at 9:01 PM, Ashish Agarwal wrote:

> Hello,
>
> I have install libpri 1.4.12 + Asterisk 10.7.0
>
> vi*CLI> dahdi show status
> Description  Alarms  IRQbpviol CRCFra
> Codi Options  LBO
> T4XXP (PCI) Card 0 Span 1OK  0  0  0  CCS
> HDB3  0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 2OK  0  0  0  CCS
> HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 3OK  0  0  0  CCS
> HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
> T4XXP (PCI) Card 0 Span 4OK  0  0  0  CCS
> HDB3 CRC4 0 db (CSU)/0-133 feet (DSX-1)
>
> vi*CLI> pri show spans
> PRI span 1/0: Down, Active
> PRI span 2/0: Down, Active
> PRI span 3/0: Down, Active
> PRI span 4/0: Down, Active
>
> vi*CLI> pri show span 2
> Primary D-channel: 47
> Status: Down, Active
> Switchtype: EuroISDN
> Type: CPE
> Remote type: Unknown node type
> Overlap Dial: 0
> Logical Channel Mapping: 0
> Timer and counter settings:
>   N200: 3
>   N202: 3
>   K: 7
>   T200: 1000
>   T201: 1000
>   T202: 1
>   T203: 1
>   T303: 4000
>   T305: 3
>   T308: 4000
>   T309: 6000
>   T312: 6000
>   T313: 4000
>   T-HOLD: 4000
>   T-RETRIEVE: 4000
>   T-RESPONSE: 4000
>   T-STATUS: 4000
>   T-ACTIVATE: 1
>   T-DEACTIVATE: 4000
>   T-INTERROGATE: 4000
>   T-RETENTION: 3
>   T-CCBS1: 4000
>   T-CCBS2: 270
>   T-CCBS3: 2
>   T-CCBS4: 5000
>   T-CCBS5: 360
>   T-CCBS6: 360
>   T-CCNR2: 1080
>   T-CCNR5: 1170
>   T-CCNR6: 1170
> Q931 RX: 0
> Q931 TX: 0
> Q921 RX: 0
> Q921 TX: 304
> Q921 Outstanding: 0 (TEI=0)
> Total active-calls:0 global:0
> CC records:
> Overlap Recv: No
>
> For some reason pri show spans does not show up. Can someone assist me to
> fix this issue.
>
>
> --
> Regards,
>
> Ashish
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users