Displaying 20 results from an estimated 300 matches similar to: "Question"
2010 Sep 06
2
Macro when calling cellphone (GSM) + silence when connecting
Hello list,
I'm using the following macro when calling an external callphone/GSM
number :
[macro-press1]
exten => s,1,NoOp()
exten => s,n,Playback(/var/lib/asterisk/sounds/prompts/press1)
exten => s,n,Read(INPUT,,1,1,1)
exten => s,n,NoOp(input : ${INPUT})
exten => s,n,GoToIf($["${INPUT}"=="1"]?exit:hangup)
exten => s,n(exit),NoOp(call accepted)
exten
2011 Feb 02
1
Problems using Background within a macro on V 1.4
Hi List
I have had a look at the various posts on this and seem to be more confused
than ever - but then again that's not hard ;-)
I am using Version 1.4.33.1 build from the Debian "lenny" distros
I am trying to implement a simple screening
[macro-screen]
exten => s,1,Background(press1)
exten => s,n,WaitExten(5)
exten => 1,1,NoOp(accepted) ; Dont set a reply so dial
2015 Nov 04
4
Find me macro - calling multiple people to get a hold of one
Hi list,
We're trying to set up a phone number that customers can call to get a hold of anyone of a group of sysadmins (and not their voice mails!). We found the findme example ([1]) that makes the callees press 1 to accept the call. It almost works, but it doesn't work correctly when one of the callees, the sysadmins, hangs up after accepting the call.
We're using this
2006 Oct 18
4
Findme problem
Greetings all,
I've been working on having Asterisk put a call through to two different numbers, and give the call to the first one that acknowledges by pressing the 1 key. I found an example on the wiki, but I can't get it working.
When I answer the call I hear the message telling me to press 1 to connect, and as soon as the message is done, the call is connected. In other words, it
2009 Jun 23
1
ADM v. homemade code
Hi,
I am attempting to implement Answering Machine Detect and have also played
with using BackgroundDetect instead. Does anyone recommend one over the
other? Here is the code I am using for the BackgroundDetect method (from
voip-info.org).
Thanks.
[detect]
exten => s,1,Set(MACHINE=0)
exten => s,2,Answer
exten => s,3,BackgroundDetect(silence/5, 1000, 50)
exten =>
2007 Jul 10
0
Macro Goofiness
I am trying to use a macro to screen calls by calling several different
phones at the same time in different groups. Find me will not work and
queues will not work either. Trust me, I've tried them both and they
don't work like they should. Here is what I have:
A call comes into 6084 and does the following (in default context):
exten => 6084,1,NoOp(test)
exten =>
2008 Feb 20
3
Dial+Macro and Queue
A call comes in and goes into the queue, the queue dials a sip channel using
a macro. The macro plays a set of options to the callee and if the callee
presses 3 it sets MACRO_RESULT=CONTINUE and the macro ends. For some reason
the caller goes back into the queue rather than continueing on in the dial
plan. Why is this, i could have sworn in 1.2 if i set MACRO_RESULT=CONTINUE
that the
2006 Jun 14
1
analog call progress - can I use backgrounddetect
Hi,
There seems to be no solution for call progress on analog lines
and using outgoing spool call files . My wave file starts playing before
the person has answered the phone so the first part of the message is
missed.
Can the backgrounddetect app be used for this. I have tried but
the message still plays before I answer.
I generated 60 seconds wave file.
[callprogress]
exten =>
2005 Sep 20
0
BackgroundDetect problem
Hi all,
I hate to ask such a simple question, but it has stumped me over the
past couple of days.
I have 2 asterisk servers connected to the house lan and also via a
crossover ethernet cable. The original purpose of the crossover was to
create a private lan for TDMoE.
I have a TE410P in each machine using PRI. I also have setup SIP and
IAX2 between both machines.
What I'm doing is
2006 Jan 22
4
Detection of Answering Machine
Hello,
To detect an answering machine I have found following two commands,
BackgroundDetect (comes with asterisk)
MachineDetect (asterisk add-ons)
First question, does BackgroundDetect works well with g729?
I havn't try MachineDetect yet, what is the benefit of MachineDetect over BackgroundDetect.
If anybody used any of this command successfully, please help me.
If possible, please let me
2007 Apr 01
5
[MACRO-SCREEN] and MACRO_RESULT
I am following the example at http://www.voip-info.org/wiki/view/Asterisk+tips+findme but I find that no matter what, the call is connected. Can anyone confirm that config is working for them? Any suggestions appreciated.
I need to transfer calls to a list of cell phones, ring all of them, allow them to screen the call, connect the call to the first number that accepts the call, and allow
2007 Jan 24
0
Agent Pre Acknowledgement Message
I'm trying to wean my self using the Agent channel in Asterisk. The main
reason I use it is for the callback acknowledgement , where the user
presses # to finally acknowledge the call. I have implemented this in the
Dialplan using the Macro in the docs. This works well as long as the user
enters something.
However if the user hangs up , then both sides of the bridge call are hung
up as
2007 Feb 08
2
Asterisk outbound calling does not wait for answer before playback
Hello Asteriskers, :-)
We're trying to set up an outbound notification calling for system
alerts with Asterisk 1.4.0. We generate a call file in
/var/spool/asterisk/outgoing and the outbound call is originated through
Zap/1 (Sangoma A200D to a Canadian POTS line). The problem is that
Asterisk does not wait for the other side to answer before it starts
playing the message. So the
2006 Nov 03
1
SendDTMF() behaves strangely
Hi, everybody:
As part of a paging macro I'm using SendDTMF to send digits to the
called party.
The section looks like this:
exten => s,1,Wait(0.5)
exten => s,n,SendDTMF(9531290)
exten => s,n,Wait(1.0)
exten => s,n,Set(MACRO_RESULT=CONTINUE)
To test I direct the call to a live extension just to hear what's
happening -- what actually happens is that only the 9 is sent, and
2005 Mar 03
3
Detect sound and continue, like BackgroundDetect() for voice
I'm looking for an application that can monitor a channel for voice
input and then proceed on. The closest thing I've found is
BackgroundDetect, which expects DTMF.
Here's what I'm doing:
-Call file generated which calls someone and connects them to an
extension.
-Extension plays stuff, etc. etc. etc (not important)
With digital or VoIP termination, this works fine, because *
2007 Jul 05
2
Call Screening Not Working
I am using the Find-me/Follow-me example below with screening:
http://www.voip-info.org/wiki/view/Asterisk+tips+findme
Here is my actual config:
[macro-screen]
exten => s,1,Wait(1)
exten => s,n,Background(press-1-to-be-connected-to-the-caller)
exten => s,n,Set(TIMEOUT(response=5))
exten => 1,1,NoOp(Caller accepted)
exten => i,1,Set(MACRO_RESULT=CONTINUE)
exten =>
2005 Jan 19
5
Call Screen Macro Not Exiting when call rejected
This is a followup to the posting earlier about Hunt Groups with Call
Screening.
I have implemented the following macro and for some reason the Macro does
not exit and continue the context it was called from when the called party
rejects the call - It always drops through to the NoOp at the end and
connects the call.
Below are two examples of the dial commands I am using to call the macro.
2006 Oct 29
1
Multiple dial macros at the same time
I am setting up an after-hours on-call system. Someone calls in and
requests service, and while they listen to music on hold, we dial out to
several people's cell phones and home phones. We don't know if they will
be answered by the employee, or by voicemail or a
spouse/relative/child/pet. So we play a message that says "press 1 to
accept the call" and ask employees to train
2005 Jul 12
0
Returning values from macro inside Dial command
I'd like to set some variables inside the macro called
from Dial(). As far as I can tell, though, if you
just do a SetVar inside the macro, it's set in a
different context and isn't available to the code that
calls the macro.
Am I missing something? What's the right way to
return data from the macro call? (Other than the
MACRO_RESULT feature.)
I'm using the
2007 May 21
0
AGI: Festival & Ringing on Screening not working properly
I am running into two problems:
1) The ringing stops during call screening once the extension picks up (but
has not yet approved call)
When a person calls and choose an extension, the Dial link is called and the
person hears the ring -- but as soon as the receiving caller picks up (even
though they have to approved the call), the ringing stops... the person
calling hears silence.
This is