[asterisk-users] Realtime integration: Unregistered clients showing as registered?

2014-04-24 Thread Olli Heiskanen
Hello all, I've been testing a Kamailio Asterisk Realtime integration, and found a strange situation. My problem is that when using the integration, everything seems ok but Asterisk does not see the clients as registered. Kamailio and the clients report registered clients. Also calls fail. In

Re: [asterisk-users] Help with a bug

2014-04-24 Thread A J Stiles
On Wednesday 23 Apr 2014, CDR wrote: 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

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

2014-04-24 Thread A J Stiles
On Wednesday 23 Apr 2014, Steve Edwards wrote: 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

[asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Mikael Fredin
Just like the subject sais - how expensive is it to execute a lot of these commands to keep track of different things in asterisk? I have avoided doing this because it feels a bit like a risk to spam the asterisk CLI this way, but is it really? CPU-wise it doesn't seem very expensive to do it

[asterisk-users] cdr viewer for csv

2014-04-24 Thread binary dreamer
hello everyone. I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. at the moment the only other software running is nginx for a static webpage with guidance on the

Re: [asterisk-users] astdb delete all keys with the value of x

2014-04-24 Thread jonathan white
I guess the question is which method has the least processor overhead. Thanks J On 21 Apr 2014 15:54, Josh Metzger joshdmetz...@gmail.com wrote: To do it without using an external database, you could create a shell script to do it that you would execute with a system call. You could get a

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread Chris Bagnall
On 24 Apr 2014, at 11:36, binary dreamer dreamer.bin...@gmail.com wrote: I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. As an aside, have you considered running

[asterisk-users] Help with a bug (CDR)

2014-04-24 Thread CDR
I fund the issue and it was in my own code. I apologize. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread binary dreamer
Thanks a lot for the reply. this is a PBX for my soho. it does not worth to run a separate machine. all I want is to present the csv file in a webpage to be human readable. the calls will not exceed 70 per week. On Thu, Apr 24, 2014 at 1:46 PM, Chris Bagnall aster...@lists.minotaur.ccwrote: On

[asterisk-users] asterisk's internal database

2014-04-24 Thread binary dreamer
hello everyone. I am running plain asterisk and I am using asterisk's internal database for: -phonebook -blacklist numbers instead of having to update the database of new entry or delete an entry, is it possible to have it in an external file such as txt? so every new entry/deletion will take

Re: [asterisk-users] Trunk issue

2014-04-24 Thread Haley,Scott A
It is just plain Asterisk. I solved the original problem of it not being in the from-pstn context, now I am getting a rejected error I believe from the CM. Thanks, Scott Haley 5-2244 -Original Message- From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread A J Stiles
On Thursday 24 Apr 2014, binary dreamer wrote: hello everyone. I am running asterisk and all of my CDRs are in the default csv. the system is so limited to ram (only 256) and I cannot run MySQL or any other program to give CDRs a fancy view. at the moment the only other software running is

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread binary dreamer
already logrotate is doing the file split every month. how do you serve it in a webpage and which CGI script? On Thu, Apr 24, 2014 at 3:18 PM, A J Stiles asterisk_l...@earthshod.co.ukwrote: On Thursday 24 Apr 2014, binary dreamer wrote: hello everyone. I am running asterisk and all of my

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread Josh Metzger
With such a low amount of calls per month and with the extreme memory limitations, it might be easier to write a script to pull out the data and generate a static html page. Run it daily / weekly / whenever you need it. On Thu, Apr 24, 2014 at 8:28 AM, binary dreamer

[asterisk-users] AMI Originate CDRs

2014-04-24 Thread [Digital^Dude] ®
Hello, There seems to be a problem with asterisk cdrs when calls are generated via AMI Originate using Local channels. Asterisk writes CDR as soon as A party off-hooks. Resulting in very inaccurate billsec and duration values. Expected CDR in case of local channel origination should be 2

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread A J Stiles
On Thursday 24 Apr 2014, binary dreamer wrote: already logrotate is doing the file split every month. how do you serve it in a webpage and which CGI script? You need a web server. You say you already have nginx; I'm not familiar with this, but it probably will do what you need. Read the

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread binary dreamer
really nice. but could tell me the way, play? On Thu, Apr 24, 2014 at 3:37 PM, Josh Metzger joshdmetz...@gmail.comwrote: With such a low amount of calls per month and with the extreme memory limitations, it might be easier to write a script to pull out the data and generate a static html

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Scott Griepentrog
How much Asterisk is affected depends on both how often you run a command, and even more significantly, what command you run (and which version of Asterisk). Commands that display information about every active channel, for example sip show peers, may slow other processing significantly because

Re: [asterisk-users] cdr viewer for csv

2014-04-24 Thread A J Stiles
On Thursday 24 Apr 2014, binary dreamer wrote: really nice. but could tell me the way, play? I think we have gone as far as we can with this matter on this list, which is strictly for non-commercial discussion only. If you would still like to contact me off-list, please change the underscore

Re: [asterisk-users] AMI Originate CDRs

2014-04-24 Thread Josh Metzger
Instead of using CDR for this, could you get the info you need using channel event logging (Asterisk CEL)? I have never used it myself - just something I've run across in the past that seems like it might work for this case: https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals On Thu,

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Tzafrir Cohen
On Thu, Apr 24, 2014 at 12:20:37PM +0200, Mikael Fredin wrote: Just like the subject sais - how expensive is it to execute a lot of these commands to keep track of different things in asterisk? I have avoided doing this because it feels a bit like a risk to spam the asterisk CLI this way,

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Scott Griepentrog
That's a good point also - if you're doing something automated, AMI is likely a better option. The connection to Asterisk is persistent, and information output is structured and we take pains not to break the API definition, which is not true of CLI output. On Thu, Apr 24, 2014 at 12:47 PM,

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Mikael Fredin
Thank you, that's very useful information! Does the same go for issuing a sip show peers through the AMI? And do you know where I could find information of what asterisk versions may use cached information instead? What would you suggest be better ways to monitor asterisk information? On 24

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Mikael Fredin
I will look into netcat as well, thank you On 24 April 2014 19:47, Tzafrir Cohen tzafrir.co...@xorcom.com wrote: On Thu, Apr 24, 2014 at 12:20:37PM +0200, Mikael Fredin wrote: Just like the subject sais - how expensive is it to execute a lot of these commands to keep track of different

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Mikael Fredin
Ah read your reply too late, yeah I will look into using the AMI. On 24 April 2014 20:58, Scott Griepentrog sgriepent...@digium.com wrote: That's a good point also - if you're doing something automated, AMI is likely a better option. The connection to Asterisk is persistent, and information

Re: [asterisk-users] Asterisk -rx, how expensive is it? Should you avoid spamming it?

2014-04-24 Thread Scott Griepentrog
The Stasis message bus and caching is introduced in Asterisk 12. https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+API+Improvements Note that as it's fairly new, in some cases older code may still lock data structures during operations rather than read the cache. You will also want to see if