similar to: Switching between Music on Hold streams. [13.8.2]

Displaying 20 results from an estimated 2000 matches similar to: "Switching between Music on Hold streams. [13.8.2]"

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 09
4
Switching between Music on Hold streams. [13.8.2]
Thanks Joshua and everyone, Joshua's solution seems a lot simpler and works well. Only one thing now - The reason I named the classes as I did, was so that I could select the class based on callerID plus extension. Unless I've misread it, I'm limited to 9 switchable classes via the "digit=#" option, is that correct? Or is there a clever hack around this? extensions.conf
2007 May 01
3
using Playback() to play a random sound file
I've got a directory under /var/lib/asterisk/sounds which contains a bunch of sound files. I would like to call the Playback command to play the files, but I need it to select a file to play randomly. Is there any way to do this? ~jay
2020 May 03
2
Better way of streaming radio than "musiconhold" for Asterisk 17.4 ?
Way back in 2016 the only way to allow callers to listen in to a stream "at will" was to do the following: moh.conf [radio] mode=custom application=/usr/bin/mplayer https://example.com/stream.mp3 -quiet -ao pcm:file=/dev/stdout -af volume=5,resample=8000,channels=1,format=alaw extensions.conf exten => radio,1,Verbose(1, Entered radio context) same => n,Set(VOLUME(TX)=1)
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
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
2011 Mar 15
4
[1.4] Asterisk doesn't hang up?
Hello I'm trying to use ChanIsAvail() to check when the landline is back to idle after a call, but for some reason, Asterisk doesn't detect that the callee has hung up after listening to MoH for a few seconds: ========== extensions.conf ;Play MoH for a few seconds, hang up, and ;check ChanIsAvail() able to detect when line idle again exten => 8888,1,Answer() exten =>
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
2004 Jun 18
3
WaitExten substitute
i am using the freebsd port, which seems to not yet have WaitExten(), which i kinda want to use thusly [ext-666] exten => _.,1,SetVar(areacode=666) exten => _.,2,Background(zz-in-who) ; give them list of extns exten => _.,3,WaitExten(10) ; let them enter extn to call include => extensions include => applications include => speeddials
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})
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
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
2013 Nov 27
3
issue with speech in IVR
hello list i have an IVR menu in asterisk 1.4 like below exten => 600,1,Ringing() exten => 600,n,Wait(2) exten => 600,n,Goto(home,s,1) [home] exten => s,1,SetGlobalVar(sounds_path=/var/lib/asterisk/sounds/) exten => s,n,Background(${sounds_path}music1) exten => s,n,Background(${sounds_path}music2) exten => s,n,Background(${sounds_path}music3) exten =>
2009 Feb 05
1
extensions ending with "#"...
Hi everyone! I've set up asterisk ip-pbx to implement IVR menu and encountered such a problem: when users dial the destinaion phone number and end it up with "#" asterisk still waits until timeout in WaitExten() is reached. // Here comes the context where user is prompted for a dest. number: context ivr-dialout { s => { Background(enter-your-dest-number);
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