search for: nmaxretries

Displaying 3 results from an estimated 3 matches for "nmaxretries".

Did you mean: maxretries
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
...39;) or die "failed to connect to AMI!"; print $ami "Action: Login\r\nUsername: lite\r\nSecret: 4003\r\n\r\nAction: Logoff\r\n\r\n"; } &asterisk_command("Channel: DAHDI/27/7702009896\r\nExten: s\r\nContext: outbound\r\nCallerID: 20048645\r\nPriority: 1\r\nMaxRetries: 2\r\n"); Whenever i execute that code i'm get following error [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite: fwrite() returned error: Broken pipe [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite: fwrite() returned error: Broken pipe [Oct 10 15:13:23] ERROR[8...
2003 Oct 13
1
PRI/E1: machine freeze/dies after a few calls
...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...
2004 Jun 21
0
A Callback AGI script
...k/agi-bin/callback.py #!/usr/bin/env python import sys context="incoming" extension="300" canal = "CAPI/02xxx89127:"+sys.argv[1] cf = open("/var/spool/asterisk/outgoing/"+sys.argv[1]+".call",'w+') cf.write("Channel:"+canal+"\nMaxRetries:2\ncontext:"+context+"\nextension:"+extension+"\npriority:1\nRetryTime:10\nWaitTime:20\n") [root@asterisk1]# cat /etc/asterisk/extensions.conf | grep -i 300 exten => 300,1,DISA,9641|incoming exten => 300,2,Hangup