Friday, October 24, 2008

GSM Network codes (call barring etc.)

I needed to turn off incoming calls while roaming and had to search around to find these. Thought Id post them here for future reference and to make your life easier. The code I used to turn of all incoming calls while roaming was:

*351*0000*11# (In country), or

351*0000*10# (out of country)

TO DIVERT CALLS






















ACTIONCODE
Deactivate call diverts##002#@
Deactivate all conditional diverts##004#@
Activate all conditional diverts **004*DestinationNumber#@


@ = Send/OK button on your mobile phone




DIVERT ALL CALLS






























ActionHash Codes
Deactivate automatically divert all calls to Destination Number##21#@
Deactivate automatically divert all calls to Destination Number#21#@
Set and Activate divert all calls to **21*DestinationNumber#@
Activate divert all calls*21#@
Status of automatically divert all calls to Destination Number*#21#@


@ = Send/OK button on your mobile phone




CALLNOT ANSWERED


























ACTIONCODE
Activate and Set call divertion when not answered**61*DestinationNumber#@
Deactivate and turn off call divert when not answered##61#
Deactivate call divert#61#@
Activate call divertion*61#@


@ = Send/OK button on your mobile phone






DIVERTS FOR ALL CALLS


























ACTIONCODE
Set and Activate divert all calls to **21*DestinationNumber#@
Activate divert all calls*21#@
Deactivate divert all calls#21#@
Status of automatically divert all calls to Destination Number*#21#@


@ = Send/OK button on your mobile phone





DIVERTS WHEN PHONE IS UNREACHABLE






























ACTIONCODE
Activate call divert when not reachable**62*DestinationNumber#@
Activate call divert*62#@
Deactivate and turn off call divert if unreachable##62#@
Deactivate call divert#62#@
Status of call divert if not reachable*#62#@


@ = Send/OK button on your mobile phone






DIVERT WHEN PHONE IS BUSY




























ACTIONCODE
Activate call divert when busy (engaged on another call)**67*DestinationNumber#@
Activate call divert when busy*67#@
Deactivate call divert when busy##67#@
Deactivate call divert when busy#67#@
Status of call divert when busy*#67#@






BARRING ALL OUTGOING CallS


























ACTIONCODE
Change password for call barring**03*330*oldPW*newPW*newPW#@
Activate barring for all outgoing calls**33*PW#@
Deactivate barring for all out going calls#33*PW#@
Statusbarring for all out going calls*#33#@


@ = Send/OK button on your mobile phone




BARRING ALL CALLS






















ACTIONCODE
Activate barring for all calls**330*PW#@
Deactivate barring for all calls#330*PW#@
Statusbaring for all calls*#330*PW#@


@ = Send/OK button on your mobile phone






BARRING ALL OUTGOING INTERNATIONAL CallS






















ACTIONCODE
Activate barring for all outgoing international calls**331*PW#@
Deactivate barring for all outgoing international calls#331*PW#@
Statusbarring all outgoing international calls*#331#@







BARRING ALL OUTGOING CALLS






















ACTIONCODE
Activate barring all outgoing calls**333*PW#@
Deactivate barring all outgoing calls#333*PW#@
Statusbarring all outgoing calls*#333#@




BARRING ALL INCOMING CALLS






















ACTIONCODE
Activate barring all incoming calls**35*PW#@ or **353*PW#@
Deactivate barring all incoming calls#35*PW#@ or **353*PW#@
Statusbarring all incoming calls*#35#@ or *#353#@







BARRING ALL INCOMING CALLS IF ROAMING






















ACTIONCODE
Activate barring all incoming calls if abroad**351*PW#@
Deactivate barring all incoming calls if abroad#351*PW#@
Statusbarring all incoming calls if abroad*#351#@






CALL WAITING






















ACTIONCODE
Activate call waiting*43#@
Deactivate call waiting#43##@
Statuscall waiting*#43#@






RINGS UNTIL ANSWERED BY YOUR VOICEMAIL


If your mobile's voicemail number is, for example:
+27-82-131-987-6543


....and you want your phone to divert to your voicemail after say 20 seconds, then type:

**61*+27821319876543**20#

The time can be up to 30secs (network default)


















ACTIONCODE
Set number of rings**61*YourVoiceMailNumber**N#@
Cancel previous Setting entered##61#@


N =Ring Time (up to 30sec)



@ = Send/OK button on your mobile phone



SEND/PREVENT YOUR PHONE NUMBER BEING SENT TO A PARTICULAR PHONE NUMBER



