Re: [asterisk-users] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Tiago Geada
Just a follow up with a bit more information

asterisk*CLI module show like timing
Module Description  Use
Count
res_timing_pthread.so  pthread Timing Interface 0

*res_timing_dahdi.soDAHDI Timing Interface
  40*
2 modules loaded
asterisk*CLI


--

 [root@asterisk ~]# dahdi_test -c 100

Opened pseudo dahdi interface, measuring accuracy...

99.999% 99.999% 99.992% 99.997% 99.998% 99.995% 99.998% 99.996%

99.997% 99.998% 99.997% 99.994% 99.991% 99.999% 99.998% 99.998%

99.995% 99.993% 99.998% 99.999% 99.998% 99.995% 99.992% 99.998%

100.000% 99.998% 99.995% 99.992% 99.999% 99.998% 99.998% 99.999%

99.995% 99.999% 99.999% 99.998% 99.999% 99.997% 99.999% 99.998%

99.998% 99.996% 99.992% 99.998% 99.998% 99.999% 99.996% 99.992%

99.999% 99.998% 99.997% 99.997% 99.997% 99.998% 99.995% 99.994%

99.995% 99.992% 99.999% 99.993% 99.990% 99.995% 99.993% 99.999%

99.997% 99.993% 99.999% 99.996% 99.998% 99.996% 99.993% 99.995%

99.992% 99.998% 99.993% 99.993% 99.999% 99.993% 99.998% 99.996%

99.993% 99.996% 99.996% 99.994% 99.999% 99.996% 99.996% 99.992%

99.999% 99.996% 99.991% 99.996% 99.992% 99.998% 99.997% 99.994%

99.998% 99.995%

--- Results after 98 passes ---

Best: 100.000 -- Worst: 99.990 -- Average: 99.996163, Difference: 99.998235


--

 [root@asterisk ~]# cat
/sys/devices/system/clocksource/clocksource0/current_clocksource
*tsc*
 [root@asterisk ~]# cat
/sys/devices/system/clocksource/clocksource0/available_clocksource
tsc hpet acpi_pm jiffies


