Sample Sipura config for Pre-October 2005 Hong Kong BroadBand service
The following information has been deprecated. Please look at the “2b” setup for Sipura/Linksys devices
Assumptions:
- Account created before October 2005 (if your account is with HKBN’s “2b” system, then you want to look here
- Acct num used on Website: 699999997
- Softphone password: abcdef9876
- Phone number: 35129898
SIP > RTP Parameters
RTP Packet Size: 0.020
Line 1 > Proxy and Registration
Proxy: mcs1.hkbn.net
Use Outbound Proxy: yes
Outbound Proxy: mcs1.hkbn.net
Use OB Proxy In Dialog: yes
Register Expires: 120
Use DNS SRV: no
Line 1 > Subscriber Information
User ID: 699999997
Password: abcdef9876
Line 1 > Audio Configuration
DTMF Tx Method: InBand
Symmetric RTP: yes (if it’s a SPA-3000)
Network Address Translation Situation
If you are behind a Firewall/NAT router, you have two options:
- Portforwarding
- STUN
Portforwarding
The following ports must be portforwarded from your Firewall/NAT router to your SPA:
- UDP 5060
- The UDP port range specified from SIP > RTP Parameters > RTP Port Min until SIP > RTP Parameters > RTP Port Max
STUN Support
SIP > NAT Support Parameters
Handle VIA received: yes
Handle VIA rport: yes
Insert VIA received: yes
Insert VIA rport: yes
Substitute VIA Addr: yes
Send Resp To Src Port: yes
STUN Enable: yes
STUN Test Enable: yes
STUN Server: any public STUN server
NAT Keep Alive Intvl: 15 (can be increased after you are confident everything is configured properly)
Line 1 > NAT Settings
NAT Mapping Enable: yes
NAT Keep Alive Enable: yes
NAT Keep Alive Msg: $PING
NAT Keep Alive Dest: $PROXY
Dial Plan
Add the following to your dialplan to enable 8-digit and 852-prefixed 8-digit Hong Kong phone numbers. This diaplan should be added before the final right-parenthesis ‘)‘ character.
Line 1 > Dial Plan
Dial Plan: <852:>[23678]xxxxxxxS0|[236789]xxxxxxxS0
Therefore, if your original dialplan looked like this:
Dial Plan: ([2-9]xxxxxx|011xx.|1[2-9]xx[2-9]xxxxxx)
The new HK enabled dialplan would be:
Dial Plan: ([2-9]xxxxxx|011xx.|1[2-9]xx[2-9]xxxxxx|<852:>[236789]xxxxxxxS0|[236789]xxxxxxxS0)
Additionally, if you are still having problems, you might want to enable debugging on the SPA and submit the logs to the Linksys (Sipura) VoIP Support Forum.