Commit Graph

364 Commits

Author SHA1 Message Date
sthen
d46e8789db update asterisk-g729 to 1.1beta4 and adapt to asterisk 10.x 2012-09-28 00:04:47 +00:00
sthen
9bae7e171a adapt appkonference port to asterisk 10.x 2012-09-28 00:04:17 +00:00
sthen
bb0dc52ad9 Update the asterisk port to 10.8.0 - This is a major update, notable changes:
- If using ConfBridge, note that the dialplan arguments have changed.

- If using the built-in HTTP server, note that a bindaddr must now be given,
previously the default was 0.0.0.0 but this must now be given explicitly.

- Internal database now uses SQLite3 not BDB, conversion tools are provided.

See share/doc/asterisk/UPGRADE.txt for more.
2012-09-28 00:03:57 +00:00
sthen
4ed66825f6 revamp asterisk sound-file packaging.
- strip core-sounds and moh out of the main asterisk package,
they change comparatively rarely.

- provide all available languages.

- provide multiple codecs for all files, replacing the asterisk-native-sounds
package which only provided ulaw versions of the asterisk 1.4 files, ports
laid out to permit parallel building.

- the old asterisk-sounds package providing additional sound files beyond
the core ones is now "extra-sounds" modelled after the filename of the
distributed files.
2012-09-25 21:58:46 +00:00
sthen
54ee04229e minor update to p5-asterisk 1.03 2012-09-19 21:15:02 +00:00
sthen
285f44538a update to Asterisk 1.8.16.0 2012-09-15 12:43:49 +00:00
sthen
dfc6cfce70 update to Kamailio 3.3.1, from maintainer Roman Kravchuk
* see http://www.kamailio.org/wiki/install/upgrade/3.2.x-to-3.3.0 for upgrade notes
2012-09-15 12:16:18 +00:00
jasper
5847ad3f88 sync 2012-09-07 06:15:28 +00:00
jasper
452c0b4a00 import sofia-sip 1.12.11
Sofia-SIP is an open-source SIP User-Agent library, compliant with the
IETF RFC3261 specification (see the feature table). It can be used as a
building block for SIP client software for uses such as VoIP, IM, and
many other real-time and person-to-person communication services.

ok sthen@
2012-09-07 06:15:06 +00:00
sthen
c6bb5e98ae Security update to asterisk 1.8.15.1.
AST-2012-012: AMI User Unauthorized Shell Access through ExternalIVR
AST-2012-013: ACL rules being ignored during calls by some IAX2 peers
2012-08-30 22:45:40 +00:00
bluhm
9ac7fa2e44 update p5-Net-SIP to 0.67 2012-08-30 20:38:24 +00:00
sthen
08158b1530 sync wantlib 2012-08-23 17:42:27 +00:00
sthen
b03f7f9a2a update to appkonference 2.2, from dhill
I also ran update-patches and synced WANTLIB.
2012-08-23 17:07:52 +00:00
sthen
c7d9442f3b Remove no_mono hack now it's done in gmime instead. Suggested by ajacoutot@ 2012-08-22 08:04:22 +00:00
sthen
0a8265dfe2 Depend on gmime,no_mono not just gmime. Asterisk doesn't need
gmime-sharp and this gets it built earlier in a broken-mono bulk build.
This is a pseudo flavour only so the plist doesn't change -> no bump.
2012-08-21 22:45:59 +00:00
dcoppa
21ac2e3b5f Remove '-lpthread'->'-pthread' hack 2012-08-20 08:24:42 +00:00
naddy
ee86b61264 arpa/inet.h and netinet/in.h can now be #included in either order 2012-08-07 10:18:47 +00:00
sthen
0cc473cdde update to asterisk 1.8.15.0 2012-08-04 21:53:56 +00:00
sthen
ddb787543e update to asterisk 1.8.14.1, fixes a problem with tcptls SIP connections
where an SSL_CTX was freed where it shouldn't have been leading to a possible
crash.
2012-07-17 13:01:55 +00:00
dcoppa
6f491f0d03 Maintenance update to pjsua-2.0.1 2012-07-17 10:46:04 +00:00
sthen
a53a893bf9 bugfix update to Asterisk 1.8.14.0
- note that BLINDTRANSFER is no longer available in the 'h' extension,
if you were using this see the CHANGES file
2012-07-11 08:51:56 +00:00
sthen
569d3cc515 sync WANTLIB/LIB_DEPENDS, this picks up opencore-amr 2012-07-06 17:23:43 +00:00
sthen
c8a05ec47e SECURITY update to Asterisk 1.8.13.1 - fixes AST-2012-010, AST-2012-011
- RTP port exhaustion (DoS) if an endpoint responds to SIP INVITEs with
provisional responses but never sends a final response.

