Displaying 20 results from an estimated 3000 matches similar to: "app_read prematurely bridges channels"
2009 Nov 26
1
app_read does not seem to work with SIP early media (it answers the channel)
Hello!
I am trying to come up with a way to read a digit *before* the call is
answered. My Asterisk version is 1.6.2.0-rc6
SIP early media works fine (I can receive and transmit audio before the
call is answered), but as soon as I start the read application, Asterisk
answers the call which is not what I want.
Here is how to reproduce the problem: send incoming calls from a SIP
provider that
2017 Aug 24
0
functions from 'base' package are not accessible
Try putting !!! (three exclamation symbols) in front of which(...)==....
The non-standard evaluation in the tidyverse can cause confusion.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 24, 2017 at 4:32 AM, Eugeny Melamud <
Eugeny.Melamud at lanit-tercom.com> wrote:
> Hi all!
>
> The following code (executed in console)...
> somevar <- data.frame(v1 = 1:5,
2017 Aug 24
5
functions from 'base' package are not accessible
Hi all!
The following code (executed in console)...
somevar <- data.frame(v1 = 1:5, somestring = 6:10, v3 = 11:15, v4 = 16:20);
somevar %>% gather(key = var, value = val, which(names(somevar) == "somestring"):length(somevar)) %>% head(2);
throws...
Error in which(names(somevar) == "somestring") :
could not find function "which"
if I change
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
2005 Aug 10
0
questions about extend
I''m working with prototype.js to make some widgets, and trying to
figure out working with extend.
I''d like to be able to to extend a class and then call a function from
the super class.
var SuperClass = Class.create();
SuperClass.prototype = {
initialize: function(somevar){
this.somevar = somevar;
}
}
var SubClass = Class.create();
SubClass.prototype = (new
2008 Sep 02
0
No subject
context probably won't give you any insight into what it actually
means, namely that because of X limitations, Wine can't actually
change the screen depth and lies to the application instead. Usually
this is fine; in fact I've never heard of it causing a problem. We
really have no business printing that scary useless thing IMO.
It should never be necessary to document these things.
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
>
2005 Aug 10
2
extend question
Is it possible to call the super class''s version of a function from a subclass?
SuperClass = Class.create();
SuperClass.prototype = {
initialize: function(){
this.varA = '''';
this.varB = '''';
}
}
SubClass = Class.create();
SubClass.prototype = (new SuperClass()).extend({
initialize: function(somevar) {
this.somevar = somevar;
}
2009 Sep 09
0
Custom CDR Help
So, it's been a while and I am just lately getting back into Asterisk stuff.
I am trying to remember/understand how CDR works and after lots of trial and
error and searching the archives, google etc, I am stuck and have a few
questions.
I have setup custom CDR and am trying to figure out the following:
1- Can I just set a variable like set(SomeVar=SomeValue) Then stick this is
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
2005 Oct 27
5
Save output of Ajax.InPlaceEditor to a variable?
All,
The Ajax.InPlaceEditor control is nice but I''d like the ability to
read the changed value. Basically, I''m creating a form with editable
elements but it''s only when I do the submit that the form elements are
submitted. I''d still like to allow in-place editing but what I''d like
to do is get the new value and throw that in a hidden form variable
Is
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
2006 Jun 15
1
Queues and local channels
I am using AddQueueMember to add a local channel to a queue. My
(simplified) dial plan is
[AddMember]
exten => 789,1,AddQueueMember(SomeQ|Local/456@Agent)
[Queue]
exten => 123,1,Queue(SomeQ|nt|||120)
exten => 123,2,Hangup()
exten => h,1,NoOp(InQ)
[Agent]
exten => 456,1,Dial(SIP/456)
exten => 456,2,Set(SomeVar=SomeValue)
exten => 456,3,Hangup
exten => h,1,NoOp(InAgent)
2011 Nov 21
1
AEX410P drops DTMF digits
Hello again list,
I'm running a 1.4.42 install on SUSE with an
AEX410P card. The DAHDI release is 2.4.0 because the machine won't properly
install 2.5 and also won't install Asterisk 10.0 because I can't get a good
SQLite3 library to install. Whenever I enter DTMF very quickly or very
slowly, app_read des on me. Has anyone experienced similar joy
2006 Feb 01
1
Unable to Register to Asterisk through Proxy
Hi,
Has anybody come across a situation where they were unable to register with Asterisk through a SIP stateless proxy server?
I'm getting an error:
"403 Authentication user name does not match account name"
As far as I can tell the requests reaching Asterisk with and without the proxy are identical excepting the IP address the REGISTER request is coming from and the Via header
2013 Jan 04
0
T38MaxBitRate issue on fax passthrough
Having an issue with receiving faxes, but when I pass through the fax.
Currently, I receive the fax with Digium's Fax for Asterisk, store it and
the initiate an outbound call to our fax server. (XMedius Fax). This
works, but we would prefer to have Asterisk simply route the call directly
to the fax server and take the store and forward out of the equation.
When I do that, however, the
2009 Apr 27
2
Change Termination of Read Command
Greetings all,
This is a "just-for-fun" question. I was reading the
support forum and a fellow there wanted Read() to stop on * instead of #. I
thought that changing app_read.c would resolve this
current
if (tmp[x-1] == '#') {
tmp[x-1] = '\0';
break;
new
}if (tmp[x-1] == '*') {
tmp[x-1] = '\0';
break;
}
He applied