[asterisk-users] Load Balancing over 2 E1 Lines

2007-12-12 Thread Eric Delaporte
Hi @ all,

 

i set a server to a costumer of mine with a TE207P for use with 2 E1 Lines.

I set them together into one group in zaptel/zapata.conf

 

The point is now, the customer has a free-volumina of 60k minutes per month,
per line.

How can i make a kind of load balancing, that both lines will be trafficed
the same way ?

 

I read something about DIAL(Zap/r1/.) for using round robin, and it seems to
work.

 

Is there any other possible way to make sure that all lines are used in the
same amount of minutes?

 

Thanks in regard,

 

Eric

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

[asterisk-users] Problems with losing D-Channel on

2007-11-20 Thread Eric Delaporte
Hello all,

I got a problem at an asterisk server, with dropping calls, losing all
channels and reaktivating all channels and beeing back up.
This problem seems to occure randomly over the whole day, when it gots
traffic on the card.

After looking @ google I found several hints but none did work fine.

To avoid problems with the phone line (german E1) I called the provider, he
did a 45 min. route test with incoming and outgoing calls over all lines
without any problem over the whole time. 
I also got a phone call with the providers service partner for the S2M part.
He reset the line and putt he errorcounter to 0. After the test it was still
on 0. When we plugged in the card again, there were again errors on the
counter after ~ 5-10 minutes.

After this, i put the asterisk, zaptel and libpri versions to newest
versions, now it's working a bit better, but after 1 day fine work, it
crashes again all calls.

The system worked fine about 6 month now, but since 2 weeks I got the
problems.

Does anyone have any idea? The last points what is on my todo is to switch
the pci slot. The cable which connects card to E1 interface is also
switched.


Kind regards,

Eric



I got a snippet from the console, where the problem is occuring.

[Nov 16 15:57:09] ERROR[5499]: chan_zap.c:8178 zt_pri_error: Write to 39
failed: Unknown error 500
[Nov 16 15:57:09] ERROR[5499]: chan_zap.c:8178 zt_pri_error: Short write:
0/15 (Unknown error 500)
[Nov 16 15:57:09] WARNING[5499]: chan_zap.c:3822 zt_handle_event: Detected
alarm on channel 1: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 2: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 2
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 6: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 6
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 7: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 7
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 8: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 8
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 9: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 9
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 10: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 10
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 11: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 11
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 12: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 12
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 13: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 13
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 14: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 14
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 15: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 15
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 17: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 17
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 18: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 18
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 19: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 19
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 20: Red Alarm
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:1464 zt_disable_ec: Unable to
disable echo cancellation on channel 20
[Nov 16 15:57:09] WARNING[2868]: chan_zap.c:6672 handle_init_event: Detected
alarm on channel 21: Red Alarm
[Nov 16 15:57:09]