- double free with simultaneous access to a single voicemail account.
2012-07-05 22:01:22 +00:00
sthen
05c6815ac3 drop inet.h-related patches which are no longer necessary with the
new and improved headers
2012-06-30 12:56:34 +00:00
bluhm
dd8df02b75 update p5-Net-SIP to 0.66 2012-06-28 22:39:40 +00:00
jasper
e2f5473ee7 - these patches (or chunks) are not needed anymore since arpa/inet.h -r1.12 2012-06-26 14:53:01 +00:00
sthen
4def81e7f7 Kamailio fix from Brad, ok Roman Kravchuk (maintainer).
HAVE_SCHED_YIELD should be set since we have sched_yield(). The
sched_yield.h compatibility wrapper then does not try to create a
fallback macro which conflicts with the prototype of the syscall
wrapper.
2012-06-12 23:39:09 +00:00
dcoppa
8ba7acba7b Disable video support.
While here, add "ac_cv_header_uuid_uuid_h=no" alongside
"ac_cv_lib_uuid_uuid_generate=no" to fix:

configure: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!

OK fgsch@
2012-06-12 15:11:35 +00:00
sthen
083b487e01 bugfix update to Asterisk 1.8.13.0 2012-06-07 10:39:25 +00:00
fgsch
1b967e9939 Update to pjsua 2.0.
dcoppa@ ok
2012-06-05 23:15:22 +00:00
sthen
312710642c SECURITY update to Asterisk 1.8.12.2
AST-2012-007, AST-2012-008 fixed in the short-lived 1.8.12.1 release:

* A remotely exploitable crash vulnerability exists in the IAX2 channel
  driver if an established call is placed on hold without a suggested music
  class. Asterisk will attempt to use an invalid pointer to the music
  on hold class name, potentially causing a crash.

* A remotely exploitable crash vulnerability was found in the Skinny (SCCP)
  Channel driver. When an SCCP client closes its connection to the server,
  a pointer in a structure is set to NULL.  If the client was not in the
  on-hook state at the time the connection was closed, this pointer is later
  dereferenced. This allows remote authenticated connections the ability to
  cause a crash in the server, denying services to legitimate users.

Also from 1.8.12.2

* Resolve crash in subscribing for MWI notifications.

ASTOBJ_UNREF sets the variable to NULL after unreffing it, so the
variable should definitely not be used after that. To solve this in
the two cases that affect subscribing for MWI notifications, we
instead save the ref locally, and unref them in the error
conditions.
2012-05-30 22:45:26 +00:00
sthen
da50bb63f3 tweaks to the Asterisk port:
- add an extra file to PLIST-calendar
- add comments to the sample sip.conf showing how to hide version numbers
- fix use of _POSIX_THREAD_PRIORITY_SCHEDULING, from Brad
2012-05-30 22:41:30 +00:00
dcoppa
cef2306ef3 Bugfix update to 1.14.2 2012-05-24 09:44:50 +00:00
sthen
37e80527e8 Fixes to telephony/kamailio:
- avoid compiler warnings due to missing headers, duplicate #defines etc.,
from maintainer Roman Kravchuk, slight tweak by me (ifndef rather than
delete the lines).

