December 16, 2017, 02:41:19 pm *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: OBiAPP & 3CXPhone, 3CXPhone hangs up when outbound call is answered.  (Read 40101 times)
xzaphod2
Newbie
*
Posts: 8


« on: June 17, 2013, 06:32:06 pm »

So I got most of the combination mentioned in the topic line working. Downloaded a decent softphone (no flashing ads). Installed OBiAPP on my Windows 7 64 bit Home Ultimate. Called my Google Voice phone number, it rings, I answer it. Almost there.

I dial an outside number on the 3CXPhone and press the Call button. The outside number rings. When I answer the phone, the 3CXPhone hangs up practically immediately (a couple tenths of a second, perhaps).

I configured the 3CXPhone to use 127.0.0.1 (port 5060). My location and outbound proxy are set to 127.0.0.1.

Debug output from 3CXPhone is
<21:23:24> Phone is no longer connected
<21:23:26> Translation file OK
<21:23:26> Attempting to connect 127.0.0.1
<21:23:26> Phone got as local port 62023
<21:23:26> Jabra not connected
<21:23:27> RTP engine OK
<21:23:27> SIP engine OK
<21:23:27> Sound mic device OK [{A1E0DFB5-4477-4662-8769-4C6DD16D1C8A}]
<21:23:27> Sound ring device OK []
<21:23:27> Sound speaker device OK [{F86ADF85-58F4-41AE-B3ED-3E4854D24330}]
<21:23:27> PBX domain specified as 127.0.0.1, incoming video might missing
<21:23:27> Phone is now connected

<21:23:40> Video stream will be received on 127.0.0.1:40004


The orange lines are actually yellow but it's too pale to be seen against the light background.

Any ideas why my 3CXPhone would hang up when an outbound phone call is answered?
Logged
ianobi
Hero Member & Beta Tester
*****
Posts: 1828


« Reply #1 on: June 18, 2013, 09:31:42 am »

I also use the 3cx softphone, itís one of the best free ones. However, its debug function is very limited. For what itís worth, your debug read out looks normal.

Can you make a call to **9222222222 (Obi echo test) from the 3cx? This call will only involve the 3cx and OBiAPP, it does not involve your OBi device.

A call to an outside number will use your OBi device as a gateway, so the call goes:

3cx -> OBiApp -> OBi servers -> OBiXXX -> voip provider.

Where OBiXXX is your OBi device. If settings are at default, then your OBiXXX will use its Primary Line to place the line. Call History should show the call coming in from OBiTALK and going out on your Primary Line. Iím guessing this must be ok if you get an outgoing call as far as ringing. If you make the same call from the OBiXXX phone using the Primary Line (no ** codes) do you get the same result?

Port 5060 is used by a lot of devices, so sometimes conflicts occur. You might try your setting your 3cx location and outbound proxy to something like 127.0.0.1:5474. If you try this you will need to set your OBiAPP > SIP Domain or Proxy Local Address > SIP Port: 5474.
Logged
xzaphod2
Newbie
*
Posts: 8


« Reply #2 on: June 18, 2013, 03:14:53 pm »

That's a very good test: to try **9222222222.

I just tried **9222222222 from the 3CXPhone. After one double-ring tone in my ear, I watched the 3CXPhone say "Destination is busy" and hang up immediately. Just before the 3CXPhone hung up (while 3CXPhone was displaying "Destination is busy"), I heard 3 tones (something like a stutter dial-tone that you might hear in parts of Europe) indicating some kind of error.

The Debug log had a (yellow) entry "Destination is busy".

I tried **9222222222 from the OBi202 that OBiAPP is tied to. Everything worked as expected.

Logged
ianobi
Hero Member & Beta Tester
*****
Posts: 1828


« Reply #3 on: June 19, 2013, 01:07:10 am »

Letís stay with the **9222222222 test. The path for that is:

3CX -> OBiAPP -> Obihai servers

3CX and OBiAPP are on the same pc so should communicate easily between themselves. OBiAPP should have opened up your pc firewall when it was installed Ė TCP all, UDP all.

For OBiAPP in your router you should port forward:

TCP/UDP 10000
UDP 36000 to 36199

Another check on your 3CX settings:

Account Name: Anything
Caller ID : Anything

Extension: 290123456
ID: 290123456
Password: leave blank

I am in the office Ė local ip: 127.0.0.1
Use Outbound Proxy server: 127.0.0.1

where 290123456 is your OBiTALK softphone number.


If none of the above helps, try a different softphone to narrow the problem down further. I would use PhonerLite as a test tool Ė itís free, simple and has good debugging. Settings:

Server tab:
Proxy/Registrar: 127.0.0.1
Register box: checked

User Tab:
User name: 290123456
Password: leave blank
Authentication Name: 290123456

where 290123456 is your OBiTALK softphone number.
Logged
xzaphod2
Newbie
*
Posts: 8


« Reply #4 on: June 28, 2013, 11:25:25 am »

Hello again.

Sorry about that. Was away for a few days.

Sticking with **9222222222 on the 3CX -> OBiAPP -> OBiHAI servers.

0. OBiAPP says it is properly logged in to the OBiHAI servers.
1. No outbound blocks of ports.
2. Account name & caller ID. Something but dnc.
3. Extension. Confirmed to match OBiAPP properties.
4. IP's are, indeed, 127.0.0.1

No joy in Mudville. Not sure what's wrong with the 3CX.

Going to post this, install PhonerLite, and follow your directions. Thanks.
Logged
xzaphod2
Newbie
*
Posts: 8


« Reply #5 on: June 28, 2013, 11:49:06 am »

Downloaded and installed PhonerLite per instructions.

**9222222222 = success!

A (not-so-random) random phone number = success!

A (9 digit OBi) phone number calling OBiAPP number = success!

Thank you for your help diagnosing the problem.

So, the next question: Where can I find a better user-interface free VoIP phone interface that works with OBiAPP? Anyone got suggestions? While I like the 3CX interface a lot, if I cannot make phone calls it's much less useful.
Logged
azrobert
Hero Member & Beta Tester
*****
Posts: 3204


« Reply #6 on: June 28, 2013, 04:02:43 pm »

Try removing the Stun Server definition in the 3CX Phone.
Sometimes Stun can cause problems and worth a try.

FYI My 3CX softphone works with or without Stun.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC