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

Can not Connect to Server in "Out of Office" Mode

Status
Not open for further replies.

Anonymous

Hi Guys,

i am trying to set an test PBX up.
So far i can connect with the client from internal to my system and make calls over my voip provider.
So far, everything fine.

Now i try the same from the outside of my network (not over UMTS/EGDE/GPS/GPRS).
But i cant get my client conneced to the server over the internet.
As well in the client log i cant see realy the problem.
Wondering is that the log in the server also dont show attemps to from a connect.

What Ports i have to NAT to my PBX?

5060 - TCP (I cant set up TCP and UPD on the same Port, is an simple FritzBox)
5070
5080
5090

But it will not work and i dont see where my error is (or cant i do that with the free version)-
Anyone have a clou for me?
Thx already
Stefan
 
Hi, Stefan

Very brief description you provided :mrgreen: At least, tell us PBX's and client's versions 8)

vali
 
Hello Vali,

thx for you message.
I will try again.

Im using the free version of v7.4744 server and the client is v7.4526.
I will try now from a basic external infrastructure to log in again.
Befor i was behind a cisco pix maybe there was something blocked, you never know...
after the test i will post the log from the server and the client.

Thx already
Stefan
 
and mybe the firewal log:

3CX Firewall Checker, v1.0. Copyright (C) 3CX Ltd. All rights reserved.

<19:01:01>: Phase 1, checking servers connection, please wait...
<19:01:01>: Stun Checker service is reachable. Phase 1 check passed.
<19:01:01>: Phase 2a, Check Port Forwarding to UDP SIP port, please wait...
<19:01:01>: UDP SIP Port is set to 5060. Response received WITH TRANSLATION 61043::5060. Phase 2a check passed with WARNINGS. Some functionality will be LIMITED. For more information, please visit http://www.3cx.com/support/firewall-checker.html

<19:01:01>: Phase 2b. Check Port Forwarding to TCP SIP port, please wait...
<19:01:01>: TCP SIP Port is set to 5060. Response received WITH TRANSLATION 61043::5060. Phase 2b check passed with WARNINGS. Some functionality will be LIMITED. For more information, please visit http://www.3cx.com/support/firewall-checker.html

<19:01:01>: Phase 3. Check Port Forwarding to TCP Tunnel port, please wait...
<19:01:02>: TCP TUNNEL Port is set to 5090. Response received correctly with no translation. Phase 3 check passed.

