SOLVED! preparing a Linksys 942 for external extension

Status
Not open for further replies.

jsadan

Joined
May 3, 2010
Messages
91
Reaction score
0
Question: I am trying to get a Linksys SPA942 registered as an external extension. What settings on the phone do I need to change? appreciate any help. Will update tomorrow

Answer:
Step 1: Make sure your firewall settings on your system/router are open.

My settings for my router:

Firewall:
SPI (Stateful Packet Inspection) - Disabled

Port forwarding: (Found these ports in 3CX wiki)
SIP TCP/5060-5060 -> Local IP of 3CX machine
SIP TCP/5090-5090 -> Local IP of 3CX machine
SIP UDP/5060-5060 -> Local IP of 3CX machine
RTP UDP/9000-9049 -> Local IP of 3CX machine

Step 2: The SPAXXX phone
From a factory reset (DHCP enabled) these are the changes I made.

SIP Tab:
SIP Parameters:
SIP TCP Port Max: 5090 (changed from 5080)

RTP Parameters:
RTP Packet Size: 0.020 (Was recommended in 3CX video)
Symmetric RTP: Yes (This was the setting that made this a living nightmare for me)

NAT Support Parameters:
STUN Enable: Yes
STUN Server: stun.3cx.com

Ext 1 Tab:
NAT Settings:
NAT Mapping Enable: Yes
NAT keep Alive Enable: Yes

Proxy and Registration:
Proxy: 99.14.10.xxx (Public IP of 3CX machine)
Register Expires: 300

Subscriber Information:
Display Name: External Extension
User ID: 19
Password: (password setup for this extension)

Special Thanks!
To:

KerryG - Thank you for your reply, this isn't the first post you've helped me with.

leejor - Thanks for having the patience and helping me step by step in this process. You are very active on the forums and I am sure we all appreciate your time and knowledge!
 
Re: preparing a Linksys 942 for external extension

The sip server. It will need to point to a public IP instead of the private ip.
 
Re: preparing a Linksys 942 for external extension

You will also need to enable STUN if the set will be located behind a router (not picking up a public IP).
 
Re: preparing a Linksys 942 for external extension

Thank you for your responses even with my limited information. Here is what I have done so far.

Current settings I have changed on the external linksys phone are the following.

Set Connection type to DHCP.
Changed the RTP Parameters packet size to 0.020
I enabled STUN, STUN server is currently empty.
Changed the Proxy to the public NAT assigned to the 3CX machine. I also added the public NAT to the public IP tab inside the 3CX.
Also under Proxy and Registration I changed the Register expires to 300 so every 10 minutes it should re-register.
The User ID is 13 (phone extension) I enabled 'Use Auth ID' and in 'Auth ID' I put 13

3CX System Setup:

Windows XP Pro sp/3
3CX 9 Demo Version
 
Re: preparing a Linksys 942 for external extension

jsadan said:
I enabled STUN, STUN server is currently empty.

You can use the 3CX STUN server or any of a number available on the net (if you do a search), but don't leave it blank.

Make sure that you have set a good (hard to guess) password, this should also be followed on all extensions, not just the remote ones.
 
Re: preparing a Linksys 942 for external extension

Ive heard I could use demostun.3cx.com for the STUN server portion. Would this work?
 
Re: preparing a Linksys 942 for external extension

As far as I know, the two 3Cx STUN servers are stun.3cx.com and stun2.3cx.com.
 
Re: preparing a Linksys 942 for external extension

Still to no avail. When restarting my SPA942 phone the lights will blink 14-17 times before going solid orange.
Here are some other settings just to see if I went wrong somewhere

Internet Connection Type:

Connection Type: DHCP

Static IP Settings

Static IP: (blank) | NetMask: (blank)
Gateway: (blank)
-----------------------------------------------------------------------------------------------
Proxy and Registration:

Proxy: (External NAT) | Use Outbound Proxy: yes
Outbound Proxy: (External NAT) | Use OB Proxy In Dialog: yes
Register: yes | Make Call Without Reg: no
Register Expires: 300 | Ans Call Without Reg: no
Use DNS SRV: yes | DNS SRV Auto Prefix: no
Proxy Fallback Intvl: 3600 | Proxy Redundancy Method: Normal
------------------------------------------------------------------------------------------------
NAT Support Parameters

Handle VIA received: no | Handle VIA rport: no
Insert VIA received: no | Insert VIA rport: no
Substitute VIA Addr: no | Send Resp To Src Port: no
STUN Enable: yes | STUN Test Enable: no
STUN Server: stun.3cx.com | EXT IP: (blank)
EXT RTP Port Min: (blank) | NAT Keep Alive Intvl: no
-----------------------------------------------------------------------------------------------------------
NAT Settings

NAT Mapping Enable: no | NAT Keep Alive Enable: no
NAT Keep Alive Msg: $NOTIFY | NAT Keep Alive Dest: $PROXY
------------------------------------------------------------------------------------------------------------
SIP Settings

