HKBN 2B Obi110 or OBi100 settings
RonR:
STUN servers are used to determine one's public IP address. This is needed mostly for RTP, the audio side of things. The STUN server timeout problem in the OBi simply delays the outgoing call for 40 seconds, which can certainly confuse troubleshooting a problem significantly. I've never encountered a case where forwarding of port 3478 was required.
It's not clear why baor was using one to start with. When configuring a new provider, it's best to start out with the simplest, bare minimum, configuration possible, then build from there.
yhfung:
First of all I would like to let people know a little bit of HKBN 2b. Why do we need the service from HKBN 2b? This is because of HKBN 2b can provide the best VoIP service available in Hong Kong. It allows you to have mulitple inbound and outbound calls simultaneously. However the technical service provided by HKBN 2b is for SOFTPHONE ONLY. This is no support given for people who use either ATA or Asterisk.
Nevertheless some experts in the field of VoIP based on the packets from the softphone, they finally came up the solution of how to put HKBN 2b parameters into a Sipura/Linksys ATA box or an Asterisk box. You may find more details on the www.voip-info.org.
Sipura/Linksys ATA
If Sipura/Linksys ATAs are used, the settings for HKBN 2b is as described clearly in the followin link:
http://www.hkepc.com/forum/viewthread.php?tid=1141462&page=218#pid18904520
Asterisk
If Asterisk boxes are used, the settings for HKBN 2b is shown below:
1) Add the following and ip address in the /etc/hosts
203.80.89.135 s2hkbntel.net s21.hkbntel.net
(please note that other numbers or names may be required for other HKBN 2b numbers, #203.80.89.139 s2hkbntel.net s22.hkbntel.net)
2) In /etc/asterisk/sip.conf, we have
[general]
srvlookup=yes
nat=yes
realm=sip.hongkong.com
externhost=sip.hongkong.com
fromdomain=sip.hongkong.com
localnet=192.168.1.0/255.255.255.0 ;change it as per your Asterisk network address
externrefresh = 1
defaultexpirey=120
bindport=5060
qualify=yes
disallow=all
allow=ulaw,alaw,gsm
alwaysauthreject=yes
tos_sip=cs3
tos_audio=ef
tos_video=af41
context=front-desk
pedantic = yes
;to register the HKBN 2b server for inbound calls
register => 33445566hk:password@s2hkbntel.net:5060/33445566
[hkbn2b]
type=peer
username=33445566hk
secret=password
port=5060
host=s2hkbntel.net
fromuser=333445566hk
fromdomain=s2hkbntel.net
canreinvite=no
insecure=port,invite
dtmfmode=auto
context=from-hkbn
3) In /etc/asterisk/extensions.conf, we have
;HKBN 2b HK PSTN Trunk
[trunk_hk_pstn]
exten => _9XX.,1,Dial(SIP/${EXTEN:1}@hkbn2b,,r)
exten => _9XX.,n,Hangup()
[internal]
include => trunk_hk_pstn
.
.
.
.
.
;HKBN 2b dial-in
[from-hkbn]
exten => 33445566,1,Dial(SIP/2001,,r)
exten => 33445566,n,Hangup()
What do we (OBi users) want?
What is the settings in OBi devices such that we are able to use the HKBN 2b?
obi-support2:
boar,
HKBN is using an old Nortel MCS server; and it seems to me that it
does not like the OBi's remote-party-id header.
Please try this work around:
Under your ITSP Profile (A or B), disable the option X_InsertRemotePartyID
(uncheck the box).
This should make your call go further.
Please also try to use a working STUN server.
Thank you.
yhfung:
Thank for obi-supprt2's response.
I have EXACTLY followed boar's instrudctions into my OBi110 box but still failed to register the HKBN 2b server.
Also I uncheced the box as your information, the result is still the same.
I wonder whether these is any missing information iin the first post.
YH
baor:
Quote from: obi-support2 on April 11, 2011, 01:50:54 pm
boar,
HKBN is using an old Nortel MCS server; and it seems to me that it
does not like the OBi's remote-party-id header.
Please try this work around:
Under your ITSP Profile (A or B), disable the option X_InsertRemotePartyID
(uncheck the box).
This should make your call go further.
Please also try to use a working STUN server.
Thank you.
Using your advice.
I think I got it to work. I am still testing it. Thank!
I will post my settings later, so other users would benefit.
Navigation
[0] Message Index
[#] Next page
[*] Previous page