Showing posts with label VoIP. Show all posts
Showing posts with label VoIP. Show all posts

Tutorial Video - Asterisk Download & Installation

Posted by Ahsan Tasneem | 9:17 AM | , , , | 0 comments »

Asterisk® is a complete IP PBX in software. It runs on a wide variety of operating systems including Linux, Mac OS X, OpenBSD, FreeBSD and Sun Solaris and provides all of the features you would expect from a PBX including many advanced features that are often associated with high end (and high cost) proprietary PBXs. Asterisk® supports Voice over IP in many protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.




Article Source: Blinghog.net

How To: Auto-Restart Asterisk

Posted by Ahsan Tasneem | 8:57 AM | , , , | 0 comments »

Configure your inittab file to restart Asterisk automatically if it ever crashes.
This tutorial assumes you have root access and you are running your asterisk server as user “asterisk” instead of “root”.
1. Configure your inittab file for asterisk.
[root@localhost]#vi /etc/inittab
.
.
.
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6


ax:2345:respawn:/usr/sbin/asterisk -qf -U asterisk -G asterisk
.
.

Fring Challenges Skype With $0.01 Per Minute VoIP Calls

Posted by Ahsan Tasneem | 9:53 PM | , , , | 0 comments »

The mobile voice over IP (VoIP) service Fring now allows its users to make phone calls to land line and cell phone numbers anywhere in the world with prices starting at one cent per minute. Not all calls will be that cheap. Calls to Canada start at 0.4 cents per minute, and calls to India start at 1.1 cents, for example. But it’s more competition in a very small space currently dominated by Skype and to a lesser extent Google Voice.
You used to be able to make Skype calls using the Fringapplications for mobile phones like the iPhone and Android devices, but following the launch of the iPhone 4, Skype and Fring got in a bit of a scuffle and Fring users were left in the cold — no Skype access.

Installing Asterisk Graphical User Interface - AsteriskNow

Posted by Ahsan Tasneem | 7:45 AM | , , , | 0 comments »

This tutorial is meant to guide you during the installation of "Asterisk GUI".The Digium's Asterisk GUI is available only for version 1.4 of Asterisk. This tool is part of Digium's most recent project - AsteriskNow.

1. Requirements
In order to install "Asterisk GUI" you'll need:

Concurrent Versions System (CVS)
asterisk 1.4 - and all modules needed to compile and install asterisk 1.4

2. Preparation

Go to your installation directory (for example '/usr/src') and download the latest version of asterisk-gui. To do this just execute the command:


Installation of Asterisk on Fedora Core

Posted by Ahsan Tasneem | 6:44 AM | , , , , , | 0 comments »

The first step that you should make is to you to choose which version of Asterisk you want to install.

* Asterisk 1.2 - the stable version
* Asterisk 1.4 - the version that is currently in beta testing

When you know which version you want to install download the according packages.

Note that we will install also libpri and zaptel packages. They are optional for Asterisk but if you want to use Asterisk with MeetMe (see
MeetMe application and meetme.conf) or to use MusicOnHold you'll have to install zaptel. The TDMoE cards will also need the zaptel module in order to work correctly. If you will use PRI cards you'll have to install libpri module.


Configuring the Asterisk PBX using the freePBX interface

Posted by Ahsan Tasneem | 4:47 PM | , , , , | 0 comments »



Here we will configure Asterisk through the freePBX administrative interface to properly route both incoming and outgoing calls (In this example we have used Callcentric to route both incoming and outgoing call). This guide assumes that you have installed freePBX using either the freePBX package, trixbox or a method of your choice. This guide also assumes that the freePBX install steps were completed properly and that you have administrative access to the freePBX administration interface.
Note: For those who don’t know registration on callcentric.com is free and all these steps can be done once you signup.

We recommend that you read each step through in its entirety before performing the action indicated in the step.



How to connect Skype to 3CX [Part 1]

Posted by Ahsan Tasneem | 5:09 PM | , , , , | 0 comments »




3CX installed on PC and Skype installed on the same PC.


We have 3CX <> SIPTheeSkype <> Skype Client <> Skype Network.