SIP Transport: UDP | SIP Port: 5060
SIP 100REL Enable: no | EXT SIP Port: (blank)
Auth Resync-Reboot: yes | SIP Proxy-Require: (blank)
SIP Remote-Party-ID: no | Referor Bye Delay: 4
Refer-To Target Contact: no | Referee Bye Delay: 0
SIP Debug Option: none | Refer Target Bye Delay: 0
Sticky 183: no | Auth INVITE: no
-------------------------------------------------------------------------------------------------------
Subscriber Information

Display Name: John Doe | User ID: 13
Password: **************** | Use Auth ID: yes
Auth ID: 13
Mini Certificate: (blank)
SRTP Private Key: (blank)
-------------------------------------------------------------------------------------------------------
Dial Plan

Dial Plan:[x*].
Enable IP Dialing: yes
 
Re: preparing a Linksys 942 for external extension

Bump, still have the issue
 
Re: preparing a Linksys 942 for external extension

Does the 3CX log show a registration attempt by the set?
 
Re: preparing a Linksys 942 for external extension

HUZZAH! The phone is registered and can make calls! Now the issue relies in the fact The phone doesnt have any audio. Nor can it receive calls. Any ideas?
 
Re: preparing a Linksys 942 for external extension

It is either a problem with the STUN settings (it's not working properly) or ports are being blocked/misdirected (for some reason) by the router/firewall at the remote end. Is there only one set at that location? What does the registration, of the set, look like in the 3CX log, can you post it?
 
Re: preparing a Linksys 942 for external extension

Outbound call from Ext. 13 (External Extension)

Code:
[color=#FF0000]09:28:16.328  [MS105000] C:10.1: No RTP packets were received:remoteAddr=99.145.242.***:24014,extAddr=0.0.0.0:0,localAddr=192.168.10.***:7052
09:28:16.078  [CM503008]: Call(10): Call is terminated[/color]
09:28:13.234  [CM505003]: Provider:[lax.teliax.com] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [TELIAX GEAR v4.1.0x] PBX contact: [sip:(username)@192.168.10.***:5060]
09:28:13.234  [CM503002]: Call(10): Alerting sip:(username)@voip-co4.teliax.com:5060
09:28:08.296  [CM503025]: Call(10): Calling VoIPline:(cell phone)@([email protected])@[Dev:sip:(username)@voip-co4.teliax.com:5060]
09:28:08.265  [CM503004]: Call(10): Route 2: VoIPline:(cell phone)@([email protected])@[Dev:sip:(username)@voip-co4.teliax.com:5060]
09:28:08.265  [CM503004]: Call(10): Route 1: VoIPline:(cell phone)@([email protected])@[Dev:sip:(username)@voip-co4.teliax.com:5060]
09:28:08.265  [CM503010]: Making route(s) to <sip:(cell phone)@99.14.10.***:5060>
09:28:08.250  [CM505001]: Ext.13: Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA942-5.1.15(a)] PBX contact: [sip:[email protected].***:5060]
09:28:08.250  [CM503001]: Call(10): Incoming call from Ext.13 to <sip:(cell phone)@99.14.10.***:5060>

External call to the extension. (All I get is a busy tone)

Code:
09:31:21.828  [CM503008]: Call(11): Call is terminated
09:31:17.593  Currently active calls - 2: [9,11]
09:31:03.359  [CM503025]: Call(11): Calling Ext:Ext.13@[Dev:sip:[email protected].***:23972]
09:31:03.328  [CM503004]: Call(11): Route 1: Ext:Ext.13@[Dev:sip:[email protected].***:23972]
09:31:03.312  [CM503010]: Making route(s) to <sip:[email protected]:5060>
09:31:03.312  [CM505003]: Provider:[lax.teliax.com] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [TELIAX GEAR v4.1.0x] PBX contact: [sip:(username)@192.168.10.***:5060]
09:30:45.593  Currently active calls - 2: [9,11]
09:30:44.937  [MS211000] C:11.1: 63.211.239.153:14342 is delivering DTMF using RTP payload (RFC2833). In-Band DTMF tone detection is disabled for this call segment.
09:30:38.625  [CM503007]: Call(11): Device joined: sip:[email protected]:40600;rinstance=f2992e52a7ad5c65
09:30:38.609  [CM503007]: Call(11): Device joined: sip:(username)@voip-co4.teliax.com:5060
09:30:38.593  [CM505001]: Ext.80: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CX IVR;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX IVR] PBX contact: [sip:[email protected]:5060]
09:30:38.593  [CM503002]: Call(11): Alerting sip:[email protected]:40600;rinstance=f2992e52a7ad5c65
09:30:38.437  [CM503025]: Call(11): Calling Ext:Ext.80@[Dev:sip:[email protected]:40600;rinstance=f2992e52a7ad5c65]
09:30:38.421  [CM503004]: Call(11): Route 1: Ext:Ext.80@[Dev:sip:[email protected]:40600;rinstance=f2992e52a7ad5c65]
09:30:38.421  [CM503010]: Making route(s) to <sip:[email protected].***:5060>
09:30:38.406  [CM505003]: Provider:[lax.teliax.com] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [TELIAX GEAR v4.1.0x] PBX contact: [sip:(username)@192.168.10.***:5060]
09:30:38.406  [CM503001]: Call(11): Incoming call from (cell phone)@([email protected]) to <sip:[email protected].***:5060>
09:30:38.390  [CM503012]: Inbound out-of-office hours rule (Company number) for 10001 forwards to DN:80

