similar to: Macro arguments on app_queue

Displaying 20 results from an estimated 100 matches similar to: "Macro arguments on app_queue"

2009 Dec 04
2
Multiple Channel Variables with AMI Originate
Hi guys I seem to be having a problem, I don't know if it's a bug or whether I'm just doing it incorrectly. I want to set about 3 channel variables when I originate a call via AMI. All the documentation I have found says to do it like this: Variable: variable1=value|variable2=value|variable3=value However when I do this it runs them all together and I end up with:
2008 Dec 02
1
Using Dial M option from extensions.ael
Hi, How can you use Dial application M(x) option from extensions.ael ? (As a reminder, this M(x) executes macro x when Dial called party answers). It seems to me that asterisk keeps looking for this macro in extensions.conf and not in extensions.ael. I tried both (and variations of those with ^ instead of ,) : Dial(Local/${EXTEN:1},,M(mymacro(${EXTEN}));
2014 Mar 28
1
AMD with analog lines - DIALSTATUS empty
Hello, I would like to use AMD on outgoing calls using analog line. I tested with SPA3102 and cisco2811 as gw and asterisk 1.8.26.1 as well as 11.8.1 Other end is analog number behind another cisco/asterisk, also tested calling a mobile number with the same result. What I did: dial is done like exten => s,n,Dial(SIP/<IP gw>/<dialed number>,,M(myMacro)), which tell Asterisk to
2010 Feb 21
2
add Reason header on hangup
Hello, I have asterisk 1.6.0.20 and Is it possible to add Reason header on Hangup: Reason: q.850;cause=17 Thanks -- Best Regards, Giedrius -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100221/d29c02b8/attachment.htm
2014 Jun 06
1
Using macros in extensions.lua?
Hi, I have defined a dialplan in lua and now would like to use "dial" with the macro M to implement some logic, when the callee-channel gets created. Working old style would be (extensions.conf) [default] exten => _X,1,dial(SIP/1,,M(mymacro^parameter)) [macro-mymacro] exten => s,1,verbose(${ARG1}) How to implement the same functionality using pbx_lua? Details: Asterisk 11.7
2018 May 14
3
Rd parser throws error for user macros invoked with empty argument
Bug or feature? I get the following error from parse_Rd() when a user Rd macro (including system ones) is invoked with empty argument {}, eg \mymacro{}: Error in tools::parse_Rd(fn) : Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL' A full example is further below with the system macro \CRANpkg{}. In this example it doesn't make sense to use empty argument but
2018 May 25
2
Rd parser throws error for user macros invoked with empty argument
While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored: f <- tempfile() mac6 <- "\\newcommand{\\mac6}{mac6: #1}" cat(mac6, "\\mac6{2*3 2+2 sin(pi) }\n", file = f) rd <- tools::parse_Rd(f) > rd mac6: 2*3 --- Georgi Boshnakov -----Original Message----- From: Tomas Kalibera
2008 Dec 02
0
Using Dial M option from extensions.ael [SOLVED]
2008/12/2 Philipp Kempgen <philipp.kempgen at amooma.de> > Philipp Kempgen schrieb: > > Olivier schrieb: > > > >> How can you use Dial application M(x) option from extensions.ael ? > >> (As a reminder, this M(x) executes macro x when Dial called party > answers). > >> > >> It seems to me that asterisk keeps looking for this macro in >
2007 Oct 03
0
app_read prematurely bridges channels
Hi list, Running Asterisk 1.4.10: When using the M() option for Dial to execute a macro, then executing a Read within the macro, once streaming of the audio file specified in Read has completed, and the channel attempts to read input from the destination channel where the macro is executed, the source channel stops ringing/moh, and audio from the source is bridged into the destination. I have
2009 Oct 06
0
What happened to MACRO_EXTEN in AEL macros since 1.6?
Hi! Since 1.6, when using AEL, macros are implemented using Gosub(). Is there workaround to have MACRO_EXTEN also in this case? regards Klaus PS: I know I could use something like context fromSip { 11 => &myMacro(${EXTEN}) } macro myMacro(MACRO_EXTEN) { } but isn't there some workaround to achieve compatibility with 1.4?
2014 Jul 26
0
Hangup check during long running macro called by M option on Dial
I have built a dialplan which dial to someone with option M. Dial (SIP/1000,,M(MYMACRO)) Both parties are SIP phones. MYMACRO expects person on SIP/1000 dial 5 (using read) then exits - and doing so it bridges my phone (SIP/2000) with SIP/1000. If SIP/1000 hangs up before dial 5 - ok the call ends. if SIP/2000 hangs up before SIP/1000 dial 5 - the macro is unaware and keeps waiting SIP/1000
2009 Jan 28
1
Scope of variable
I have this extension: exten => 1322,1,Answer() exten => 1322,n,Set(CfMC_AMDValue="NotChecked") exten => 1322,n,GotoIf($["${CfMC_DoAMD}" != "Yes"]?NOAMD) exten => 1322,n,AMD() exten => 1322,n,Set(CfMC_AMDValue = ${AMDSTATUS}) exten => 1322,n(NOAMD),Wait(1) exten => 1322,n,UserEvent(E1322-1,${CfMC_ActionID}=${CHANNEL} & ${CfMC_AgentToUse}
2009 Dec 27
0
Macro only accepts 1 argument
Hello list ! This is my call to the macro : exten => 36,n,Macro(mymacro,${KNUMMER},yo) This is where {ARG1} and {ARG2} are used inside the macro : exten => s,n,Voicemail(${ARG1}@${ARG2},s) This the output on the CLI : VoiceMail("IAX2/zoiper-13958", "908001@|s") The variable ${KNUMMER} is set in the dialplan and well replaced by 908001. But {ARG2} is not replaced by
2018 May 25
0
Rd parser throws error for user macros invoked with empty argument
Thanks for the report and the examples - and they do not have to be that verbose, it is enough to just define and use a command, e.g. cat("\\newcommand{\\mac1}{MAC1:#1}\\mac1{}", file=f) rd <- tools::parse_Rd(f) Whenever you get an error message like "Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL'", there is a bug (at least the error message
2018 Jun 01
0
user macros with multi-line arguments in Rd (was Re: Rd parser throws error for user macros invoked with empty argument)
Thanks for the report, I am testing a patch that will allow multi-line arguments to user macros. Best Tomas On 05/25/2018 04:45 PM, Georgi Boshnakov wrote: > While on the topic of Rd macro arguments, it seems that if a multiline argument is supplied, the lines after the first are silently ignored: > > f <- tempfile() > mac6 <- "\\newcommand{\\mac6}{mac6: #1}" >
2009 Feb 17
1
What is the purpose of membermacro in queues.conf
Hi, There are 3 new settings (setinterfacevar, setqueueentryvar, setqueuevar) and membermacro settings in 1.6 queues.conf. What is the potential use of these settings? The variables set are useful, but there is no indication of the purpose they could be used? Any one with some light on potential use case of these new features? raj
2010 Jan 22
5
Set CDR userfield for Queues
Hello, I am using Queue application with multiple agents in each queue. I want to set the CDR(userfield) for each cdr based on the agent answering the call. Is it possible to do this? Thanks
2010 Apr 28
0
Execute Macro when queue is answered
Hello list, using asterisk 1.4.25.1 and realtime queues. I would like to use the parameter 'membermacro' so I've added a field in my mysql-table queues, but this is not working. Anyone knows how I can execute a macro when the queue is answered by a queuemember ?? Also the command queue() does not have this option... Kind regards, Jonas. -------------- next part --------------
2009 Jun 03
1
Using DIALSTATUS question
Hi all, I am trying to make decisions in my dialplan based on {DIALSTATUS}. I am creating calls using AMI (rawman with parameters via URL) with action:Originate. I am using SIP and an outside voip provider for the calls. If I define the number to call in the Channel parameter (e.g. SIP/15555555555 at myvoipprovider, the call gets placed before entering the context that I defined. I understand
2018 Dec 04
2
asterisk is not seeing my queues in database
I enabled the logs on the mysql database and ran : realtime load queues name cou0002-test in the mysql log I can see that the proper select statement is being executed: 2018-12-04T16:29:27.253094Z 229 Query SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED 2018-12-04T16:29:27.254384Z 229 Prepare SELECT * FROM queues WHERE name = ? 2018-12-04T16:29:27.254902Z 229