search for: newcontext

Displaying 10 results from an estimated 10 matches for "newcontext".

Did you mean: new_context
2015 Jun 02
2
[LLVMdev] Linking modules across contexts crashes
...the objects at all. It should cause the source context to disappear. If you want to work on a solution, I think a better approach would be adding API for one (or both) of: class Module { public: /// Move this module to the given context. void changeContext(LLVMContext &NewContext); }; /// Remap the given module in a different context. std::unique_ptr<Module> remapModuleToContext( const Module &M, LLVMContext &NewContext); I'm not sure what your exact use case is, but I could see either/both interfaces being useful. For example, you c...
2015 Jun 04
2
[LLVMdev] Linking modules across contexts crashes
> 1. How to find all constants in Module? Does this code find all of them, or > they are somewhere else too? > for (GlobalVariable &GV : globals()) { > if (auto C = static_cast<Constant*>(GV.Op<0>().get())) { > ... C is Constant* > } > } Constants are unfortunately part of the Context, not the module :-( Cheers, Rafael
2007 Oct 29
1
Realtime & context
...on, sip and iax. In extensions.conf I have put these lines: [from-internal] include => parkedcalls switch => Realtime/@ [fromiax] switch => Realtime/@ There is a way for put in my database the context also? Now if I want to add a new context I have to modify the extensions.conf with: [newcontext] switch => Realtime/@ but I have about 50 asterisk that read one database, now if I want to change/add a context I have to change 50 extensions.conf file :( Thanks Enrico. -- Pasqualotto 'Pasqu' Enrico enrico AT pasqualotto DOT org web: http://www.pasqualotto.org http://www.linkedin...
2003 Jun 11
3
How do i make best use of Macro?
...again and again until hangup. Is this a good way to implement my chat functionality? Or should i try another path? b) How do i return from a macro? Do i just fall out by not having any more valid extensions in the macro? Vill execution then continue at the next priority? Or should i use a Goto(newcontext,s,1)? /Chris
2006 Apr 02
1
Who is on a call?
I would like to know which extension number is engaged in a call. show channels shows me: *CLI> show channels Channel Location State Application(Data) SIP/asterisk.elmit.com-0 690@default:2 Up Echo() SIP/8807-066 690@newcontext Up Echo() 2 active channels 2 active calls but it is not true!!! show channels verbose gives me even a time to each of 112:43:33 and 347:23:22 I want to know: 1. is extension number 444 in use (calls) 2. is the connection to my provider abc in use (call) How can...
2003 Sep 26
2
Set context based on CID...
I was wondering if someone might be able to offer a suggestion to me about how I might go about dropping a caller into a context specific to their CID. For example, I would like to be able to dial Asterisk from a specific number (a mobile phone) and have it drop me into a context other then the one that normal callers receive that has more options tailored to things I might want to do. I assume
2006 Mar 23
6
How to create [new_context] in extensions.conf?
It _appears_ that the only way to create valid [context] is by a context = line in sip.conf. Is there another way to create a [new_context] in extensions.conf so I can dial from it? Right now most of my extens are in [default] and I'd like to avoid that. Larry -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Slackware Linux
2015 Jun 01
2
[LLVMdev] Linking modules across contexts crashes
> On 2015-Jun-01, at 11:06, Reid Kleckner <rnk at google.com> wrote: > > I'm pretty sure module linking is expected to occur in the same LLVM context. Correct. > IIRC Duncan had some proposal for how ld64 could do something clever with multiple contexts, but I've totally forgotten what it was. This was for LTO (probably unrelated to Yuri's scenario?). 1.
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all, I am wondering if anyone has given thought to using REST / XPath as querying mechanism. That way you could have a URL that actually maps to a collection of records (objects, really) that meet a certain criteria and that are sorted a certain way. Mike Pence
2017 Apr 26
6
NOT Solved - Re: SELinux policy to allow Dovecot to connect to Mysql
On 04/26/2017 04:22 AM, Gordon Messmer wrote: > On 04/25/2017 03:25 PM, Robert Moskowitz wrote: >> This made the same content as before that caused problems: > > I still don't understand, exactly. Are you seeing *new* problems > after installing a policy? What are the problems? > >> #!!!! The file '/var/lib/mysql/mysql.sock' is mislabeled on your system.