[asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Col Ferguson
Hello, I have a system in a motel that needs call billing data output through its serial port so the existing motel management software can collect the call billing info. Is there any easy way to redirect the data that goes into the cdr_custom/Master.csv file to go out the serial port ? The

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Col Ferguson
Hello again, I can copy the file out the serial port by doing this: rename Master.csv out1.csv cat out1.csv /dev/ttyS0 If I build a script to do this every 10 or 20 seconds via cron I think it will work fine, unless someone has a better way. Cheers, Col - Original Message - From: Col

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Zoa
How about a tail -f on Master.csv ? Then you will have everything realtime and you will not need a cronjob. Zoa Col Ferguson wrote: Hello again, I can copy the file out the serial port by doing this: rename Master.csv out1.csv cat out1.csv /dev/ttyS0 If I build a script to do this

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Col Ferguson
Thanks for the idea Zoa. I've got the cronjob working every minute now using if [ -f /var/log/asterisk/cdr-custom/Master.csv ] then cd /var/log/asterisk/cdr-custom mv -f Master.csv out1.csv cat out1.csv /dev/ttyS0 fi Using tail -f would give me the realtime output, but a few

Re: [asterisk-users] Strange CLI behaviour

2008-04-12 Thread Benoit
lokotes2 a écrit : Hi, I'm using Asterisk 1.4.17 and 1.4.19 versions, some time ago I've noticed that cli command 'core show channels' does not show all data. It returns only header or one line of data. After that, auto completition of commands (hitting TAB) freezes cli... Does anybody has

[asterisk-users] PSTN gateway alternatives

2008-04-12 Thread Jaap Winius
Hi list, The Linksys SPA-3000 and SPA-3102 are often used as PSTN gateways for Asterisk. They're cheap and convenient to use. Both have worked fine for me, except I've never been able them to pass on incoming Caller IDs. I know about the PSTN CID For VoIP CID and Caller ID Method settings

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Tilghman Lesher
On Saturday 12 April 2008 07:22:46 Col Ferguson wrote: Thanks for the idea Zoa. I've got the cronjob working every minute now using if [ -f /var/log/asterisk/cdr-custom/Master.csv ] then cd /var/log/asterisk/cdr-custom mv -f Master.csv out1.csv cat out1.csv /dev/ttyS0 fi

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Andrew Kohlsmith (lists)
On April 12, 2008 03:12:31 am Col Ferguson wrote: Hello, I have a system in a motel that needs call billing data output through its serial port so the existing motel management software can collect the call billing info. Is there any easy way to redirect the data that goes into the

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Tzafrir Cohen
On Sat, Apr 12, 2008 at 10:21:40AM -0400, Andrew Kohlsmith (lists) wrote: On April 12, 2008 03:12:31 am Col Ferguson wrote: Hello, I have a system in a motel that needs call billing data output through its serial port so the existing motel management software can collect the call billing

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Doug Lytle
Andrew Kohlsmith (lists) wrote: I've written a few variants of what I call a CDR MUX -- a little application that reads CDRs from a legacy system via serial port, reads CDRs from Anything that you can make available? I'd love to be able to get our Definity's CDR into a MySQL

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread Philipp Kempgen
Doug Lytle schrieb: Andrew Kohlsmith (lists) wrote: I've written a few variants of what I call a CDR MUX -- a little application that reads CDRs from a legacy system via serial port, reads CDRs from Anything that you can make available? I'd love to be able to get our Definity's

[asterisk-users] ATA for Fax with BroadVoice?

2008-04-12 Thread Matthew Rubenstein
I've got Asterisk 1.4 running on my LAN, with a BroadVoice account over my cablemodem. I've got an HP fax/printer/scanner. What's the cheapest ATA I can use to most reliably send and receive faxes from the HP as a fax machine? Should I config the ATA to fax directly to BroadVoice, or will

Re: [asterisk-users] Is Asterisk really good??

2008-04-12 Thread Jay R. Ashworth
On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote: That was cool! thanks for the pdf. I'm in the midst of rearranging things (which are 2 to 3 times as large as they were then); I'll update that once I'm done. Cheers, -- jra -- Jay R. Ashworth Baylink

[asterisk-users] problem TDM01B

2008-04-12 Thread troxlinux
hI list, I have some problems with a TDM01B , when I am talking on the phone with another person it cuts himself the call, this alone I am presented when I make calls to the pstn, with internal extensions I don't have problems I show them the log in the CLI -- Nobody picked up in 68000 ms

Re: [asterisk-users] How to automaticaly close calls when Asterisk didnt receive the bye request

2008-04-12 Thread bilal ghayyad
Hi Jared; How can we resolve this issue for IAX? -- I'd like to know if it's possible to configure Asterisk to automaticaly close calls when the BYE request hasn't been sent by any clients and the call still exists for Asterisk ? There is a SIP timers patch in the bug

Re: [asterisk-users] problem TDM01B

2008-04-12 Thread John Meksavan
I have a TDM04B card and not seen this issue. You may need to check your dial plan. Date: Sat, 12 Apr 2008 14:00:49 -0600 From: [EMAIL PROTECTED] To: asterisk-users@lists.digium.com Subject: [asterisk-users] problem TDM01B hI list, I have some problems with a TDM01B , when I am talking

Re: [asterisk-users] Is Asterisk really good??

2008-04-12 Thread Steve Edwards
On Sat, 12 Apr 2008, Jay R. Ashworth wrote: On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote: That was cool! thanks for the pdf. I'm in the midst of rearranging things (which are 2 to 3 times as large as they were then); I'll update that once I'm done. Double-plus cool.

Re: [asterisk-users] problem TDM01B

2008-04-12 Thread Matthew Fredrickson
troxlinux wrote: hI list, I have some problems with a TDM01B , when I am talking on the phone with another person it cuts himself the call, this alone I am presented when I make calls to the pstn, with internal extensions I don't have problems I show them the log in the CLI -- Nobody

Re: [asterisk-users] problem TDM01B

2008-04-12 Thread Matthew Fredrickson
troxlinux wrote: hI list, I have some problems with a TDM01B , when I am talking on the phone with another person it cuts himself the call, this alone I am presented when I make calls to the pstn, with internal extensions I don't have problems I show them the log in the CLI -- Nobody

Re: [asterisk-users] problem TDM01B

2008-04-12 Thread troxlinux
my dialplan this ok , I have removed the lines of polarity of my zapata.conf, and I can speak without the call cuts herself, but this affects my billing , It should show that this ringing ;busydetect=yes ;answeronpolarityswitch=yes ;hanguponpolarityswitch=yes It seems to be a problem of the

[asterisk-users] way to inquire status of T1 link

2008-04-12 Thread Jerry Geis
Is there a way to inquire of the T1 link status? I mean having cron (as example) execute a program that asks if the T1 status is OK.YEL or RED? then on RED I can send some alert? Thanks Jerry ___ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] way to inquire status of T1 link

2008-04-12 Thread Jon Pounder
Quoting Jerry Geis [EMAIL PROTECTED]: Is there a way to inquire of the T1 link status? I mean having cron (as example) execute a program that asks if the T1 status is OK.YEL or RED? then on RED I can send some alert? there are tools that watch syslogs for anythign with error or warning in

Re: [asterisk-users] best way for call detail logging

2008-04-12 Thread Steve Edwards
On Thu, 10 Apr 2008, Pete Kay wrote: Basically, I would like to log how calls are being handled in Asterisk. I understand I can use AGI to log the information in database, but I am wondering if this is scalable enough for large number of users. I use custom AGIs to write CDRs for every step

Re: [asterisk-users] way to inquire status of T1 link

2008-04-12 Thread Alex Balashov
Jerry Geis wrote: Is there a way to inquire of the T1 link status? I mean having cron (as example) execute a program that asks if the T1 status is OK.YEL or RED? then on RED I can send some alert? What sort of adaptor? -- Alex Balashov Evariste Systems Web:

Re: [asterisk-users] way to inquire status of T1 link

2008-04-12 Thread Jonathan C. Bailey
We use Nagios for network monitoring. We've got a check_pri script that should be fairly universal. It will return critical for any alarm. Feel free to use the script as you see fit. YMMV - may skin cats, etc (you know the disclaimer drill)... #! /usr/bin/python # Checks PRI status -

Re: [asterisk-users] cdr_custom outout to serial port

2008-04-12 Thread c . savinovich
Anything that you can make available? I'd love to be able to get our Definity's CDR into a MySQL database. Long ago, I wrote a nice program that reads CDR output from any legacy PBX via the serial port. Not much in use lately, but I will be happy to furbish it with mysql output to anyone who

[asterisk-users] Voicemail ODBC bug or feature?

2008-04-12 Thread Sergey Chernyavskiy
Hi All, When the message is sent notification is emailed before it's inserted into the database. So if there's some database problem user gets notification but not the actual voicemail. Is this behavior correct? ___ -- Bandwidth and Colocation