Sunday, December 21, 2014

Computers Basics usage Question

Lets See how much you know basics of Computers..
Following are the question/task i guess every one should know or
should be able to do.( At least an engineer should know)

1.Search and install new fonts?
2.Open font files and see what it contains?
3.formats of font files?
4.what is difference between sleep and hibernate?
5.what is hiberfile.sys and locate it ?
6.what is pagefile.sys ?what is the purpose of it ?where it is located ?
7.why cant you delete it ?change the file size of pagefile.sys?
8.what is icon , how can u change icon of existing application?please do it ?
9. make an icon and change it for any application?
10.How to record voice in computer?
11.how to open cmd promot?
12. get familiar with cd,mkdir,del , ping , date,tree commands in windows.?
13.how can you close application without alt+f4 or mouse?
14.In taskbar , what does cpu usage means, why it shows 4 graph?
15.What is cache in cpu and where it is located?what if u disable it?
16.what is bios ?change boot sequence in bios?change time in bios?
17.what is shortcut ?can change path of existing shortcut?
18.what is recycle bin ?is it folder or different partition?
19.is it possible to recover files deleted from recycle bin ?if yes
please recover one deleted file?
20.save same file in bmp and in jpg?which is bigger in size?why?
21.if your .mp3 files plays using media player make it always open using vlc or vice-versa?
22.if you not done this using registry?try using that?use regedit command.
23.create a hello world program - copy exe file and make setup of it?
   search how to create your own setup file?
24.what is an iso file?what's the use of it?
25.try to add a virtual cdrom to computer and mount iso file in it?
26.what is disk defragmentation?why the use?
27.what are these fat32/ntfs/ext2?
28.what is PCI slot?
29.what is IDE/PATA and what is SATA?
30.what different size if hard drive you have used?tell me the size in inch?
31.can you type on screen without using keyboard?if yes type few lines?
32.what do mean by resolution ?change the resolution of your screen?
33.how much size it will take to save 300x400 bmp file?
34.basic use of Excel?
35.Basic use Word?
36.How to make PowerPoint presentation?
37.how will you hide a file ?( its not visible)
28.can you see the desktop screen of another user on desktop?
with internet and inside LAN?
29.what are different types of compression?and compressing tools?
try few and see compression ratio?
30.compress a jpg file and a bmp file ?see the compression ratio?

Thursday, November 27, 2014

Make your own E-commerce website

There are lots freely available e-commerce framework  but i recommend to evaluate these three are they most live and widely 

used and Also it has lots of supports in case any issues and re modification is needed.

 

1.Magento

2.OsCommerce

3.Zencart

 

Magento will be easier to maintain as PHP code is separated from HTML Code ,

but some reviews say its slower.Free and paid is available ,Paid has quite extra features

 

OSCommerce is good but hard to maintain by novices,need knowledge of PHP and stuff but is faster

 

Zencart had neutral review nether too good or bad ,seems least used of all the three

 

These are are one click installation  on Godaddy.

Features that comparison between OsCommerce & Magento

http://www.dckap.com/magento-vs-osCommerce.htm

http://www.itwebexperts.com/oscommerce_zencart_xcart_comparison.php

Encoding your PHP Pages

Installing IonCube in Lighttpd integration)

Some we need to protect pages developed in the PHP , Its not an issue if PHP is hosted on remote server,but if the on embedded device

or where PHP pages can be accessed that one of the tool ioncube can  protect pages written using the PHP programming language from being viewed,

changed, and run on unlicensed computers.

 

It requires two module encoder and decoder (loader)

 

Encoding

1. Encoder download trial version from

http://downloads.ioncube.com/eval_download_packages/ioncube_encoder/win32_i386/en/ioncube_encoder_evaluation.zip

After installation encode the php files

New Project-Select Source and Target Folder start conversion.

2. Place the encoded files in /var/lib/asterisk/static-http/config/

 

Decoding/Loading

Needs library (ioncube_loader_lin_5.x.so) to be loaded to decode encoded files

