similar to: How to write a function with a return value in Asterisk

Displaying 20 results from an estimated 4000 matches similar to: "How to write a function with a return value in Asterisk"

2007 Oct 06
1
DUNDi, regcontext, softphones.. fail.
> I'm having an issue deploying softphones into my DUNDi/regcontext > setup. My current design is that all SIP users get registered into a > sipregistration context in the sip.conf. I then have a dialplan > function that includes that and does the dial: > > include => sipregistration > exten => _XXXX,2,Answer() > exten => _XXXX,3,Wait(1) > exten =>
2014 Oct 04
1
Pjsip and regcontext (for DUNDi)
Hi guys, I'm building a PoC Asterisk 12 cluster based on a number of guides I've found on the net. The basic concept is using ARA in conjunction with DUNDi. I have set up ARA with pjsip according to this excellent guide here: https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime This is working nicely, so now I am turning my attention to DUNDi, as per this guide here:
2011 Jun 18
3
Unconditionally transfer files
Is there a way to make rsync unconditionally transfer files, i.e. create them anew even if the target already exists and is identical to the source ? rsync -I looks closer but still avoids transferring the files. -- Andr? Majorel http://www.teaser.fr/~amajorel/
2007 Aug 08
1
Buddy watch and the hint priority - brain teaser
Apologies if this is a resend, but I've sent this 12 hours ago and still can't see it on the list. Hi, I've just started to setup my phones with Buddy watch. Basically, it all works fine when using the simple example on the wiki: exten => 123,hint, SIP/some_sip_reg exten => 123,1,SIP/some_sip_reg BUT, what I need to do is dynamically decide where the hint checks for buddy
2006 Dec 05
0
RE: regcontext, NoOp extension vanishes when extension reload
> > Let me guess: The context in which you have the 2 thru n priorities is > the same one as you're using for regcontext right? > > Don't do that, bad things will happen (as you've noticed). > > I'd have to review the code again, but I think what you're seeing is as > a result of this. > > Regards, > - Brad > No, not exactly, I have a
2006 Dec 05
0
Re: regcontext, NoOp extension vanishes when extension reload, WORKING
OK this was an easy one to fix. All I had to do is RTFM. Note on the wiki: ATTENTION: Make sure you take a look at bug report 7144 Just do what Kevin said, include the regcontext in whatever static context you have the priority 2 extension and don't make a static regcontext in extension.conf. Let sip module do the rest. Works great. Thanks Guys. JR On 12/5/06, JR Richardson
2006 Dec 05
0
RE: regcontext, NoOp extension vanishes when extension reload
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > JR Richardson > Sent: Tuesday, December 05, 2006 3:49 PM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] RE: regcontext,NoOp extension > vanishes when extension reload > > > > > Let me guess: The
2008 Aug 06
4
Union of columns of two matrices
I was posed the following problem/teaser: given two matrices, come up with an "elegant" (=fast & short) function that returns a matrix with all and only the non-duplicated columns of both matrices; the column order does not matter. In essence, a matrix equivalent of union(x,y), where x and y are vectors. I could not come with anything nice. Any ideas? Giuseppe -- Giuseppe A.
2007 Oct 05
0
DUNDi, regcontext, softphones.. fail. :(
All, I'm having an issue deploying softphones into my DUNDi/regcontext setup. My current design is that all SIP users get registered into a sipregistration context in the sip.conf. I then have a dialplan function that includes that and does the dial: include => sipregistration exten => _XXXX,2,Answer() exten => _XXXX,3,Wait(1) exten => _XXXX,4,NoOp(sipregistration call - Name:
2006 Oct 04
1
Slideshare.net (we use Mongrel)
Hi guys :-) Just a note to let you know that today we launched Slideshare ( slideshare.net) into open beta. It''s a powerpoint-sharing tool (with a twist) and the app is served with Mongrel. A teaser on techcrunch: http://www.techcrunch.com/2006/10/04/introducing-slideshare-power-point-youtube/ Zed, a huge thanks for developing this server. If anybody needs pointers on using Mongrel in
2006 Feb 05
1
classifying packets and ports
Hi, I''ve been working for a big corporate company as junior system engineer and getting nicely to understand HTB/iproute2/iptables etc, The ordinary users(about 500 users), can pop / smtp / skype out on the network, but I can''t ssh out, cause they blocked the ports. Thought of being clever, I let my home linux listen on port 443 or 110 for ssh connection, but it wont connect, I
2012 Jul 27
1
[LLVMdev] proposal for exploiting undefined behavior much more aggressively
On Thu, Jul 26, 2012 at 3:41 PM, Chris Lattner <clattner at apple.com> wrote: > On Jul 26, 2012, at 9:58 AM, John Regehr wrote: > > http://blog.regehr.org/archives/761 > > It's an interesting post, but I'd like to point out that it is a non-goal > for the project to be actively hostile to users of the compiler. :) It is > useful to have debugging tools for
2007 Aug 20
1
Looking inside device files
Is there a way to make rsync look inside device files ? The goal is to copy the contents of a block device to a regular file incrementally. Short of that, even just getting it to dump the block checksums of the content a block device would help (if I know which blocks are out of sync, I can fix them with dd). -- Andr? Majorel <URL:http://www.teaser.fr/~amajorel/> Do not use this account
2013 Dec 03
1
Guard against destination = existing directory
Trying to use rsync to make sure that _dest_ is a regular file with the same content as file _source_. If _dest_ already exists and is a symlink, FIFO or device file, rsync deletes it and creates a regular file in its place. Good. If _dest_ already exists and is a directory, rsync creates _dest_/$(basename _source_). Not what I want. Is there an option similar to GNU install -T or GNU cp -T
2005 Oct 31
1
Truncating with decoding/recoding
Hello all. Thanks for FLAC. It's served me well for the past few years. Is there a program out there to truncate a FLAC file without decoding/recoding it ? Preferably command-line (I already know at what point I want to truncate it). Thanks in advance. -- Andr? Majorel <URL:http://www.teaser.fr/~amajorel/> Do not use this account for regular correspondence. See the URL above for
2011 Mar 13
1
Excited about the near future...
Some already know, but I think it deserves a bit of a attention here as well: It looks like we're about to get new features in R that will be very powerful! That should be a good enough teaser for now... /Henrik PS ...and thanks for making it available plus credits to similar efforts by others.
2009 Oct 13
4
Creating a list of empty lists
Well here is one more brain-teaser related to assigning stuff into a list of list. What if I need to create a new list of empty lists? I have actually got a solution to this problem: l = list(list()) for ( i in sequence(length-1) ) { l = list(unlist(l,recursive=FALSE), list()) } But it is not very neat to do this in a loop. Are there any cuter ways to do this?
2004 Jan 06
0
Asterisk interop with Syndeo
Does anyone have * talking to a Syndeo switch? I am new to * and trying to get this working. It appears to have a problem authenticating, but I do not see an "unauthorized" message. Then shows the * as a registered end point with an ip of 0.0.0.0 @1073435488.955240 las-cms-a :366 ResControllerSta 3 ResController::submit - Submiting resource Res 371658 to waiting queue
2012 Nov 28
2
Opus for ASR - update and questions
For the last couple months, Nuance has performed extensive testing on how the Opus codec performs in the speech recognition task. I'm hoping to publish a full report in the coming months, but until then all I have is a teaser. Opus performed within about 1% of the WER (Word Error Rate) of unencoded audio. This is compared to about 5% for Speex, which was the previous codec of choice. Well
2008 Feb 28
2
Asterisk Voicemail for iPhone
Heres a little teaser for those of you with iPhones Asterisk Voicemail for iPhone allows you to check your voicemail messages on your house or business line from your iPhone. You can think of it as "Visual Voicemail", but for your Asterisk PBX numbers instead of your AT&T cell number. The technology behind it is Asterisk (The Open-Source PBX), with iUI, Joe Hewitt's UI interface