login | register
Thu 20 of Nov, 2008 [09:11 UTC]

voip-info.org

xten settings HKBN 2b

Created by: chandave,Last modification on Fri 23 of Mar, 2007 [17:28 UTC] by echamberlain

Sample X-Ten X-Lite config for Hong Kong BroadBand "2b" service


Assumptions:
  • Account created starting October 2005 (if your account is before October 2005 or is NOT a "2b" account, then you want to look xten settings HKBN
  • Softphone password: abcdef9876
  • Phone number: 35129898

Main Menu > System Settings > SIP Proxy > [Default]
 Enabled: Yes
 Display Name: 35129898
 Username: 35129898
 Authorization User: 35129898
 Password: abcdef9876
 Domain/Realm: s2hkbntel.net
 SIP Proxy: 203.80.89.135 (Verify that this is the right Proxy for your account)
 Out Bound Proxy: 203.80.89.135 (Verify that this is the right Proxy for your account)
 Use Outbound Proxy: Default
 Send Internal IP: Never
 Register: Default

Main Menu > Advanced System Settings > DTMF Settings
 DTMF Force Send In Band: Yes

Main Menu > Advanced System Settings > RTP Settings
 Obey Reverse UDP Mapping Rules: Yes
 Send RTCP Messages: No

Main Menu > Advanced System Settings > Codec Order
 Use Remote Preferred Codec as Local Preferred Codec: Yes

Main Menu > Advanced System Settings > Codec Settings > g711a
 Enabled: Yes
 Samples Per Frame: 160
 DTMF Samples Per Frame: 160

Main Menu > Advanced System Settings > SIP Settings
 Use SIP rport: Yes
 Obey Reverse UDP Rules: Yes


Network Address Translation Situation

If you are behind a Firewall/NAT router, you have two options:
  1. Portforwarding
  2. STUN

Portforwarding

The following ports might need to be portforwarded from your Firewall/NAT router to host running X-Lite:
  • UDP port found at Main Menu > System Settings > Network > Listen SIP Port
  • The UDP port range specified from Main Menu > System Settings > Network > Listen RTP Port until Main Menu > System Settings > Network > Listen RTP Port + 6

STUN Support

By default, X-Lite has STUN enabled.

Registering with the SIP Proxy

If you are not successful REGISTERing, then you might need to reset your "2b" account. Check back on the Hong Kong Broadband page for the procedure.

I just found out that some "2b" subscribers have been moved to another SIP Proxy server. To see whether your account was moved to the other SIP Proxy, open up the Diagnostics window by right-mouse clicking on the X-Lite phone and selecting "Diagnostic Log". A new window should appear to display all the SIP messages between your X-Lite and HKBN. Watch for the following in the logfile:

RECEIVE <<203.80.89.135:5060
SIP/2.0 301 Moved Permanently
t: <sip:359zzzzz@s2hkbntel.net>;tag=922074415
f: <sip:359zzzzz@s2hkbntel.net>;tag=ec3f4cef5aa1376bo1
i: 46ccadff-b8c4c99b@192.168.1.102
CSeq: 136 REGISTER
v: SIP/2.0/UDP 169.129.0.3:5061;rport;branch=z9hG4bK-75923633
m: <sip:s2hkbntel.net:5060;maddr=203.80.89.139>
k: com.nortelnetworks.firewall,p-3rdpartycontrol,nosec
l: 0

If you see the "301 Moved Permanently" SIP response, then that means HKBN has moved your account to another SIP Proxy besides s21.hkbntel.net. The new SIP Proxy you should use is listed in the "m:" line. The IP address after the "maddr=" is the new SIP Proxy. The IP address 203.80.89.139 corresponds to the hostname: s22.hkbntel.net. You can use this SIP Proxy for your Main Menu > System Settings > SIP Proxy > [Default] > SIP Proxy and Out Bound Proxy value.

Additionally, if you are still having problems, you might want to save the contents of the "Diagnostics" window and submit the logs to the Voxilla VoIP Forum or the VOIP Forum of BroadBandReports.com.


Sipura Documentation | xten | Hong Kong Broadband | STUN

Comments

Comments Filter
222

333HKBN 2B Alternative TeleHK.net

by telehk, Tuesday 20 of May, 2008 [16:38:06 UTC]
If you are sick or tired of HKBN 2B then TeleHK is an alternative for you.
From only $99 HKD / $16.7 USD per month with 1 channel for unlimited incoming and outgoing calls + 1 Free HK DID 36xx-xxxx.
H323 / SIP supported with a wide ranges of codec from G711, G729, G723 etc.

And best of all we fully support asterisk and have a support team 24/7 for any support request.

For more info please visit telehk.net