On 18 March 2011 17:52, Tiago Geada tiago.ge...@gmail.com wrote:

 Hi list!

 We currently have a PRI gateway composed by a box with two Digium quad-span
 PRI cards (a TE420 and a ).
 One of the cards is filled with TELCO1, while the other has first two slots
 filled with TELCO2, and 3rd slot with TELCO3.

 I am currently having (timer ?) issues on TELCO3 (span 7)

 D-Chan (202 as determined by dahdi_genconf ) is constantly failing causing
 on-going calls to terminate.
 Problem clears immediately tho. I send a copy of the log with pri debug at
 a time of problems...

 Is there a problem having 2 telcos on the same PRI card?
 Would somebody help?

 asterisk*CLI pri show span 7
 Primary D-channel: 202
 Status: Provisioned, Up, Active
 Switchtype: EuroISDN
 Type: CPE
 Overlap Dial: 0
 Logical Channel Mapping: 0
 Timer and counter settings:
   N200: 3
   N202: 3
   K: 7
   T200: 1000
   T202: 1
   T203: 1
   T303: 4000
   T305: 3
   T308: 4000
   T309: 6000
   T313: 4000
   T-HOLD: 4000
   T-RETRIEVE: 4000
   T-RESPONSE: 4000
 Overlap Recv: No


 and

 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (I): T200
 expired N200 times sending RR/RNR in state 8(Timer recovery)
 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: Changing from state 8(Timer
 recovery) to 5(Awaiting establishment)
 [Mar 18 17:04:06] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:07] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:08] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (G): *T200
 expired N200 times sending SABME in state 5(Awaiting establishment)*
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Changing from state
 5(Awaiting establishment) to 4(TEI assigned)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 DL event:
 Q931_DL_EVENT_DL_RELEASE_IND(3)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=56
 on channel 2
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=64
 on channel 3
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=58
 on channel 4
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=66
 on channel 6
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Changing from state 4(TEI
 assigned) to 5(Awaiting establishment)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c:   == Primary D-Channel on
 span 7 down
 [Mar 18 17:04:09] WARNING[19844] chan_dahdi.c: No D-channels available!
  Using Primary channel 202 as D-channel anyway!
 [Mar 18 17:04:10] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:11] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:12] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (G): T200
 expired N200 times sending SABME in state 5(Awaiting establishment)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: Changing from state
 5(Awaiting establishment) to 4(TEI assigned)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 DL event:
 Q931_DL_EVENT_DL_RELEASE_IND(3)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: Changing from state 4(TEI
 assigned) to 5(Awaiting 

Re: [asterisk-users] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Adrian Serafini



Is there a problem having 2 telcos on the same PRI card?


I think you go with one master timer as the Telco.  Then the other spans 
are secondary, tertiary, quaternary timers.


Adrian

--
_
-- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Andrew Latham
On Fri, Mar 18, 2011 at 3:15 PM, Tiago Geada tiago.ge...@gmail.com wrote:
 Just a follow up with a bit more information

 asterisk*CLI module show like timing
 Module                         Description                              Use
 Count
 res_timing_pthread.so          pthread Timing Interface                 0

 res_timing_dahdi.so            DAHDI Timing Interface                   40

 2 modules loaded
 asterisk*CLI

 --

  [root@asterisk ~]# dahdi_test -c 100

 Opened pseudo dahdi interface, measuring accuracy...

 99.999% 99.999% 99.992% 99.997% 99.998% 99.995% 99.998% 99.996%

 99.997% 99.998% 99.997% 99.994% 99.991% 99.999% 99.998% 99.998%

 99.995% 99.993% 99.998% 99.999% 99.998% 99.995% 99.992% 99.998%

 100.000% 99.998% 99.995% 99.992% 99.999% 99.998% 99.998% 99.999%

 99.995% 99.999% 99.999% 99.998% 99.999% 99.997% 99.999% 99.998%

 99.998% 99.996% 99.992% 99.998% 99.998% 99.999% 99.996% 99.992%

 99.999% 99.998% 99.997% 99.997% 99.997% 99.998% 99.995% 99.994%

 99.995% 99.992% 99.999% 99.993% 99.990% 99.995% 99.993% 99.999%

 99.997% 99.993% 99.999% 99.996% 99.998% 99.996% 99.993% 99.995%

 99.992% 99.998% 99.993% 99.993% 99.999% 99.993% 99.998% 99.996%

 99.993% 99.996% 99.996% 99.994% 99.999% 99.996% 99.996% 99.992%

 99.999% 99.996% 99.991% 99.996% 99.992% 99.998% 99.997% 99.994%

 99.998% 99.995%

 --- Results after 98 passes ---

 Best: 100.000 -- Worst: 99.990 -- Average: 99.996163, Difference: 99.998235

 --

  [root@asterisk ~]# cat
 /sys/devices/system/clocksource/clocksource0/current_clocksource
 tsc
  [root@asterisk ~]# cat
 /sys/devices/system/clocksource/clocksource0/available_clocksource
 tsc hpet acpi_pm jiffies

 On 18 March 2011 17:52, Tiago Geada tiago.ge...@gmail.com wrote:

 Hi list!
 We currently have a PRI gateway composed by a box with two Digium
 quad-span PRI cards (a TE420 and a ).
 One of the cards is filled with TELCO1, while the other has first two
 slots filled with TELCO2, and 3rd slot with TELCO3.
 I am currently having (timer ?) issues on TELCO3 (span 7)
 D-Chan (202 as determined by dahdi_genconf ) is constantly failing causing
 on-going calls to terminate.
 Problem clears immediately tho. I send a copy of the log with pri debug at
 a time of problems...
 Is there a problem having 2 telcos on the same PRI card?
 Would somebody help?

 asterisk*CLI pri show span 7
 Primary D-channel: 202
 Status: Provisioned, Up, Active
 Switchtype: EuroISDN
 Type: CPE
 Overlap Dial: 0
 Logical Channel Mapping: 0
 Timer and counter settings:
   N200: 3
   N202: 3
   K: 7
   T200: 1000
   T202: 1
   T203: 1
   T303: 4000
   T305: 3
   T308: 4000
   T309: 6000
   T313: 4000
   T-HOLD: 4000
   T-RETRIEVE: 4000
   T-RESPONSE: 4000
 Overlap Recv: No

 and

 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (I): T200
 expired N200 times sending RR/RNR in state 8(Timer recovery)
 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:05] VERBOSE[19844] chan_dahdi.c: Changing from state 8(Timer
 recovery) to 5(Awaiting establishment)
 [Mar 18 17:04:06] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:07] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:08] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (G): T200
 expired N200 times sending SABME in state 5(Awaiting establishment)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Changing from state
 5(Awaiting establishment) to 4(TEI assigned)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 DL event:
 Q931_DL_EVENT_DL_RELEASE_IND(3)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=56
 on channel 2
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=64
 on channel 3
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=58
 on channel 4
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Start T309 for call cref=66
 on channel 6
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c: Changing from state 4(TEI
 assigned) to 5(Awaiting establishment)
 [Mar 18 17:04:09] VERBOSE[19844] chan_dahdi.c:   == Primary D-Channel on
 span 7 down
 [Mar 18 17:04:09] WARNING[19844] chan_dahdi.c: No D-channels available!
  Using Primary channel 202 as D-channel anyway!
 [Mar 18 17:04:10] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:11] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:12] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending SABME
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 MDL-ERROR (G): T200
 expired N200 times sending SABME in state 5(Awaiting establishment)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: Changing from state
 5(Awaiting establishment) to 4(TEI assigned)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 DL event:
 Q931_DL_EVENT_DL_RELEASE_IND(3)
 [Mar 18 17:04:13] VERBOSE[19844] chan_dahdi.c: TEI=0 Sending 

