Showing posts with label skype gateway. Show all posts
Showing posts with label skype gateway. Show all posts
How to connect Skype to 3CX [Part 1]
Posted by Ahsan Tasneem | 5:09 PM | 3cx, How To, skype, skype gateway, VoIP | 0 comments »How to connect Skype to 3CX - [Part 2]
Posted by Ahsan Tasneem | 10:21 AM | 3cx, How To, skype, skype gateway, VoIP | 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... 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. 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. If your have more than three trunks, I would recommend to configure routes in Outbound rules as follows:
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. 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 | 3cx, skype, skype gateway, VoIP | 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 | 3cx, skype, skype gateway, VoIP | 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
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.
• 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..]
Cisco Making A Run For Skype
Posted by Ahsan Tasneem | 11:31 PM | cisco, Google, skype, skype gateway | 0 comments »Cisco has made an offer to acquire Skype before they complete their IPO process, says one of our more reliable sources. We have not been able to confirm this rumor one way or another via other sources, which isn’t surprising. A company in lock down during the IPO process is usually even more tight lipped than normal.
But if true this would be one very big acquisition. Skype insiders are hoping for an out of the gate valuation of $5 billion or so, we’ve heard. Presumably Cisco would have to bidding in that range to make it interesting.
Google was also rumored to be sniffing around Skype, but antitrust concerns may have persuaded them not to make an actual offer.
More as this develops @ahsantasneem
Subscribe to:
Posts (Atom)









