Hi Roy,
søn, 14,.01.2007 kl. 15.28 +0100, skrev Roy Sigurd Karlsbakk:
> hi
>
> i seems app_setcallerid is missing. we need this for SetCallerPres
> (or at least that part) to change caller presentation. the porting is
> simple, but htf can I add that to autoconf/automake?
First of all, why do you want app_setcallerid when you can use
Set(CALLERID(number))?
If you really want to include app_setcallerid (which is deprecated
afaik), follow these steps:
First, edit apps/Makefile.am and add this somewhere (remember to change
BACKTICKS to SETCALLERID, incl. app_backticks.c etc.:
----
if WANT_APP_BACKTICKS
opbxmod_LTLIBRARIES += app_backticks.la
app_backticks_la_SOURCES = app_backticks.c
app_backticks_la_LDFLAGS = -module -avoid-version
-no-undefined
app_backticks_la_LIBADD =
${top_builddir}/corelib/libopenpbx.la
endif WANT_APP_BACKTICKS
----
Next, edit configure.ac and add:
----
AC_ARG_WITH([app_backticks],
[AC_HELP_STRING([--with-app_backticks],[Build and install
app_backticks (default=yes)])],,
[with_app_backticks="yes"])
AM_CONDITIONAL([WANT_APP_BACKTICKS],[test "${with_app_backticks}" =
"yes"])
----
Again, change BACKTICKS to SETCALLERID, and change the defaults if you
want it to be included by default.
Good luck!
>
> roy
> ---
> I encrypt all my email with ROT-13 - TWICE!
>
> Roy Sigurd Karlsbakk
> [EMAIL PROTECTED]
>
>
>
> _______________________________________________
> Openpbx-dev mailing list
> [email protected]
> http://lists.openpbx.org/mailman/listinfo/openpbx-dev
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev