Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread James Sharp
On 4/23/2014 12:20 AM, Nick Cameo wrote: That's about as simple as it gets. A call file that goes to the dialplan. A dialplan that consists of Read (which would play the message) followed a GotoIf into a mailbox (either voicemail or Dial() to an external number). One

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Josh Metzger
I agree that ODBC is the way to go here. It's trivially easy to setup, and equally simple to push database updates via the dialplan. I've used ODBC connectivity with Asterisk in a large and VERY busy call center, and performance was never remotely an issue (call recording is a different story,

Re: [asterisk-users] ICE

2014-04-23 Thread Joshua Colp
Gholamreza Sabery wrote: Hello, Kia ora, I have an Asterisk server with a public IP address and a bunch of clients. Most of my clients are behind NATs (sometimes two clients are behind the same NAT i.e in the same private network). I want to use ICE so that the clients behind the same NAT

[asterisk-users] Trunk issue

2014-04-23 Thread Haley,Scott A
I have setup a trunk on Asterisk 11.7 to an Avaya Session Manager. Every time I try to send a call over it, the call gets rejected. Here is the sip debug trace. Could anyone tell me what may be going wrong? nxdasterisk-2*CLI [Apr 23 08:20:59] WARNING[19047]: pbx_spool.c:309 safe_append: Unable

Re: [asterisk-users] Trunk issue

2014-04-23 Thread Administrator TOOTAI
Hello Le 23/04/2014 15:36, Haley,Scott A a écrit : I have setup a trunk on Asterisk 11.7 to an Avaya Session Manager. Every time I try to send a call over it, the call gets rejected. Here is the sip debug trace. Could anyone tell me what may be going wrong? [...] Here [Apr 23 08:20:59]

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Steve Edwards
On 4/23/2014 12:20 AM, Nick Cameo wrote: I have a strong Java, PHP and SQL background. Will probably need to make a call using AGI or such? On Wed, 23 Apr 2014, James Sharp wrote: You can go AGI, but there are direct ODBC handles available in the dialplan if you build Asterisk properly with

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Doug Lytle
I tried database access in the dialplan using the mysql() application years ago, just to confirm I was right and I was :) What an ugly, messy, fragile dialplan. With FuncODBC this is no longer an issue. All of the query logic is handled outside of the dial plan. Doug --

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Josh Metzger
I've always done my DB access via func_odbc and not with the mysql package. While we ran a MySQL db, I was more comfortable with the odbc stuff because it was part of Asterisk core and not an addon package. I can't speak to the simplicity of using the mysql stuff vs the odbc stuff, but there

[asterisk-users] Asterisk 1.8.27.0 Now Available

2014-04-23 Thread Asterisk Development Team
The Asterisk Development Team has announced the release of Asterisk 1.8.27.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 1.8.27.0 resolves several issues reported by the community and would have not been

[asterisk-users] Asterisk 11.9.0 Now Available

2014-04-23 Thread Asterisk Development Team
The Asterisk Development Team has announced the release of Asterisk 11.9.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 11.9.0 resolves several issues reported by the community and would have not been possible

[asterisk-users] Asterisk 12.2.0 Now Available

2014-04-23 Thread Asterisk Development Team
The Asterisk Development Team has announced the release of Asterisk 12.2.0. This release is available for immediate download at http://downloads.asterisk.org/pub/telephony/asterisk The release of Asterisk 12.2.0 resolves several issues reported by the community and would have not been possible

[asterisk-users] Help with a bug

2014-04-23 Thread CDR
Dear friends I filed a bug https://issues.asterisk.org/jira/browse/ASTERISK-23656 but I am wondering if somebody can figure a workaround. I am stuck trying to deliver an application. The case is this: A Record is executed and an immediate Playback follows. Asterisk returns an error, saying that

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Steve Edwards
On Tue, 22 Apr 2014, A J Stiles wrote: ...so absolutely *do not* pay money for a solution, and *do* insist on the Source Code and Modification Rights. Even an obvious and simple solution has value if it exceeds the OP's skill set or the value of his time to implement. -- Thanks in advance,

Re: [asterisk-users] Help with a bug

2014-04-23 Thread Josh Metzger
How many seconds later does the file show up? Can you just throw in a Wait() (maybe 1 or 2 seconds) and then do the Playback, or would even a second or two of delay be an issue (or does it still not work)? -Josh On Wed, Apr 23, 2014 at 2:23 PM, CDR vene...@gmail.com wrote: Dear friends I

Re: [asterisk-users] Help with a bug

2014-04-23 Thread Josh Metzger
As a second possible solution, instead of Record, could you use MixMonitor, then run StopMixMonitor and THEN do your Playback? That should definitely make sure the recording file is closed and the file handle released. -Josh On Wed, Apr 23, 2014 at 2:29 PM, Josh Metzger

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Steve Edwards
On Wed, 23 Apr 2014, Steve Edwards wrote: I tried database access in the dialplan using the mysql() application years ago, just to confirm I was right and I was :) What an ugly, messy, fragile dialplan. On Wed, 23 Apr 2014, Doug Lytle wrote: With FuncODBC this is no longer an issue. All of

Re: [asterisk-users] Help with a bug

2014-04-23 Thread Eric Wieling
Doesn't MixMonitor use sox to combine the incoming and outgoing recordings? If so, I'd expect MixMonitor to add MORE delay, not less. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Josh Metzger Sent:

Re: [asterisk-users] Open Source Asterisk Polling Solution

2014-04-23 Thread Josh Metzger
I think it's all a matter of personal taste. I think the logic for add to DNC is extremely trivial and would be more complicated with an AGI. You have your prompt playback/read, if they hit 1, head to the queue, if they hit 2, it's a single dialplan line to put the info into the database and

Re: [asterisk-users] Help with a bug

2014-04-23 Thread Josh Metzger
That's the case with Monitor (apparently), but MixMonitor grabs both ends of the call. On a system I ran with lots of MixMonitor recording, Asterisk renamed / moved the recording file when a call completed, and that happened without any delay at all. Only one file was created for the entire

Re: [asterisk-users] Help with a bug

2014-04-23 Thread Steve Edwards
On Wed, 23 Apr 2014, CDR wrote: The case is this: A Record is executed and an immediate Playback follows. Asterisk returns an error, saying that the file does not exist, but a few seconds later, it does. A simple test: exten = *,n,record(foo.wav) exten = *,n,playback(foo)

Re: [asterisk-users] Trunk issue

2014-04-23 Thread richard . seguin
Are you using freeswitch, or just plain asterisk? I just setup a trunk between Asterisk and CM this morning, and it works great providing that you allow for anonymous calls. -Original Message- From: Haley,Scott A scott.ha...@edwardjones.com Sent: Wednesday, April 23, 2014 9:36am