@ = Send/OK button on your mobile phone



















ACTIONCODE
Disable your phone number being sent#30#DestinationNumber@
Enable your phone number being sent*30#DestinationNumner@
Status of your phone number being sent*#30#






SEND/PREVENT INCOMING PHONE NUMBERS BEING SEEN ON YOUR PHONE



@ = Send/OK button on your mobile phone



















ACTIONCODE
Disable incoming number being shown on your phone*77#
Enable incoming number being shown on your phone#77#@
Status of whether calling parties number is shown on your phone*#77#@









CHANGING PIN CODES














ACTIONCODE
Change PIN 1**04*PINOLD*PINNEW*NEWPIN1#@




UNBLOCKING PHONE USING A PUK NUMBER














ACTIONCODE
Unblock PIN 1**05*PUK*newPIN1*newPIN1#@






DISPLAY IMEI NUMBER










Display IMEI Number*#06#

Source Code for masaajid map...

Though I'd share the code for those interested in how I did the masaajid maps:
<gm:page title="Masaajid in South Africa" authenticate="false" onload="kmlPE()" gadget="true">
<!--
The mashup application demonstrates taking a Google Earth KML file and mapping it on a Google Map.
@author: GME Team & Valery Hronusov
-->
<h2>Masaajid in South Africa</h2>
<!-- Map definition -->
<gm:map id="map" height="600px" width="800px"
lat="-28.7500" lng="24.7700" zoom="5" maptypes="true"/>
<script>
function kmlPE()
{
var myMap = google.mashups.getObjectById('map').getMap();
var geoXml = new GGeoXml("http://yusufk.googlepages.com/masjids.kml");
myMap.setMapType(myMap.getMapTypes()[0]);
myMap.addOverlay(geoXml);
myMap.enableDoubleClickZoom();
}
</script>
</gm:page>

The above code can be easily pasted/ test using the Google mashup editor.

Wednesday, October 22, 2008

Run Mac OS X on a PC - I must try this!

This article has a step-by-step howto for setting up Mac OS X on a PC, will give it a tr when I have some time. Involves some BIOS fiddling so not for the feint hearted I guess.

Tuesday, October 21, 2008

How to add a News Bar onto your wordpress blog..

Thought I'd share how I managed to get the Google Ajax News Bar you hopefully see at the top of the page...

1stly, visit this site to obtain the necessary code..

Then, open you WP-ADMIN page and cick on Design -- Theme Editor

Click on the Header template.

Once loaded, insert the following lines from the Ajax code (cut from the generated code) right at the bottom of the header file (below the <hr /> tag):

        <div id="newsBar-bar">

               <span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span>

        </div>


And insert the other stuff just before the </head> tag:

 <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>

<!-- News Bar Code and Stylesheet -->
<script type="text/javascript">
window._uds_nbw_donotrepair = true;
</script>
<script src="http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");
</style>

<script type="text/javascript">
function LoadNewsBar() {
var newsBar;
var options = {
largeResultSet : false,
title : "In the news",
horizontal : true,
autoExecuteList : {
executeList : ["Islam", "mobile", "science", "universe", "recipes"]
}
}

newsBar = new GSnewsBar(document.getElementById("newsBar-bar"), options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadNewsBar);
</script>

Click on Update and its done!

p.s. It takes a few seconds to load the bar, depending on your bandwidth, you should see the word "loading..." as a placeholder.

Thursday, October 16, 2008

Review of the new Android (google) phone

In depth review can be found here but the video sums it up nicely:

Wednesday, October 15, 2008

Solution to SA crime, buy a gun?

I've been having this debate with family, friends and colleagues; Should we just buy guns and fight back against criminals?

The majority of people respond by saying that some or other stats show that most gun owners end up hurting themselves or end up being shot with the same gun. Where can I find these statistics?

As a Muslim, the Quraan makes it clear that we are meant to "enjoin good and forbid evil":
The Noble Qur'an - Al-Tauba 9:71
The Believers, men and women, are protectors one of another: they enjoin what is just, and forbid what is evil: they observe regular prayers, practise regular charity, and obey Allah and His Messenger. On them will Allah pour His mercy: for Allah is Exalted in power, Wise.

Are we forbidding evil by standing back and allowing thieves to take what they want?

Friday, October 10, 2008

New Blog!

I've been paying for hosting I've never used, so thought I'd give Wordpress a try, turns out it's pretty cool and easy to use, so I think I might move this blog over there. Give it a shot: http://www.yusufk.za.net/blog/