Resource icon

TUTORIAL How to add Skype and FreeSwitch to existing PIAF 2013-05-25

No permission to download

Tehnation

Member
Joined
Nov 7, 2013
Messages
89
Reaction score
1
Which codec should I be using to make calls to pstn? From what I gather, the delay or latency is from codecs converting audio. I just cant figure out why voice back and forth on outgoing calls are so delayed.
 

Tony Bui

Member
Joined
Nov 9, 2013
Messages
33
Reaction score
1
I have skype connect to fall back on:
http://www.skype.com/en/features/skype-connect/
I'm not to worried. I actually dont mind playing with this for now, gives me a lot of experience points. Skype connect is 7 dollars a channel per month, free incoming calls, and 30 dollars a month for 5k min's.
And it works with existing skype manager accounts so you can just reallocate the numbers and accounts.
 

Tony Bui

Member
Joined
Nov 9, 2013
Messages
33
Reaction score
1
Did you get skype connect to work? I can get the trunk up, but can't pass any calls - get a channel unavailable in the CLI log
 

Tehnation

Member
Joined
Nov 7, 2013
Messages
89
Reaction score
1
I did get skype connect to work, but their pricing and flexibility made me turn to anveodirect. If you are using skype connect, then you need to make a different sip profile for every caller id you want to use.

I used these sites to get it to work, I can not remember how exactly I did it, but most of the information is in these sites.

http://www.artandlogic.com/blog/2013/05/it-softphone-home/
http://www.mehrdust.com/archives/skype-connect-in-freepbx
http://www.mhspot.com/sts/siptosis_skype_trunk_howto.html
http://www.dannytsang.co.uk/index.php/adding-outgoing-skype-for-sip-to-freepbx/
http://www.shutdown-r.net/2013/09/17/configuring-skype-connect-in-freepbx/
 

Tony Bui

Member
Joined
Nov 9, 2013
Messages
33
Reaction score
1
I did get skype connect to work, but their pricing and flexibility made me turn to anveodirect. If you are using skype connect, then you need to make a different sip profile for every caller id you want to use.

I used these sites to get it to work, I can not remember how exactly I did it, but most of the information is in these sites.

http://www.artandlogic.com/blog/2013/05/it-softphone-home/
http://www.mehrdust.com/archives/skype-connect-in-freepbx
http://www.mhspot.com/sts/siptosis_skype_trunk_howto.html
http://www.dannytsang.co.uk/index.php/adding-outgoing-skype-for-sip-to-freepbx/
http://www.shutdown-r.net/2013/09/17/configuring-skype-connect-in-freepbx/

Thanks! the last link solved the trick!
 

emersonvier

New Member
Joined
Jun 29, 2013
Messages
26
Reaction score
4
When I make a call to Skype I hear a sound by my laptop but Piaf doesnot ringo_O

sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh

ERROR: Module snd_pcm_oss does not exist in /proc/modules
ERROR: Module snd_mixer_oss does not exist in /proc/modules
ERROR: Module snd_seq_oss does not exist in /proc/modules
insmod: error inserting '/usr/local/freeswitch/skypopen/skypopen-sound-driver-dir/skypopen.ko': -1 Device or resource busy
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
 

emersonvier

New Member
Joined
Jun 29, 2013
Messages
26
Reaction score
4
When I make a call to Skype I hear a sound by my laptop but Piaf doesnot ringo_O

sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh

ERROR: Module snd_pcm_oss does not exist in /proc/modules
ERROR: Module snd_mixer_oss does not exist in /proc/modules
ERROR: Module snd_seq_oss does not exist in /proc/modules
insmod: error inserting '/usr/local/freeswitch/skypopen/skypopen-sound-driver-dir/skypopen.ko': -1 Device or resource busy
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!



After tests I hope undestand the problem, I need more time before start the FreeSwitch, how I do this?


Below part of log for FreeSwitch
Code:
2014-01-19 13:44:14.231102 If I don't connect immediately, please give the Skype client authorization to be connected by Skypopen (and to not ask you again)
 
2014-01-19 13:44:14.330913 WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1
 
2014-01-19 13:44:14.330977 Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==coelhorep_escritorio
 
2014-01-19 13:45:14.The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=coelhorep_escritorio, interface_id=1 FAILED to start. No Skype client logged in as 'coelhorep_escritorio' has been found. Please (re)launch a Skype client logged in as 'coelhorep_escritorio'. Skypopen exiting now
 

