similar to: Using macros in extensions.lua?

Displaying 20 results from an estimated 300 matches similar to: "Using macros in extensions.lua?"

2009 May 07
1
Macro arguments on app_queue
hi list, i have a question about the args of queue: when we use Queue() app, there are some arguments than can use. help from CLI: Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI[,macro[,gosub[,rule]]]]]]]]) well.. i'm trying to identify who has taken the call on a queue, and, when agent conected, launch a macro with some args based on who takes the call i do: exten =>
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
2015 Mar 17
2
Asterisk only registering at one provider
Hey, I am running default Asterisk 11.16.0 on a FreeBSD-Machine. I need to register to several other SIP-Services (actually 3): short sip.conf register => XX at a register => XX at b register => XX at c If I remember correctly this worked quite well, but I now checked the system again and it is only obeying the first register statement. "sip show registry" only reports the
2006 May 12
2
Usage of a telnet client instead of ssh or rsh
Hi all, i am building an authentification system based upon MIT kerberos. I set up a realm in which I can use the ftp and telnet server/clients infrastructure for the purpose of authentification. To backup my server i would like to use rsync, but instead of a ssh/rsh/stunnel with an encrypted kerberized telnet. My problem is, that i could connect manually via telnet.krb5, but if like to use it
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
2014 Apr 22
1
Indications.conf: change volume
Hi, I use Asterisk to create the dial tone (indications.conf), which works quite well. However the generated signal is quite loud at the client side (in comparison to the following speech ). Is there an option to modify the volume? --- Dennis Guse -------------- next part -------------- An HTML attachment was scrubbed... URL:
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 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
2014 Jul 03
3
Strange Error
Hi Guys, Does anyone know what this error means and how to fix it? [Jul 3 11:57:27] WARNING[17040] pbx.c: Don't know what to do with 'SIP/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140703/dfa17d19/attachment.html>
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}" >
2014 Aug 19
0
Asterisk 1.8.30.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.8.30.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 1.8.30.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs
2014 Aug 19
0
Asterisk 11.12.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 11.12.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 11.12.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs
2014 Aug 19
0
Asterisk 1.8.30.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.8.30.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 1.8.30.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs
2014 Aug 19
0
Asterisk 11.12.0 Now Available
The Asterisk Development Team has announced the release of Asterisk 11.12.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 11.12.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs