Re: [asterisk-users] DAHDI Error

2011-05-16 Thread Andrew Thomas
This sounds like you have it set for T1 somehow? Have you upgraded anything lately? Other than that, a Trend tester will show the problem(s) to you. BTW - E1's are 32 channel (not 31). It's 30B+2D. -Original Message- From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] Backport of DEVICE_STATE to 1.4

2011-05-16 Thread Andrew Thomas
https://issues.asterisk.org/view.php?id=15818 That's where I get it from. If it contains errors, then why not report it there? Cheers -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier Sent: 13 May

Re: [asterisk-users] DAHDI Error

2011-05-16 Thread Tzafrir Cohen
On Mon, May 16, 2011 at 09:18:33AM +0100, Andrew Thomas wrote: BTW - E1's are 32 channel (not 31). It's 30B+2D. Technically, yes. But channel (time slot) 0 never makes it to DAHDI. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406

[asterisk-users] 1.8.4 keeps quitting console by itself

2011-05-16 Thread Nick Ustinov
Hi! I've noticed 1.8.4 keeps quitting console by itself. Is this a bug or feature? :) Nick -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar

[asterisk-users] 1.8.4 quitting console

2011-05-16 Thread Nick Ustinov
actually i just noticed that it quits console because asterisk restarts itself after: [2011-05-16 13:48:45] ERROR[11106] tcptls.c: Unable to connect SIP socket to 192.168.1.108:5060: Connection timed out -- _ -- Bandwidth and

Re: [asterisk-users] Backport of DEVICE_STATE to 1.4

2011-05-16 Thread Olivier
2011/5/16 Andrew Thomas a...@datavox.co.uk https://issues.asterisk.org/view.php?id=15818 That's where I get it from. If it contains errors, then why not report it there? Cheers As this bug is considered fixed, I think you can't add any comment anymore. Unfortunately, you can still see

Re: [asterisk-users] OT - Which Android handset with Wifi-only ?

2011-05-16 Thread Olivier
2011/5/15 Jonathan Thurman jonat...@thurmantech.com On Sun, May 15, 2011 at 10:16 AM, sean darcy seandar...@gmail.com wrote: anyone actually used this on Android to connect to an asterisk server? Yes. I purchased it a while ago from the Marketplace, and had some issues with sound quality

Re: [asterisk-users] Backport of DEVICE_STATE to 1.4

2011-05-16 Thread Leif Madsen
On 11-05-16 07:29 AM, Olivier wrote: As this bug is considered fixed, I think you can't add any comment anymore. Unfortunately, you can still see lines mentionning DEVSTATE function like : if (ast_strlen_zero(data)) { ast_log(LOG_WARNING, DEVSTATE function called with no

[asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
Would anybody know how to run a perl script as a daemon that would stay connected to asterisk via AMI? Right now, my AMI script connects to the manager interface, originates a call, disconnects. The script will be run maybe 20+ per minute. It would make more sense to me to have the script run as a

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 08:14 AM, vip killa wrote: Would anybody know how to run a perl script as a daemon that would stay connected to asterisk via AMI? Right now, my AMI script connects to the manager interface, originates a call, disconnects. The script will be run maybe 20+ per minute. It would make

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
If the script were called each time an extension were dialed in a dialplan for example, wouldn't each new instance of the script need to re-connect to AMI, run command, disconnect? On Mon, May 16, 2011 at 8:16 AM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 08:14 AM, vip killa

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 08:19 AM, vip killa wrote: If the script were called each time an extension were dialed in a dialplan for example, wouldn't each new instance of the script need to re-connect to AMI, run command, disconnect? Well, yes, if you invoke a new instance of the script each time, that

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
Thank you, that makes sense but actually I would be invoking the script using the externnotify in voicemail.conf, similar to externnotify = /var/lib/asterisk/scripts/notify.pl I assume externnotify cannot call the FastAGI server...correct? On Mon, May 16, 2011 at 8:23 AM, Alex Balashov

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 08:33 AM, vip killa wrote: Thank you, that makes sense but actually I would be invoking the script using the externnotify in voicemail.conf, similar to externnotify = /var/lib/asterisk/scripts/notify.pl http://notify.pl I assume externnotify cannot call the FastAGI

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread Pezhman Lali
check your running process, if you have more than one asterisk in your top re install your asterisk. On Sun, May 15, 2011 at 7:07 PM, Satish Patel satish...@hotmail.com wrote: Check this out http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/ -- Sent from

[asterisk-users] AMD tweaking

2011-05-16 Thread Aurimas Skirgaila
Hi, long time ago, I came up with an optimal configuration set for my environment - good detection and little false positives. Unfortunately some people are always being detected as Answering Machines. I'm not up to re-adjust my precious balance of initial_silence/max_words/... , so I'm thinking

[asterisk-users] Different box for SIP and RTP

2011-05-16 Thread Mohammad Khan
Hello, Is there way I can use two Asterisk box, one to maintain SIP packets and other for RTP traffic? Thanks, Mohammad -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a

Re: [asterisk-users] AMD tweaking

2011-05-16 Thread Alex Balashov
You would have to make the tolerance of variance fairly high. There are many reasons why pickup time by a mechanical device such as an answering machine or a fax machine may vary quite significantly. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta,

Re: [asterisk-users] Different box for SIP and RTP

2011-05-16 Thread Alex Balashov
On 05/16/2011 09:00 AM, Mohammad Khan wrote: Is there way I can use two Asterisk box, one to maintain SIP packets and other for RTP traffic? No, the signaling and bearer plane are integrated in Asterisk. But you can use reinvites to hand off RTP processing to third-party endpoints and

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread RSCL Mumbai
On Mon, May 16, 2011 at 6:19 PM, Pezhman Lali l...@lopl.net wrote: check your running process, if you have more than one asterisk in your top re install your asterisk. On Sun, May 15, 2011 at 7:07 PM, Satish Patel satish...@hotmail.comwrote: Check this out

Re: [asterisk-users] Different box for SIP and RTP

2011-05-16 Thread Mohammad Khan
Can't that third-party be an asterisk box? After hand off RTP processing, does the first box (who, hand off) still in charge of SIP packets? On Mon, May 16, 2011 at 9:13 AM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 09:00 AM, Mohammad Khan wrote: Is there way I can use two

[asterisk-users] question on digium repo

2011-05-16 Thread Jerry Geis
I an running centos 5. I added this to the digium.repo file in /etc/yum.repos.d directory. [digium-current] name=CentOS-$releasever - Digium - Current baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/ enabled=1 gpgcheck=0

Re: [asterisk-users] Sangoma A400 background noise after a while

2011-05-16 Thread Pezhman Lali
Dear Mr.Shokei Salam as I heard, some HP servers are very sensitive, about the os, you must install the os only from the included cd and smart drive. best On Mon, May 16, 2011 at 7:23 AM, Moises Silva moises.si...@gmail.comwrote: On Wed, May 4, 2011 at 1:01 PM, M Shokuie sena...@gmail.com

Re: [asterisk-users] Different box for SIP and RTP

2011-05-16 Thread Leif Madsen
On 11-05-16 09:13 AM, Alex Balashov wrote: On 05/16/2011 09:00 AM, Mohammad Khan wrote: Is there way I can use two Asterisk box, one to maintain SIP packets and other for RTP traffic? No, the signaling and bearer plane are integrated in Asterisk. But you can use reinvites to hand off

Re: [asterisk-users] AMD tweaking

2011-05-16 Thread Aurimas Skirgaila
Thank you, Alex yes, I expect the pickup time to vary within 1 second (it's just a guess). If I have to tolerate higher bias, so I would start doubting about the efficiency of this method. On Mon, May 16, 2011 at 4:00 PM, Alex Balashov abalas...@evaristesys.comwrote: You would have to make the

Re: [asterisk-users] Backport of DEVICE_STATE to 1.4

2011-05-16 Thread Andrew Thomas
Ah! Forgot about that. Looks like your on your own Olivier. Sorry -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Leif Madsen Sent: 16 May 2011 13:12 To: asterisk-users@lists.digium.com Subject: Re:

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread Mark Deneen
On Sun, May 15, 2011 at 4:08 AM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote: Not exactly. Asterisk is multi-threaded. strae traces a specific thread. To see the most active thread, press 'H' (shift-h) in top. Wait for the display to refresh at least twice (on the first time it won't make

Re: [asterisk-users] res_timing_timerfd.so Vs res_timing_dahdi.so

2011-05-16 Thread satish patel
Thanks Leif, I had changed it to res_timing_dahdi and since last few days it seem good. -S Date: Sun, 15 May 2011 15:48:03 -0400 From: leif.mad...@asteriskdocs.org To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] res_timing_timerfd.so Vs res_timing_dahdi.so On 11-05-13

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread Tzafrir Cohen
On Mon, May 16, 2011 at 10:01:36AM -0400, Mark Deneen wrote: strace -f -ff ASTERISK_PID traces all threads on my system. But do you really want that? Asterisk has many threads generating quite a lot of noise (threads periodically polling something). -- Tzafrir Cohen

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread Tzafrir Cohen
On Mon, May 16, 2011 at 05:19:20PM +0430, Pezhman Lali wrote: check your running process, if you have more than one asterisk in your top re install your asterisk. Reinstall? Care to explain why? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com

Re: [asterisk-users] Backport of DEVICE_STATE to 1.4

2011-05-16 Thread Olivier
2011/5/16 Andrew Thomas a...@datavox.co.uk Ah! Forgot about that. Looks like your on your own Olivier. Not yet as I found this one : http://svncommunity.digium.com/svn/russell/asterisk-1.4/func_devstate-1.4/func_devstate.c In this one, even logs are up to date (ie references to

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread satish patel
Sorry fro hijacking thread. I have following process running on my asterisk eating around 2 or 3% CPU constantly. I knew events0/1 is CPU queue but why only single queue is busy ? I have kernel running preemtive with 1000Hz satish@campbx1:~$ ps aux | grep events root 9 1.7 0.0 0

Re: [asterisk-users] question on digium repo

2011-05-16 Thread Jason Parker
On 05/16/2011 08:36 AM, Jerry Geis wrote: I an running centos 5. I added this to the digium.repo file in /etc/yum.repos.d directory. [digium-current] name=CentOS-$releasever - Digium - Current baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/ enabled=1 gpgcheck=0

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread RSCL Mumbai
http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/ Moving forward with the suggestion provided on the above link, I have the activity dump of all asterisk processes when the load was 22%. Need help in understanding the output. What should I look for which

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread Mark Deneen
On Mon, May 16, 2011 at 10:33 AM, Tzafrir Cohen tzafrir.co...@xorcom.comwrote: On Mon, May 16, 2011 at 10:01:36AM -0400, Mark Deneen wrote: strace -f -ff ASTERISK_PID traces all threads on my system. But do you really want that? Asterisk has many threads generating quite a lot of

Re: [asterisk-users] Asterisk-cpu utilization 60 %

2011-05-16 Thread satish patel
First grab LWP thread ID which is eating more CPU ps -LlFm -p `pidof asterisk` Now look into your asterisk.stack.txt and search particular LWP thread ID see following example Thread 10 (Thread 0x41d8f940 (LWP 3406)): #0 0x0033ce2ca436 in poll () from /lib64/libc.so.6 #1

[asterisk-users] AMI check if connection is alive

2011-05-16 Thread vip killa
I'm using a perl daemon i wrote to connect to AMI and perform actions. The daemon connects to asterisk via AMI at start up. Is there anyway to check if the AMI connection is still alive, for example every 2 seconds. if the connection is not alive, re-connect to AMI? Also, does AMI timeout after a

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Ryan Bullock
Alex is pointing you in the right direction. You should want a single daemon running that then gets notified by the voicemail script, either through a FIFO, a socket, or by dropping a file in a watched directory. If you are going to write a daemon, I would suggest looking at :

[asterisk-users] Missing Config Files under /etc/asterisk

2011-05-16 Thread Kaushal Shriyan
Hi I have followed https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages#AsteriskPackages-YUM%28CentOS%2FRedHat%29, to my surprise there is only one config file by the name zapata.conf under /etc/asterisk/ There are no other config files. Any thing i am missing ? Please suggest/guide.

[asterisk-users] Step by step guide

2011-05-16 Thread Kaushal Shriyan
Hi, Are there step by step guide to configure Digium Card in Asterisk ? I have done it using Sangoma Card. Please suggest/guide. Regards, Kaushal -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New

Re: [asterisk-users] Asterisk 1.4.41 - Warning and Notice about contact info and stale nonce

2011-05-16 Thread Administrator TOOTAI
Of course it's 1.4.41. And the result is that devices doesn't register anymore. Thanks for any hint. Le 14/05/2011 17:37, Administrator TOOTAI a écrit : Hi list, We have devices since more then 4 years which where running well with Asterisk. But with latest version (1.38 or more) we face

Re: [asterisk-users] Step by step guide

2011-05-16 Thread Kaushal Shriyan
I have Digium Card - Two (2) span digital T1/E1/J1/PRI PCI-Express x1 card On Mon, May 16, 2011 at 9:35 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, Are there step by step guide to configure Digium Card in Asterisk ? I have done it using Sangoma Card. Please suggest/guide.

Re: [asterisk-users] Missing Config Files under /etc/asterisk

2011-05-16 Thread Jose P. Espinal
Any thing i am missing ? Please suggest/guide. Hello Kaushal, try this: yum install asterisk18-configs* (You could do a 'yum list asterisk18*' to see what packages you might want/need) Regards, -- Jose P. Espinal http://www.eSlackware.com IRC: Khratos @ #asterisk / -doc / -bugs --

Re: [asterisk-users] Step by step guide

2011-05-16 Thread Shaun Ruffell
On Mon, May 16, 2011 at 09:36:10PM +0530, Kaushal Shriyan wrote: I have Digium Card - Two (2) span digital T1/E1/J1/PRI PCI-Express x1 card Is there something you were looking for that is not in the user's manual [1]? [1] http://docs.digium.com/TE220/te200series-user-manual.pdf -- Shaun

Re: [asterisk-users] Asterisk 1.4.41 - Warning and Notice about contact info and stale nonce

2011-05-16 Thread Jose P. Espinal
Administrator TOOTAI wrote: Of course it's 1.4.41. And the result is that devices doesn't register anymore. Thanks for any hint. If you are installing from source, check out if some modules did not load properly due to undefined symbols. # asterisk -gvvc | tee output.txt

Re: [asterisk-users] Light indicator managed by Asterisk

2011-05-16 Thread Jonas Kellens
Hello, this light indicator thing is working just great by following the same guide as BLF (with hints). There is just 1 thing bothering me : it is a call that is being made to an extension, which Asterisk immediately hangs up. This makes the IP-phone go beep beep beep beep, a normal

Re: [asterisk-users] Missing Config Files under /etc/asterisk

2011-05-16 Thread Kaushal Shriyan
Thanks Jose it worked like a charm :) On Mon, May 16, 2011 at 9:52 PM, Jose P. Espinal j...@slackware-es.com wrote: Any thing i am missing ? Please suggest/guide. Hello Kaushal, try this: yum install asterisk18-configs* (You could do a 'yum list asterisk18*' to see what packages you

Re: [asterisk-users] outbound calls via google voice not answered by toll free numbers with ivrs

2011-05-16 Thread Gaurav P
Apologize for following up to my own question, but wanted to mention that some toll free numbers with ivrs work fine. Only run into issues with certain numbers like the test number in my previous email. Any ideas? On Fri, May 13, 2011 at 10:26 AM, Gaurav P gaurav.lists+asterisk-us...@gmail.com

Re: [asterisk-users] Need help defining a stackexchange (i.e. stackoverflow) for telephony

2011-05-16 Thread Simon P. Ditner
It's nearly there now, just need a few more votes in order for it to trigger the next phase. Please take a moment to vote if you're interested: http://area51.stackexchange.com/proposals/12932/telephony/ On Mon, 9 May 2011, Simon P. Ditner wrote: For those of that are fans of

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
i was able to create a daemon that queries a database every 2 seconds for outbound calls. the daemon originates a call to a destination determined by the database. what i've noticed is, after the originate, the script never does anything else. it seems i have to use Async or the AMI will

[asterisk-users] dahdi command not available

2011-05-16 Thread satish patel
Hi All, I have just latest branch of asterisk 1.8 and i didn't found dahdi command in CLI everything seem fine. am i missing something ? campbx2*CLI dahdi tab tab No such command 'dahdi' (type 'core show help dahdi' for other possible commands) campbx2*CLI root@campbx1:/etc/wanpipe#

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Ryan Bullock
A normal Originate over the AMI will block all other actions until it completes. So to do other commands while the Originate is still going you have to call Originate with the Async option. I would suggest using an Originate with the 'Async' option and OriginateHack=1. If that is still not

Re: [asterisk-users] dahdi command not available

2011-05-16 Thread isrlgb
Run Service dahdi start -Original Message- From: satish patel satish...@hotmail.com Sender: asterisk-users-boun...@lists.digium.com Date: Mon, 16 May 2011 18:41:01 To: asterisk-usersasterisk-users@lists.digium.com Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
http://pastebin.com/W5h9AMrQ anything else you need to see? On Mon, May 16, 2011 at 2:45 PM, Ryan Bullock rrb3...@gmail.com wrote: A normal Originate over the AMI will block all other actions until it completes. So to do other commands while the Originate is still going you have to call

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Ryan Bullock
Calling -action() is going to wait for the originate to finish (even if you use 'Async'). I think the default timeout for Originate is 60 seconds or so before it fails. I would recommend reading up on: http://search.cpan.org/~mlehmann/AnyEvent-5.34/

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 03:19 PM, Ryan Bullock wrote: You could us a timer to periodically poll your database and do non-blocking originates (with async) with callbacks to catch the response, update the log, and do the delete. http://en.wikipedia.org/wiki/Anti-pattern

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
could you suggest a better method where the perl-daemon stays persistently connected to asterisk's AMI ? On Mon, May 16, 2011 at 3:21 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 03:19 PM, Ryan Bullock wrote: You could us a timer to periodically poll your database and do

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 03:35 PM, vip killa wrote: could you suggest a better method where the perl-daemon stays persistently connected to asterisk's AMI ? It is not the AMI connection that is under discussion. The AMI connection will be over a TCP socket regardless, because that is the nature of

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
yes, my problem is i would like a persistent connection to AMI because there will maybe be 20+ originates per second. On Mon, May 16, 2011 at 3:37 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 03:35 PM, vip killa wrote: could you suggest a better method where the

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 03:38 PM, vip killa wrote: yes, my problem is i would like a persistent connection to AMI because there will maybe be 20+ originates per second. What was wrong with Ryan's original Async suggestion to address that? In other words, what is currently the problem? I looked at

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
you are incorrect, the while loop never exits...and i already have async=1 On Mon, May 16, 2011 at 3:41 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 03:38 PM, vip killa wrote: yes, my problem is i would like a persistent connection to AMI because there will maybe be 20+

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 03:44 PM, vip killa wrote: you are incorrect, the while loop never exits...and i already have async=1 I meant this while() loop: while(my @row = $res-fetchrow()) In other words, it is possible for additional rows to be added to the table after the SELECT query has been

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
yes, it's originating the call and never responding. On Mon, May 16, 2011 at 3:47 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 03:44 PM, vip killa wrote: you are incorrect, the while loop never exits...and i already have async=1 I meant this while() loop: while(my

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 03:48 PM, vip killa wrote: yes, it's originating the call and never responding. This sounds to me like a possible problem with the Asterisk::AMI module, although I am unsure what the problem is, since I am not familiar with its internal architecture and have never used it.

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
Umm thank you...apparently AMI::Asterisk sucks because that code did everything i needed in one try. thanks again! On Mon, May 16, 2011 at 3:58 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 03:48 PM, vip killa wrote: yes, it's originating the call and never responding.

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
question... how reliable is what you wrote? as long as the daemon is running will the AMI stay connected? On Mon, May 16, 2011 at 4:08 PM, vip killa vipki...@gmail.com wrote: Umm thank you...apparently AMI::Asterisk sucks because that code did everything i needed in one try. thanks again!

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 04:08 PM, vip killa wrote: Umm thank you...apparently AMI::Asterisk sucks because that code did everything i needed in one try. thanks again! Awesome! Happy to help. A more sophisticated and high-performance version of this--required for scaling out to multiple Asterisk

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 04:10 PM, vip killa wrote: question... how reliable is what you wrote? as long as the daemon is running will the AMI stay connected? I don't know, it was kind of off-the-cuff. I would probably throw a while() loop around it to reconnect if the connection is lost. But I see

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread vip killa
forgive me for i am very new to asterisk and perl. but how could you detect if you were disconnected from AMI? On Mon, May 16, 2011 at 4:14 PM, Alex Balashov abalas...@evaristesys.comwrote: On 05/16/2011 04:10 PM, vip killa wrote: question... how reliable is what you wrote? as long as the

Re: [asterisk-users] AMI perl daemon

2011-05-16 Thread Alex Balashov
On 05/16/2011 04:17 PM, vip killa wrote: forgive me for i am very new to asterisk and perl. but how could you detect if you were disconnected from AMI? if(defined($mgr_sock)) would evaluate to false. That's all you need to do with the plain vanilla blocking I/O you're using now. Down the

Re: [asterisk-users] Voicemail Configuration

2011-05-16 Thread John Marvin
Thanks, that's given me some ideas. I don't think I can totally roll my own, since I also make use of the MWI features of voicemail. Another thread pointed out the existence of minivm, which I hadn't realized was available. I just need to find the time to play around with some of the proposed

Re: [asterisk-users] Asterisk 1.4.41 - Warning and Notice about contact info and stale nonce

2011-05-16 Thread Administrator TOOTAI
Le 16/05/2011 18:27, Jose P. Espinal a écrit : Administrator TOOTAI wrote: Of course it's 1.4.41. And the result is that devices doesn't register anymore. Thanks for any hint. If you are installing from source, check out if some modules did not load properly due to undefined symbols. #

[asterisk-users] Reporting Tool: To show who is login, queue, ... etc

2011-05-16 Thread bilal ghayyad
Hi All; It look like there are some free (open source) tools that are used for Asterisk reporting special for call center (to see number of agents logged in, number of calls now, .. etc), and to be used as dashboard. Can someone direct me for something really is suitable and stable? Regards

Re: [asterisk-users] Reporting Tool: To show who is login, queue, ... etc

2011-05-16 Thread Alex Balashov
On 05/16/2011 05:54 PM, bilal ghayyad wrote: It look like there are some free (open source) tools that are used for Asterisk reporting special for call center (to see number of agents logged in, number of calls now, .. etc), and to be used as dashboard. Can someone direct me for something

Re: [asterisk-users] When someone helps you, at least let them know if the problem is resolved or not

2011-05-16 Thread Matt Riddell
Seriously guys. Why would anyone other than the two of you need to read this. It's a personal conversation. We all know who you both are and your achievements etc. The longer the conversation goes on the more off topic it becomes :-) -- Cheers, Matt Riddell

Re: [asterisk-users] 1.8.4 Core Dump after installing from source

2011-05-16 Thread Matt Riddell
On 13/05/11 4:38 PM, Jose P. Espinal wrote: Hello, After installing Asterisk from source in Slackware 13.1, I get the following error: Error loading module 'res_config_odbc.so': /usr/lib/asterisk/modules/res_config_odbc.so: undefined symbol: ast_odbc_clear_cache Then a core dump. Do a

Re: [asterisk-users] iptables for Asterisk - Any good guides out there?

2011-05-16 Thread Matt Riddell
On 15/05/11 12:40 PM, Steve Edwards wrote: Adding a couple of lines to root's crontab like: # Min hour DOM month DOW command # -- # */5 * * * * /etc/init.d/iptables stop make it easy to enable an 'iptables failsafe' (by un-commenting the last line)

Re: [asterisk-users] AMI check if connection is alive

2011-05-16 Thread Matt Riddell
On 17/05/11 3:25 AM, vip killa wrote: I'm using a perl daemon i wrote to connect to AMI and perform actions. The daemon connects to asterisk via AMI at start up. Is there anyway to check if the AMI connection is still alive, for example every 2 seconds. if the connection is not alive, re-connect

Re: [asterisk-users] 3. Re: ITSP Multi IPs (Alex Balashov) Asterisk-users Digest, Vol 82, Issue 33

2011-05-16 Thread Claude Hayn
Alex, Thank you so much for your response. I've been so consumed with other business that I only just now getting back to this issue. We have implemented your suggestion which is perfect. Thank you again. I've never asked a question of the community before and I'm extremely happy with the

Re: [asterisk-users] res_timing_timerfd.so Vs res_timing_dahdi.so

2011-05-16 Thread A E [Gmail]
On Mon, May 16, 2011 at 10:27 AM, satish patel satish...@hotmail.comwrote: Thanks Leif, I had changed it to res_timing_dahdi and since last few days it seem good. -S Date: Sun, 15 May 2011 15:48:03 -0400 From: leif.mad...@asteriskdocs.org To: asterisk-users@lists.digium.com

Re: [asterisk-users] iptables for Asterisk - Any good guides out there?

2011-05-16 Thread Steve Edwards
On 15/05/11 12:40 PM, Steve Edwards wrote: Adding a couple of lines to root's crontab like: # Min hour DOM month DOW command # -- # */5 * * * * /etc/init.d/iptables stop make it easy to enable an 'iptables failsafe' (by un-commenting the last line)

Re: [asterisk-users] iptables for Asterisk - Any good guides out there?

2011-05-16 Thread Matt Riddell
On 17/05/11 1:36 PM, Steve Edwards wrote: On 15/05/11 12:40 PM, Steve Edwards wrote: Adding a couple of lines to root's crontab like: # Min hour DOM month DOW command # -- # */5 * * * * /etc/init.d/iptables stop make it easy to enable an 'iptables

Re: [asterisk-users] res_timing_timerfd.so Vs res_timing_dahdi.so

2011-05-16 Thread Shaun Ruffell
On Mon, May 16, 2011 at 09:26:48PM -0400, A E [Gmail] wrote: following this advice, is there a quick and minimal way to install/use res_timing_dahdi without having to build/compile/install the whole dahdi package and all the other modules associated with it? back in the zaptel days, I used

Re: [asterisk-users] When someone helps you, at least let them know if the problem is resolved or not

2011-05-16 Thread Sherwood McGowan
I like puppies On Mon, May 16, 2011 at 8:05 PM, Matt Riddell li...@venturevoip.com wrote: Seriously guys. Why would anyone other than the two of you need to read this. It's a personal conversation. We all know who you both are and your achievements etc. The longer the conversation