X= version of php

i.e PHP 5.2 or PHP 5.3

1. Download Decoder (loader)

Download the freely available decoders from this url (Linux X86)

http://www.ioncube.com/loaders.php

i.e http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.zip

2. Copy to asterisk machine

Extract the file /ioncube_loaders_lin_x86.zip and copy ioncube_loader_lin_5.2.so from it and place in asterisk machine

eg in

/usr/local/lib/ioncube/ioncube_loader_lin_5.2.so

3. Locate the path of php.ini using phpinfo(); function

2. In Asterisknow 1.0.2 It is /usr/local/lib

3. If no php.ini file present in /usr/loca/lib create a file and

Add following line in it

[PHP]

zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.2.so

clip_image002

Restart Lighttpd

Service gui-lighttpd restart

Debugging

In case of issues please use the file ioncube-loader-helper.php present in ioncube_loaders_lin_x86.zip

Doxygen Configuration on windows

Doxygen is a very nice tool very viewing the source code in graphical tree format ( dependency graph)

 

To run doxygen on your source withing windows environment you need two packages.

    1. doxygen for windows (doxygen-1.8.6-setup.exe)
    2. graphiz graphical library (graphviz-2.36.exe)

Install doxygen and grphiz and configure graphviz in doxygen tool as below

image

Tuesday, June 24, 2014

SIP/VOIP/IMS Interview Questions

Below is the list of VOIP Interview questions , that will cover most of the interview questions

If you find it useful please do write comment and drop a thanking mail.

VoIP & SIP

  1. Difference between Via and Route?
  2. What is Dialog and transaction? How many transactions are there in single call?

Dialog/Call Leg is same.

clip_image002

In the example 1,

(a) to (c) are one transaction.

(d) is second transaction and

(e)& (f) constitute third transaction.

Together, these three transaction constitute one dialog

  1. What is Loop and what parameters you will see to detect A loop or how to detect?
  2. How to detect the response of immediate request?

This is called transaction and it’s identified by branch Id in via header.

Via: SIP/2.0/UDP 10.255.1.30:5060;branch=z9hG4bK3763983732-38

You can see branch- id in the via header that is the transaction number...

Since sip is a transaction protocol so it required

transaction number to send a request and get response for this

transaction.

  1. What is different between Session Vs Dialog?
After dialog established, if the call is successful and media starts
Flowing (RTP), then it is said to session established.
For Register request, dialog establishes but there is no media, so no
Session.
 


  1. What is call forking?
  2. What is early dialogue and confirmed Dialogue?

Early Dialog:- A dialog established by a non final response.

Confirmed Dialog:- After getting 2xx response.


  1. Difference between Record-route & route?
  2. Explain important headers in RTP?
  3. Why RTP uses UDP?
  4. What is Refer? And where it is used?
  5. What are the Mandatory general headers you will see in SIP Requests and Responses?
  6. What is SIP Protocol Structure /Stack?
  7. Draw Call Flow of Call waiting and 3way conference?[Samsung]
  8. What is present in Auth Headers of INVITE in case of IMS ?[Samsung]
  9. What are P-headers present in SIP message when using IMS ?[Aricent,Samsung]

P-Associated-URI

– URIs associated to an address of records

P-Called-Party-ID

– Identity the session was addressed to

P-Visited-Network-ID

– Check roaming agreements and authorize registrations

P-Access-Network-Info

– Information about the access network used by the terminal

P-Charging-Function

– Charging entities for a session

P-Charging-Vector

– Charging identifiers and networks performing charging

P-User-Database

– Optimization for queries to the HSS


  1. what are headers/differences in INVITE and CANCEL message ?[Samsung]
  2. What is difference between Via ,Route,Record-route,Path field?[Samsung,Radisys]
  3. What is difference between Session and Dialog?[Aricent]
  4. Who adds record route in Case of IMS?[Samsung]
  5. How DTMF is send in VOIP?

3 common ways of sending DTMF on SIP calls

>>SIP INFO packets

