[Asterisk-Users] trunk not registering -newbie

Billy Troper billytroper at yahoo.com
Sun Nov 27 05:26:14 MST 2005


Hello:

My by-the-book asterisk at home/Broadvoice installation
doesn't register in the SIP Registry, IAX2 SIP
Registry, or with SIP peers. 

The Asterisk server is behind a firewall using NAT.
The checkpoint firewall opens up all "IP Telephony"
ports and I manually opened up ports 4000-20000. There
do not seem to be any issues related to the NAT,
firewall or network. I tried re-directing port 5060 to
the asterisk server and adding this to the
sip_additional.conf:
port = 5060 
externIP = 62.219.212.2 
localnet = 192.168.10.0
localmask 255.255.255.0 
nat=1

I got the same results when I set the trunk up as
IAX2.


This is what show up in the Asterisk info:
Sip Registry 
Name/username    Host            Dyn Nat ACL Mask     
       Port     Status    
Verbosity is at least 3
    -- Remote UNIX connection disconnected
Sip Peers 
Host                            Username       Refresh
State               
    -- Remote UNIX connection

IAX2 Sip Registry 
Host                  Username    Perceived           
 Refresh  State
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected

IAX2 Peers 
Name/Username    Host                 Mask            
Port      Status    
bv/3109439023    147.135.20.128  (S)  255.255.255.255 
4569      Unmonitored
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected

 

These are the errors that appear in the log file:

Nov 26 06:22:54 DEBUG[2018]: Unable to find key
'IAX2/BV' in family 'cfb'
Nov 26 06:22:54 DEBUG[2018]: Manager received command
'Command'
Nov 26 06:22:54 DEBUG[2018]: Unable to find key
'IAX2/SIP.BROADVOICE.COM' in family 'cfb'
Nov 26 06:22:54 DEBUG[2018]: Manager received command
'Command'
Nov 26 06:22:54 DEBUG[2018]: Manager received command
'Command'
Nov 26 06:22:54 DEBUG[2018]: Unable to find key
'SIP/1000' in family 'cfb'
Nov 26 06:22:54 DEBUG[2018]: Manager received command
'Command'
Nov 26 06:22:54 DEBUG[2018]: Unable to find key
'IAX2/BV' in family 'dnd'


Also:

Nov 25 11:51:10 WARNING[2019]: mybvpassword is not a
valid port number at line 1


Also:
Nov 26 06:22:54 WARNING[2018]: Unknown directive
'permit=192.168.1.0/255.255.255.0' at line 18 of
manager_custom.conf
>>even though this is rem'ed out in
manager_custom.conf
#permit=192.168.1.0/255.255.255.0

I followed the instruction listed at:
http://mundy.org/blog/index.php?p=66

this is my sip_additional.conf:

register=3109439023 at sip.broadvoice.com:mybvpassword:3109439023 at sip.broadvoice.com

[bv]
username=3109439023
user=phone
type=peer
secret=mybvpassword
nat=yes
insecure=very
host=sip.broadvoice.com
fromuser=3109439023
fromdomain=sip.broadvoice.com
dtmfmode=inband
dtmf=inband
canreinvite=no
authname=3109439023

[sip.broadvoice.com]
username=3109439023
user=3109439023
type=user
secret=mybvpassword
nat=yes
insecure=very
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
dtmfmode=rfc2833
dtmf=rfc2833
context=from-pstn

Any help would be appreciated.

Thanks,
Billy Troper




	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the asterisk-users mailing list