Displaying 20 results from an estimated 250 matches similar to: "Macro Usage"
2007 Feb 20
2
Mask the caller-ID
Dear All :
I need to mask the caller ID and pretend to make a transfer call from
another extension :
exten => 558,1,Answer
exten => 558,2,Playback(soundclip)
exten => 558,3,Dial(SIP/472@callman)
The scenario is like this :
Someone is calling 558 at my company - he will hear a soundclip voice
message then I will direct it to extension 472
I need 472 to not see the extension of
2014 Jun 26
1
Executing an AGI python script in Asterisk after call is bridged.
Hi All,
There is an option of starting the recording of call after the call is
bridged. [ b option].
Is there any way of running an AGI script only if call is bridged otherwise
not.
Thanks
--
Anurag Rana
http://newbie42.blogspot.in/
On the trampoline of life's experiences, Striving towards a saintly life in
the midst of these materialistic turbulences.
-------------- next part
2007 Feb 15
2
Asterisk Queues Problem
Help!
I'm (still) having issues with Asterisk Queues.
I want to implement a queue so that callers get the 'all our staff are
busy at the moment, your call has been placed in a queue and will be
answered by the first available operator. You may press 1 at any time
to leave a voicemail' announcement, then they can press 1 and leave a
voicemail.
Documentation with * 1.2.x (I'm
2007 Feb 08
2
problem with asterisk AGI
I have a fairly complicated setup. Extensions (1,2 and 3). In 3 - I
execute AGI in java which plays few wav files depending on external
parameters.
Can I have a dial plan inside my AGI? If not, how do I accomodate user
who needs to reach extension 2 from my agi? I have tried stream file and
get data but the two commands did not work at all.
2007 Feb 20
2
Asterisk CDR MySQL
I'm attempting to setup Asterisk 1.4.0 CDRs to use MySQL.
Modules show like cdr_mysql.so tells me it is loaded.
Reload cdr with MySQL started or stopped makes no difference in the errors.
Ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070220/55700f37/attachment.htm
2007 Feb 25
7
Sending Email From the dialplan
I have looked around with no luck.
Does anyone know of a way to send an email from the dialplan.
The system that I am working on has none thing to do with VoiceMail.
This is something like the SMS command but using sending email
I am working on a prepaid alarm dispatch program for Asterisk if anyone
has any input please let me know.
I will be more than happy to write the code as Open Source
2007 Aug 03
5
Difference between WaitExten and TIMEOUT (response)
Hi List;
What is the difference between WaitExten function and
TIMEOUT (response)? As I see that both are used to
determine the allowed time to enter the digits, any
one can advise?
Regards
Bilal
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today!
2005 Mar 25
2
WaitExten question
I'm a bit confused about how WaitExten works. I assumed that when it
returns 0, the next priority in the extension would be executed, but
that doesn't seem to be the case. When I get to WaitExten and enter
extension 8, it plays the message, then Waits another 10 seconds and
times out.
[local]
exten => s,1,Wait,1 ; Wait a second, just for fun
exten =>
2011 Mar 23
2
using ${EXTEN} with waitexten
All:
Some of the people who dial into to our system will press the pound key
when entering an extension for the directory key. When waitexten gets
that, I get an error messages as, for example 123# doesn't match any
extension.
I was going to use ${EXTEN} to just use the first three numbers, but I'm
not sure how to use this with WaitExten.
so I have
exten =>
2008 Jan 09
3
WaitExten and Macros
I am trying to use a WaitExten in a Macro, and I am finding that the extension which is pressed ends up in context of the calling context and not in the Macro.
How do you do a WaitExten in a Macro?
Tony Plack
2018 Jun 26
2
Asterisk not matching longest prefix with include
Hi,
My dialplan looks like this:
[from-external]
Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT)
Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)})
Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN})
Exten => _X.,n,Ringing
Exten => _X.,n,WaitExten(15)
Exten => _X.,n,Congestion()
Exten => _X.,n,Hangup()
include => test
[test]
Exten => 8282,1,Noop(--- WE GOT TO
2010 Jan 30
8
MATH
I want to create a script for IVR that compiles responses, aggregates
them to a total number.
Then, run an equation based on the result.
Press 1 for X (X is a positive number 500)
Press 2 for Y (Y is a positive number 200)
Press 3 for Z (Z is a positive number 300)
Press 20 to calculate the results
= 500+200+300 =1000
then,
exten => s,n,Read(NUMBER,,1000)
exten => s,n,SayDigits(${NUMBER})
2008 Mar 12
3
DTMF problems while greeting is playing (Background())
Hi,
I have a Digium TE410p T1 card and I've noticed that under asterisk
1.4.17/18 I have problems detecting DTMF in IVRs. I think I've
narrowed the problem down to some sort of interference between the
greeting that is playing and the DTMF tones. DTMF detection seems to
work very reliably when I am in Read() or WaitExten(), but is
absolutely unusable while in Background().
I hope someone
2015 May 06
2
Phones don't stop ringing when queue is answered
Hello,
I am running Asterisk 11 on CentOS 6.4 with about 150 local SIP clients on a
LAN. The SIP clients are a mixture of Yealink phones (e.g SIP-T32G, SIP-T42G,
etc). I have configured the system as follows:
sip.conf:
[169]
secret=111111
dtmfmode=rfc2833
directmedia=no
directrtpsetup=yes
canreinvite=no
context=main
host=dynamic
type=friend
port=5060
call-limit=5
nat=force_rport,comedia
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
2010 Oct 04
3
take input and store in variable
I am using a context to change values in a DB. Currently in my context, I
am passing it to
exten => s,1,WaitExten(7) ; 7 seconds to input
exten => s,n,Set(NEW_VAR=${EXTEN}) ;Here is my problem. This is the only
way I know how to 'grab' user input, which was normally from ${EXTEN} but
I realize this won't work for extension 's'......
The short google search I did
2011 Mar 03
6
[1.4] Forcing Asterisk/Zaptel to wait until callee answers?
Hello
I need to write a script that will dial a list of customers and play
a message.
I couldn't find a way to tell Asterisk/Zaptel to wait until the callee
has actually picked up the phone before proceeding with Playback():
============
;call made through Dial(): Doesn't proceed after off-hook/hangup
[internal]
exten => 8888,1,Dial(Zap/1/${IPPI})
exten => 8888,n,NoOp(We never
2016 May 09
3
Switching between Music on Hold streams. [13.8.2]
Hi there;
I didn't see any "G" option in the example above, and the usage for
the option parameters is entirely undocumented at
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Dial
The G options are as below
G - If the call is answered, transfer the calling party to the
specified priority and the called party to the specified priority plus
one.
context
exten
2016 May 08
4
Switching between Music on Hold streams. [13.8.2]
I'd like multiple people to be able to dial in and listen to various
live radio streams.
I was told that the correct resource-friendly way would be to setup a
MoH class, and then select that from the dialplan.
This works well, but how do I switch between streams?
Someone correct me if I'm wrong, but from previous similar questions a
few years ago it seems like once you've entered a
2006 Nov 03
4
some simple newbie help with dialplan needed...
Hi all!
I need a simple plan for the following:
*answer call
*wait for 4 digit extension
*send call to 4-digit extension entered.
I tried the following, but that doesn't work...
exten => 998,1,Answer()
exten => 998,2,Background(agent-newlocation)
exten => 998,n,WaitExten(20)
exten => 998,n,Dial(SIP/${EXTEN}@${SERADDRESS},60,tr)
WaitExten obviously does not fill EXTEN with