-------

INFO sip:7007471000@example.com SIP/2.0

Via: SIP/2.0/UDP alice.uk.example.com:5060

From: <sip:7007471234@alice.uk.example.com>;tag=d3f423d

To: <sip:7007471000@example.com>;tag=8942

Call-ID: 312352@myphone

CSeq: 5 INFO

Content-Length: 24

Content-Type: application/dtmf-relay

Signal=5

Duration=160

-----

>>As specially marked events in the RTP stream - see: RFC 2833

>>inband as normal audio tones in the RTP stream with no special coding or markers


  1. What is Loose Routing and Strict Routing? [Radisys]

clip_image004


  1. What is P-asserted Identity Header?[Aricent]
  2. Difference between Proxy and B2BUA ?[Sonus,Tata Elixis,Aricent]
  3. Draw Call flow of Attended Transfer ?[Aricent]
  4. What is OMA Specs?[Aricent]
  5. Which Layer of TCP/IP SIP is involved?[Radisys]
  6. In OSI model, how SIP packet is formed and traversed?[Radisys]
  7. Which field is added in SIP packet at each process in IMS Server?[Radisys,Samsung]
  8. Draw the call flow from host A to host B in IMS Server?[Radisys]
  9. What are components of IMS-Core and function of Each and where located (Home or Visited Network)?[Aricent,Samsung]

clip_image006



    • The P-CSCF resides in the visited network.

It acts as the UE's gateway into the UE's home network. The P-CSCF is responsible for:

Identifying the home IMS network.

Routing traffic to and from the home IMS network.

Establishing the IPSec security association

· The I-CSCF resides in the home network. It acts as the front-end of the Home IMS network.

The I-CSCF is responsible for:

Interfacing with the P-CSCF in the visited network.

Selecting the S-CSCF by querying the HSS.

· The S-CSCF resides in the home network.

The S-CSCF is responsible for:

Handling the registration request from the I-CSCF.

Pulling the authentication vectors from the HSS

Passing the authentication vectors to the P-CSCF via the I-CSCF.

Authenticate the user in the second registration attempt.


  1. What are different SIP Request?[Samsung,Aricent]
  2. Draw call flow of Cancelled INVITE?
  3. When we should TCP or UDP for Sending SIP Message?[Samsung]

TCP should be used when message size is too large to be fit in one frame ( 1500 Bytes)

This is normally needed in case of IMS as SIP messages has too many headers.

Also when there is no PRACK available.


  1. What is via, Branch, Tag?
  2. What is Early dialog?
  3. Give me an example when servers send 5XX response?
  4. What are Branch ID and Tag ID in SIP?
  5. What is path Header?

The Path header field is a SIP extension header field with syntax

very similar to the Record-Route header field. It is used in

conjunction with SIP REGISTER requests and with 200 class messages in

response to REGISTER (REGISTER responses).


  1. how to add multiple contact in register and remove one contact from register.
  2. stateless vs stateful proxy ?what is used in gateway?
  3. How to implement ACL for invite
  4. Explain Answer/Offer model in details
  5. 3-Way conference Call flow
  6. How to match response of a request?
  7. What is 301 Transfer
  8. IPC mechanisms in Asterisk

Monday, June 23, 2014

No CSMA/CD in Modern Ethernet

Shame, Sad smile..Today only I got to knew that there is no need of CSMA/CD in today’s

Modern Ethernet where there is no Shared Media and is full duplex.

 

Modern switched Ethernet LANs are not CSMA/CD anymore. CSMA/CD was a technique that applied to 10mbit/sec and 100mbit/sec Ethernets that used hubs, not switches.

On modern switched Ethernets, you don't have a shared medium anymore. When you're plugged into a switch, the "collision domain" is only between you and your switch port. And if you're in full duplex mode, which is almost always true with switches, then you don't have any possibility of collision at all. If you can't have a collision, you'll never detect a collision, so you'll never have reason to transmit a jam signal

Featured Post

XDP - Getting Started with XDP (Linux)