sukasem

Guru
Joined
Sep 13, 2008
Messages
142
Reaction score
26
After tests I hope undestand the problem, I need more time before start the FreeSwitch, how I do this?


Below part of log for FreeSwitch
Code:
2014-01-19 13:44:14.231102 If I don't connect immediately, please give the Skype client authorization to be connected by Skypopen (and to not ask you again)
 
2014-01-19 13:44:14.330913 WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1
 
2014-01-19 13:44:14.330977 Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==coelhorep_escritorio
 
2014-01-19 13:45:14.The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=coelhorep_escritorio, interface_id=1 FAILED to start. No Skype client logged in as 'coelhorep_escritorio' has been found. Please (re)launch a Skype client logged in as 'coelhorep_escritorio'. Skypopen exiting now

Your Skype not runing or not log in.
1. start skype (sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh)
2. check if your skype is online (use skype desktop or mobile with another username) before you go further
 

emersonvier

New Member
Joined
Jun 29, 2013
Messages
26
Reaction score
4
Your Skype not runing or not log in.
1. start skype (sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh)
2. check if your skype is online (use skype desktop or mobile with another username) before you go further


@sukasem, I checked this, Skype online, I saw status "greem" and try call.

I make test manualy like this:
sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh
/usr/local/freeswitch/bin/freeswitch
The same problem

if I try this
sh /usr/local/freeswitch/skypopen/skype-clients-startup-dir/start_skype_clients.sh

Wait for 2 minutes

/usr/local/freeswitch/bin/freeswitch

Work very well.
 

miguel

Member
Joined
May 22, 2013
Messages
276
Reaction score
8
One question if I install skype2 will it still work ?
 

krzykat

Telecom Strategist
Joined
Aug 2, 2008
Messages
3,145
Reaction score
1,235
Could you use this freeswitch install onto PIAF to also run Joe Roper's Newfies dialer since his dialer only runs on freeswitch?
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Are these install notes still current, meaning will this install on an Asterisk 11.10, 64 bit running PIAF Installed Version = 2.0.6.5 , FreePBX Version = 2.11.0.42? Thanks for any tips.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,202
Reaction score
5,221
If you've enjoyed the frustration level implementing Google Voice, then multiply that by 10 trying to get Skype to work... reliably... for more than a week. We've given up, but we'll be watching.

You might have better success winning the lottery tonight...

11923027-large.jpg
 

Trimline2

Guru
Joined
May 23, 2013
Messages
524
Reaction score
96
Thanks for reminding me to buy a lotto ticket! Should I win, I'll buy Skype and open it up to SIP... :1eye:
 

gpuser

Member
Joined
Aug 19, 2013
Messages
37
Reaction score
12
Are these install notes still current, meaning will this install on an Asterisk 11.10, 64 bit running PIAF Installed Version = 2.0.6.5 , FreePBX Version = 2.11.0.42? Thanks for any tips.


I've installed Skype gateway successfully today on a FreeSWITCH VM and passing calls to PIAF on another VM. Just thought it would be better to keep them separate since FreeSWITCH prefers Debian Wheezy. Please follow instructions from

https://freeswitch.org/confluence/display/FREESWITCH/mod_skypopen

Before you edit a file, make a copy for future reference.

Please make sure you set permissions correctly for /usr/local/freeswitch/skypopen recursively.

Oh........ and get the new install.pl file from master trunk after git clone/pull. (/usr/src/freeswitch/src/mod/endpoint/mod_skypopen/install/install.pl)

Open the file and make sure skype version is 4.3.0.37

Goodluck!
 

gpuser

Member
Joined
Aug 19, 2013
Messages
37
Reaction score
12
If you've enjoyed the frustration level implementing Google Voice, then multiply that by 10 trying to get Skype to work... reliably... for more than a week.

Skype dynamic 4.3.0.37 has been out for a while now and is working ok. I have both SipToSis and Skypopen working. STS has been running for quite sometime on a Windows client, so I just update the Skype client whenever there is a new one out. Linking STS to PIAF is very easy too. FreeSWITCH gives better audio since it supports 16khz sound and slin16 (L16) codec.
 

Members online

Forum statistics

Threads
25,812
Messages
167,767
Members
19,241
Latest member
bellabos
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top