Re: [asterisk-users] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Andrew Latham
On Fri, Mar 18, 2011 at 3:17 PM, Adrian Serafini
adrian-li...@wombit.com wrote:

 Is there a problem having 2 telcos on the same PRI card?

 I think you go with one master timer as the Telco.  Then the other spans are
 secondary, tertiary, quaternary timers.

 Adrian


Adrian

This only works when all the providers are using a common clock like
some areas in the USA.  This is not the case all around the world.

-- 
~~~ Andrew lathama Latham lath...@gmail.com ~~~

--
_
-- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Tiago Geada
Hi! I can try that tho. Where do I configure what timer to use??!

Thanks in advance.

On 18 March 2011 18:21, Andrew Latham lath...@gmail.com wrote:

 On Fri, Mar 18, 2011 at 3:17 PM, Adrian Serafini
 adrian-li...@wombit.com wrote:
 
  Is there a problem having 2 telcos on the same PRI card?
 
  I think you go with one master timer as the Telco.  Then the other spans
 are
  secondary, tertiary, quaternary timers.
 
  Adrian


 Adrian

 This only works when all the providers are using a common clock like
 some areas in the USA.  This is not the case all around the world.

 --
 ~~~ Andrew lathama Latham lath...@gmail.com ~~~

 --
 _
 -- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Tiago Geada
OK I found it.

In /etc/dahdi/system.conf

I have for this span:


# Span 7: TE4/1/3 T4XXP (PCI) Card 1 Span 3 HDB3/CCS/CRC4
span=7,7,0,ccs,hdb3,crc4
# termtype: te
bchan=187-201,203-217
dchan=202
echocanceller=mg2,187-201,203-217


should I use span=7,*5*,0,ccs,hdb3,crc4 instead? (5 is the first telco on
that card)

