[Asterisk-Users] Asterisk 1.0.7 -addons doesn't compile
On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote: Hello everyone, Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has now been released. Libpri and -addons have not changed, but have been updated anyway to keep the version numbers consistent. All of the tarballs are available on the ftp site. Asterisk-addons doesn't compile. app_addon_sql_mysql.c:164:36: macro AST_LIST_REMOVE requires 4 arguments, but only 3 given app_addon_sql_mysql.c: In function `del_identifier': app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first use in this function) app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported only once app_addon_sql_mysql.c:164: error: for each function it appears in.) make: *** [app_addon_sql_mysql.o] Error 1 Replacing app_addon_sql_mysql.c from asterisk-addons 1.0.1 gets me further (AST_LIST_REMOVE is the only change between the two), but then it gets stuck at: res_config_mysql.c:418: error: variable `mysql_engine' has initializer but incomplete type res_config_mysql.c:419: error: unknown field `name' specified in initializer res_config_mysql.c:419: warning: excess elements in struct initializer res_config_mysql.c:419: warning: (near initialization for `mysql_engine') res_config_mysql.c:420: error: unknown field `load_func' specified in initializer res_config_mysql.c:420: warning: excess elements in struct initializer res_config_mysql.c:420: warning: (near initialization for `mysql_engine') res_config_mysql.c:421: error: unknown field `realtime_func' specified in initializer res_config_mysql.c:421: warning: excess elements in struct initializer res_config_mysql.c:421: warning: (near initialization for `mysql_engine') res_config_mysql.c:422: error: unknown field `realtime_multi_func' specified in initializer res_config_mysql.c:422: warning: excess elements in struct initializer res_config_mysql.c:422: warning: (near initialization for `mysql_engine') res_config_mysql.c:423: error: unknown field `update_func' specified in initializer res_config_mysql.c:424: warning: excess elements in struct initializer res_config_mysql.c:424: warning: (near initialization for `mysql_engine') res_config_mysql.c: In function `parse_config': res_config_mysql.c:491: warning: assignment makes pointer from integer without a cast res_config_mysql.c: At top level: res_config_mysql.c:418: error: storage size of `mysql_engine' isn't known BTW, the CVS directories are still left in the tarballs. Anyone know how to fix these issues (besides just installing addons 1.0.1? Thanks. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Asterisk 1.0.7 -addons doesn't compile
On Mar 19, 2005, at 1:01 PM, Greg Boehnlein wrote: On Sat, 19 Mar 2005, Scott Gruby wrote: On Mar 18, 2005, at 10:47 PM, Russell Bryant wrote: Hello everyone, Version 1.0.7 of Asterisk, Zaptel, libpri, and Asterisk-addons has now been released. Libpri and -addons have not changed, but have been updated anyway to keep the version numbers consistent. All of the tarballs are available on the ftp site. Asterisk-addons doesn't compile. Did you make clean first? I compiled fine.. granted, I'm not using the tarball, and instead using the 1.0 CVS, but it should still work.. Yes. I moved asterisk.h from asterisk-1.0.7 to the add-ons and got the issues. There's a huge difference in using CVS vs the released as everyone knows. My suspicion is that the addons have changes in them that compile fine with the latest CVS for asterisk and asterisk-addons, but not with 1.0.7 release. There are a number of changes between 1.0.6 addons and 1.0.7 add ons; I think that tarball got messed up and changes put into 1.0.7 that are incompatible with the asterisk-1.0.7 release. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] sip reload - Hang
I just setup an Asterisk system on a small Shuttle box; I am only using SIP channels and have no FXO/FXS cards. The system works fine in that I can call my inbound number (Broadvoice) and have the system answer and I can make outgoing calls. The problem is that every time I want to change something in the sip.conf file, I have to do a 'restart now' instead of a 'reload' or 'sip reload' as it hangs and stops processing calls or responding on the CLI. I tracked this down to something dealing with the peers I have in sip.conf. However, I removed all peers and just placed a simple friend in sip.conf (right from the sample file): [xlite1] ;Turn off silence suppression in X-Lite (Transmit Silence=YES)! ;Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed type=friend regexten=1234 ; When they register, create extension 1234 username=xlite1 callerid=Jane Smith 5678 host=dynamic nat=yes ; X-Lite is behind a NAT router canreinvite=no; Typically set to NO if behind NAT disallow=all allow=gsm ; GSM consumes far less bandwidth than ulaw allow=ulaw allow=alaw From the Asterisk CLI, I do: sip show peers It shows the one peer and then sip reload and then sip show peers and it is blank with the system being hung. I've searched high and low for a solution, reinstalled Linux (Fedora Core 3), reinstalled Asterisk (I enabled the ztdummy module), and have used the sample config with the same results (for the sample, I just uncomment the above). Since I used the sample without modifications, the fact that I'm using it behind NAT shouldn't make a difference. Any ideas on what is causing this? Is there any additional information I can provide for assistance? Thanks. -- Scott Gruby mailto:[EMAIL PROTECTED] http://www.gruby.com/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Re: sip reload - Hang
Sorry about not including the additional info (I realized right after I sent the message of my mistake): Fedora Core 3 (from ISO images); no updates applied Asterisk from CVS (as of this morning) Zaptel from CVS Libpri from CVS No extra Patches No Extra modules Hardware is a Shuttle SS51G w/ Intel Celeron 2.4 GHz; 512 MB RAM; 80 GB Western Digital hard drive. DHCP Assigned address from my main server (address is actually static based on MAC address) No firewall is active I'm more than happy to run gdb to see where the lockup is, but I'm a bit rusty on how to debug a multi-threaded app using gdb. Thanks in advance for any assistance. -- Scott Gruby mailto:[EMAIL PROTECTED] http://www.gruby.com/ ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users