Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread Joshua Colp
D'Arcy J.M. Cain wrote: Running 11.10.2 on NetBSD 6.1.4 but I observed this on 11.11.0 as well. I have a directory which, through a combination of NULL mount and UNION mount contains everything in the installed config directory /usr/pkg/etc/asterisk except for my modified versions of those

Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread D'Arcy J.M. Cain
On Sun, 10 Aug 2014 07:57:31 -0300 Joshua Colp jc...@digium.com wrote: [directories](!) astetcdir = /usr/local/etc/asterisk etc... Remove (!) from the name. That marks it as a template. Unless you remove it it won't be used. Of course. Thanks. The odd thing is that that comes from

Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread Joshua Colp
D'Arcy J.M. Cain wrote: On Sun, 10 Aug 2014 07:57:31 -0300 Joshua Colpjc...@digium.com wrote: [directories](!) astetcdir = /usr/local/etc/asterisk etc... Remove (!) from the name. That marks it as a template. Unless you remove it it won't be used. Of course. Thanks. The odd thing is

Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread D'Arcy J.M. Cain
On Sun, 10 Aug 2014 09:56:48 -0300 Joshua Colp jc...@digium.com wrote: Of course. Thanks. The odd thing is that that comes from the distribution. Any idea where that template is meant to be used? It's not as far as I know. It's just being used as a method so the values there don't

Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread Joshua Colp
D'Arcy J.M. Cain wrote: On Sun, 10 Aug 2014 09:56:48 -0300 Joshua Colpjc...@digium.com wrote: Of course. Thanks. The odd thing is that that comes from the distribution. Any idea where that template is meant to be used? It's not as far as I know. It's just being used as a method so the

Re: [asterisk-users] Asterisk not honoring astetcdir

2014-08-10 Thread D'Arcy J.M. Cain
On Sun, 10 Aug 2014 10:52:46 -0300 Joshua Colp jc...@digium.com wrote: If you set them, yes. That file has default values though which would currently overrule the compiled in values. One option would be to just comment out all of them and remove the template value in the sample config.

Re: [asterisk-users] Rejecting secure audio stream without encryption details - when using ws clients and Kamailio integration

2014-08-10 Thread Olli Heiskanen
Hi, Thanks Daniel for your reply. Sorry for having been a bit obscure, it is my intention to have all clients able to call each other, regardless of which ua client software they use. I think I've realized what's going on. My goal is to use rtpengine to bridge between rtp profiles when they are

Re: [asterisk-users] DB_DELETE

2014-08-10 Thread Matthew Jordan
On Sat, Aug 9, 2014 at 6:14 PM, Joseph Towery tech...@bellsouth.net wrote: Thanks so much. I should have figured that one out, but references online didn't show the Set command. Spent 2 hours I will never get back. Which online references? If it is on the Asterisk wiki, we'll try to get the

Re: [asterisk-users] Error: 'LENGTH' is not a recognized built-in function name

2014-08-10 Thread Deepak Rawat
On Mon, Aug 11, 2014 at 3:29 AM, Deepak Rawat deepaksingh.ra...@gmail.com wrote: Hi, I modified the query in res/res_config_odbc.c. Original: SELECT MAX(LENGTH(var_val)) FROM %s WHERE filename='%s' Modified: SELECT MAX(LEN(var_val)) FROM %s WHERE filename='%s' I rebuilt the code and

Re: [asterisk-users] Error: 'LENGTH' is not a recognized built-in function name

2014-08-10 Thread Matthew Jordan
On Sun, Aug 10, 2014 at 5:02 PM, Deepak Rawat deepaksingh.ra...@gmail.com wrote: On Mon, Aug 11, 2014 at 3:29 AM, Deepak Rawat deepaksingh.ra...@gmail.com wrote: Hi, I modified the query in res/res_config_odbc.c. Original: SELECT MAX(LENGTH(var_val)) FROM %s WHERE filename='%s'

Re: [asterisk-users] Error: 'LENGTH' is not a recognized built-in function name

2014-08-10 Thread Deepak Rawat
Thank you for the response Matthew. It makes perfect sense to cater to the majority of databases. The changes I did are custom to our setup so we can use Asterisk 12.4 with MS SQL Server 2012. I wanted to document this error so anyone else facing it could resolve it. Like we have

Re: [asterisk-users] Error: 'LENGTH' is not a recognized built-in function name

2014-08-10 Thread Brian LaVallee
On 8/11/14, 11:31, Matthew Jordan wrote: On Sun, Aug 10, 2014 at 5:02 PM, Deepak Rawat deepaksingh.ra...@gmail.com wrote: On Mon, Aug 11, 2014 at 3:29 AM, Deepak Rawat deepaksingh.ra...@gmail.com wrote: Hi, I modified the query in res/res_config_odbc.c. Original: SELECT

Re: [asterisk-users] Error: 'LENGTH' is not a recognized built-in function name

2014-08-10 Thread Deepak Rawat
I tried that but for some reason couldn't get it working. My custom function was getting created in dbo and the asterisk kept throwing error. Maybe some mistake on my part. I will try it again. On Mon, Aug 11, 2014 at 10:44 AM, Brian LaVallee b.laval...@globaltank.jp wrote: On 8/11/14, 11:31,