On 18 March 2011 18:23, Tiago Geada tiago.ge...@gmail.com wrote:

 Hi! I can try that tho. Where do I configure what timer to use??!

 Thanks in advance.

 On 18 March 2011 18:21, Andrew Latham lath...@gmail.com wrote:

 On Fri, Mar 18, 2011 at 3:17 PM, Adrian Serafini
 adrian-li...@wombit.com wrote:
 
  Is there a problem having 2 telcos on the same PRI card?
 
  I think you go with one master timer as the Telco.  Then the other spans
 are
  secondary, tertiary, quaternary timers.
 
  Adrian


 Adrian

 This only works when all the providers are using a common clock like
 some areas in the USA.  This is not the case all around the world.

 --
 ~~~ Andrew lathama Latham lath...@gmail.com ~~~

 --
 _
 -- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Kevin P. Fleming

On 03/18/2011 01:23 PM, Tiago Geada wrote:

Hi! I can try that tho. Where do I configure what timer to use??!


If your telcos are not synchronizing their network clocks to each other, 
you will not be able to solve this problem on a multi-port Digium T1/E1 
card. Digium T1/E1 cards select a single master clock (either the 
onboard clock or the clock recovered from one of the spans) to use as 
the 'board clock', which is then used to transmit data on all the spans. 
If the master clock is not in synchronization with the clocks at the 
other end of those spans, then bit slips will occur and cause various 
sorts of problems. This is why a card is always configured to use the 
recovered clock from a telco span if there is one, because the onboard 
clock would never by in sync with it.


If you have a board connected to two telcos and their clocks are not 
synchronized, not only will you have trouble using a Digium card, but 
even using a card that can handle using multiple transmit clocks at once 
will not solve the underlying bit slip problem that will occur if you 
ever connect a channel from Telco1 to a channel from Telco2. If you 
*never* connect channels between Telcos, then you don't have to worry 
about that problem, but if you do, at some point during the call there 
will be buffer overruns or underruns and there will be some effect (for 
a normal voice call, the effect might be a short audio artifact, and 
fairly harmless... unless the call is a modem or FAX call, in which case 
it could cause the call to fail).


For your sanity, I would strongly suggest that you don't connect spans 
from multiple telcos/networks/etc. on a single card, but keep each span 
provider on their own card.


--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Tiago Geada
Sorry to keep bugging, but after making changes to /etc/dahdi/system.conf,
do I need unload  res_timing_dahdi.so and chan_dahdi.so; and load them, or
can I just reload them??

Thanks in advance

On 18 March 2011 18:26, Tiago Geada tiago.ge...@gmail.com wrote:

 OK I found it.

 In /etc/dahdi/system.conf

 I have for this span:


 # Span 7: TE4/1/3 T4XXP (PCI) Card 1 Span 3 HDB3/CCS/CRC4
 span=7,7,0,ccs,hdb3,crc4
 # termtype: te
 bchan=187-201,203-217
 dchan=202
 echocanceller=mg2,187-201,203-217


 should I use span=7,*5*,0,ccs,hdb3,crc4 instead? (5 is the first telco
 on that card)

 On 18 March 2011 18:23, Tiago Geada tiago.ge...@gmail.com wrote:

 Hi! I can try that tho. Where do I configure what timer to use??!

 Thanks in advance.

 On 18 March 2011 18:21, Andrew Latham lath...@gmail.com wrote:

 On Fri, Mar 18, 2011 at 3:17 PM, Adrian Serafini
 adrian-li...@wombit.com wrote:
 
  Is there a problem having 2 telcos on the same PRI card?
 
  I think you go with one master timer as the Telco.  Then the other
 spans are
  secondary, tertiary, quaternary timers.
 
  Adrian


 Adrian

 This only works when all the providers are using a common clock like
 some areas in the USA.  This is not the case all around the world.

 --
 ~~~ Andrew lathama Latham lath...@gmail.com ~~~

 --
 _
 -- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Danny Nicholas
Probably overkill, but Every time I make a change to dahdi, I do this

