Christian Wengel
2005-Aug-23 06:56 UTC
[Asterisk-Users] compiling CVS-HEAD + Patch from http://bugs.digium.com/view.php?id=3644
Hi!
First I have to say, that I'm not very familiar with CVS and patching.
I tried to patch & compile CVS-HEAD.
First I checked out zaptel, libpri and asterisk with this command: "cvs
co zaptel libpri asterisk"
But the latest patch sipsubscribe-20050812.rev806v2.txt from
http://bugs.digium.com/view.php?id=3644 didn't worked, so I tried to
check out an older CVS-Versions with "cvs co -D 08/12/05 zaptel libpri
asterisk". With this version the patch-command didn't gave me any
errors. So I tried to compile asterisk, but then my compiler (gcc (GCC)
3.3.5 (Debian 1:3.3.5-13)) runs into a loop:
if cmp -s include/asterisk/version.h.tmp include/asterisk/version.h
; then echo; else \
mv include/asterisk/version.h.tmp include/asterisk/version.h ; \
fi
rm -f include/asterisk/version.h.tmp
build_tools/mkdep -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude
-I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=pentium3
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -O6
-march=pentium3 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer acl.c aescrypt.c aeskey.c aestab.c alaw.c
app.c asterisk.c astmm.c autoservice.c callerid.c cdr.c channel.c
chanvars.c cli.c config.c config_old.c db.c devicestate.c dlfcn.c
dns.c dnsmgr.c dsp.c enum.c file.c frame.c fskmodem.c image.c
indications.c io.c jitterbuf.c loader.c logger.c manager.c md5.c
muted.c netsock.c pbx.c plc.c poll.c privacy.c rtp.c say.c sched.c
slinfactory.c srv.c strcompat.c tdd.c term.c translate.c ulaw.c utils.c
build_tools/mkdep -a -d -pipe -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -g -Iinclude
-I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=pentium3
-DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g
-Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -O6
-march=pentium3 -DZAPTEL_OPTIMIZATIONS
-fomit-frame-pointer ast_expr.c
make[1]: Leaving directory `/usr/src/asterisk'
make[1]: Entering directory `/usr/src/asterisk'
build_tools/make_version_h > include/asterisk/version.h.tmp
And I get this message again and again.
Greets, Christian
Frank Sautter
2005-Aug-23 10:31 UTC
[Asterisk-Users] compiling CVS-HEAD + Patch from http://bugs.digium.com/view.php?id=3644
hi christian, Christian Wengel schrieb:> But the latest patch sipsubscribe-20050812.rev806v2.txt from > http://bugs.digium.com/view.php?id=3644 didn't worked,maybe you like to try the latest patch i created a view hours ago... sipsubscribe-20050823.rev813.txt on http://bugs.digium.com/view.php?id=3644 regards frank
Christian Wengel
2005-Aug-24 02:27 UTC
[Asterisk-Users] compiling CVS-HEAD + Patch from http://bugs.digium.com/view.php?id=3644
Hi!
This patch works. Thank you, for your help.
But now I have another problem.
The LEDs on the snoms are blinking now, if the extension is ringing. But
I can't pickup the call by hitting the blinking button.
I'm using two SNOM 200 (Firmware 3.56z) and one X-Lite-Client.
extensions.conf
[from-pbx]
exten => 40,hint,SIP/40
exten => 41,hint,SIP/41
exten => 42,hint,SIP/42
exten => _XX,1,Dial(SIP/${EXTEN})
exten => _XX,2,Hangup
exten => h,1,Hangup
sip.conf
[40]
type=friend
username=40
secret=XYZ
notifymimetype=application/simple-message-summary
insecure=very
host=dynamic
context=from-pbx
subscribecontext=from-pbx
canreinvite=no
qualify=1200
disallow=all
allow=alaw
callgroup=1
pickupgroup=1
[41]
type=friend
username=41
secret=XYZ
notifymimetype=application/simple-message-summary
insecure=very
host=dynamic
context=from-pbx
subscribecontext=from-pbx
canreinvite=no
qualify=1200
disallow=all
allow=alaw
callgroup=1
[42]
type=friend
username=42
secret=XYZ
notifymimetype=application/simple-message-summary
insecure=very
host=dynamic
context=from-pbx
subscribecontext=from-pbx
canreinvite=no
qualify=1200
disallow=all
allow=alaw
callgroup=1
pickupgroup=1
Christian
Frank Sautter schrieb:
> hi christian,
>
> maybe you like to try the latest patch i created a view hours ago...
> sipsubscribe-20050823.rev813.txt on
> http://bugs.digium.com/view.php?id=3644
>
> regards
> frank
>