Hi to all, I use FreePBX version 2.7.0.2 with dahdi. The first problem is with dahdi: At the system startup i can't find a way to start correctly Asterisk with Dahdi. My boot configuration is the following: /etc/rc.d/after.local /usr/sbin/rcdahdi start & sleep 15 /usr/local/sbin/amportal start & /sbin/route add -host 85.38.234.9 gw 192.168.2.1 & /usr/bin/python /usr/local/bin/alice-client.py --enable-all & But, in this way, dahdi don't work with asterisk... I have to manually stop amportal, stop dahdi and then restart dahdi and amportal to have it to work. I don't figure why, seems a timing problem, but with the sleep 15 no resolution at all... Any Hint? My OS is OpenSuSE 11.2. The second problem is with the web interface. I have a CallerID Lookup Source it uses a mysql query to give the name from the callerID, and this works perfectly. The only thing, most annoying, is the cache results box. If i flag it, hit Submit changes and then apply changes if is necessary, i return to that page and the chace result box is not checked... no conf saved! I have looked at the webserver logs, activated php DisplayErrors, but no hit of what can be. The only method i have found is to connect to the mysql database where are stored the configurations, ad make manually an update of the field "cache" with an entry of "1". But, in any case, this value returns to 0, i don't know why... Any hint also for this? Thank you to all, have a nice day! Cordially, Claudio. -- -------------------------------------------------------------------------------- Claudio Prono OPST System Developer Gsm: +39-349-54.33.258 @PSS Srl Tel: +39-011-32.72.100 Via San Bernardino, 17 Fax: +39-011-32.46.497 10141 Torino - ITALY http://atpss.net/disclaimer -------------------------------------------------------------------------------- PGP Key - http://keys.atpss.net/c_prono.asc
On Wed, Jun 16, 2010 at 10:28:48AM +0200, Claudio Prono wrote:> Hi to all, > > I use FreePBX version 2.7.0.2 with dahdi. The first problem is with > dahdi: At the system startup i can't find a way to start correctly > Asterisk with Dahdi. > > My boot configuration is the following: > > /etc/rc.d/after.localRunning it from there is the first sign of problems. You should have used proper init scripts. E.g. the asterisk and dahdi ones. This would have allowed you restarting some stuff without fully rebooting the system.> > /usr/sbin/rcdahdi start & > > sleep 15This is a great indication to the fact that 'sleep' is normally a bad cure for races. Why not just: /etc/init.d/dahdi start (not in the background) Please check the OpenSUSE packaging of Asterisk and DAHDI.> > /usr/local/sbin/amportal start & > > /sbin/route add -host 85.38.234.9 gw 192.168.2.1 &Isn't there a better place for the network settings?> > /usr/bin/python /usr/local/bin/alice-client.py --enable-all & > > But, in this way, dahdi don't work with asterisk... I have to manually > stop amportal, stop dahdi and then restart dahdi and amportal to have it > to work. I don't figure why, seems a timing problem, but with the sleep > 15 no resolution at all... Any Hint? My OS is OpenSuSE 11.2.Please provide some useful output. To quote one IRC bot: Look buddy, "doesn't work" is a vague statement. Does it sit on the couch all day long? Does it procrastinate doing the dishes? Does it beg on the street for change? Please be specific! Define 'it' and what it isn't doing. Give us more details so we can help you without needing to ask basic questions like "what's the error message?". Ask me about <smart questions> and <errors>. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir