• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Skype Gateway stuck on "Offline - On Hook"

Status
Not open for further replies.

mobidutch

Joined
Feb 6, 2010
Messages
26
Reaction score
0
Since about a month or so my 3CX Skype Gateway for no longer works. I tried reinstalling and re-configuring the gateway several times, but no luck. The gateway seems "stuck" on the status:

"Offline - On Hook"

Stopping and re-starting the gateway does not help. Removing the gateway and reinstalling/reconfiguring the gateway (including Skype configuration with removing and re-granting authorization) does not help. Does anyone have any idea what I am missing here?

I am using:
- 3CX Phone System V10.0.24018.2322 SP.6
- 3CX Skype Gateway ver. 2.0.9919.0
- Skype Version 5.3.0.116
- Skype Extras Manager Version 4.0.0.2
- Windows Firewall is OFF


Thanks!
 
I think I run a version 4 dot something, with updates disabled.

Does Skype seem to be running, with no issues, on the PC, can you make /receive a call using it (headset)?

When mine updated automatically a while ago, I had a bit of a time getting it to work again. As I recall, the stumbling point came around the "Skype will ask you to “allow 3CXSkypegateway.exe”, click the “Allow access” button." in this configuration guide.

http://www.3cx.com/voip-gateways/skype.html
 
Thx for your reply.

I just downgraded to Skype version 4.2.0.169, just to be sure it wasn't an issue with 5.3. I have used version 4.2 before (successfully), but for some reason it auto-upgraded to 5.8, even though I had disabled auto-update. We'll see if it auto-upgrades again.

Anyway, with 4.2 it is still not working. I did grant authorization to the Skype gateway in Skype settings, and I can see the entry where you manage other programs' access.

But the status still says "Offline - On Hook". Sucks. I may have to find a different solution to use my SIP phone with Skype (not Asterisk...too complicated). So far I haven't found one that will handle multiple calls in tandem with using a PC Skype client, other than 3CX.
 
Was anything changed on the PC about the time it stopped working, any upgrades, updates, etc.?
Things don't usually stop working "out of the blue", (unless it's an obvious catastrophic failure),something generally triggers it.
Does Skype work as a stand-alone service on the PC?
The 3CX Skype gateway relies on the audio portion (card/adapter) of the PC to be working correctly, it might be something do do with that.

Is this machine dedicated to 3CX or is it used for other functions/services?
 
I have a dedicated W7 Enterprise (32bit) home server that I use for file serving and backup, and it also runs the 3CX PBX with Skype Gateway.

I usually let the server update itself with MS security updates, and quite a few have been installed in the past few months. Unfortunately I don't recall exactly when things stopped working with Skype, so I can't associate it with a Windows update. As far as I can tell there have not been any hardware driver updates in the past few months.

The Skype client itself works just fine on the server. I use a Skype client on my laptop as well, and if I change my online status on my laptop, the Skype client on the server nicely changes to that same status a few seconds later. The tracelog of the Skype Gateway shows a warning that seems to be related to my problem, but I have no idea how to resolve it. Here is the tracelog (I removed my Skype user ID):

22:36:16:279 - Info : Logger started
-------------------------------------------------------------------------
22:36:16:279 - Info : All channels synchronization initialized
22:36:16:279 - Info : This channel synchronization initialized
22:36:16:290 - Warning : Channel started in OPERATIONAL mode
22:36:16:385 - Info : Skype support started
22:36:16:389 - Info : Loading channel settings from C:\ProgramData\_3CXSkypeGateway\3CXSkypeGateway.ini
22:36:16:403 - Info : Attempting to load settings for account 3cxskypeacc01
22:36:16:406 - Info : - network card: [localhost]
22:36:16:407 - Info : - PBX address: [localhost]
22:36:16:407 - Info : - PBX port: [5060]
22:36:16:407 - Info : - RTP range: [22500]-[23000]
22:36:16:407 - Info : - codecs: [PCMU;PCMA;GSM;]
22:36:16:407 - Info : - registration interval: [10] min
22:36:16:407 - Info : - registration retry: [10] min
22:36:16:407 - Info : - SIP transport: [0]
22:36:16:407 - Info : - RTP mode: [0]
22:36:16:407 - Info : - monitor port: [5544]
22:36:16:407 - Info : - service port: [5545]
22:36:16:408 - Info : - master port: [5546]
22:36:16:408 - Info : - master channel: [-1]
22:36:16:408 - Info : Settings loaded OK
22:36:16:408 - Warning : ----------- Logging is now filtered according to option "info warning error time" -----------
22:36:16:472 - Info : Specified network card OK, set to 127.0.0.1
22:36:16:474 - Info : Port check - Port [127.0.0.1:6060] is free
22:36:16:475 - Warning : RTP last port should be odd, fixed to [23001]
22:36:16:475 - Info : RTP port range set to [22500-23001]
22:36:16:476 - Info : PBX server [127.0.0.1:5060] is reachable
22:36:16:480 - Info : Port check - Port [127.0.0.1:22500] is free
22:36:16:897 - Info : RTP engine started OK
22:36:16:897 - Info : SIP: Channel has been asked if allow secure, returning [false]
22:36:16:919 - Info : SIP engine started OK
22:36:16:919 - Info : Starting channel:
22:36:16:919 - Info : - master channel: [no]
22:36:16:919 - Info : - monitor port: [5544]
22:36:16:919 - Info : - service port: [5545]
22:36:16:919 - Info : - master port: [5546]
22:36:16:919 - Info : - expected Skype user: [**My Skype ID**]
22:36:16:921 - Info : Attempting to listen for Skype events
22:36:16:923 - Info : Sending registration request to PBX:
22:36:16:923 - Info : - display name: [3CX Gateway for Skype]
22:36:16:923 - Info : - user agent: [3CXSkypeGateway 2.0.9919.0]
22:36:16:923 - Info : - user: [10000]
22:36:16:923 - Info : - auth.ID: [10000]
22:36:16:923 - Info : - auth.pass: [1234]
22:36:16:923 - Info : - domain: [127.0.0.1:5060]
22:36:16:923 - Info : - proxy: [127.0.0.1:5060]
22:36:16:923 - Info : - transport: [0]
22:36:18:357 - Info : Synchronization thread is running
22:36:18:494 - Info : Skype client attached, now waiting for Skype events
22:36:18:782 - Info : Registration to PBX succeeded
22:36:26:724 - Info : Processing Skype attach request
22:36:26:974 - Info : Skype attach succeeded
22:36:26:974 - Warning : >>>>>>>>>>>>>>> AttachementStatus [4] - overtimed operation with 2358 msec
22:36:26:976 - Info : Waiting for Skype authorization
22:36:56:993 - Warning : Skype connection status is OFFLINE
22:36:57:035 - Info : Expected Skype user logged in: [** My Skype ID **]
22:36:57:051 - Warning : Skype user status is OFFLINE
22:36:57:065 - Info : Skype authorization request succeeded
 
Hmmm... I accidentally got things working...not sure why though.

I mentioned that the Skype client on the server nicely follows the Online status I set with the Skype client on my laptop. This is true when I actually open the Skype client on the server. But when I use the "Skype" button in the #CX Gateway for Skype application, it also opens a separate instance of a Skype client (same version number 4.2.0.169)...and THAT instance of the Skype client did NOT sync status with my laptop, it was stuck on OFFLINE.

I then went through the settings of that instance opened by the 3CX Skype Gateway and saved...and then the status DID sync with my laptop. Still no clue what I actually changed though....but I guess I should be happy it's working again!
 
Glad to hear you got it working . There must have been something that caused it to stop in the first place. It just depends how much more effort you want to put into it trying to replicate the issue.
 
Status
Not open for further replies.
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.