People

Sometimes, when people decide to leave you for good, you have to let them. No matter how much you don’t want them to. There are some things that are far beyond our control. Even if you have the strength to fight for them, you have to accept the cold harsh truth,
The people that you can’t live without, can live without you..

ServiceXpress Framework :: ChrisXpress Browserless Solution

Hi,

Had a nightmare of a task yesterday to configure SX for faster access over VPN. The only solution was to do it browser less , anyone who knows and / or has used ChrissXpress will agree , that its extremely slow and tightly bound around Java 1.3.1 .

The solution was to download all of the jar files from the framework and copy them over to JAVA_HOME/lib and create a small script to launch it by clicking.

Following is the script i slapped together for achieving this task , it automatically setups the $CLASSPATH & $PROPERTIES FILE which are required for SX to run. The properties file is project specific and needs to be collected from the platform it self.

set CLASSPATH=
for %%i in (*.jar) do call addpath.bat %%i
echo CLASSPATH : %CLASSPATH%
echo CLASSPATH : %CLASSPATH% >> SXClientLog.txt
rem   ————————————
rem   Call java
rem   ————————————
echo Starting…

java -classpath “%CLASSPATH%” -Xmx160m at.siemens.servicexpress.sxfw.capp.appbase.SxJApplet %PROPERTY_FILE% >> SXClientLog.txt 2>&1

Following is the code for addpath.bat
echo Append CLASSPATH with %1 >> SXClientLog.txt
set CLASSPATH=%1;%CLASSPATH%
shift
:args
if “%1″==”" goto noargs
echo Append CLASSPATH with %1 >> SXClientLog.txt
set CLASSPATH=%1;%CLASSPATH%
shift
goto args
:noargs
That’s it , just start by running the batch file on the top and you’ll have a working offline CX installation.
:-)

Cisco ASA VPN Woes!

This is to document the config for outside access to VPN , incase i forget again!

access-list outside_nat extended permit ip [vpn client network] 255.255.255.0 any

global (outside) 1 interface

nat (outside) 1 access-list outside_nat

group-policy DfltGrpPolicy attributes

dns-server value [dns server]

nem enable

group-policy VPN attributes

split-tunnel-policy tunnelall

split-tunnel-network-list none

Mobicents

Just found out this gem of a software @ mobicents.org , will start the deployment today , and will record my adventures on this blog :-)

Mbuni – MM7 :: Interconnectivity with Operator

Was playing around with Mbuni for a friend of mine , who wanted to use it as a VASP gateway and interconnect it with an operator over MM7. Spent a little while configuring it and thought of posting the configs here for anyone who’s trying to achieve a similar configuration.

Mbuni consits of

  1. MMS Relay
  2. MMS Proxy
  3. MMS From Email
  4. MMSbox

For this sepecific purpose , only MMSBOX is required. I expect that you’re already familiar with either Kannel and / or Mbuni ‘s basic configuration.  So I’ll just focus on MMSBox MM7 integration.

group = mmsc

id = local

mmsc-url = http://username:password@ipaddr:port/mm7/mm7tomms.sh

incoming-username = incominguser

incoming-password = incomingpass

incoming-port = incomingport

allowed-prefix = Prefixes

type = soap

The “mmsc-url” bit is the most important one as it is used for submit_mms over mm7 , this piece of information is provided by the operator , the extra bit [ /mm7/mm7tomms.sh ] is specific to Jinny’s MMSC and your submit URL might be different [ pls. confirm this with your operator ].

The incoming user name , password & port are using to receive “MO-AT” messages over MM7 from the operator. This information will be provided by you to the operator for configuration on their side . Once a AT MMS is received by Mbuni , it can decide based on the service parameters  on exactly what to do with the mms.

The prefixes are the CC+NDC [ Country Code + National Dialing Codes ] that will be allowed for sending over this mm7 connection. Some samples can be +93;+92;+937;07;+923;03 . Make sure you define it in National [ 07X ] , International [ +937X] & Unknown [ 937X] in order to properly cater for the messages [ both incoming & outgoing  ] .

Fire up mmsbox , hit the url with http://ipaddr:port/cgi-bin/sendmms?username=X&password=Y&to=XXXX&from=YYYY&smil=<INSERT SMIL CONTENTS HERE>

:-) Cheers!

2 Years :-)

Next Month it will be my blog’s [ or attempt at a blog's] 2nd birthday ;-) – YAAY!

I just realized that i posted the last post after 1.5 Years :-) Everything has  been a roller coaster ride since i moved to Afghanistan to work full time at a mobile operator :-) Just couldn’t get enough time to update the blog , but i promise to keep posting off and on now :-)

Currently in Dubai for 2 weeks , hopefully will be in Pakistan for the weekend , India in 2 weeks and then off to Europe for 2 months in July.

Life’s Good Alhamdulillah !

Cheers!

Playing Around with Infobright

Hi,

I wanted a way to quickly pick , loadup and analyze tickets from our IN platform, ( we’re talking about 1.3 Mil + rows for one file in peak hours )  Waseem [ http://convergence.pk ] , was kind enough to spare some time for the setup and we ended up with infobright [ http://infobright.com ] community edition.

Infobright’s based on MySQL and uses knowledge base + vertical coloums , which end up making queries run ridiculously fast.

I’ve compared the results on 122 Million rows , running on oracle [ old setup ] & infobright  [ new setup ] and the results are amazing , a single query on oracle takes 15 minutes to get the results , whereas the same query takes around 2 minutes on infobright :-)

I’ll share the details for the setup , once its finished :-)

Cheers.

Afghanistan – Here I come!

Been really busy lately , so couldn’t update the blog much , well , I am finally leaving for Afghanistan tonight. Looking forward to the change in envoirnment. I’ll be working in Afghanistan Wireless as an Intelligent Network Engineer, will try my best to keep this blog updated.

 

Looking forward to a roller coaster ride inshAllah!

Opendiameter Compilation Instructions

For FC8

1. Make sure gcc , gcc-c++ , bison , flex , make , openssl and openssl-devel are present

2. yum -y install boost-devel

3. export BOOST_ROOT=/usr/include/

4. Get ACE Here .

5. tar xvf ACE-5.5.tar.gz

6. cd ACE_wrappers

7. mkdir build

8. cd build

9. Patch the configure file

— configure.orig 2008-08-05 11:11:19.000000000 -0800
+++ configure 2008-08-05 11:13:30.000000000 -0800

@@ -10329,7 +10329,7 @@ _ACEOF
*)
{ echo “$as_me:$LINENO: enabling GNU G++ visibility attribute support” >&5
echo “$as_me: enabling GNU G++ visibility attribute support” >&6;}
- ACE_GXX_VISIBILITY_FLAGS=”-fvisibility=hidden -fvisibility-inlines-hidden”
+ ACE_GXX_VISIBILITY_FLAGS=”-fvisibility=hidden”
ACE_CXXFLAGS=”$ACE_CXXFLAGS $ACE_GXX_VISIBILITY_FLAGS”
cat >>confdefs.h <<\_ACEOF

10. cd build ; ../configure

11. make && make install

12. export ACE_ROOT=/usr/local/src/ACE_wrappers/

13. tar xvf opendiameter-1.0.7-i.tar.gz

14. cd opendiameter-1.0.7-i

15. ./configure

16. make

17. make install

It’s Over!

23rd Aug, 2008.

Follow

Get every new post delivered to your Inbox.