from PR pkg/22585 Asterisk is a complete PBX in software. It runs on Linux and provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk provides Voicemail services with Directory, Call Conferencing, Interactive Voice Response, Call Queuing. It has support for three-way calling, caller ID services, ADSI, SIP and H.323 (as both client and gateway). Check the Features section for a more complete list.
16 lines
539 B
Text
16 lines
539 B
Text
$NetBSD: patch-ae,v 1.1.1.1 2003/11/10 10:14:30 marc Exp $
|
|
|
|
--- work.i386/asterisk-0.4.0/rtp.c- 2003-08-24 09:44:40.000000000 +0900
|
|
+++ work.i386/asterisk-0.4.0/rtp.c 2003-08-24 09:46:01.000000000 +0900
|
|
@@ -568,7 +568,11 @@
|
|
int ast_rtp_settos(struct ast_rtp *rtp, int tos)
|
|
{
|
|
int res;
|
|
+#ifndef SOL_IP
|
|
+ if ((res = setsockopt(rtp->s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos))))
|
|
+#else
|
|
if ((res = setsockopt(rtp->s, SOL_IP, IP_TOS, &tos, sizeof(tos))))
|
|
+#endif
|
|
ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos);
|
|
return res;
|
|
}
|