Displaying 20 results from an estimated 120 matches similar to: "A Callback AGI script"
2003 Oct 13
1
PRI/E1: machine freeze/dies after a few calls
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
2009 Sep 27
0
Is channel local what I need?
On 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
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
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
Dear all,
I want to make call through socket i have set code given below:
#!/usr/bin/perl -w
use IO::Socket::INET;
sub asterisk_command ()
{
# my $command=$_[0];
my
$ami=IO::Socket::INET->new(PeerAddr=>'127.0.0.1',PeerPort=>5038,Proto=>'tcp')
or die "failed to connect to AMI!";
print $ami "Action: Login\r\nUsername:
2013 Feb 20
2
exten => h,n,AGI(generateCall.php,${NEXT})
not able to run my php from AGIi am using asterisk 1.8.13 (debian)i am able to make call file using php command line..but when executing php from AGI, it is not working..kindly see the attachment if bellow text is not readable...___________________________________________________ File: /etc/asterisk/extensions.conf[call]exten => call,1,Answerexten => call,n,Playback(hello-world)exten =>
2011 Aug 24
0
Time-limited calls -- revisited
I have got time-limited calls with a warning announcement working now .....
almost. Something is going slightly wrong, because the call file that gets
created to trigger the announcement is persisting even after both ends of the
call have hung up.
When a code is dialled, the user enters the context "time-limited-call". An
announcement is played and the user then dials the number
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com.
A friend of mine recently expressed interest in this code snippet, so
I thought I''d send it out to anyone else who''s interested. This
module makes it a lot easier to ''require'' javascript and cascading
stylesheet dependencies inside your views or controllers. By
2002 Feb 07
1
chroot patch for openssh 3.0.2p1
High all,
I'm running openssh 3.0.2p1 and it seems that the chroot patch delivered
in the /contrib folder of the portable distrib does not apply to this
release.
Does anyone know if i can find an updated patch.
Thanks
--
Johan LEGROS
Direction Informatique
R?seau & T?l?com
Tel : +33 1 71 71 56 62
Fax : +33 1 71 71 55 77
Email : jlegros at canal-plus.fr
URL :
2000 Aug 24
2
hosts allow/deny question
Hi all,
I would like to do something like this at Samba level:
hosts allow = subnet1/mask1 subnet2/mask2 etc
hosts deny = *
But this doesn't seem to work (machine that are not in subnet1 and
not in subnet2 still have access)
I think the * is not understood by Samba, I tried ALL, this didn't
work either. I'm gonna check the samba source code but if I could
get an expert answer
2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
The patch prevents KEIL MDK compile warnings, like:
warning: #1035-d: single-precision operand implicitly converted to
double-precision
Actually ARM Cortex-M4F has only a *single precision* (float) FPU.
It's suit for all platforms.
See the comment at the begin of patch file.
Sincerely
Forrest Zhang
-------------- next part --------------
Specify the floating point constant with single
2012 Mar 07
1
Finish ChanSpy() when channel spied hangs up
Is there any way to do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120307/77764e4b/attachment.htm>
2004 Apr 21
3
Very basic questions
Hi,
I am new in asterisk and i've bought a X100p and a TDM400...
First of all, how can i verify my config files ?
Secondly, when i'm trying to pass a call to the outside, i ve a Notice
about appdial.c (l 554) telling me: unable to create channel of type Zap
...and i don't understand...
Finally, when i plug my analog phones in RJ45 of my TDM400, there is no
tonality ( i'm not
2012 Dec 20
7
asterisk 11 and DAHDI/i4
In 1.4.43 I would see things from "core show channels" like
DAHDI/18/xxxxx
for line 18
in Asterisk 11 its
DAHDI/i4/xxxx
How do I get the line number back?
Jerry
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
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>
2012 Oct 23
1
MSVC compatibility patch for current master branch
--
Joshua Bowman
Silverback Networks
(559) 305-3770
silverbacknet at gmail.com
www.silverbacknetworks.net
-------------- next part --------------
src/analysis.c | 6 +++---
src/mlp.c | 3 +++
src/opus.vcxproj | 5 +++++
src/opus.vcxproj.filters | 15 +++++++++++++++
src/opus_demo.vcxproj | 4 ++++
src/opus_demo.vcxproj.filters |
2005 Feb 06
2
Need help with perl script/agi for ringback
Hi,
I'm trying to write a simple perl script that will run
the following:
Action: Originate
Channel: local/xxx@callback/r/n
Exten: 1234
Context: callback
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:
2011 Apr 05
1
allpage issu on asterisk 1.8.3.x
Hey Guys!
I have perl script for allpage which is working fine with asterisk 1.8.2.3 version but same script same dialplan wouldn't working on asterisk-1.8.3.2 is there anything changes ?
If i run this script from command like it works but not from asterisk dialplan. This script nothing but just connecting AMI interface and using Variable: SIPADDHEADER=Alert-Info: Ring Answer variable to
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
Hi Asterisk-users,
I am working with Aterisk Manager API's.
I can login successfuly with the following.
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:
2011 Jan 10
0
No subject
Wait a second...
Action: DBGet\r\nFamily: DS\r\nKey: 0733025975\r\n\r\n
In the dialplan:
exten =3D> 0106024975,1,Set(DB(DS/0733025975)=3DINUSE)
exten =3D> 0106024975,n,Hangup()
exten =3D> 0106024976,1,Set(DB(DS/0733025975)=3DUNAVAILABLE)
exten =3D> 0106024976,n,Hangup()
Just a short call to my cell phone, to se if i get anything back, my =
cell phone doesn=E2=80=99t even ring.
Wait