Does anyone have HKBN Tel working with Asterisk v1.4 on an external IP?

Comment on asterisk settings HKBN 2b
mazaroo
Joined: Sun 28 of Dec, 2003

Does anyone have HKBN Tel working with Asterisk v1.4 on an external IP?

Posted:Fri 19 of Jan, 2007 (02:41 UTC)
<BR>Help please... 
<BR>
<BR>I've had older versions of Asterisk working with HKBN Tel on a dual-homed virtual machine in the past. However, this no longer works properly: The machine registers OK, calls are setup and phones ring, but audio is now one-way only, eg when I dial out, I can hear the other party, but they cannot hear me... Inbound calls behave similarly.
<BR>
<BR>Current config: 
<BR>
<BR> - Asterisk 1.4 (installed on top of Trixbox 2.0, all config files are manually edited, running on VMWARE server)
<BR> - 2 x NICs (LAN and WAN). Default route is the WAN NIC.
<BR> - firewall set to allow traffic to the WAN interface - nothing shows as blocked 
 <BR>
<BR>--------------------------------- SIP.CONF --------------------------------
<BR>[general]
<BR>port = 5060 
<BR>bindaddr = 0.0.0.0 
<BR>disallow=all
<BR>allow=gsm
<BR>allow=g729
<BR>allow=alaw
<BR>allow=ulaw
<BR>context = inbound_sip
<BR>externip = ???.???.???.??? ; static IP and default route on the PBX)
<BR>localnet=192.168.0.0/255.255.255.0
<BR>realm=????????.com 
<BR>srvlookup=yes		
<BR>maxexpirey=3600	
<BR>tos=reliability
<BR>pedantic=no 
<BR>autocreatepeer=no 
<BR>canreinvite=no 
<BR>nat=no 
<BR>
<BR>[s2hkbntel.net]
<BR>type=peer
<BR>username=????????hk
<BR>secret=????????
<BR>port=5060 
<BR>host=s2hkbntel.net 
<BR>fromuser=????????hk
<BR>fromdomain=s2hkbntel.net
<BR>context=inbound_hkbntel
<BR>canreinvite=no
<BR>insecure=very 
<BR>disallow=all
<BR>allow=alaw 
<BR>dtmfmode=rfc2833 
<BR>nat=no 
<BR>canreinvite=yes 
<BR>; note: Have tried different combinations of NAT and CANREINVITE
<BR>------------------------------------------------------------------------------
<BR>
<BR>Suggestions, please? It "sounds" like a NAT and/or firewall and/or routing issue, but it shouldn't be doing any NATting, and the firewall does not appear to be blocking anything it shouldn't. Default route is the WAN interface.  What else should I be checking?