Create local repository for easy package installation in lack of internet

Sometimes after partial OS installation, when you need to install more packages, you do by yum command using online OS repository which is great. But under some installations when there is no internet available installing Packages from CD becomes hell. The most of the time is spent installing / searching dependencies. Well all these problems …

Create local repository for easy package installation in lack of internet Read More »

How to solve – too many arguments to function ‘int relm()’

When you complie your code with Dialogic’s GCT Library, you may get errors like: too many arguments to function ‘int relm()’ too many arguments to function ‘MSF *getm()’   Well Key to cure this problem is to include Dialogic files outside #define file_name predirective   i.e. instead of   #ifndef ISUP_CALL_FILTER_H #define ISUP_CALL_FILTER_H #include <cstdlib> …

How to solve – too many arguments to function ‘int relm()’ Read More »

sample log4cxx configuration file that I use in my projects

Here is a sample configuration file that I use in my c++ projects : ### file appender for logfile log4j.rootLogger=info, console, logfile #log4j.logger.cdrs=info, console, cdrs log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.DatePattern =’_Y’yyyy’M’MM’D’dd log4j.appender.logfile.File=/home/trace/logs/app.log log4j.appender.logfile.Append=true log4j.appender.logfile.layout.ConversionPattern=%5p %25C%5L | %24d{ISO8601} | %m %n log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.Target=System.out log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%5p %25C%5L | %24d{ISO8601} | %m %n #log4j.appender.cdrs=org.apache.log4j.RollingFileAppender #log4j.appender.cdrs.File=/home/trace/cdrs/app.cdr #log4j.appender.cdrs.MaxFileSize=2MB #log4j.appender.cdrs.MaxBackupIndex=10 #log4j.appender.cdrs.layout=org.apache.log4j.PatternLayout #log4j.appender.cdrs.layout.ConversionPattern=%m%n

Resolve Dialogic SS7 stack problem “gctload: Verify – Failed to enqueue GCT messages.”

When you install Dialogic SS7 stack and run gctload, you may get the folowing error: ./gctload -d Reading from system configuration file: ‘system.txt’ Created LOCAL module Id 0x0 Created LOCAL module Id 0xcf Created LOCAL module Id 0xef Created LOCAL module Id 0xd1 Created LOCAL module Id 0xd0 Created LOCAL module Id 0xd2 Redirect module …

Resolve Dialogic SS7 stack problem “gctload: Verify – Failed to enqueue GCT messages.” Read More »