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,
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.
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?...ttings+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.
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
This post has been edited 2 time(s), it was last edited by mco on 14.07.2009 at 10:35.