[Asterisk-Dev] Asterisk Code Flow
Wolfgang S. Rupprecht
list+asterisk-dev at lists.wsrcc.com
Tue Jul 6 22:12:18 MST 2004
asterisk at not-real.org (Nicholas Bachmann) writes:
> Asterisk has some pretty clean code compared a beast like Sendmail or
> BIND :-)
Care to explain how this code works?
>From: asterisk/apps/app_voicemail.c
>
> static int vm_browse_messages(struct ast_channel *chan, struct vm_state *vms, struct ast_vm_user *vmu, int lastmsg, int curmsg, char *fn, char *curbox)
> {
> ...
> snprintf(fn, sizeof(fn) + sizeof(curbox) + 2, "vm-%s", curbox);
> ...
> }
Yes, Asterisk is a great PBX, and I'm very grateful to Mark for making
it available under GPL. I'm having a blast playing with it and
learning how things work. This is one very fun toy!
On the other hand, the folks thinking that asterisk is as safe as
sendmail or bind need to read the code a bit more closely. I have no
doubts it will be great some day very soon, but it isn't quite there
yet.
-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
openbsd asterisk http://www.wsrcc.com/wolfgang/ftp/asterisk-openbsd35.patch
More information about the asterisk-dev
mailing list