* You are viewing Posts Tagged ‘article’

SIP ALG, allowguest=no


I just read this article about an Asterisk server that got hacked to
make free international calls through an ITSP:


I have a couple of questions:

1. Am I correct in understanding that SIP ALG on a router makes it
easier to host an Asterisk server on a private LAN behind a NAT router
(no need to map ports for RTP + outgoing packets can be sent directly
to the remote SIP client instead of going through the Asterisk server
to rewrite the RTP port numbers)?

2. If “allowguest=no” is commented out, it means that any SIP client
on the Net can connect to the Asterisk server and make outgoing calls
like legitimate SIP clients?

Thank you.

Sun CEO explicitly endorsed Java’s use in Android

Hello people,

I would like to share this article as I found it of really high relevance to everyone that would like to use Java as a programming language:

“If you believe Oracle’s patent lawsuits against Google for its use of Java in Android, Google has stolen not just patented ideas but directly copied Java code. In short, Google is a red-handed thief and should pay Oracle over a billion in damages. There’s just one little problem with this portrayal of Google as an intellectual property (IP) bandit. When Android first came out, Sun CEO Jonathan Schwartz, then Java’s owner, greeted the news with “heartfelt congratulations.” Whoops.

CNET News: Oracle scrubs site of embarrassing Java blog

While Schwartz’s blog post has since been erased by Oracle, Groklaw found the page and has republished it In his note, Schwartz not only congratulates Google “on the announcement of their new Java/Linux phone platform, Android.,” he goes on to announce that “Sun is the first platform software company to commit to a complete developer environment around the platform, as we throw Sun’s NetBeans developers platform for mobile devices behind the effort. We’ve obviously done a ton of work to support developers on all Java based platforms, and we’re pleased to add Google’s Android to the list.”

So, there you go, Java’s owner at the time not only welcomed Android’s use of Java, they were actively supporting it with development tools. So, what do you have to say now Oracle?”

Continue reading at ZDNET


Connect intercom to Asterisk?


I just read this article about a kid in England who built a box with a
3G SIM card:


When someone rings your intercom, the box will call your cellphone so
you can answer just like you were home.

I don’t know anything about electronics and would like to have
something similar by connecting the intercom end in my appartment to a
PC running Asterisk that will dial a phone number through SIP.

Does someone know if something like that is available ready to use
(Arduino, etc.)?

Thank you.

How to create distortion, echo, and chopping sound in a SIP trunk?

In article ,
Bruce B wrote:
> How can I introduce some distortion, echo, chopping sound and all other bad
> quality things that can happen to a SIP trunk? I have plenty of bandwidth
> and crisp clear lines so the only thing that I can think of is to limit
> bandwidth but even that requires quite some scripting work.
> Is there any easy way to simulate a distorted SIP line temporarily for
> testing?
> I am appreciate experienced inputs.

You could use iptables to cause random packet loss.

See http://code.nomad-labs.com/2010/03/11/simulating-dropped-packets-aka-crappy-internets-with-iptables/
for examples. You might want to precede those rules with ACCEPT rules
for the traffic you want to remain reliable (such as TCP connections).


CDR Mysql adaptive Colum

Hello folks, i installed asterisk 1.8 from repo:


And Looked at this article about CDR in mysl.


I installed asterisk-mysql pacakge from debian repo.

The cdr in mysql is working, but i can not get cdr adaptive colums are not,
i use this in my extension.conf

exten => s,1,set(CDR(teste)=${CHANNEL(audioreadformat)})

And is not working, i thought the only diference it i would need the colum
teste in my cdr table right ?

I tryied a lot of combinations of exten =>

Does anyone have any ideia how is the right way ?

Or if i need to install anythign else to make the adaptive colums works ?



Asterisk News Accepting Submissions

Hi all,

Sorry for the crosspost but I assume this may be of interest to both
businesses and users.

The Daily Asterisk News (running since 2004) is now accepting article

Basically I’ve created a submission form where you specify whether your
post is commercial or non commercial and I’ll be reviewing each article
to check what it falls under. You’ll be able to specify whether you
want to hide commercial posts or not.

What we’re looking for is anything cool you’re doing with Asterisk or
any products you’ve created that work with Asterisk.

If you have any ideas or suggestions, feel free to mail me on them.

Oh, and we’ve moved the Daily Asterisk News web server to Dallas, TX, so
it should be a bit quicker for those of you in the states – well,
anywhere except New Zealand really :)