Displaying 20 results from an estimated 40000 matches similar to: "out going call files and correct dial status"
2010 Jul 30
0
Aastra ignore call button hangs up call instead of going to voicemail
I have a Asterisk server (PBX in a Flash) with Aastra 57i phones. When
there is an incoming call the phone will display two buttons "answer"
and "ignore". If you press "ignore" the call is dropped instead of sent
to voice mail. The following is the log:
-- Called 111
-- SIP/111-00001c14 is ringing
-- Got SIP response 486 "Busy Here" back from
2011 Dec 23
1
execute command just after Dial()
Hello,
I'm using AGI scripting with asterisk and need to execute certain commands just after Dial(). But once dial command is executed, further commands/instructions are ignored.
$agi->exec("Dial","SIP/100");
$dialstatus = $agi -> get_variable("DIALSTATUS");
if($dialstatus[data]=="ANSWER")
{
do something.......
2007 Apr 18
0
Dial out from AGI and then connect it to another dialled out call
Hi there,
I'm converting a dialplan callback type application to fastagi as I'm
hitting the buffers with respects to getting useful results from CDRs.
It works by a spool call file triggering a Local extension, that extension
then does the first dial to a client. I dial to a local context from the
spool file as I need proper return codes as in ${DIALSTATUS} which are not
available
2006 Jun 20
1
AGI: Dial and Recording my own CDR
Hi folks --
I have a FastAGI Perl script running, handling calls. It works great.
At one point I have a Dial() command. If the called party hangs up, Dial()
returns 0, and when I call my own recordCdr() function using the channel
variables ANSWEREDTIME, DIALEDTIME and DIALSTATUS, everything is fine.
However, if the called party picks up, and then the dialing party hangs up
Dial() returns -1,
2009 Sep 02
1
AMI Originate Commands executed in sequential Order problem
Hi,
I noticed that asterisk manager interface will only accept the originate
commands in sequential order. For example, if I want to ring two extensions
through the AMI, and while first extension is ringing, AMI won't execute and
ring second extension until first extension has answered the call.
Anybody has any ideas as I had the same results even tested with telnet
commands to AMI interface.
2009 May 12
1
enum agi interesting problem
Hi,
I am having a strange problem with enum and AGI.
Here is what happens:
I have in my agi something like that:
foreach my $resolver ("e164.arpa", "e164.info", "e164.org") {
my @enums = get_enums($phone, $resolver);
foreach my $enum (@enums) {
$dialstring = $enum .
2013 Apr 01
0
Getting DIALSTATUS via agi
Hi all,
Hopefully, I just need a second set of eyes on this one, but I just can't
figure out what I'm doing wrong. I'm using an agi script to dial a number,
check the dial result, and act accordingly.
The problem is that I'm not getting anything back from DIALSTATUS, or
HANGUPCAUSE.
Here is the relevant perl code:
===============================================================
2005 Sep 08
0
How to cascade dial status back through IAX
On machine A I have something like the following in extensions.conf:
[iax-extensions]
exten => _9.,1,Dial(IAX2/machineB/${EXTEN:1}@mycontext)
exten => _9.,2,NoOp(DIALSTATUS=${DIALSTATUS})
exten => _9.,3,Hangup
On machineB I have something like this:
[mycontext]
exten => 2002,1,Dial(SIP/2002,60)
exten => 2002,2,NoOp(DIALSTATUS=${DIALSTATUS})
exten => 2002,3,Hangup
If I use a
2010 Nov 30
2
Correct operation of timout parameter for dial application
Hi All,
I'd just like to verify what the correct operation of the timeout parameter is for the dial application. I'm not sure if I've encountered a bug or a configuration issue.
When a sip phone is not responding to invites on an outbound call, the dial application still waits the duration of timeout before continuing with dialplan execution. I was under the impression that app_dial
2009 Jan 16
0
No subject
Dialing out
If the AGI application dials outward by executing Dial, control over
the call returns to the dialplan and the script loses contact with the
Asterisk server. The script continues to run in the background by
itself and is free to clean up and do post-dial processing.
If you want your application to initiate a call out without being
started through the dialplan:
* Asterisk auto-dial
2009 Jan 16
0
No subject
Dialing out
If the AGI application dials outward by executing Dial, control over
the call returns to the dialplan and the script loses contact with the
Asterisk server. The script continues to run in the background by
itself and is free to clean up and do post-dial processing.
If you want your application to initiate a call out without being
started through the dialplan:
* Asterisk auto-dial
2010 Jul 28
1
Passing Variables From Dial Macro To Parent Ruby
Thanks to help from Jim Dickenson I managed to start a macro and get info
about the channel that picked up the call from my ruby script.
The only thing that I cant do so far, is capturing the ${CHANNEL} variable
in the ruby script that started the macro.
Is that variable accessible from the ruby script too or just from the macro?
Here's a snippet from my ruby script:
2008 Mar 17
4
MeetMe option b
I am running asterisk 1.4.18 trying to use MeetMe and option b.
I am getting permissions denied failed to execute conf-background.agi
on the CLI
lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :
[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
2005 Jun 06
2
Variables and status problems in AGI application
I am running a prepaid application with Asterisk. When authentication has to be
done by DTMF everything works fine. However when the user is authenticated
directly from the sip phone, the channel variables seems to disappear.
Trying to retrieve the channel status always returns -1 instead of the 6 that
happens normally. It also seems to affected the DIALSTATUS and ANSWEREDTIME
variables.
The
2004 Sep 07
1
astcc dont write to the table cdrs or cards
Hi,
I have set-up astcc with outgoing sip channel. Call processing works fine
but after the call tables, CDR and Cards does not get updated. At the
beginning it goes to the database and fetch card details and correctly
provides the card balance etc. Also it indeed write the inuse field (so
writing and reading from database works fine).
I've inserted a break point as such in the code;
2006 Dec 18
0
Wait command
Hi
I've got a script like this
exten =>
s,1,SetVar(CALLFILENAME=/var/www/recordings/${TIMESTAMP:0:8:7}/${UNIQUEID})
exten => s,2,AGI(recordstart.py,${ARG1},${CALLERIDNUM},${CALLFILENAME},Ind)
exten => s,3,DIAL(ZAP/g2/${ARG1},70)
exten =>
s,4,AGI(logerror.py,${ARG1},${CALLERIDNUM},${CHANNEL},${DIALSTATUS},${DATETIME},
${CAUSECODE})
exten => s,5,hangup
exten =>
2009 Aug 17
0
Call back DIALSTATUS is empty
Hi,
Here is my problem. I am trying to get the Status of the call if the user
picked up the phone or not. It is coming as empty. Please help.
Here is my extensions_additional.conf file code:
[multi-dir-callback]
include => multi-dir-callback-custom
exten => _X.,1,Answer
exten => _X.,n,Playback(beep)
exten =>
2007 Aug 28
1
calls being forwarded to neighbor?? please help, thx :)
hi ppl :D
my configuration is as follows, i run (let's call it machine 2) debian etch 4.0 and asterisk 1.2,
i use voiceone (www.voiceone.it) as an interface to manage asterisk, I have a
grandstream/handytone 486 as a sip device, no PSTN line or anything like that all SIP only. I have
a machine (machine 1), which functions as my router and machine 2 and sip device are behind it,
grandstream box
2011 Jan 26
0
Variable HANGUPCAUSE always empty with DAHDI
Hi,
I am using
Asterisk: 1.6.1.20
LibPRI: 1.4.11.4
DAHDI: 2.3.0.1 Echo Canceller: MG2
Wanpipe-Driver: 3.5.15
Sangoma-Firmware: 43 (A104d)
I handle some calls with my own PHP-AGI-Script. After a dial-command I
use "GET FULL VARIABLE ${answeredtime}" or "GET FULL VARIABLE
${dialstatus}" and get valid information. Sometimes "dialstatus" has the
value
2005 Oct 07
1
ASTCC -- semantic note of 'callstart' in cdrs?
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be
called 'callend':
$dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) .
":60000:30000)";
$res = $AGI->exec("DIAL $dialstr");
$answeredtime =