- fix WANTLIB/LIB_DEPENDS in the subpackages, from me.
2012-05-09 21:27:47 +00:00
naddy
abd975e188 BUILD_DEPENDS is not subpackage-dependent 2012-05-06 13:58:23 +00:00
dcoppa
e02205e7d4 Update to pjsua-1.14.
From Holger Mikolon, thanks.
2012-05-05 19:54:04 +00:00
sthen
ff6038f1e2 Adjust sample siproxd config, from maintainer Lawrence Teo
- Use sample interface names that might exist on OpenBSD rather than eth0/1
- Make it clear that "if_outbound" is the external interface and "if_inbound"
is the lan.
2012-05-04 21:42:18 +00:00
sthen
67d6b15dc9 Update to Asterisk 1.8.12.0, including lots of fixes for bad sizeof()
use and possible uninitialized var use, some memory leaks, a couple of
possible deadlocks and other issues.

While there, enable the http post module (done as a subpackage to
avoid pulling gmime/glib2 into the main package) and WANTLIB cleanup.

AEL dialplan users should see UPGRADE.txt for information about
changes to inheritance of the 'h' extension.
2012-05-03 11:25:27 +00:00
sebastia
680af8810d Make iaxclient work wiht newer ffmpeg API
tested on i386 and macppc by myself with net/coccinella.
From Brad.

OK ajacoutot@
2012-04-30 09:48:21 +00:00
ajacoutot
689f54b24a --localstatedir=/var is the default now. 2012-04-28 10:52:08 +00:00
sthen
42dfce2326 SECURITY update to asterisk 1.8.11.1, fixing:
* A permission escalation vulnerability in Asterisk Manager Interface.  This
   would potentially allow remote authenticated users the ability to execute
   commands on the system shell with the privileges of the user running the
   Asterisk application.

 * A heap overflow vulnerability in the Skinny Channel driver.  The keypad
   button message event failed to check the length of a fixed length buffer
   before appending a received digit to the end of that buffer.  A remote
   authenticated user could send sufficient keypad button message events that
   the buffer would be overrun.

 * A remote crash vulnerability in the SIP channel driver when processing UPDATE
   requests.  If a SIP UPDATE request was received indicating a connected line
   update after a channel was terminated but before the final destruction of the
   associated SIP dialog, Asterisk would attempt a connected line update on a
   non-existing channel, causing a crash.
2012-04-23 21:35:58 +00:00
espie
4ed7caa04f first pass at handling sqlite3 move 2012-04-23 17:15:17 +00:00
sthen
831151a03f update to kamailio 3.2.3, mostly from Roman Kravchuk (taking maintainer,
previous maintainer ok).
2012-04-22 21:44:24 +00:00
ajacoutot
0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
sthen
2c3f97d01a update to asterisk 1.8.11.0, including fixes for :
- crash in app_voicemail
- resource leak in SIP TCP/TLS
- ACK routing for non-2xx responses
- buffer overrun/memory leak in 'sip show peers' (race when adding peers whilst displaying)
- various locking problems
2012-04-08 22:34:51 +00:00
landry
312d4fffb9 Mark as ONLY_FOR_ARCHS=i386/amd64, since it #errors out on others:
# konference/libwebrtc/typedefs.h
# error Please add support for your architecture in typedefs.h
2012-04-05 21:15:29 +00:00
sthen
ca5de90dc7 unbreak with installed pwlib, spotted by naddy@
zap stray whitespace
2012-03-27 19:48:03 +00:00
sthen
da91aa04ce tweaks to the asterisk port; currently no effective change to the packages.
- remove unused non-working patches and framework for chan_h323;
this driver is deprecated upstream anyway.

- add patches to let the alternative chan_ooh323 addon module build.
currently unused in the port, 'make configure; cd $WRKSRC; gmake menuselect'
and enable it there if you want to play.

- sync unistim patch.

- mention the IMAP flavour in DESCR (and thus bump REVISION-main).
2012-03-23 22:42:25 +00:00
sthen
2105518722 update to appkonference 2.1, from dhill with tweaks by me 2012-03-22 21:31:18 +00:00
sthen
620492f011 Avoid a tight loop in asterisk's pbx_spool thread reported by drahn@ under
rthread. kern_time.c:itimerfix() requires the kevent interval timer to be
<= 100M seconds otherwise it passes an EINVAL back up, giving an error
return from kevent(). The initial timestamp is (INT_MAX-cur time) i.e.
around 800M so we hit this. Workaround by clamping tv_sec to 100M sec.
2012-03-17 23:08:20 +00:00