Service asterisk stop

Service dadhi restart

Service asterisk start

 

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tiago Geada
Sent: Friday, March 18, 2011 1:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] One PRI card with 2 (or more) Telcos

 

Sorry to keep bugging, but after making changes to /etc/dahdi/system.conf,
do I need unload  res_timing_dahdi.so and chan_dahdi.so; and load them, or
can I just reload them??

 

Thanks in advance

On 18 March 2011 18:26, Tiago Geada tiago.ge...@gmail.com wrote:

OK I found it. 

 

In /etc/dahdi/system.conf

 

I have for this span:

 

# Span 7: TE4/1/3 T4XXP (PCI) Card 1 Span 3 HDB3/CCS/CRC4

span=7,7,0,ccs,hdb3,crc4

# termtype: te

bchan=187-201,203-217

dchan=202

echocanceller=mg2,187-201,203-217

 

should I use span=7,5,0,ccs,hdb3,crc4 instead? (5 is the first telco on
that card)

 

On 18 March 2011 18:23, Tiago Geada tiago.ge...@gmail.com wrote:

Hi! I can try that tho. Where do I configure what timer to use??!

 

Thanks in advance.

 

On 18 March 2011 18:21, Andrew Latham lath...@gmail.com wrote:

On Fri, Mar 18, 2011 at 3:17 PM, Adrian Serafini
adrian-li...@wombit.com wrote:

 Is there a problem having 2 telcos on the same PRI card?

 I think you go with one master timer as the Telco.  Then the other spans
are
 secondary, tertiary, quaternary timers.

 Adrian



Adrian

This only works when all the providers are using a common clock like
some areas in the USA.  This is not the case all around the world.


--
~~~ Andrew lathama Latham lath...@gmail.com ~~~

--
_

-- 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] One PRI card with 2 (or more) Telcos

2011-03-18 Thread Tiago Geada
Hi Kevin,

Thanks for your elaborated answer. I will try and set them on the same clock
and see if no problem occurs. If so, Different telco's clocks would be in
SYNC (I do doubt it).

This machine has no more PCI slots available and hardware is damn expensive.

Will have to look into it with my boss..

Thanks you.

On 18 March 2011 18:30, Kevin P. Fleming kpflem...@digium.com wrote:

 On 03/18/2011 01:23 PM, Tiago Geada wrote:

 Hi! I can try that tho. Where do I configure what timer to use??!


 If your telcos are not synchronizing their network clocks to each other,
 you will not be able to solve this problem on a multi-port Digium T1/E1
 card. Digium T1/E1 cards select a single master clock (either the onboard
 clock or the clock recovered from one of the spans) to use as the 'board
 clock', which is then used to transmit data on all the spans. If the master
 clock is not in synchronization with the clocks at the other end of those
 spans, then bit slips will occur and cause various sorts of problems. This
 is why a card is always configured to use the recovered clock from a telco
 span if there is one, because the onboard clock would never by in sync with
 it.

 If you have a board connected to two telcos and their clocks are not
 synchronized, not only will you have trouble using a Digium card, but even
 using a card that can handle using multiple transmit clocks at once will not
 solve the underlying bit slip problem that will occur if you ever connect a
 channel from Telco1 to a channel from Telco2. If you *never* connect
 channels between Telcos, then you don't have to worry about that problem,
 but if you do, at some point during the call there will be buffer overruns
 or underruns and there will be some effect (for a normal voice call, the
 effect might be a short audio artifact, and fairly harmless... unless the
 call is a modem or FAX call, in which case it could cause the call to fail).

 For your sanity, I would strongly suggest that you don't connect spans from
 multiple telcos/networks/etc. on a single card, but keep each span provider
 on their own card.

 --
 Kevin P. Fleming
 Digium, Inc. | Director of Software Technologies
 Jabber: kflem...@digium.com | SIP: kpflem...@digium.com | Skype: kpfleming
 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

--
_
-- 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