Trying to compile and test *ALL* versions of ooh323 with *ALL* versions of asterisk i've had some problems compiling or using asterisk-ooh323c.
The first problem is using the svn trunk version of asterisk link wrote in README file of asterisk-ooh323c. Using this version of asterisk, when you try to compile ALL versions of asterisk-ooh323c you get this error: [ERROR] make[1]: Entering directory `/root/ProvaTre/AST-LAST/asterisk-addons/asterisk-ooh323c' source='src/chan_h323.c' object='chan_h323.lo' libtool=yes \ depfile='.deps/chan_h323.Plo' tmpdepfile='.deps/chan_h323.TPlo' \ depmode=gcc3 /bin/sh ./config/depcomp \ /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGN U -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c -o chan_h323.lo `test -f 'src/chan_h323.c' || echo './'`src/chan_h323.c rm -f .libs/chan_h323.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ooh323c/src -I./ooh323c/src/h323 -DGNU - D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo -fPIC -DPIC -o .libs/chan_h323.lo src/chan_h323.c: In function `ooh323_new': src/chan_h323.c:253: warning: passing arg 1 of `snprintf' discards qualifiers from pointer target type src/chan_h323.c:260: structure has no member named `type' src/chan_h323.c:324: warning: passing arg 1 of `strncpy' discards qualifiers from pointer target type src/chan_h323.c:325: warning: assignment of read-only location src/chan_h323.c: In function `ooh323_call': src/chan_h323.c:722: warning: assignment discards qualifiers from pointer target type src/chan_h323.c:727: warning: assignment discards qualifiers from pointer target type src/chan_h323.c:734: warning: assignment discards qualifiers from pointer target type src/chan_h323.c:738: warning: assignment discards qualifiers from pointer target type make[1]: *** [chan_h323.lo] Error 1 make[1]: Leaving directory `/root/ProvaTre/AST-LAST/asterisk-addons/asterisk-ooh323c' make: *** [all] Error 2 [/ERROR] With "ALL versions of asterisk-ooh323c" i mean asterisk-ooh323-0.4, asterisk-ooh323-0.2 and the asterisk-ooh323-0.4 with CVS ooh323c folder inside. Now the second problem... using LASTER STABLE versions of asterisk and compiling asterisk-ooh323-0.4 with CVS ooh323c folder inside, there are no problems compilink but running asterisk: [ERROR] [chan_ooh323.so]Feb 25 14:01:55 WARNING[22481]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/chan_ooh323.so: undefined symbol: ooIsDigitString Feb 25 14:01:55 WARNING[22481]: loader.c:499 load_modules: Loading module chan_ooh323.so failed! [/ERROR] This is my tryes... With asterisk-ooh323-0.4 and NOT svn trunk asterisk version i've got no problems compiling or running... the problem is always the same with cisco gatekeeper... after the first registration the renew fails !!!! Here the debug logs: ---------Date 02/03/06--------- 00:06:15:454 Signalling IP address is set to 192.168.1.40 00:06:15:454 Listen port number is set to 1720 00:06:15:455 Added alias: DialedDigits - 2000013911223344 00:06:15:455 Gatekeeper Mode - RasUseSpecificGatekeeper 00:06:15:455 Gatekeeper IP:port set to - 10.139.139.11:1719 00:06:15:455 Adding endpoint capability OO_G711ULAW64K. 00:06:15:455 Adding endpoint capability OO_G729ANNEXA. 00:06:15:455 Dtmf mode set to H.245(signal) for endpoint 00:06:15:455 H323 listener creation - successful 00:06:15:456 Creating CMD listener at 192.168.1.40:7575 00:06:15:456 CMD listener creation - successful 00:06:15:456 H.323 Endpoint Configuration is as follows: 00:06:15:456 Trace File: /var/log/asterisk/h323_log 00:06:15:456 FastStart - enabled 00:06:15:456 H245 Tunneling - enabled 00:06:15:457 AutoAnswer - disabled 00:06:15:457 Terminal Type - 50 00:06:15:457 T35 CountryCode - 1 00:06:15:457 T35 Extension - 0 00:06:15:457 Manufacturer Code - 71 00:06:15:457 ProductID - objsys 00:06:15:457 VersionID - v0.8.1 00:06:15:457 Local signalling IP address - 192.168.1.40 00:06:15:457 H225 ListenPort - 1720 00:06:15:457 CallerID - hasterisk 00:06:15:458 Call Establishment Timeout - 60 seconds 00:06:15:458 MasterSlaveDetermination Timeout - 30 seconds 00:06:15:458 TerminalCapabilityExchange Timeout - 30 seconds 00:06:15:458 LogicalChannel Timeout - 30 seconds 00:06:15:458 Session Timeout - 15 seconds 00:06:15:458 Gatekeeper Client Configuration: 00:06:15:458 Gatekeeper mode - UseSpecificGatekeeper 00:06:15:458 Gatekeeper To Use - 10.139.139.11:1719 00:06:15:458 H323 RAS channel creation - successful 00:06:15:459 Ras message encoding - successful 00:06:15:459 Sending RAS Message = { 00:06:15:459 gatekeeperRequest = { 00:06:15:460 requestSeqNum = { 00:06:15:460 1 00:06:15:461 } 00:06:15:462 protocolIdentifier = { 00:06:15:463 { 00:06:15:463 0 0 8 2250 0 4 } 00:06:15:464 } 00:06:15:465 rasAddress = { 00:06:15:465 ipAddress = { 00:06:15:466 ip = { 00:06:15:467 'c0a80128'H 00:06:15:469 } 00:06:15:470 port = { 00:06:15:471 13030 00:06:15:472 } 00:06:15:473 } 00:06:15:474 } 00:06:15:475 endpointType = { 00:06:15:476 vendor = { 00:06:15:476 vendor = { 00:06:15:478 t35CountryCode = { 00:06:15:479 1 00:06:15:481 } 00:06:15:482 t35Extension = { 00:06:15:483 0 00:06:15:486 } 00:06:15:487 manufacturerCode = { 00:06:15:489 71 00:06:15:490 } 00:06:15:492 } 00:06:15:493 productId = { 00:06:15:494 '6f626a737973'H 00:06:15:495 } 00:06:15:496 versionId = { 00:06:15:498 '76302e382e31'H 00:06:15:499 } 00:06:15:500 } 00:06:15:501 terminal = { 00:06:15:502 } 00:06:15:503 mc = { 00:06:15:504 FALSE 00:06:15:505 } 00:06:15:506 undefinedNode = { 00:06:15:507 FALSE 00:06:15:508 } 00:06:15:508 } 00:06:15:509 endpointAlias = { 00:06:15:510 elem[0] = { 00:06:15:511 dialedDigits = { 00:06:15:512 "2000013911223344" 00:06:15:514 } 00:06:15:515 } 00:06:15:516 } 00:06:15:517 } 00:06:15:517 } 00:06:15:517 Sent GRQ message 00:06:15:518 GkClient Received RAS Message 00:06:15:518 Received RAS Message = { 00:06:15:518 gatekeeperConfirm = { 00:06:15:524 requestSeqNum = { 00:06:15:525 1 00:06:15:529 } 00:06:15:530 protocolIdentifier = { 00:06:15:556 { 00:06:15:557 0 0 8 2250 0 4 } 00:06:15:557 } 00:06:15:558 gatekeeperIdentifier = { 00:06:15:559 AGK_MI_01 00:06:15:560 } 00:06:15:561 rasAddress = { 00:06:15:561 ipAddress = { 00:06:15:595 ip = { 00:06:15:597 '0a8b8b0b'H 00:06:15:598 } 00:06:15:599 port = { 00:06:15:600 1719 00:06:15:601 } 00:06:15:603 } 00:06:15:603 } 00:06:15:604 alternateGatekeeper = { 00:06:15:605 elem[0] = { 00:06:15:606 rasAddress = { 00:06:15:607 ipAddress = { 00:06:15:608 ip = { 00:06:15:610 '0a8b8b0c'H 00:06:15:612 } 00:06:15:613 port = { 00:06:15:615 1719 00:06:15:617 } 00:06:15:618 } 00:06:15:620 } 00:06:15:621 gatekeeperIdentifier = { 00:06:15:622 AGK_MI_02 00:06:15:624 } 00:06:15:625 needToRegister = { 00:06:15:626 TRUE 00:06:15:628 } 00:06:15:629 priority = { 00:06:15:630 0 00:06:15:631 } 00:06:15:632 } 00:06:15:633 } 00:06:15:634 } 00:06:15:634 } 00:06:15:634 Gatekeeper Confirmed (GCF) message received. 00:06:15:634 Gatekeeper Confirmed 00:06:15:634 Deleted GRQ Timer. 00:06:15:635 Ras message encoding - successful 00:06:15:635 Sending RAS Message = { 00:06:15:635 registrationRequest = { 00:06:15:636 requestSeqNum = { 00:06:15:636 2 00:06:15:637 } 00:06:15:638 protocolIdentifier = { 00:06:15:638 { 00:06:15:639 0 0 8 2250 0 4 } 00:06:15:640 } 00:06:15:640 discoveryComplete = { 00:06:15:641 TRUE 00:06:15:642 } 00:06:15:642 callSignalAddress = { 00:06:15:643 elem[0] = { 00:06:15:644 ipAddress = { 00:06:15:645 ip = { 00:06:15:647 'c0a80128'H 00:06:15:648 } 00:06:15:650 port = { 00:06:15:651 1720 00:06:15:653 } 00:06:15:654 } 00:06:15:655 } 00:06:15:656 } 00:06:15:657 rasAddress = { 00:06:15:657 elem[0] = { 00:06:15:658 ipAddress = { 00:06:15:659 ip = { 00:06:15:661 'c0a80128'H 00:06:15:662 } 00:06:15:664 port = { 00:06:15:665 13030 00:06:15:667 } 00:06:15:668 } 00:06:15:669 } 00:06:15:670 } 00:06:15:670 terminalType = { 00:06:15:671 vendor = { 00:06:15:672 vendor = { 00:06:15:673 t35CountryCode = { 00:06:15:735 1 00:06:15:736 } 00:06:15:738 t35Extension = { 00:06:15:739 0 00:06:15:741 } 00:06:15:742 manufacturerCode = { 00:06:15:743 71 00:06:15:745 } 00:06:15:746 } 00:06:15:747 productId = { 00:06:15:748 '6f626a737973'H 00:06:15:750 } 00:06:15:751 versionId = { 00:06:15:752 '76302e382e31'H 00:06:15:753 } 00:06:15:755 } 00:06:15:755 terminal = { 00:06:15:756 } 00:06:15:757 mc = { 00:06:15:758 FALSE 00:06:15:759 } 00:06:15:760 undefinedNode = { 00:06:15:761 FALSE 00:06:15:762 } 00:06:15:763 } 00:06:15:763 terminalAlias = { 00:06:15:764 elem[0] = { 00:06:15:765 dialedDigits = { 00:06:15:766 "2000013911223344" 00:06:15:768 } 00:06:15:769 } 00:06:15:769 } 00:06:15:770 gatekeeperIdentifier = { 00:06:15:771 AGK_MI_01 00:06:15:772 } 00:06:15:773 endpointVendor = { 00:06:15:774 vendor = { 00:06:15:774 t35CountryCode = { 00:06:15:776 1 00:06:15:777 } 00:06:15:778 t35Extension = { 00:06:15:779 0 00:06:15:781 } 00:06:15:782 manufacturerCode = { 00:06:15:783 71 00:06:15:784 } 00:06:15:785 } 00:06:15:786 productId = { 00:06:15:787 '6f626a737973'H 00:06:15:788 } 00:06:15:789 versionId = { 00:06:15:790 '76302e382e31'H 00:06:15:791 } 00:06:15:792 } 00:06:15:792 timeToLive = { 00:06:15:793 300 00:06:15:794 } 00:06:15:812 keepAlive = { 00:06:15:812 FALSE 00:06:15:813 } 00:06:15:814 willSupplyUUIEs = { 00:06:15:814 FALSE 00:06:15:815 } 00:06:15:816 } 00:06:15:816 } 00:06:15:816 Sent RRQ message 00:06:15:816 GkClient Received RAS Message 00:06:15:817 Received RAS Message = { 00:06:15:817 registrationConfirm = { 00:06:15:817 requestSeqNum = { 00:06:15:818 2 00:06:15:819 } 00:06:15:819 protocolIdentifier = { 00:06:15:820 { 00:06:15:823 0 0 8 2250 0 4 } 00:06:15:823 } 00:06:15:824 callSignalAddress = { 00:06:15:825 } 00:06:15:825 terminalAlias = { 00:06:15:826 elem[0] = { 00:06:15:827 dialedDigits = { 00:06:15:828 "2000013911223344" 00:06:15:829 } 00:06:15:831 } 00:06:15:832 } 00:06:15:833 gatekeeperIdentifier = { 00:06:15:834 AGK_MI_01 00:06:15:835 } 00:06:15:836 endpointIdentifier = { 00:06:15:836 651E51CC00001487 00:06:15:839 } 00:06:15:839 alternateGatekeeper = { 00:06:15:840 elem[0] = { 00:06:15:841 rasAddress = { 00:06:15:842 ipAddress = { 00:06:15:846 ip = { 00:06:15:847 '0a8b8b0c'H 00:06:15:849 } 00:06:15:854 port = { 00:06:15:856 1719 00:06:15:859 } 00:06:15:861 } 00:06:15:862 } 00:06:15:863 gatekeeperIdentifier = { 00:06:15:864 AGK_MI_02 00:06:15:866 } 00:06:15:867 needToRegister = { 00:06:15:868 TRUE 00:06:15:870 } 00:06:15:871 priority = { 00:06:15:872 0 00:06:15:873 } 00:06:15:874 } 00:06:15:875 } 00:06:15:876 timeToLive = { 00:06:15:877 300 00:06:15:878 } 00:06:15:878 willRespondToIRR = { 00:06:15:879 FALSE 00:06:15:880 } 00:06:15:880 maintainConnection = { 00:06:15:881 FALSE 00:06:15:882 } 00:06:15:882 } 00:06:15:883 } 00:06:15:883 Registration Confirm (RCF) message received 00:06:15:883 Gatekeeper supports KeepAlive, Registration TTL is 300 00:06:15:883 Deleted RRQ Timer. 00:06:15:883 GkClient Received RAS Message 00:06:15:883 Received RAS Message = { 00:06:15:883 infoRequest = { 00:06:15:884 requestSeqNum = { 00:06:15:885 9184 00:06:15:885 } 00:06:15:886 callReferenceValue = { 00:06:15:887 0 00:06:15:888 } 00:06:15:888 callIdentifier = { 00:06:15:889 guid = { 00:06:15:891 '00000000000000000000000000000000'H 00:06:15:892 } 00:06:15:893 } 00:06:15:893 segmentedResponseSupported = { 00:06:15:894 NULL 00:06:15:895 } 00:06:15:895 } 00:06:15:896 } 00:10:55:885 Gatekeeper client additive registration timer expired 00:10:55:885 Ras message encoding - successful 00:10:55:885 Sending RAS Message = { 00:10:55:886 registrationRequest = { 00:10:55:886 requestSeqNum = { 00:10:55:887 3 00:10:55:888 } 00:10:55:888 protocolIdentifier = { 00:10:55:889 { 00:10:55:890 0 0 8 2250 0 4 } 00:10:55:890 } 00:10:55:891 discoveryComplete = { 00:10:55:892 TRUE 00:10:55:892 } 00:10:55:893 callSignalAddress = { 00:10:55:894 elem[0] = { 00:10:55:895 ipAddress = { 00:10:55:896 ip = { 00:10:55:897 'c0a80128'H 00:10:55:899 } 00:10:55:900 port = { 00:10:55:902 1720 00:10:55:903 } 00:10:55:905 } 00:10:55:906 } 00:10:55:907 } 00:10:55:907 rasAddress = { 00:10:55:908 elem[0] = { 00:10:55:909 ipAddress = { 00:10:55:910 ip = { 00:10:55:912 'c0a80128'H 00:10:55:913 } 00:10:55:915 port = { 00:10:55:916 13030 00:10:55:918 } 00:10:55:919 } 00:10:55:920 } 00:10:55:921 } 00:10:55:921 terminalType = { 00:10:55:922 vendor = { 00:10:55:923 vendor = { 00:10:55:924 t35CountryCode = { 00:10:55:926 1 00:10:55:927 } 00:10:55:929 t35Extension = { 00:10:55:930 0 00:10:55:932 } 00:10:55:933 manufacturerCode = { 00:10:55:934 71 00:10:55:936 } 00:10:55:937 } 00:10:55:938 productId = { 00:10:55:939 '6f626a737973'H 00:10:55:941 } 00:10:55:942 versionId = { 00:10:55:943 '76302e382e31'H 00:10:55:945 } 00:10:55:946 } 00:10:55:946 terminal = { 00:10:55:947 } 00:10:55:948 mc = { 00:10:55:949 FALSE 00:10:55:950 } 00:10:55:951 undefinedNode = { 00:10:55:952 FALSE 00:10:55:953 } 00:10:55:954 } 00:10:55:954 terminalAlias = { 00:10:55:955 elem[0] = { 00:10:55:956 dialedDigits = { 00:10:55:957 "2000013911223344" 00:10:55:959 } 00:10:55:960 } 00:10:55:961 } 00:10:55:961 gatekeeperIdentifier = { 00:10:55:962 AGK_MI_01 00:10:55:963 } 00:10:55:964 endpointVendor = { 00:10:55:965 vendor = { 00:10:55:966 t35CountryCode = { 00:10:55:967 1 00:10:55:968 } 00:10:55:969 t35Extension = { 00:10:55:970 0 00:10:55:972 } 00:10:55:973 manufacturerCode = { 00:10:55:974 71 00:10:55:975 } 00:10:55:976 } 00:10:55:977 productId = { 00:10:55:978 '6f626a737973'H 00:10:55:979 } 00:10:55:980 versionId = { 00:10:55:981 '76302e382e31'H 00:10:55:982 } 00:10:55:983 } 00:10:55:984 timeToLive = { 00:10:55:984 300 00:10:55:985 } 00:10:55:986 keepAlive = { 00:10:55:987 TRUE 00:10:55:987 } 00:10:55:988 willSupplyUUIEs = { 00:10:55:989 FALSE 00:10:55:990 } 00:10:55:990 } 00:10:55:990 } 00:10:55:991 Sent RRQ message 00:10:55:991 GkClient Received RAS Message 00:10:55:991 Received RAS Message = { 00:10:55:991 registrationReject = { 00:10:55:991 requestSeqNum = { 00:10:55:992 3 00:10:55:993 } 00:10:55:994 protocolIdentifier = { 00:10:55:994 { 00:10:55:995 0 0 8 2250 0 4 } 00:10:55:996 } 00:10:55:996 rejectReason = { 00:10:55:997 undefinedReason = { 00:10:55:998 NULL 00:10:55:999 } 00:10:56:000 } 00:10:56:000 } 00:10:56:001 } 00:10:56:001 Registration Reject (RRJ) message received. 00:10:56:001 Deleted RRQ Timer. 00:10:56:001 RRQ Rejected - Undefined Reason 00:10:56:001 Error: Gatekeeper error. Either Gk not responding or Gk sending invalid messages 00:10:56:001 Error: Gatekeeper error detected. Closing GkClient as Gk mode is UseSpecifcGatekeeper 00:10:56:001 Destroying Gatekeeper Client 00:10:56:002 Closed RAS channel I've mailed this problem same times but seems that you coudn't care less... Please tell me if you don't think to fix it so i can re-try to compile asterisk with openh323 ! See u \Paolo Ruggero P.S. Another frequent problem i can see in this list is that on the site is not explained that asterisk-ooh323c-0.4 contains ooh323 0.8.1 stack code inside! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ ooh323c-devel mailing list ooh323c-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ooh323c-devel