External extension - outgoing calling TLS

User to User - Answers are provided by the community. 3CX does NOT provide technical support via this forum. Commercial grade support should NOT be expected

Moderators: kevin, 3CX staff

External extension - outgoing calling TLS

Postby miro » Mon Feb 06, 2012 12:39 pm

Hi,

i have 2 external extensions Yealink and Snom (they both last firmware) when i am calling local extension on remote site, i get 408 error on 3CX PBX activity log. When i am calling from local extension to both external extension everything is working great.


Do somebody know why i cant make outbound call from external extension (we also tried both phones directly connect to the Internet) but result was the same.

On extensions we have disabled "disallow use of extension outside the LAN" and "Disable outgoing call"


Please anyone help, thanks.
miro
New User
 
Posts: 42
Joined: Tue Jan 17, 2012 2:06 pm

Re: External extension - outgoing calling TLS

Postby Ian Joyce » Mon Feb 06, 2012 4:41 pm

Are you trying them through the 3CX tunnel?
Ian Joyce, 3CX Distribution Channel Manager
888VoIP / American Technologies, LLC

T: 716.714.8017
TF: 888-864-7786 ext 212
F: 866.814.0836
E: ian@888voip.com
http://www.888voip.com
Ian Joyce
Specialist
Specialist
 
Posts: 50
Joined: Fri Oct 09, 2009 7:36 pm

Re: External extension - outgoing calling TLS

Postby miro » Mon Feb 06, 2012 5:17 pm

3CX softphone on mobile phone is not stable for us, so we need to use TLS, is there any solution for TLS problem except 3CX tunnel?


Thanks.
miro
New User
 
Posts: 42
Joined: Tue Jan 17, 2012 2:06 pm

Re: External extension - outgoing calling TLS

Postby leejor » Mon Feb 06, 2012 10:14 pm

Can you post a log showing the failed call?
leejor
3CX Valued Professional
3CX Valued Professional
 
Posts: 4270
Joined: Tue Jan 22, 2008 7:54 pm
Location: WEsT Coast of Canada

Re: External extension - outgoing calling TLS

Postby miro » Tue Feb 07, 2012 8:34 am

Hi,


this is output showing failed call from Activity log on our 3CX PBX:

13:09:08.999 [CM502001]: Source info: From: "300"<sip:300@95.178.149.32:5061>;tag=436607539<sip:200@95.178.149.32:5061>
13:09:08.999 [CM503013]: Call(22): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 200@95.178.149.32:5061 tid=1948212017 cseq=INVITE contact=300@192.168.3.247:5062 / 2 from(wire) tlsd=192.168.0.20
13:09:08.998 [CM500002]: Info on incoming INVITE:
INVITE sip:200@95.178.149.32:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.3.247:5062;rport=23779;branch=z9hG4bK1948212017;received=82.193.210.128
Max-Forwards: 70
Contact: <sip:300@192.168.3.247:5062;transport=TLS>
To: <sip:200@95.178.149.32:5061>
From: "300"<sip:300@95.178.149.32:5061>;tag=436607539
Call-ID: 514761361@192.168.3.247
CSeq: 2 INVITE
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Proxy-Authorization: Digest username="300",realm="3CXPhoneSystem",nonce="414d535c054053e446:b5ac988ca7c4d1d4b60f9d1a52ea7c1a",uri="sip:200@95.178.149.32:5061",response="14bdfbcf04f4ea90006241b35f4ccac7",algorithm=MD5
Supported: replaces
User-Agent: Yealink SIP-T20P 9.61.0.80
Allow-Events: talk, hold, conference, refer, check-sync
Content-Length: 0


Thanks.
miro
New User
 
Posts: 42
Joined: Tue Jan 17, 2012 2:06 pm

Re: External extension - outgoing calling TLS

Postby miro » Tue Feb 07, 2012 9:25 am

Hi,


we also tried new install of 3CX PBX and results are the same, output from Activity log on PBX are the same:

09:14:38.716 [CM502001]: Source info: From: "400"<sip:400@95.178.xxx.yyy:5061>;tag=188802917<sip:200@95.178.xxx.yyy:5061>
09:14:38.716 [CM503013]: Call(1): Incoming call rejected, caller is unknown; msg=SipReq: INVITE 200@95.178.xxx.yyy:5061 tid=1431561073 cseq=INVITE contact=400@192.168.3.247:5062 / 2 from(wire) tlsd=192.168.0.20
09:14:38.257 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
INVITE sip:200@95.178.xxx.yyy:5061 SIP/2.0
Via: SIP/2.0/TLS 192.168.3.247:5062;rport=48034;branch=z9hG4bK873857542;received=82.193.210.128
Max-Forwards: 70
Contact: <sip:400@192.168.3.247:5062;transport=TLS>
To: <sip:200@95.178.xxx.yyy:5061>
From: "400"<sip:400@95.178.xxx.yyy:5061>;tag=188802917
Call-ID: 1175737099@192.168.3.247
CSeq: 1 INVITE
Allow: INVITE, INFO, PRACK, ACK, BYE, CANCEL, OPTIONS, NOTIFY, REGISTER, SUBSCRIBE, REFER, PUBLISH, UPDATE, MESSAGE
Supported: replaces
User-Agent: Yealink SIP-T20P 9.61.0.80
Allow-Events: talk, hold, conference, refer, check-sync
Content-Length: 0


Please help, thanks.
miro
New User
 
Posts: 42
Joined: Tue Jan 17, 2012 2:06 pm

Re: External extension - outgoing calling TLS

Postby leejor » Tue Feb 07, 2012 5:41 pm

You haven't detailed which extensions are located where, so I'm going to have to make some assumptions ...

miro wrote:09:14:38.257 [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:


This explains why the call won't go through.

miro wrote:To: <sip:200@95.178.xxx.yyy:5061>
From: "400"<sip:400@95.178.xxx.yyy:5061>;tag=188802917


This bothers me...are these the two extensions at the remote location? If so, why do they both have the same port number? I'm assuming that 95.178.149.32 is the public IP at the remote end?
If that is the case, then you need to change that. Remote devices, behind the same router, NOT using the 3CX Proxy Server or tunnel, should each have different port numbers.
leejor
3CX Valued Professional
3CX Valued Professional
 
Posts: 4270
Joined: Tue Jan 22, 2008 7:54 pm
Location: WEsT Coast of Canada

Re: External extension - outgoing calling TLS

Postby miro » Tue Feb 07, 2012 6:37 pm

Hi,

400 is external extension,and 200 is local extension, 82.193.210.128 is public ip on remote side and 95.178.xxx.yyy public ip on local side where is 3cx (behind nat), port 5061 is used for TLS and it should be the same.


We have tested today with connection of 3CX PBX directly to the Internet and created new TLS certificate with public IP interface and choose in 3cx PBX that public interface to listen for tls, and everything works fine.

We have found out, that when you create certificate you must put IP address or domain name of interface which listen TLS, so this can only be interface which is on LAN (example 192.168.x.y) or Public IP address, not behind NAT. And that is why TLS cant work behind NAT and we have problem with external extension.
miro
New User
 
Posts: 42
Joined: Tue Jan 17, 2012 2:06 pm


Return to 3CX Phone System - General (Community-led, no tech support)


Who is online

Users browsing this forum: No registered users and 1 guest

Announcements: