PBXes (http://www1.pbxes.com/forum/index.php)
- English (http://www1.pbxes.com/forum/board.php?boardid=16)
-- Providers (http://www1.pbxes.com/forum/board.php?boardid=22)
--- RE: hong kong broadband (http://www1.pbxes.com/forum/threadid.php?threadid=74)


Posted by voipscout on 17.02.2006 at 03:09:

hong kong broadband

Hi,

Can you please kindly add:
203.80.89.135 s2hkbntel.net s21.hkbntel.net

to the /etc/hosts file of the machine that's running asterisk,
it's a HK sip provider and they have messy dns, so it's good to have this line, so people will be able to use hk did numbers,

thanks.


Posted by i-p-tel on 17.02.2006 at 17:46:

RE: hong kong broadband

Just enter the SIP server numerically.

Best regards,
Pascal


Posted by ayking on 13.06.2006 at 16:56:

Hi Pascal,

My bad for opening a new thread, so I will continue on here.

Using the server numerically would not work as they check for domain/realm. Using "xxxxxxxx@203.80.89.135" would yield a "403 Registrations to foreigndomains are forbidden" error.

Please kindly check the server log to confirm that this is happening on pbxes.com as well. Thanks a lot.

Arthur


Posted by i-p-tel on 13.06.2006 at 17:40:

RE: hong kong broadband

OK, I added the line. Try if it works!


Posted by ayking on 13.06.2006 at 18:10:

Hi Pascal,

It works great! Thanks a lot for your help!

Cheers,
Arthur


Posted by wegjapan on 30.08.2006 at 06:49:

Can you shgare the settings that worked for you?


Posted by ice on 19.09.2008 at 19:14:

RE: hong kong broadband

Here is another that this would be useful for

200.94.26.150 asbw.alestravoip.com

Please let me know if it can be added


Posted by mconvey on 26.06.2009 at 15:28:

RE: hong kong broadband

Hi,
I have two HKBN trunks and the above change works well for one of the trunks, but the other trunk is using a different proxy server (s22.hkbntel.net) with the same domain (s2hkbntel.net) and so when I try to use s2hkbntel.net in the Trunk configuration I get a 301: Jun 26 19:59:19 VERBOSE[6903] logger.c: -- Got SIP response 301 "Moved Permanently". More information on this is at http://www.voip-info.org/wiki/index.php?page=asterisk+settings+HKBN+2b.

On my own asterisk box, I have both trunks working without changing /etc/hosts by using the outboundproxy field - e.g.:

type=friend
canreinvite=no
insecure=very
secret=12345678
username=12345678hk
fromuser= 12345678hk
outboundproxy=s22.hkbntel.net ; or s21.hkbntel.net for the other proxy server
fromdomain=s2hkbntel.net
host=s2hkbntel.net
dtmfmode=inband ; Choices are inband, rfc2833, or info
nat=yes
context=voicemailline
qualify=yes ; keep nat connection alive.

Is there any chance of it being possible to configure outboundproxy through the PBXes UI? It might be worth doing a manual test first in case the behaviour of this setting is different in your version of asterisk.

Regards

Mike


Posted by i-p-tel on 26.06.2009 at 18:18:

RE: hong kong broadband

sip.conf can be edited under the "Source" tab.


Posted by mconvey on 26.06.2009 at 18:49:

RE: hong kong broadband

Based on your suggestion I was able to set this up be using the PRO free trial and making the following changes:

outboundproxy=s22.hkbntel.net
register=3594xxxxhk:xxxx@Trunkname/Trunkname

where Trunkname is the name of the trunk as defined in the PBXes.org UI.

however these changes were lost when I had to make a change to the trunk through the UI.

Is a longterm resolution to this feasible other than switching to a PRO account?

Just a thought, but can I set up a new, single extension PRO account to handle this trunk and then have that account interface with my Premium account - e.g. when a call comes in on the HKBN trunk to the Pro account it forwards it to the Premium account and when I need to make a call on the HKBN trunk the Premium account sends the call to the Pro account?

Thanks

Mike


Posted by i-p-tel on 14.07.2009 at 16:42:

RE: hong kong broadband

Yes, it can be done with a second PRO account.


Posted by i-p-tel on 15.10.2010 at 20:53:

Lampe RE: hong kong broadband

Proxy and domain can be configured separately within the web interface now.

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English translation by Satelk