<19:01:02>: Phase 4. Check Port Forwarding to RTP external port range, please wait...
<19:01:08>: UDP RTP Port 9000. Response received correctly with no translation. Phase 4-01 check passed.
<19:01:08>: UDP RTP Port 9001. Response received correctly with no translation. Phase 4-02 check passed.
<19:01:08>: UDP RTP Port 9002. Response received correctly with no translation. Phase 4-03 check passed.
<19:01:08>: UDP RTP Port 9003. Response received correctly with no translation. Phase 4-04 check passed.
<19:01:08>: UDP RTP Port 9004. Response received correctly with no translation. Phase 4-05 check passed.
<19:01:08>: UDP RTP Port 9005. Response received correctly with no translation. Phase 4-06 check passed.
<19:01:08>: UDP RTP Port 9006. Response received correctly with no translation. Phase 4-07 check passed.
<19:01:08>: UDP RTP Port 9007. Response received correctly with no translation. Phase 4-08 check passed.
<19:01:08>: UDP RTP Port 9008. Response received correctly with no translation. Phase 4-09 check passed.
<19:01:08>: UDP RTP Port 9009. Response received correctly with no translation. Phase 4-10 check passed.
<19:01:08>: UDP RTP Port 9010. Response received correctly with no translation. Phase 4-11 check passed.
<19:01:08>: UDP RTP Port 9011. Response received correctly with no translation. Phase 4-12 check passed.
<19:01:08>: UDP RTP Port 9012. Response received correctly with no translation. Phase 4-13 check passed.
<19:01:08>: UDP RTP Port 9013. Response received correctly with no translation. Phase 4-14 check passed.
<19:01:08>: UDP RTP Port 9014. Response received correctly with no translation. Phase 4-15 check passed.
<19:01:08>: UDP RTP Port 9015. Response received correctly with no translation. Phase 4-16 check passed.
<19:01:08>: UDP RTP Port 9016. Response received correctly with no translation. Phase 4-17 check passed.
<19:01:08>: UDP RTP Port 9017. Response received correctly with no translation. Phase 4-18 check passed.
<19:01:08>: UDP RTP Port 9018. Response received correctly with no translation. Phase 4-19 check passed.
<19:01:08>: UDP RTP Port 9019. Response received correctly with no translation. Phase 4-20 check passed.
<19:01:08>: UDP RTP Port 9020. Response received correctly with no translation. Phase 4-21 check passed.
<19:01:08>: UDP RTP Port 9021. Response received correctly with no translation. Phase 4-22 check passed.
<19:01:08>: UDP RTP Port 9022. Response received correctly with no translation. Phase 4-23 check passed.
<19:01:08>: UDP RTP Port 9023. Response received correctly with no translation. Phase 4-24 check passed.
<19:01:08>: UDP RTP Port 9024. Response received correctly with no translation. Phase 4-25 check passed.
<19:01:08>: UDP RTP Port 9025. Response received correctly with no translation. Phase 4-26 check passed.
<19:01:08>: UDP RTP Port 9026. Response received correctly with no translation. Phase 4-27 check passed.
<19:01:08>: UDP RTP Port 9027. Response received correctly with no translation. Phase 4-28 check passed.
<19:01:08>: UDP RTP Port 9028. Response received correctly with no translation. Phase 4-29 check passed.
<19:01:08>: UDP RTP Port 9029. Response received correctly with no translation. Phase 4-30 check passed.
<19:01:08>: UDP RTP Port 9030. Response received correctly with no translation. Phase 4-31 check passed.
<19:01:08>: UDP RTP Port 9031. Response received correctly with no translation. Phase 4-32 check passed.
<19:01:08>: UDP RTP Port 9032. Response received correctly with no translation. Phase 4-33 check passed.
<19:01:08>: UDP RTP Port 9033. Response received correctly with no translation. Phase 4-34 check passed.
<19:01:08>: UDP RTP Port 9034. Response received correctly with no translation. Phase 4-35 check passed.
<19:01:08>: UDP RTP Port 9035. Response received correctly with no translation. Phase 4-36 check passed.
<19:01:08>: UDP RTP Port 9036. Response received correctly with no translation. Phase 4-37 check passed.
<19:01:08>: UDP RTP Port 9037. Response received correctly with no translation. Phase 4-38 check passed.
<19:01:08>: UDP RTP Port 9038. Response received correctly with no translation. Phase 4-39 check passed.
<19:01:08>: UDP RTP Port 9039. Response received correctly with no translation. Phase 4-40 check passed.
<19:01:08>: UDP RTP Port 9040. Response received correctly with no translation. Phase 4-41 check passed.
<19:01:08>: UDP RTP Port 9041. Response received correctly with no translation. Phase 4-42 check passed.
<19:01:08>: UDP RTP Port 9042. Response received correctly with no translation. Phase 4-43 check passed.
<19:01:08>: UDP RTP Port 9043. Response received correctly with no translation. Phase 4-44 check passed.
<19:01:08>: UDP RTP Port 9044. Response received correctly with no translation. Phase 4-45 check passed.
<19:01:08>: UDP RTP Port 9045. Response received correctly with no translation. Phase 4-46 check passed.
<19:01:08>: UDP RTP Port 9046. Response received correctly with no translation. Phase 4-47 check passed.
<19:01:08>: UDP RTP Port 9047. Response received correctly with no translation. Phase 4-48 check passed.
<19:01:08>: UDP RTP Port 9048. Response received correctly with no translation. Phase 4-49 check passed.
<19:01:08>: UDP RTP Port 9049. Response received correctly with no translation. Phase 4-50 check passed.


