Archive for the 'diy' category
Here’s how you can make and receive Skype calls from Asterisk without purchasing Skype for Asterisk from Digium. We’ll use stsProxy and SipToSis. The main benefits of this method is that you can access Skype as a normal user, you don’t have to create a business user for the SIP interface needed by Asterisk, and […]
Here’s how you can record calls to mp3 files with Asterisk. Insert these to extensions.conf: 123456789[globals] MONITOR_EXEC=/usr/local/bin/asterisk-wav2mp3 [macro-record] exten => s,1,Set(CALLFILENAME=${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}-${MACRO_CONTEXT}-${DIALEDPEERNUMBER}) exten => s,n,Set(POSTFIX=$["${CALLFILENAME}" =~ "\/([0-9a-zA-Z#_\-]+)$"]) exten => s,n,Set(CALLFILENAME=$["${CALLFILENAME}" : "([0-9a-zA-Z#_\-]+)"]${IF($[${LEN(${POSTFIX})}=0]?: _${POSTFIX})}) exten => s,n,Monitor(wav,${CALLFILENAME},m) Recording start example: exten => 555,1,Dial(SIP/1234,,M(record)) The script asterisk-wav2mp3 can be downloaded here. Make sure it’s runnable (chmod +x asterisk-wav2mp3). […]
If you have 2 or more outbound lines, and want to prioritize them, use this macro: 1234567exten => 1234,1,Macro(dialWithFallback,555666) [macro-dialWithFallback] exten => s,1,Dial(SIP/line1/${ARG1}) exten => s,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?tryLine2) exten => s,n,Hangup() exten => s,n(tryLine2),Dial(SIP/line2/${ARG1}) In this case, 555666 will be called first on line1, and if it fails (channel unavailable), it will be called using […]
I have an SGS since September and it was often pretty slow, especially when installing/upgrading applications in the Android Market. I’ve found out that the problem is with the RFS file system on the phone. First I updated my phone to Android 2.2 using Kies. This installed the JPH 2.2 firmware. Then I rooted my […]
Here’s how to repair a Denon S3000 CD player which gives “Disc read error”: You don’t need to dissassemble the whole unit, only unmount the CD drive: You’ll need to replace the laser pickup. According to the service manual, this player uses the Hitachi HOP-1200R (HOP-1200S and HOP-1200W are also compatible with this unit). I […]
The problem: small upload at home (ADSL, 80kb/s), big FLAC files on HDD, serve them via www so a remote client can play them realtime – solution: on-demand mp3 streaming, which automatically converts FLAC file streams to MP3 data. So if a client wants a FLAC file from the webserver, it returns the file in […]
I wanted a script to automatically watch for new emails, get the sender, subject and attachments from them, move the attachments to a directory and insert sender/subject info into a MySQL database. I needed a solution for extracing mail files from big UNIX-style mailbox files, then parse them and extract attachments separately.
I’ve finished the APRS transmitter in my car so now you can see where I am in realtime: More info about my APRS stuff is here.
My camera’s groundglass (Canon EE-s) got dirty and I had to replace it.
I ‘ve just finished the fliphack on my HV30, now I don’t need mirrors to flip the viewfinder’s image. It was not very difficult to do, but took a lot of time. I followed this guide.
About me
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with.
... »