Notice that you may set up SIPThee Skype on different machine, but SIPTheeSkype and Skype client must be installed on the same PC. You can also run SIPTheeSkype on Linux box...

How to connect Skype to 3CX - [Part 2]

Posted by Ahsan Tasneem | 10:21 AM | , , , , | 0 comments »

How the multichannel 3CX to Skype trunk works

First, you install Skype client on PC. Then you create some Windows users. Under each user you will
start individual Skype instance with its own Skype account. You must use different Windows users,
because of inability to start several Skype instances under the same Windows user.

After that you create several VoIP trunks in 3CX (equal to number of Skype accounts you plan to use).

But how to connect these trunks to Skype instances? For this purpose an addition to SipTheeSkype
was developed. It called
stsTrunkBuilder. This is a set of scripts and command files that installs
into the same folder where SipTheeSkype was placed. It uses data from
stsTrunkDef.cfg (you add
data to it) to generate the new set of command files (
bat) and configuration files (cfg) for each
SipTheeSkype trunk (channel).

Each of the generated
bat files start its own Skype instance under individual Windows user,
and its own SipTheeSkype, using
individual configuration file cfg for that trunk. So every
bat file start its own complete SipTheeSkype trunk. Note that every trunk use its own SIP
port for communications starting from port 5070 (5070, 5071, 5072 and so on).

You may create as many trunks as you want. This is limited only by your hardware capacity.
The author of SipTheeSkype has tested 20 trunks on standard P4 machine.

Creating multichannel trunk

1. Download and unzip
stsTrunkBuilder in the C:\ststrunkbuilder
2. Copy content of
C:\ststrunkbuilder (with subfolders) to the SipTheeSkype folder. In
Part 1 it was C:\siptheeskype. Copy content of C:\ststrunkbuilder\samples to C:\siptheeskype
also. Now we don't need
C:\ststrunkbuilder folder anymore.
3. Open in Notepad
C:\siptheeskype\stsTrunkDef.cfg file and change it as follows:

skypeUserList=first_Skype_account, second_Skype_account..., N_Skype_account - I
created these example accounts:
skype_3cx_trunk_1, skype_3cx_trunk_2, skype_3cx_trunk_3.

targetPlatform=windows - We are using stsTrunkBuilder on Windows platform

stsBaseConfigFile
=/siptheeskype/siptheeskype.cfg - Name of the folder were the main
SipTheeSkype configuration file,
siptheeskype.cfg, be found. We created it in Part1.

passwordSeed=makeupsomethinghere Do not change! Password(s) for SipTheeSkype trunks
that you creating (
Authentication Password in 3CX) will be generated automatically. Then
we simply will copy it to the Add VoIP provider wizard in 3CX.

trunkNameBase=stsTrunk_ Username mask (Authentication ID in 3CX) of the trunk. Then
we will simply copy them to the Add VoIP provider wizard in 3CX. You can change it, but you do
not have to. I have not changed it.

osUserBase=stsTrunk_ Windows username mask. You can change it, but you do not have to. I
have not changed it.
Important! If your do not change it, the users that you will create in Windows must have these names:
stsTrunk_01, stsTrunk_02...

Image

Save and close
stsTrunkDef.cfg

4. Create as many Windows users as Skype "lines" you plan to use.
Important! The usernames
for these users must be
exactly same as usernames generated in Step 3. Also important that
all users will have passwords (
no blank passwords!), or stsTrunkBuilderscripts will produce
errors.

5. Run
C:\siptheeskype\trunkConfig_win.bat file. A group of files for each trunk (each Skype
account you listed in
skypeUserList in step 3) will be created in the C:\siptheeskype folder. For
example for first trunk these files are:

stsTrunk_01_start.bat - trunk start

stsTrunk_01_stop.bat - trunk stop

stsTrunk_01.cfg - trunk settings (based on siptheeskype.cfg, we created in Part 1)

stsTrunk_01_log.properties - trunk logging settings.

Mainly we will use the
start and stop files.

6. Create required number of 3CX VoIP Providers as explained in
Part 1 Important! When
you are creating providers, use for
SIP Server port, Authentication ID and
Authentication Password corresponding values from corresponding SipTheeSkype trunk
settings.
For example, to take these values for
third 3CX trunk (VoIP provider), open in Notepad
stsTrunk_03.cfg
file and search for strings host_port, username and passwd. Copy and paste
these values into the 3CX Add VoIP Provider Wizard.

Image

7. Using generated
start command files (stsTrunk_01_start.bat, stsTrunk_02_start.bat...) start SipTheeSkype trunks in turn.
The startup process will ask for user password for respective user and start SipTheeSkype and Skype
under that user's profile. The script will save user password in the user profile so you will not need
to enter it next time.
For each Skype instance allow access for
java.exe ans set Speed Dial Numbers as described in Part 1.



8. To start all the trunks simultaneously use stsTrunkStartAll_win.bat. To stop the trunks use
corresponding files with
stop string.

Using multichannel trunk

The multichannel trunk we created working as "hunt group". The inbound calls from Skype network
goes to the first (
main) Skype account.
If this account is "busy", the SipTheeSkype software will switchover this call to next Skype account
until it found the "free" account. If there are no more free accounts, the Skype network caller will
receive "busy" tone.



From 3CX (SIP) side the system works also as "hunt group" but the switchover made by 3CX Outbound
rules. The Outbound rule tries to take the first Skype trunk (
Route 1). If it is "busy", it will try to take
the second trunk (
Route 2) and so on.

Therefore if you have
no more than three trunks, you have to configure only the first Outbound
rule (for first 3CX - Skype trunk). Thats all.

Image

If your have
more than three trunks, I would recommend to configure routes in Outbound rules
as follows:

    First rule - Routes 1,2,3 Second fule - Routes 2,3,4 Third rule - Routes 3,4,5
...and so on.

Image

Conclusion

To start all your trunks automatically after the server startup, simply create New task in Windows
Scheduler that run
stsTrunkStartAll_win.bat file at computer startup. Screenshot for Russian
Windows, but you understood me.

Image

Also you can add the Call Me! button with you first (main) Skype account to your Website.
http://www.skype.com/intl/en/share/buttons/

Now you can install Skype at your client's PCs, at your smartphones, at any other Skype enabled
gadgets and receive and place calls to them!







 

Related Articles

How to connect Skype to 3CX [Part 1]

Configuring Sip to Skype gateway - 3CX Gateway for Skype [Part 1]

Configuring Sip to Skype gateway - 3CX Gateway for Skype [Part 2]

 

 


Configuring Sip to Skype gateway - 3CX Gateway for Skype [Part 2]

Posted by Ahsan Tasneem | 12:11 AM | , , , | 0 comments »

[See Part 1 Also..] After this “splash” is shown, port’s corresponding Skype™ client account will open. Type the associated Skype™ account and password, CHECK the option “Sign me in when Skype starts” and UNCHECK the option “Start Skype when computer starts”, then sign in. Once you signed in, the splash will show “Pending authorization”.
Skype will ask you to “allow 3CXSkypegateway.exe”, click the “Allow access” button.
The dialog will now display “Configured as…” with the Skype account you’ve set, and the Done button becomes enabled. By clicking it, the Skype™ client will close and the port is considered Skype-configured!
Step 4: Starting the 3CX Gateway Service
The Gateway service is responsible for registering with 3CX Phone System, handling of calls to and from Skype, and Signing in with the Skype ID’s associated with each channel. Click on the Start Button on the right hand side of the 3CX GFS to start the gateway service.
Immediately you will see that the PORT ID 10000 is registered with the 3CX Phone System and the solid Green LED status is shown in the Port column. Status: Online
Congratulations – you have successfully configured the 3CX Gateway for Skype.

NOTE - Audio Hardware required for 3CX Skype Gateway You must have audio hardware for the Skype Gateway to function, because the Skype Client requires audio hardware to function.
Note also that when you connect to a machine using RDP, the RDP client creates a virtual sound card on the machine you are connecting to. This virtual sound card emulates speakers, but sometimes will not emulate microphone - especially with older servers or RDP clients. So you could expect to have 1-way audio when making 3CX Skype Gateway calls when connected to the machine using RDP.
The best way to avoid this is to change your RDP client (mstsc.exe) options before connecting to avoid this problem. To do this, before connecting, in your RDP client go to the "Local Resources" tab, and in the "Remote Audio" section, click on the "Settings" button. In the "Remote audio playback" section, select "Play on remote computer". In the "Remote audio recording" section, select "Do not record".



Related Articles

Configuring Sip to Skype gateway - 3CX Gateway for Skype [Part 1]
Connect Skype to 3CX [Part 1]
Connect Skype to 3CX - [Part 2]

Configuring Sip to Skype gateway - 3CX Gateway for Skype [Part 1]

Posted by Ahsan Tasneem | 10:55 PM | , , , | 1 comments »

Pre-requisites:

The following pre-requisites are needed for the 3CX gateway for Skype to operate:
1. Skype version 4.1.0.179 or above is required.
2. The Skype Client must be installed on the same machine as 3CX Gateway for Skype. Skype can be downloaded from here: http://www.skype.com/intl/en/download/skype/windows/
3. 3CX Gateway for Skype must be installed on the same machine as 3CX Phone System. You can download 3CX Gateway for Skype from here: http://www.3cx.com/downloads/3CXGatewayforSkype2.msi
4. Audio drivers must be installed and configured correctly – this is a Skype pre-requisite.
5. 3CX Phone System Version 7.1.7137 or higher is required
6. The 3CX Gateway for Skype was tested on the following operating systems Windows XP, Vista 32/64 bit, server 2003 32/64bit, Windows Server 2008 and Windows 7.
7. Known issues in the Skype client:
a. Display status on ringing will show green on multiple incoming calls
b. The Skype client does not appear to be 100% stable on Windows 2008 which obviously effects 3CX Gateway for Skype
8. 3CX Gateway for Skype can not be installed on a domain controller



Part 1: 3CX Management Console Gateway creation

Step 1: Add a Skype PSTN gateway from the 3CX Management Console
Create a PSTN gateway from the 3CX Management Console. Click on Add Pstn Gateways, select the 3CX Gateway for Skype template and specify a name for this gateway.
Step 2: Configure IP, and Port for 3CX to communicate to the 3CX Skype Gateway
Specify the Gateway, Hostname and IP of the machine where 3CX Gateway for Skype will be installed. Because the 3CX gateway for Skype will be installed on the same machine, specify 127.0.0.1 (localhost) and port is 6060.
Important : When creating additional 3CX Gateway for Skype ports you must increment the port by 2. For example: the second gateway must have 6062 set.
Step 3: Creating the port for the 3CX Gateway for Skype
Take note of the details presented in this page and click Next to proceed. These details will be needed when creating a Skype Channel in 3CX gateway for Skype to enable it to register to 3CX Phone System.
Step 4: Outbound rule creation
Create an outbound rule for this Skype Gateway with a prefix.



Part 2: 3CX Gateway for Skype Configuration instructions


Now download 3CX Gateway for Skype package from the following link. After the installation steps have been completed, clicking Finish on the last screen will open the initial window that will enable you to start the configuration for the Skype Gateway.
Step 1: Creating of windows user accounts.
Each Skype gateway created in the Management console needs a corresponding Skype channel. Each channel created in turn needs to have
• Skype ID
• A newly created Windows User account associated with it. This Windows User account cannot be an already existing account - it will be created by 3CX Gateway for Skype.
Now Click Create. Enter the 3CX Hostname or IP. In this case the 3CX GFS will be installed on the same machine so you can enter localhost or 127.0.0.1
All Channels created will need a separate Windows User Account to operate under. In the computer account settings section you can configure a prefix for computer accounts that will be created every time you create a new Skype™ port. If, for instance, the prefix is 3cxskypeacc, accounts will be created as 3cxskypeacc01, 3cxskypeacc02 and so on.
Step 2: Creating of Channels to communicate with the gateway ports. [Contd..]

Related Posts Plugin for WordPress, Blogger...