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)
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.
RE: hong kong broadband
Just enter the SIP server numerically.
Best regards,
Pascal
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
RE: hong kong broadband
OK, I added the line. Try if it works!
Hi Pascal,
It works great! Thanks a lot for your help!
Cheers,
Arthur
Can you shgare the settings that worked for you?
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
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
RE: hong kong broadband
sip.conf can be edited under the "Source" tab.
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
RE: hong kong broadband
Yes, it can be done with a second PRO account.
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