Displaying 16 results from an estimated 16 matches for "npriority".
Did you mean:
priority
2009 Sep 27
0
Is channel local what I need?
...1.6.0.16-rc1:
I'm using app_fax.so to send a fax, and then send a confirm.
'send' => 1.
Set(UniqueFile=/var/spool/asterisk/outgoing/call-${UNIQUEID}) [pbx_config]
2. System(env echo -e
"Channel:DAHDI/g0/........\\nContext:fax-tx\\nExtension: s\\nPriority:
1\\n" >${UniqueFile}) [pbx_config]
[ Context 'fax-tx' created by 'pbx_config' ]
's' => 1. SendFAX(${FaxFile}.tif)
[pbx_config]
'h' => 1. Set(RID=${REMOTESTATIONID})
[pbx_config]
.....................
2009 Sep 27
1
digium fax: failed to queue document
In my quest to actually send a fax, I'm now stuck trying to send the
confirm.
First I send the fax:
-- Executing [send at outbound-fax:2] System("Console/dsp", "env echo
-e "Channel:DAHDI/g0/12036378447\\nContext:fax-tx\\nExtension:
s\\nPriority: 1\\n" >/var/spool/asterisk/outgoing/call-1254012878.0") in
new stack
-- Auto fallthrough, channel 'Console/dsp' status is 'UNKNOWN'
<< Hangup on console >>
-- Attempting call on DAHDI/g0/12036378447 for s at fax-tx:1 (Retry 1)
-- Requested...
2008 Sep 27
2
Graphical net install
Is it at all possible to do a graphical netinstall ?
I am using centos 5.2, and i have been doing net installs (pxe) for a
while in console mode...
--
Test <test at remedial-teacher.nl>
2005 Feb 06
2
Need help with perl script/agi for ringback
...ack
Priority: 1
Extensions.conf
exten => 500,1,agi,callback.pl
callback perl script:
use Net::Telnet ();
$mgrUSERNAME='fred';
$mgrSECRET='bloggs';
$server_ip='127.0.0.1';
$tn->print("Action: originate\nExten: 1234\nContext:
user\nChannel: local/xxx@user/r/n\nPriority:
1\nCallerid: 1234\n\n");
$tn->waitfor('/Event: Newchannel.*/') or die "Unable
to determine call status", $tn->lastline;
# wait for asterisk to process
$tn->print("Action: Logoff\n\n");
I'm not a programmer (as u can probably tell) so...
2006 Nov 16
6
Gantt chart problem after upgrade to R 2.4.0
I am having a problem with a gantt chart since
moving to R2.4.0. from 2.3.1
I made some adaptations to the code from
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=74
and successful produced a simple gantt chart. However
when I upgraded to 2.4.0 it no longer works as
desired. See
http://ca.geocities.com/jrkrideau/R/gantproblem.pdf
for the two charts. The charts were produced
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
...=>'tcp')
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...
2011 Apr 05
1
allpage issu on asterisk 1.8.3.x
...('/Authentication (.+)\n\n/');
if ($m =~ /Authentication failed/) {
print "VERBOSE \"Incorrect MGRUSER or MGRPASS - unable to connect to manager interface\" 0\n";
exit;
}
$tn->print("Action: Originate\nChannel: SIP/$sipxtn\nContext: all-page\nPriority: 1\n");
$tn->print("Variable: SIPADDHEADER=Alert-Info: Ring Answer\n");
$tn->print("Extension: s\n");
$tn->print("CallerID: System Page\n");
$tn->print("Action: Logoff\n\n");
$tn->close;
}
-S
-------------- next p...
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
...ng.
char buff[256];
strcpy(buff, "Action: Login\r\nUsername: admin\r\nSecret: unix\r\n\r\n");
send(msock, buff, 255);
Now I want to try Action: Originate, therefore I tried the following
char buff1[256];
strcpy(buff1, "Action: Originate\r\nChannel: SIP/101\r\nExten: 102\r\nPriority: 1\r\nContext: default\r\n\r\n");
send(msock, buff1, 255);
But I get the following error response from Asterisk-Manager
Response: Error
Message: Missing action in request
Later I enabled the DEBUG Log in Asterisk I can see the following -
>>>>>> During the Login &...
2006 Feb 27
1
Problems dialing to another Asterisk server
...a code is :
originateAction.setChannel("Local/16007@mariaSIP/n");
originateAction.setCallerId("asterisk");
originateAction.setCallingPres(new Boolean(true));
originateAction.setContext("mariaSIP");
originateAction.setExten("222");
originateAction.setPriority(nPriority);
originateAction.setTimeout(nTimeout);
originateResponse = managerConnection.sendAction(originateAction, 30000);
if(originateResponse.getResponse().equals("Success"))
{
setVarAction.setVariable("STRING3");
setVarAction.setValue("SIP/6020");
originateResponse...
2003 Oct 13
1
PRI/E1: machine freeze/dies after a few calls
...z2=$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 b...
2004 Jun 21
0
A Callback AGI script
...quot;
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
2005 Feb 28
1
Manager "Message: Originate failed" beinggenerated when callee does not pick up
<<I am getting "Message: Originate failed" even the phone is ringing on the other end of the line.>>
Originate will ring your own extension first and when you pick up, call the other number. If you don't pick up your extension, you will receive the message you see.
Bill Seddon
________________________________
From: asterisk-users-bounces@lists.digium.com on behalf
2006 Jan 11
0
Asterisk Manager API and ZapBarge or ChanSpy
...ager API. Have something that is
working, but the call recording volume is to low to be usable.
dialplan
exten => 8159,1,ZapBarge(Zap/1)
remote application with Asterisk Manager API
$telnet->print("Action: Originate\nChannel:
Local/8159\@default\nApplication: ChanSpy\nData: |q\nPriority:
1\n\n");
$telnet->waitfor('/Response: Success/');
# get all the local channels and look for the extension in use
$telnet->print("Action: Command\nCommand: Local Show Channels\n\n");
$telnet->waitfor('/Response: Follows/');
whil...
2011 May 19
2
click to call with php
Hello,
i have asterisk 1.4 installed and i want to use click to call in order to do
an outbound call
if there is any php code in order to do this operation
thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110519/417ac394/attachment.htm>
2011 Jan 10
0
No subject
...se 010-602 4975</DIV>
<DIV>UNAVAILABLE call forward to C in my case 010-602 4976</DIV>
<DIV> </DIV>
<DIV>From manager:</DIV>
<DIV>Action: Originate\r\nChannel: OOH323/00733025975 at Avaya\r\nExten:=20
0106024000\r\nContext: inputinterior.se\r\nPriority: 1\r\nTimeout:=20
1000\r\nCallerID: 106024000\r\n\r\n</DIV>
<DIV>DBPut\r\nFamily: DS\r\nKey: 0733025975\r\nVal: =
NOT_INUSE\r\n\r\n</DIV>
<DIV> </DIV>
<DIV>Wait a second...</DIV>
<DIV> </DIV>
<DIV>Action: DBGet\r\nFamily:...
2013 Feb 20
2
exten => h,n,AGI(generateCall.php,${NEXT})
...{ $callFile = "/var/spool/asterisk/outgoing/".$outdialNumbers[$next].".call"; $f = fopen($callFile,'w'); $callFileContent = "\nChannel: dongle/dongle0/".$outdialNumbers[$next]."\nContext: call\nExtension: call\nPriority: 1\nSet: NEXT=".$next."\n"; fwrite($f, $callFileContent); fclose($f); chmod($callFile, 0777);}?>____________________________________________________________________________mac at almighty ~ $ ls /usr/share/asterisk/agi-bin/ -ltotal 4-rwxrwxrwx 1 root root 1166...