RTP Parameters on the Linksys phone

SIT1 RSC: | SIT2 RSC:
SIT3 RSC: | SIT4 RSC:
Try Backup RSC: | Retry Reg RSC:

RTP Parameters
RTP Port Min: | RTP Port Max:
RTP Packet Size: 0.020 | Max RTP ICMP Err: 0
RTCP Tx Interval: 0 | No UDP Checksum: no
Symmetric RTP: no | Stats In BYE: no

NAT Support Parameters

Handle VIA received: no | Handle VIA rport: yes
Insert VIA received: no | Insert VIA rport: yes
Substitute VIA Addr: no | Send Resp To Src Port: no
STUN Enable: yes | STUN Test Enable: no
STUN Server: stun.3cx.com | EXT IP: (blank)
EXT RTP Port Min: (blank) | NAT Keep Alive Intvl: 15
 
Re: preparing a Linksys 942 for external extension

You should have STUN test enable set to YES.

Linksys show that the default settings for Handle VIA rport and Insert VIA rport is NO, but you might want to try changing these settings if after turning on the STUN test it still fails.

jsadan said:
09:31:03.328 [CM503004]: Call(11): Route 1: Ext:Ext.13@[Dev:sip:[email protected].***:23972]

3CX seems to know that there is an external IP involved, not sure about that port number.

jsadan said:
09:28:08.250 [CM505001]: Ext.13: Device info: Device Identified: [Man: Linksys;Mod: SPA Series;Rev: General] Capabilities:[reinvite, no-replaces, able-no-sdp, recvonly] UserAgent: [Linksys/SPA942-5.1.15(a)] PBX contact: [sip:13@192.168.10.***:5060]

You've hidden the last part of the private address so I'm not sure what IP this is.
 
Re: preparing a Linksys 942 for external extension

leejor said:
You should have STUN test enable set to YES.

Done and registers still.

leejor said:
Linksys show that the default settings for Handle VIA rport and Insert VIA rport is NO, but you might want to try changing these settings if after turning on the STUN test it still fails.

Registration fails when both are set to NO. With Handle VIA rport: NO and Insert VIA rport: YES it will register.

the answer to the private IP address is 202
 
Re: preparing a Linksys 942 for external extension

jsadan said:
the answer to the private IP address is 202

Yes, but is the complete private IP one from the local (3CX end) or the private IP that the set has at the remote end? What does the registration log look like? Does it show the set registering with the remote public IP and the port (usually 5060) of the set?
 
Re: preparing a Linksys 942 for external extension

Here is the log when it registers.

The .100 network is for our computers. the .10 is for our phones. Looks like its registering over the same network.

Code:
08:23:52.364  [CM504001]: Ext.13: new contact is registered. Contact(s): [sip:[email protected]:5060/13,sip:[email protected]:64402/13]
 
Re: preparing a Linksys 942 for external extension

See, that's not going to work. The set is registering using it's private IP at the remote end. When STUN is set up properly on the set it will know, and register, using the public IP at that location and it's port number (5060). 3CX has no way of knowing where the set resides on the internet. You are going to have to change the STUN settings, or make sure that the set can reach the STUN server, and that registration includes the public IP.
 
Re: preparing a Linksys 942 for external extension

Has a chance to look at the setting I have in a Linksys ATA that I use remotely on an almost daily basis. The first six parameters in the NAT Support Parameters, I have set to YES. (as well as the STUN test set to YES) It's been that way for as long as I've owned the unit as it is never used on my home LAN.
 
Re: preparing a Linksys 942 for external extension

I set all the NAT settings to yes and it registers correctly now.

The new issue is the RTP packets are not being sent.

13:06:33.140 [MS105000] C:4.1: No RTP packets were received:remoteAddr=99.145.242.5:9002,extAddr=0.0.0.0:0,localAddr=192.168.10.202:7012

RTP parameters setup on the phone

RTP Parameters

RTP Port Min: 9000 RTP Port Max: 9003
RTP Packet Size: 0.020 Max RTP ICMP Err: 0
RTCP Tx Interval: 0 No UDP Checksum: no
Symmetric RTP: no Stats In BYE: no
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,018
Messages
590,316
Members
164,964
Latest member
Tomski