Thursday, December 19, 2013

SIP/2.0 483 Too Many Hops in Lync or SIP

EXAMPLE:

SEND --->


INVITE sip:callcentric.aaronin@sipsorcery.com;rinstance=232176 SIP/2.0
Via: SIP/2.0/UDP 204.11.192.37:5080;branch=z9hG4bK-6220bc0291f0e295c657a17fb7dbb588
To: <sip:17772276267@callcentric.com>
From: "Aaron Clauson" <sip:17772775881@callcentric.com>;tag=1752560849
Call-ID: 207152c94f98412c806f50c8f27f837f
CSeq: 2 INVITE
Contact: <sip:d24badac8b78c0ec1978a624b56e6050@204.11.192.37:5080;transport=udp>
Max-Forwards: 13
Content-Length: 342
Content-Type: application/sdp

v=0
o=Cisco-SIPUA 4475 0 IN IP4 204.11.192.37
s=SIP Call
c=IN IP4 204.11.192.37
t=0 0
m=audio 59826 RTP/AVP 8 0 18 101
c=IN IP4 204.11.192.37
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/0
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=silenceSupp:off - - - -
a=setup:actpass
 RECEIVE --->
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 69.59.142.213:5060;branch=z9hG4bKaf9695a95c294f22b5ecf7c1ba17dbd7;rport=5060
To: <sip:17772276267@in.callcentric.com>
From: "Aaron Clauson" <sip:17772775881@callcentric.com>;tag=1146592129
Call-ID:
207152c94f98412c806f50c8f27f837f
CSeq: 2 INVITE
Content-Length: 0


This happens due to  Max-Forwards:
Here max-forwards is 13 which becomes zero but still didn't reach the destination as a result returns Too Many Hops .

Saturday, December 14, 2013

How to make your laptop as wifi hotspot

Requirement:

System: Wifi Supported System.
OS: Windows 7 (Virtual wifi router available on only >= 7 OS)

How:

Step 1: Click Start, type cmd, right-click the cmd.exe link and select "Run as Administrator".

Step 2:  Now type the following command --

netsh wlan set hostednetwork mode=allow ssid=MyWifi key=Password
Password must be  (8 <= length)

Step 3: Now enable your virtual wifi by --

netsh wlan start hostednetwork
 Step 4: Now share your current networks' internet to the virtual wifi. For this go to --

control panel --> Network and Sharing Center -->Change Adapter Settings

Step 5: Now Select your current local area connection and by double clicking on the icon go to the status window.
 
                                              Fig: 5-8 Step
Step 6: Now  from status window click on properties button and select the sharing Tab from the property window.

 Step 7: From share tab check on Allow other network user connect through this PC's internet connection.

Step 8: Select your virtual wifi hotspot from the drop down list of  Home networking connection.

Click ok and you are done!


Now enable laptop wifi and use this virtual wifi in any device to connect with.

 

Wednesday, December 11, 2013

How to install filezilla in centos 6.x

Description: FileZilla is a client program for uploading and downloading the data or file from a remote PC. It supports FTP, FTPS, SFTP.


How to install :

1. For installing FileZilla you need to have epel repository on your system.

Get it by --

rpm -ivh http://fedora.mirrors.pair.com/epel/6/i386/epel-release-6-8.noarch.rpm
2. Then install it by yum.

yum install filezilla
rpm -ivh http://fedora.mirrors.pair.com/epel/6/i386/epel-release-6-8.noarch.rpm - See more at: http://www.broexperts.com/2013/02/how-to-install-filezilla-on-centos-6-3/#sthash.RWxG1cem.dpuf
rpm -ivh http://fedora.mirrors.pair.com/epel/6/i386/epel-release-6-8.noarch.rpm - See more at: http://www.broexperts.com/2013/02/how-to-install-filezilla-on-centos-6-3/#sthash.RWxG1cem.dpuf
FTP, FTPS and SFTP
FTP, FTPS and SFTP
FTP, FTPS and SFTP
FTP, FTPS and SFTP

How to Generate and use the ssh key on Gerrit, github.io, gitlab, and bitbucket.

 Details can be found here -