Hi all, inside my * is a E400P. The machine is a PII 400Mhz with 256MB Ram. OS is Debian woody. * is the newest cvs co.
I have written a little callgen script which make outgoing calls through my *: #! /bin/sh set -e n=$1 # Nummer anz=$2 # Anzhal der Versuche anz2=$3 # Kanäle sle=$4 # Timeout bis zum nächsten Versuch if [ -z $4 ]; then sle=0 fi s=1 i=1 while [ $s -le $anz ];do echo "$s try started..." while [ $i -le $anz2 ];do echo -e "Channel: Zap/g1/$n$i\nMaxRetries: 0\nContext: callgen\nExtension: 1\nPriority: 1\nCallerid:334778\n" > /var/spool/asterisk/outgoing/call.$i.$s sleep 2 i=$((i + 1)) done i=1 echo "sleep for $sle sec....." sleep $sle s=$((s + 1)) done The calls goes out over the first two ports and through a pri switch (teles) they come back at the other two ports (3 and 4). But after a few calls my machine is completly freezed! So that i have to restart my machine. Here're my extension.conf, zapata.conf and zaptel.conf: ---->extension.conf: [pri1] exten => _X.,1,SetAccount(pritest) exten => _X.,2,Answer exten => _X.,3,Wait(15) exten => _X.,4,Hangup [pri2] exten => _X.,1,SetAccount(pritest) exten => _X.,2,Answer exten => _X.,3,Wait(15) exten => _X.,4,Hangup [pri3] exten => _X.,1,SetAccount(pritest) exten => _X.,2,Answer exten => _X.,3,Wait(60) exten => _X.,4,Hangup [pri4] exten => _X.,1,SetAccount(pritest) exten => _X.,2,Answer exten => _X.,3,Wait(60) exten => _X.,4,Hangup [callgen] exten => 1,1,Wait(90) ---->zapata.conf: ; ; Zapata telephony interface ; ; Configuration file [channels] pridialplan=local switchtype=euroisdn busydetect=yes callprogress=no echocancel=yes echocancelwhenbridged=yes ;callwaitingcallerid=no ;callwaiting=no signalling=pri_net group=1 context=pri1 channel => 1-15,17-31 channel =>32-46,48-62 signalling=pri_net group=3 context=pri3 channel => 63-77,79-93 channel => 94-108,110-124 ---->zaptel.conf span=1,0,0,ccs,hdb3,crc4 span=2,0,0,ccs,hdb3,crc4 span=3,0,0,ccs,hdb3,crc4 span=4,0,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16 bchan=32-46,48-62 dchan=47 bchan=63-77,79-93 dchan=78 bchan=94-108,110-124 dchan=109 loadzone = fr defaultzone=fr Thanks for your help. Regards, Thomas. ******************************************* beroNet technologies GmbH Dipl.- Ing. Thomas Häger Potsdamer Str. 18 A 14513 Teltow FON: +49 (0) 3328 3077731 FAX: +49 (0) 3328 334779 Email: [EMAIL PROTECTED] ******************************************* _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users