Displaying 20 results from an estimated 2000 matches similar to: "default context overrides context of peer"
2010 Jun 26
2
Detecting hook flash in asterisk
Hello,
Is it possible to detect a hook flash in asterisk. I want to be able to
perform some functions an hook flash.
I have the following entry in features.conf which executes a Macro on
detecting key press '**'.
[applicationmap]
test => **,caller,Macro,testflash
Is it possible to do this action on hook flash?
-------------- next part --------------
An HTML attachment was
2010 Jul 01
3
Originate multiple channels
Hello,
Is it possible to use the asterisk manager interface to originate
multiple channels?
like
Action: Originate
Channel: SIP/101&SIP/102
So that both extensions 101 and 102 rings simultaneously.
I am using asterisk manager interface over http.
Thanks
2010 May 26
2
Getting 'username' of sip peer
Hello,
I have a few entries for sip peers in sip.conf with different name and
username, like
[TestSIPUser]
type=peer
host=dynamic
username=testuser
secret=1234
context=test_context
[TestNewUser]
type=peer
host=dynamic
username=newsipuser
secret=3456
context=test_context
When a call is made from any of these peers I want to get the username
of the peer.
for eg:- If a call is being made from
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
I have a bit of a riddle:
In http://reviews.llvm.org/D19904 I'm trying to spell the following
assembly:
.palign 2, 0x90
jmp +0x9
nopw 512(%rax,%rax,1)
// rest of the code
I try the following snippet to accomplish this:
OutStreamer->EmitLabel(CurSled);
OutStreamer->EmitCodeAlignment(4);
auto Target = OutContext.createLinkerPrivateTempSymbol();
// Use a two-byte `jmp`.
2017 Nov 23
2
question about xray tls data initialization
On Wed, Nov 22, 2017 at 10:37 AM, Dean Michael Berris
<dean.berris at gmail.com> wrote:
>
> On 22 Nov 2017, at 02:32, comic fans <comicfans44 at gmail.com> wrote:
>
> with some dirty hack , I've made xray runtime 'built' on windows ,
>
>
> \o/
with more test, I've found that trampoline didn't got built for windows :/
currently cmake didn't
2010 May 21
2
Using unix socket to connect with database
Hello,
I am using asterisk realtime with a postgresql database on the same server.
In res_pgsql.conf I have specified
[general]
dbhost=localhost
dbport=5432
dbname=asteriskdb
dbuser=psql
dbsock=/tmp/.s.PGSQL.5432
Since both asterisk and db are on same server, I would like asterisk
to connect to db using the local unix socket. However asterisk is not
using the local unix socket to connect to
2016 Jun 22
3
x86: How to Force 2-byte `jmp` instruction in lowering
On Wed, Jun 22, 2016 at 6:05 AM Nirav Davé <niravd at google.com> wrote:
> This appears to work:
>
> auto Target = OutContext.createLinkerPrivateTempSymbol();
>
> with
>
> auto Target = OutContext.createTempSymbol();
>
> -Nirav
>
>
Thanks Nirav -- I tried this but I'm still getting a "jmpq <address>" with
this incantation when I load and
2017 Nov 21
2
question about xray tls data initialization
with some dirty hack , I've made xray runtime 'built' on windows ,
but unfortunately I haven't enough knowledge about linker and the
runtime, and finally built executable didn't run. I'd like to share
my changes here , hopes somebody help me to make it run on windows.
in AsmPrinter, copy/paster xray for coff target
InstMap =
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with
the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing
straight to obj:
llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx <
test/CodeGen/X86/xray-attribute-instrumentation.ll
What test case are you using?
In any case, the issue appears to be that llvm doesn't realize that the
target address is
2005 Jun 05
2
Problem in the path for executables...
Hi,
I have a windows executable which I am trying to run in Linux using wine.
When I execute the command :
wine {ABSOLUTE_PATH}/file1.exe,
file1.exe runs many other executables internally, like file2.exe, file3.exe
and file4.exe.
Now when file1.exe is trying to run the other executables, it is not able to
get the path of the executables. I have the "PATH" enironment variable set
2011 Sep 17
0
[LLVMdev] Problem with Linux PPC64 assembly output.
The latest binutils (2.21.2) assembler for the PPC64 complains about the .size
directive emitted by LLVM as not containing an absolute expression.
An example:
__umodsi3:
.quad .L.__umodsi3,.TOC. at tocbase
.previous
.L.__umodsi3:
mflr 0
[snip]
mtlr 0
blr
.Ltmp0:
.size __umodsi3, .Ltmp0-__umodsi3
The correct size expression should be
2016 Aug 05
2
XRay: Demo on x86_64/Linux almost done; some questions.
Hi Dean,
I have a question for 32-bit platforms. I see in the code that you used the
following in compiler-rt/trunk/lib/xray/xray_interface_internal.h :
struct XRaySledEntry {
uint64_t Address;
uint64_t Function;
unsigned char Kind;
unsigned char AlwaysInstrument;
unsigned char Padding[14]; // Need 32 bytes
};
And the peer code in llvm/trunk/lib/Target/X86/X86MCInstLower.cpp :
void
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
Thanks Nirav,
I can confirm that this works when I do the compile with llc, but then when
linking to an executable with clang (patched with
http://reviews.llvm.org/D20352 and compiler-rt patched with
http://reviews.llvm.org/D21612) on Linux, I'm getting something different.
Here's a sample of the transcript, and what I'm seeing:
--->8 clang invocation 8<---
[16-06-23 3:33:42]
2011 Dec 14
1
get start-time of all active calls
Hello,
asterisk version 1.6.2.7
I want to get the start time of all active calls from console, could you please let me know the best way to get it.
thanks,
Kamlesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111214/b462516a/attachment.htm>
2007 Apr 20
1
SELinux and daemons - clever way to change default locations?
I'm sure you've seen this before:
You need to slightly tweak the default installation of a major daemon -
let's say you're running a big MySQL database and you need to put it on
a different filesystem, mounted (for example) as /db
So you move /var/lib/mysql to /db/mysql (and preserve all the file
attributes, including SELinux), change /etc/my.cnf accordingly, start
mysqld -
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
Attached is a working patch set for llvm to be able to emit arm64
(currently as triple aarch64-apple-ios) mach-o object files, in case
someone is interested. I'm not sure if the llvm maintainers want the
patch given the previous message that there's going to be an official
patch set from apple to support this, but here is mine.
What works (tested on an iPhone 5S):
* objc strings,
2010 May 04
2
Asterisk 1.6.2.7 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.6.2.7.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/
The release of Asterisk 1.6.2.7 resolves several issues reported by the
community, and would have not been possible without your participation. Thank
you!
The following are a few of the issues resolved by community
2010 May 04
2
Asterisk 1.6.2.7 Now Available
The Asterisk Development Team has announced the release of Asterisk 1.6.2.7.
This release is available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/
The release of Asterisk 1.6.2.7 resolves several issues reported by the
community, and would have not been possible without your participation. Thank
you!
The following are a few of the issues resolved by community
2011 May 05
1
ael context ~~s~~ in macros broke Dial() U() option in 1.6.2.17.2 and newer
Hi,
I think this must be a bug introduced with 1.6.2.17.something.
When I upgrade from asterisk-1.6.2.16.1 to asterisk-1.6.2.17.2 or 1.6.2.18,
my AEL Dial() commands with the "U" options fail with the following error:
[May 3 12:05:54] ERROR[6300] app_stack.c: Attempt to reach a non-existent
destination for gosub: (Context:screen, Extension:s, Priority:1)
Here are the segments
2011 Jun 06
0
[LLVMdev] Understanding SelectionDAG construction
Hi Ankur,
> The flags "-view-sched-dags".. described in the doc doesn't seem to work. (
> "llc -help" doesn't list it ).
as far as I remember, displaying DAGs during compilation is only enabled
in "debug builds" [1] of LLVM. You probably have to re-configure and
re-compile LLVM to enable this feature.
Best regards,
Christoph
[1]