Application exit code is 2



TCP SIP Port is set to 5060. Response received WITH TRANSLATION 61043::5060 i guess i have because my firewall, the fritzbox, is as well a voip gateway here at my home witch is in use.
Can that be a problem? Coz the fritzbox is als activ to do some SIP/ISDN calles at the moment (so that i can use my normal phones).
 
client log (by the way stun is in the software checked off)

[19:16:57] 3CX VoipClient Starting..
[19:16:58] * inst() - phone engine created
[19:16:58] * Initialize() - phone engine Initialized
[19:16:58] PhoneGui::InitializeSound()
[19:16:58] PhoneGui::Login()
[19:16:58] GuiEvent - Logout()
[19:16:58] * UnregisterPhone()
[19:16:58] PhoneGui::Login() preLogin/postLogin()
[19:16:58] GuiEvent - preLogin()
[19:16:58] * preRegisterPhone()
[19:16:58] GuiEvent - postLogin()
[19:16:58] * postRegisterPhone()
[19:16:58] = Detailed Line Configuration =
[19:16:58] - displayName_=3CXPhone, user_=105, authUser_=105, authPassword_=105
[19:16:58] - domain_=84.62.21.215:61043, useLocalIP_=1, proxyAddr_=84.62.21.215:61043, stunAddr_=stun.sipgate.net:10000
[19:16:58] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[19:16:58] - codecs[PCMU, PCMA, GSM, ]


server log


19:07:07.964 [MS105000] C:1.1: No RTP packets were received:remoteAddr=10.10.10.2:42014,extAddr=0.0.0.0:0,localAddr=10.10.10.3:7000

19:07:07.964 [CM503008]: Call(1): Call is terminated

19:07:01.214 [CM505003]: Provider:[Sipgate2] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [] Transport: [sip:10.10.10.3:5060]

19:07:01.199 [CM503002]: Call(1): Alerting sip:[email protected]:5060

19:06:59.933 [CM503004]: Call(1): Calling: VoIPline:01795791534@(Ln.10001@Sipgate2)@[Dev:sip:[email protected]:5060]

19:06:59.902 [CM503010]: Making route(s) to <sip:[email protected]:5060>

19:06:59.902 [CM505001]: Ext.100: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CX VoIP Client;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX Phone 7.0.4526.0] Transport: [sip:10.10.10.3:5060]

19:06:59.886 [CM503001]: Call(1): Incoming call from Ext.100 to <sip:[email protected]:5060>

19:06:57.918 [CM504001]: Ext.100: new contact is registered. Contact(s): [sip:[email protected]:5070;rinstance=1aee1188dc491570/100]

19:06:22.355 [CM504001]: Ext.999: new contact is registered. Contact(s): [sip:[email protected]:40600;rinstance=7a5170bab5004c6e/999]

19:06:21.589 [CM504004]: Registration succeeded for: 10001@Sipgate2

19:06:21.402 [CM504003]: Sent registration request for 10001@Sipgate2

19:06:21.308 IP(s) added:[10.10.10.3]

