This updates pjsua to 0.8.0. A simple test is to run pjsua, type 'm' for make call, then 'sip:[EMAIL PROTECTED]' which is free world dialup's echo test number.
New Features: PRACK and UPDATE Updated STUN, TURN, and ICE Custom SIP Presence Status Text More robust NAT handling More Robust SIP authentication Basic support for 3GPP/IMS Release notes: http://www.pjsip.org/trac/milestone/release-0.8.0 Index: Makefile =================================================================== RCS file: /cvs/ports/telephony/pjsua/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 6 Nov 2007 02:50:28 -0000 1.3 +++ Makefile 12 Nov 2007 01:27:24 -0000 @@ -2,12 +2,12 @@ COMMENT= lightweight sip client -DISTNAME= pjproject-0.7.0 -PKGNAME= pjsua-0.7.0p1 +DISTNAME= pjproject-0.8.0 +PKGNAME= pjsua-0.8.0 CATEGORIES= telephony HOMEPAGE= http://www.pjsip.org -MASTER_SITES= http://www.pjsip.org/release/0.7.0/ +MASTER_SITES= http://www.pjsip.org/release/0.8.0/ MAINTAINER= Deanna Phillips <[EMAIL PROTECTED]> WANTLIB= c crypto m ossaudio pthread ssl Index: distinfo =================================================================== RCS file: /cvs/ports/telephony/pjsua/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ distinfo 12 Nov 2007 00:27:57 -0000 @@ -1,5 +1,5 @@ -MD5 (pjproject-0.7.0.tar.gz) = bTAg/nuRheeFW2Eh+3Vb7g== -RMD160 (pjproject-0.7.0.tar.gz) = 7Vw5Pu7t4AC1Uu3AseaSgiTeTaU= -SHA1 (pjproject-0.7.0.tar.gz) = w5h/ZfEoT1rkvGYaL7k6u/4iY6s= -SHA256 (pjproject-0.7.0.tar.gz) = Dd2v1u5IH0Tm/tnChWAuy8b/5/LITDjkRuCAkt0nb/0= -SIZE (pjproject-0.7.0.tar.gz) = 4276564 +MD5 (pjproject-0.8.0.tar.gz) = bhHXPQB4U8+SC2xwpCE7sA== +RMD160 (pjproject-0.8.0.tar.gz) = x/kpj0NX2lYgoSz8LTPCLZpbEeY= +SHA1 (pjproject-0.8.0.tar.gz) = EATUmdxywg9Cu3N6DDY7h0aPAnY= +SHA256 (pjproject-0.8.0.tar.gz) = 6ZybaPZ4i7TDWA1Zvu9y7OYWLfEcOil67n5XGAfnZXc= +SIZE (pjproject-0.8.0.tar.gz) = 3350830 Index: patches/patch-aconfigure =================================================================== RCS file: /cvs/ports/telephony/pjsua/patches/patch-aconfigure,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-aconfigure --- patches/patch-aconfigure 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ patches/patch-aconfigure 12 Nov 2007 00:48:16 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-aconfigure,v 1.1.1.1 2007/10/27 04:34:23 deanna Exp $ ---- aconfigure.orig Sat Jun 2 20:16:57 2007 -+++ aconfigure Sat Jun 2 20:17:59 2007 -@@ -9573,13 +9573,13 @@ if test $ac_cv_header_openssl_ssl_h = yes; then +--- aconfigure.orig Tue Oct 16 04:54:00 2007 ++++ aconfigure Sun Nov 11 19:42:25 2007 +@@ -9664,13 +9664,13 @@ if test $ac_cv_header_openssl_ssl_h = yes; then fi @@ -18,7 +18,7 @@ $OpenBSD: patch-aconfigure,v 1.1.1.1 200 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -9638,16 +9638,16 @@ fi +@@ -9729,16 +9729,16 @@ fi echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 if test $ac_cv_lib_ssl_SSL_library_init = yes; then @@ -39,7 +39,7 @@ $OpenBSD: patch-aconfigure,v 1.1.1.1 200 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF -@@ -9706,7 +9706,7 @@ fi +@@ -9797,7 +9797,7 @@ fi echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then Index: patches/patch-build_mak_in =================================================================== RCS file: /cvs/ports/telephony/pjsua/patches/patch-build_mak_in,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-build_mak_in --- patches/patch-build_mak_in 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ patches/patch-build_mak_in 12 Nov 2007 00:48:16 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-build_mak_in,v 1.1.1.1 2007/10/27 04:34:23 deanna Exp $ ---- build.mak.in.orig Tue Apr 17 12:16:01 2007 -+++ build.mak.in Thu May 24 10:09:23 2007 +--- build.mak.in.orig Sat Nov 10 22:58:47 2007 ++++ build.mak.in Sun Nov 11 19:42:25 2007 @@ -1,6 +1,6 @@ # @configure_input@ export MACHINE_NAME := auto @@ -11,7 +11,7 @@ $OpenBSD: patch-build_mak_in,v 1.1.1.1 2 export TARGET_NAME := @target@ @@ -10,33 +10,22 @@ export LINUX_POLL := @ac_linux_poll@ # Determine which party libraries to use - export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) + export APP_THIRD_PARTY_LIBS := -lresample-$(TARGET_NAME) -lmilenage-$(TARGET_NAME) -ifneq (@ac_no_gsm_codec@,1) APP_THIRD_PARTY_LIBS += -lgsmcodec-$(TARGET_NAME) Index: patches/patch-pjlib_include_pj_sock_h =================================================================== RCS file: /cvs/ports/telephony/pjsua/patches/patch-pjlib_include_pj_sock_h,v retrieving revision 1.1 diff -u -p -r1.1 patch-pjlib_include_pj_sock_h --- patches/patch-pjlib_include_pj_sock_h 6 Nov 2007 02:50:28 -0000 1.1 +++ patches/patch-pjlib_include_pj_sock_h 12 Nov 2007 00:48:15 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-pjlib_include_pj_sock_h,v 1.1 2007/11/06 02:50:28 deanna Exp $ ---- pjlib/include/pj/sock.h.orig Sat Nov 3 19:52:52 2007 -+++ pjlib/include/pj/sock.h Sat Nov 3 20:03:22 2007 -@@ -207,8 +207,6 @@ struct pj_sockaddr_in +--- pjlib/include/pj/sock.h.orig Fri Jul 27 22:44:55 2007 ++++ pjlib/include/pj/sock.h Sun Nov 11 19:42:25 2007 +@@ -333,8 +333,6 @@ struct pj_sockaddr_in char sin_zero[8]; /**< Padding. */ }; @@ -10,7 +10,7 @@ $OpenBSD: patch-pjlib_include_pj_sock_h, /** * This structure describes IPv6 address. */ -@@ -221,7 +219,7 @@ typedef struct pj_in6_addr +@@ -347,7 +345,7 @@ typedef struct pj_in6_addr pj_uint32_t u6_addr32[4]; /**< u6_addr32 */ } in6_u; /** Shortcut to access in6_u.u6_addr8. */ Index: patches/patch-pjsip-apps_src_pjsua_pjsua_app_c =================================================================== RCS file: patches/patch-pjsip-apps_src_pjsua_pjsua_app_c diff -N patches/patch-pjsip-apps_src_pjsua_pjsua_app_c --- patches/patch-pjsip-apps_src_pjsua_pjsua_app_c 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,41 +0,0 @@ -$OpenBSD: patch-pjsip-apps_src_pjsua_pjsua_app_c,v 1.1.1.1 2007/10/27 04:34:23 deanna Exp $ ---- pjsip-apps/src/pjsua/pjsua_app.c.orig Mon May 14 12:45:20 2007 -+++ pjsip-apps/src/pjsua/pjsua_app.c Sun Jun 3 00:32:57 2007 -@@ -3142,20 +3142,17 @@ pj_status_t app_destroy(void) - static void stereo_demo() - { - pjmedia_port *conf, *splitter, *ch1; -- unsigned clock; - pj_status_t status; - - /* Disable existing sound device */ - conf = pjsua_set_no_snd_dev(); - -- clock = app_config.media_cfg.clock_rate; -- - /* Create stereo-mono splitter/combiner */ - status = pjmedia_splitcomb_create(app_config.pool, -- clock /* clock rate */, -+ conf->info.clock_rate /* clock rate */, - 2 /* stereo */, -- clock*2*10/1000/* 10ms samples * 2ch */, -- 16 /* bits */, -+ 2 * conf->info.samples_per_frame, -+ conf->info.bits_per_sample, - 0 /* options */, - &splitter); - pj_assert(status == PJ_SUCCESS); -@@ -3182,10 +3179,10 @@ static void stereo_demo() - - /* Create sound device */ - status = pjmedia_snd_port_create(app_config.pool, -1, -1, -- clock /* clock rate */, -+ conf->info.clock_rate, - 2 /* stereo */, -- clock*2*10/1000 /* 10 ms samples * 2ch */, -- 16 /* bits */, -+ 2 * conf->info.samples_per_frame, -+ conf->info.bits_per_sample, - 0, &app_config.snd); - pj_assert(status == PJ_SUCCESS); - Index: patches/patch-pjsip-apps_src_py_pjsua_setup_py =================================================================== RCS file: patches/patch-pjsip-apps_src_py_pjsua_setup_py diff -N patches/patch-pjsip-apps_src_py_pjsua_setup_py --- patches/patch-pjsip-apps_src_py_pjsua_setup_py 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,38 +0,0 @@ -$OpenBSD: patch-pjsip-apps_src_py_pjsua_setup_py,v 1.1.1.1 2007/10/27 04:34:23 deanna Exp $ ---- pjsip-apps/src/py_pjsua/setup.py.orig Thu May 24 10:19:01 2007 -+++ pjsip-apps/src/py_pjsua/setup.py Thu May 24 12:09:57 2007 -@@ -24,11 +24,14 @@ setup(name="py_pjsua", version="0.1", - ["py_pjsua.c"], - include_dirs=[pjproject + "pjsip/include", - pjproject + "pjlib/include", -- pjproject + "pjlib-util/include", pjproject + "pjmedia/include"], -+ pjproject + "pjlib-util/include", pjproject + "pjmedia/include", -+ pjproject + "pjnath/include"], - library_dirs=[pjproject + "pjsip/lib", - pjproject + "pjlib/lib", - pjproject + "pjmedia/lib", -- pjproject + "pjlib-util/lib"], -+ pjproject + "pjlib-util/lib", -+ pjproject + "pjnath/lib", -+ pjproject + "third_party/lib"], - libraries=[ "pjsua-" + target, - "pjsip-ua-" + target, - "pjsip-simple-" + target, -@@ -37,9 +40,16 @@ setup(name="py_pjsua", version="0.1", - "pjmedia-" + target, - "pjmedia-codec-" + target, - "pjlib-util-" + target, -+ "pjnath-" + target, - "pj-" + target, -+ "gsmcodec-" + target, -+ "speex-" + target, -+ "ilbccodec-" + target, -+ "portaudio-" + target, -+ "resample-" + target, -+ "pjlib-util-" + target, - "ssl", - "crypto", -- "asound"]), -+ "ossaudio"]), - ]) - Index: patches/patch-third_party_build_os-openbsd_mak =================================================================== RCS file: /cvs/ports/telephony/pjsua/patches/patch-third_party_build_os-openbsd_mak,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-third_party_build_os-openbsd_mak --- patches/patch-third_party_build_os-openbsd_mak 27 Oct 2007 04:34:23 -0000 1.1.1.1 +++ patches/patch-third_party_build_os-openbsd_mak 12 Nov 2007 00:48:16 -0000 @@ -1,9 +1,10 @@ $OpenBSD: patch-third_party_build_os-openbsd_mak,v 1.1.1.1 2007/10/27 04:34:23 deanna Exp $ ---- third_party/build/os-openbsd.mak.orig Sat Jun 2 19:16:29 2007 -+++ third_party/build/os-openbsd.mak Sat Jun 2 19:16:29 2007 -@@ -0,0 +1,5 @@ +--- third_party/build/os-openbsd.mak.orig Sun Nov 11 19:42:25 2007 ++++ third_party/build/os-openbsd.mak Sun Nov 11 19:47:56 2007 +@@ -0,0 +1,6 @@ +DIRS = resample +DIRS += portaudio +DIRS += gsm +DIRS += speex +DIRS += ilbc ++DIRS += milenage
