Saturday, 18 September 2010

Gtalk to SIP

Calling iNum from Google Talk

I think it is very cool that I can make Google Talk (GTalk) VoIP calls directly to iNum global numbers. This means that I can call directly to any iNums, or any other VoIP network that accept iNum calls, directly from GTalk. If you don't know what is iNum check this link: http://www.inum.net/what-is-inum/what-is-inum/


GTalk requires that you first send an "invite" to the iNum "contact" your want to add to your GTalk friends list. Do this using the "Add" button at the bottom of your GTalk client. Normally, GTalk can only directly talk to other GTalk users using their Gmail address (user@gmail.com) as the contact.

When you send an invite to your iNum contact, the address is essentially in SIP URI VoIP format as follows:
8835100xxxxxxxx@inum.net (much the same as an email address).

Once you send the invite, the new iNum contact will appear in your GTalk friends list appended with "(invited)". For example, if I invite the iNum Echo Test number as my new invited friend, it will appear as:
883510000000091@inum.net (invited), until the invitation is accepted.

You cannot talk to any GTalk contact until their invitation is "accepted" by the other party.
In this case, iNum network "presence server" takes care of accepting iNum invites from GTalk users.

From my experience, it may take anywhere from a few seconds to 24 hours or so for an iNum invite to be accepted by the iNum.net presence server.

That's all there is to creating GTalk iNum contacts.
Once the iNum contact is accepted by iNum network presence server, your iNum contact will show a "green dot" next to it, indicating that your new iNum contact is "Online" and ready to receive your call.

I've tested this procedure by calling from my GTalk client to my iNums, my CallCentric iNum and the iNum Echo Test server. If they all worked for me, I expect it will work for you too.. :)

Please note calls to iNums from GTalk currently show up as "Anonymous".So make sure your inum provider account doesn't have anonymous call rejection enabled.

All my GTalk friends are calling my iNum on Polycom phone at home free!

Saturday, 14 November 2009

Copy Songs from an iPhone/iPod to Your Computer WITHOUT iTunes

Let me talk you through one of my worst nightmares. I changed my laptop a lot for various reasons. There are times, however, where for whatever reason I re-install the OS, which happens to link in to the aforementioned nightmare… I’ve been collecting music on my iPod for years, and my iTunes library is just over 5GB in size, not counting any of my TV shows or movies. If I forget to back up my library and format my hard drive, then I’m screwed.

That was the exact situation I was in a few days ago. My iTunes library was gone, and I needed some way to get all the files off my iPhone and on to my hard drive. If you re-install iTunes and sync your iPod with an empty library, you’ll just end up with an empty iPod, and then you HAVE lost your music! Before you start panicking about your precious music collection being lost though, try a little app called SharePod! Have a look at this free wonderful little app called Sharepod.

And when I say little I mean less than 3 MB, no install necessary and completely portable. Sharepod lets you hook up to any iPod, iPhone and iPod Touch and move your content without having to download or install iTunes. A boon for anyone who uses one iPod but wants to manages music across multiple computers



SharePod can browse all the files of your iPod, backup your library, copy songs to your PC and even add songs. The best feature of this application is that it doesn’t require iTunes to be installed to work – just plug your iPod into your PC and open SharePod, and you can browse, add and remove anything!

Friday, 23 October 2009

Setting up Call diverts for O2 UK

I was looking to setup diverts on Iphone and found there is no way to do it as iphone OS will not let you to select diversion options.These codes will help!

About Call Diverts


With call diverts you can divert incoming calls to a fixed phone, or to another mobile. There are four call diversion options available which you can set up from your mobile:


Not Reachable Divert


* To activate **62* phone number # SEND

* To cancel ##62# SEND

* To check status *#62# SEND


Divert calls when busy

* To activate **62* phone number # SEND

* To cancel ##62# SEND

* To check status *#62# SEND


Divert calls when there is no reply

* To activate **61* phone number *11* no seconds# SEND

* To cancel ##61# SEND

* o check status *#61# SEND


Divert all calls

* To activate **21* phone number # SEND

* To cancel ##21# SEND

* To check status *#21# SEND


To cancel all call diverts

* To cancel ##002# SEND

Thursday, 30 July 2009

Free Custom iPhone Ringtones Using Only iTunes

Create free ringtones for your iPhone using only iTunes and songs you already have on your computer (This method only works with songs that are DRM free. To create ringtones using DRM protected songs please use this method). This method has been tested and works with iTunes 7.7.1 and iPhone 2.0.1 firmware.