19:06:20.661 [CM504001]: Ext.*1: new contact is registered. Contact(s): [sip:*[email protected]:40000;rinstance=a2440950224f21ee/*1]

19:06:20.653 [CM504001]: Ext.*0: new contact is registered. Contact(s): [sip:*[email protected]:40000;rinstance=7c534e58651454ed/*0]

19:06:14.804 [CM504004]: Registration succeeded for: 10001@Sipgate2

19:06:14.464 [CM504003]: Sent registration request for 10001@Sipgate2

19:06:13.594 [CM112000] Media Server is connected

19:06:12.176 [CM506002]: Resolved SIP external IP:port (84.62.21.215:61090) on Transport 10.10.10.3:5060

19:06:12.035 [CM506001]: STUN request to resolve SIP external IP:port mapping is sent to STUN server 75.101.138.128:3478 over Transport 10.10.10.3:5060

19:06:11.691 [CM501006]: Default Local IP address: [10.10.10.3]

19:06:11.285 [CM501002]: Version: 7.0.4708.0

19:06:11.285 [CM501001]: Start 3CX PhoneSystem Call Manager

19:06:11.285 [CM501007]: *** Started Calls Controller thread ***

19:06:11.035 Unknown system [DBProvider] tries to connect!
19:06:10.973 [CM501010]: License Info: Load Failed
 
sonicsw said:
...
[19:16:57] 3CX VoipClient Starting..
[19:16:58] * inst() - phone engine created
[19:16:58] * Initialize() - phone engine Initialized
[19:16:58] PhoneGui::InitializeSound()
[19:16:58] PhoneGui::Login()
[19:16:58] GuiEvent - Logout()
[19:16:58] * UnregisterPhone()
[19:16:58] PhoneGui::Login() preLogin/postLogin()
[19:16:58] GuiEvent - preLogin()
[19:16:58] * preRegisterPhone()
[19:16:58] GuiEvent - postLogin()
[19:16:58] * postRegisterPhone()
[19:16:58] = Detailed Line Configuration =
[19:16:58] - displayName_=3CXPhone, user_=105, authUser_=105, authPassword_=105
[19:16:58] - domain_=84.62.21.215:61043, useLocalIP_=1, proxyAddr_=84.62.21.215:61043, stunAddr_=stun.sipgate.net:10000
[19:16:58] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[19:16:58] - codecs[PCMU, PCMA, GSM, ]
...

You need to configure phone to use external IP...
 
sonicsw said:
[19:16:58] - domain_=84.62.21.215:61043, useLocalIP_=1, proxyAddr_=84.62.21.215:61043, stunAddr_=stun.sipgate.net:10000
Here is the problem:
your phone is trying access from the internet, but it "declares"" is trying from the intranet (useLocalIP=1). In this way, phone does not ask Stun to resolve ports. To fix this, in the Connection dialog, in the General tab, check use Stun - try first stun.3cx.com, it's checked, then you may try sipgate 8)
 
Hi Vali,

thx, its all about reading a log.
now i trayed with stun but still not. maybe something wrong in my external network

[20:04:48] 3CX VoipClient Starting..
[20:04:48] * inst() - phone engine created
[20:04:48] * Initialize() - phone engine Initialized
[20:04:48] PhoneGui::InitializeSound()
[20:04:49] PhoneGui::Login()
[20:04:49] GuiEvent - Logout()
[20:04:49] * UnregisterPhone()
[20:04:49] PhoneGui::Login() preLogin
[20:04:49] GuiEvent - preLogin()
[20:04:49] * preRegisterPhone()
[20:04:52] * stunCheckResult() - succesfull 194.245.114.190:5070 , attempts left=5
[20:04:52] PhoneGui::stunCheckResult() - Success, Connecting..
[20:04:52] GuiEvent - postLogin()
[20:04:52] * postRegisterPhone()
[20:04:52] = Detailed Line Configuration =
[20:04:52] - displayName_=3CXPhone, user_=105, authUser_=105, authPassword_=105
[20:04:52] - domain_=84.62.21.215:61043, useLocalIP_=0, proxyAddr_=84.62.21.215:61043, stunAddr_=stun.3cx.com
[20:04:52] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[20:04:52] - codecs[PCMU, PCMA, GSM, ]


as you saw i treyed to user sipgate before with the port :1000
ut i get the same result.

i will hit to another external network... and post my result from there
 
here stun with sipgate with or without :10000

[20:09:12] = Detailed Line Configuration =
[20:09:12] - displayName_=3CXPhone, user_=105, authUser_=105, authPassword_=105
[20:09:12] - domain_=84.62.21.215:61043, useLocalIP_=0, proxyAddr_=84.62.21.215:61043, stunAddr_=stun.sipgate.net
[20:09:12] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[20:09:12] - codecs[PCMU, PCMA, GSM, ]
 
Hi

Yes, you will need to enter stun.sipgate.net:10000
 
a bit further...

Client log
[20:44:30] * unregistered()
[20:44:30] * unregistered()
[20:44:30] * unregistered()
[20:44:30] * unregistered()
[20:44:30] PhoneGui::Login()
[20:44:30] GuiEvent - Logout()
[20:44:30] * UnregisterPhone()
[20:44:30] PhoneGui::Login() preLogin
[20:44:30] GuiEvent - preLogin()
[20:44:30] * preRegisterPhone()
[20:44:32] * stunCheckResult() - succesfull 194.245.114.190:5070 , attempts left=5
[20:44:32] PhoneGui::stunCheckResult() - Success, Connecting..
[20:44:32] GuiEvent - postLogin()
[20:44:32] * postRegisterPhone()
[20:44:32] = Detailed Line Configuration =
[20:44:32] - displayName_=3CXPhone, user_=100, authUser_=100, authPassword_=100
[20:44:32] - domain_=62.157.51.190:5060, useLocalIP_=0, proxyAddr_=62.157.51.190:5060, stunAddr_=stun.3cx.com
[20:44:32] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[20:44:32] - codecs[PCMU, PCMA, GSM, ]
[20:44:32] * expired()
[20:44:32] PhoneGui::OnSubscriptionFinished()
[20:44:32] * expired()
[20:44:32] PhoneGui::OnSubscriptionFinished()
[20:44:33] * stunCheckResult() - succesfull 194.245.114.190:5070 , attempts left=5
[20:44:33] * unregistered()
[20:44:34] * unregistered()
[20:44:34] * unregistered()
[20:44:34] * unregistered()
[20:44:34] * unregistered()
[20:44:34] * unregistered()
[20:44:34] * unregistered()


in the server log still now inbound messages...
 
Hmm... Just I've tried to contact 84.62.21.215 and 62.157.51.190. tracert tool find them, but I cannot reach them, getting into timeout. Using the voip phone, Stun says the same thing, it cannot reach them :roll:
 
Hi Vali,

i have to admit, i am having a dynamic ip.
Today the ip is: 84.62.50.89. When i have the setup running i will move the installation into a datacenter.
Problem there is the Firewall, ISA...
So at the moment dyndns have to solve it...

If you like i could create you a user for testing...
But i have the feeling that my fritzbox router is eating something...

Thx already a lot.
Stefan
 
Hi Vali,

thx for your message.
I had to take care about some other stuff going on.
But now im back on my Server.
I had today a talk to AVM after i saw that the router uses the same ports even when you NAT it.
So i changed it to 6060 and 6090 and voila i can telnet now the port from external.
But still the client always is not connecting.

[23:28:57] - domain_=homeduesseldorf.dyndns.org:6060, useLocalIP_=0, proxyAddr_=homeduesseldorf.dyndns.org:6060, stunAddr_=stun.3cx.com
[23:28:57] - maxRegistrationTime_=120, maxRegistrationRetryTime_=900, authByPassword_=0, dtmfType_=7, dtmfPayload_=101
[23:28:57] - codecs[GSM, PCMU, PCMA, ]
[23:29:28] * stunCheckResult() - succesfull 62.157.55.153:33578 , attempts left=5


I guess i still have something Missing.
Do i have to nat more then my Port 5060 (my case 6060) for the direct mode and add. 5090 (my case 6090) for tunnel to the server?
From internal to external are no firewall rules.

Thx for help already.
Stefan.

ps i opend a user 105 and pass 105 (cant dail outbound) but to try out
 
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.