To create custom ringtones using only iTunes:

1) Right click on the song you are going to make into a ringer and select “Get Info.”

2) Go to the options tab and go down to the “Start Time” and “Stop Time” check boxes. Check both boxes and input the time you want your ringer to start/stop. The ringer has to be 30 seconds or less. Click OK when you’re done.

3)Right click on your newly “clipped” song and select “Convert Selection to AAC.” The song will be re-encoded using the start and stop times determined (If your menu item does not read “Convert Selection to AAC” and reads “Convert Slection to MP3″ (or some other format) please go to iTunes > Preferences > Advanced > Importing and change the “Import Using” drop down menu to “AAC Encoder”).


4)After the song is done encoding navigate to your iTunes Music folder, locate your song, and drag it to your desktop. After the song is on your desktop go back to iTunes and delete the clipped version from you iTunes library (It won’t delete it from your desktop, it will only remove it from iTunes).

5)Go back the song on your desktop and right click on your song and chose “Get info.” Go to the name and extension section and change the extension from .m4a to .m4r (or you can just change the extension right from your desktop)

6)After the extension is changed simply double click on the file to add it to your iTunes library under the ringtones section. Sync your phone with iTunes and you’re done!

Remember to go back into iTunes and uncheck your custom start and stop times for the original version of your song.

Wednesday, 29 October 2008

Root access on Cisco Call Manager 5/6 Server

How to get Root access on Call Manager 5/6 Server

I think it is great that Cisco does not require Engineers to understand the underlying system CallManager is built on, but some of us are curious. These steps will let you to create a user on a CUCM 5/6 server with shell access and root privileges.

WARNING: This should not be performed on a Production System! I am not responsible for any destruction to production systems.

1. Boot the CUCM server with CentOS 5.1 Disk1
2. Type ‘linux rescue’ at the boot: prompt
3. Use the chroot command to change the root to the CUCM partition

Type 'chroot /mnt/sysimage'

4. Backup the /etc/passwd, /etc/group, /etc/shadow and /etc/gshadow files

cp -a /etc/passwd /etc/passwd.bak
cp -a /etc/group /etc/group.bak
cp -a /etc/shadow /etc/shadow.bak
cp -a /etc/gshadow /etc/gshadow.bak

These files are protected by the ext2 immutable flag. Check to see if the immutable flag is set. If the immutable flag is set, you will see an ‘i’.

lsattr /etc/passwd /etc/group /etc/shadow /etc/gshadow

5. Remove the immutable flag

chattr -i /etc/passwd /etc/group /etc/shadow /etc/gshadow

6. Add a new user and set a password

useradd username
passwd username

7. Add the immutable flag

chattr +i /etc/passwd /etc/group /etc/shadow /etc/gshadow

8. Add the new user to the /etc/sudoers file and give root privileges.

vi /etc/sudoers

9. Add the following line to the file to give the new user root privileges.

username All=(ALL) ALL

10. Exit Linux rescue mode
11. Login with the new account
12. Test various root level linux commands with ’sudo’ prefix, take a look at the filesystem and play around

Tuesday, 7 October 2008

Easy steps to debrand N95/N95 8GB

Switch off any Anti Virus and disable any firewall

Firstly you will need to Sync your stuff with PC Suite.

DO NOT use backup and restore as this has shown to cause future problems with stability!

If you need your texts message for reference then change the message settings to save on your memory card and you get the option to copy across all existing texts.You will also 'loose' all your installed apps and will have to reinstall these once you have completed the Debrand/upgrade process.

You will also need all your network and internet (data) access settings. You can note them down, get them resent after the debrand/upgrade to your phone by text message from your network provider or from Nokia, or simply get them from here http://www.filesaveas.com/networks.html.

Next step is to download a programme called Nemesis Service Suite (NSS) from here
http://www.b-phreaks.co.uk/files/NSS/NSS103812.zip
Unzip this to a folder that you can find again! Install the application. You may be asked to install the NSS drivers for the N95 so do this when prompted.

Now run NSS and you are starting the debrand process!
When the main NSS window comes up in the top right click scan for new device. Your phone should be detected.

Next click the 'Phone Info' button. This will give a pane to the right of the window and ready should be flashing on the bottom bar. Click the 'Read' button under 'Production Data Edit'. this brings up some phone info including the important 'Product Code'. Your code will relate to your country and network provider and it is this we need to change!
This forum page http://www.allaboutsymbian.com/forum/showthread.php?t=58225 will give you a list of product codes. (while you are on that page consider joining the forum for future assistance).

For most people the generic EURO1 code is what we want so note it down (it doesn't matter whether you use the sand or plum code)!

You now need to input the code in place of the one that NSS returned against it's 'Product Code'
box! Copy and paste will do it! Tick the enable box alongside and then click the 'Write' button. When finished 'Write new values........Done' will appear in the bottom bar at the left. Your 'new' product code will now be shown in the 'Product Code' box.

Your phone is now ready to be upgraded to the latest official Nokia generic firmware release.

Close NSS and open Nokia PC Suite!

Make sure your battery is fully charged.

Click the 'Update phone software' button and the programme will lead you through the process of update. You may be required to download and install a newer version of the 'Nokia Software Updater' so just agree and wait for this to complete.
The NSU (Nokia Sofware Updater) will start and give instructions! It will detect your phone, identify it and search for an available update. Then, if one is available, it will give the option of proceeding with the update. Say yes and once the update has started wait until the process has finished.

Do not touch the phone, do not turn it off, do not disconnect the USB cable.

When the update has finished your phone will restart and you will have installed the latest firmware version of the Operating System.

At this point it does no harm to do a hard reset (see below) just to be sure you have what is refered to as a 'vanilla' phone.
Now re-sync with PC Suite and re-enter your network access and data settings.

Finally, re-install your applicationsto the phone memory (if you use the card memory you can get problems and power consumption goes up so less battery life!

And that's it! You should end up with a stable and zippy phone and the minimum of problems!
I hope all this helps and to anyone undertaking the procedure "GOOD LUCK"

Here are some useful 'Codes' that will interogate the phone

*#06# gives your IMEI (serial) number.

*#0000# gives firmware and phone version.

*#2820# (*#BTA0#) To view Bluetooth device address.

*#62209526# (*#MAC0WLAN) To view the MAC address of the WLAN adapter. This is maybe necessary for wlan encrypted setup.

*#92702689# (*#WAR0ANTY#) To view the life timer information. This is the total time of phone calls in minutes.

Warning : All old data will be lost when hard reset is used.

*#7780# : Soft Reset. Restores ini files from rom but preserves user data (photos, 3rd party apps etc).The phone will ask you a confirmation, enter a security code which is 12345 by default.
*#7370# : Hard (sometimes called 'Deep') Reset. You will get a format of the C: drive. Everything on the drive will be wiped and clean default files will be rewritten. You will be asked to input a security code which is 12345 by default.

There is another method of hard resetting the phone (similar to #*7370#). It is useful in some cases, for example when the phone cannot reboot. Switch off the phone then press and hold Call key (Green key) + * key + 3 key + power button for a couple of seconds. If you hold these buttons until 'Formatting' is shown you will get the same result as using *#7370#

Saturday, 20 September 2008

How to simulate ISDN Back To Back Configuration POTS Dial-Peers?

Connect two routers back-to-back style with cross over cable. Define switch type lets say qsig, then framing, line code, clock source, pri groups, user side, network side. (mean while forget about IP networks).

Here is one basic sample config, see how direct-indward-dial works, try some show and debug commands show isdn status, debug q931and q921 to see call set up signaling stuff.

(ISDN PRI Back To Back Configuration_Pots Dial-Peers)

USER SIDE CONFIGURATION
------------------------------
R1_3640#sh run
!
isdn switch-type primary-qsig
!
controller T1 1/0
framing esf
linecode b8zs
pri-group timeslots 1-4,24
!
interface Serial1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-qsig
isdn incoming-voice voice
no cdp enable
!
voice-port 1/0:23
!
voice-port 3/0/0
!
dial-peer voice 1111 pots
destination-pattern 1111
port 3/0/0
!
dial-peer voice 2222 pots
destination-pattern 2222
direct-inward-dial
port 1/0:23
forward-digits all

-------------------------------
NETWORK SIDE CONFIGURATION
-------------------------------
R2_3725#sh run
!
isdn switch-type primary-qsig
!
controller T1 1/0
framing esf
clock source internal
linecode b8zs
pri-group timeslots 1-4,24
!
interface Serial1/0:23
no ip address
isdn switch-type primary-qsig
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable
!
voice-port 1/0:23
!
voice-port 2/0/0
!
dial-peer voice 2222 pots
destination-pattern 2222
port 2/0/0
!
dial-peer voice 1111 pots
destination-pattern 1111
direct-inward-dial
port 1/0:23
forward-digits all