using asterisk (source) 2.1 in a SOHO enviroment on a smalll 100mb/s network - it works fine, i’ve just moved house and im still able to connect back to my parents house (where the server is) and talk fine.
however when attempting to register a trunk i wrong password and a 481 message - the password is correct - how i dont know what is wrong.
-----Sip.conf-----
[general]
context=default ; Default context for incoming calls
;allowguest=no ; Allow or reject guest calls (default is yes, this can also be set to 'osp'
; if asterisk was compiled with OSP support.
;realm=mydomain.tld ; Realm for digest authentication
; defaults to "asterisk"
; Realms MUST be globally unique according to RFC 3261
; Set this to your host name or domain name
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Note: Asterisk only uses the first host
; in SRV records
; Disabling DNS SRV lookups disables the
; ability to place SIP calls based on domain
; names to some other SIP users on the Internet
Register=>boarderstu:******@sip.voipuser.org/200
;register=65000:notmypassword@inoc-dba.pch.net
;user[:secret[]]@host[:port][/contact]
[200]
type=friend
context=from-sip-internal
secret=badger11
host=dynamic
mailbox=200@default
nat=yes
regexten=200
callerid=200<200>
qualify=yes
username=200
[201]
type=friend
context=from-sip-internal
secret=badger11
host=dynamic
mailbox=201@default
nat=yes
regexten=201
callerid=201<201>
qualify=yes
nat=yes
username=201
[202]
type=friend
context=from-sip-internal
secret=badger11
host=dynamic
mailbox=202@default
nat=yes
regexten=202
callerid=202<202>
qualify=yes
nat=yes
username=202
[voipstu-out]
type=peer
secret=*******
username=boarderstu
host=sip.voipuser.org
fromuser=boarderstu
fromdomain=sip.voipuser.org
nat=yes
context=voipstu-out ; this section will be defined in extensions.conf
and the most recent log is:
Aug 26 17:17:25 NOTICE[13134] cdr.c: CDR simple logging enabled.
Aug 26 17:17:25 WARNING[13134] res_musiconhold.c: Unable to open pseudo channel for timing... Sound may be choppy.
Aug 26 17:17:25 ERROR[13134] res_config_mysql.c: MySQL RealTime: Failed to connect database server on . Check debug for more info.
Aug 26 17:17:25 WARNING[13134] res_config_mysql.c: MySQL RealTime: Couldn't establish connection. Check debug.
Aug 26 17:17:25 NOTICE[13134] config.c: Registered Config Engine mysql
Aug 26 17:17:31 WARNING[13134] chan_iax2.c: Unable to open IAX timing interface: No such file or directory
Aug 26 17:17:31 WARNING[13167] chan_sip.c: Forbidden - wrong password on authentication for REGISTER for 'boarderstu' to 'sip.voipuser.org'
Aug 26 17:17:35 WARNING[13134] cdr_addon_mysql.c: MySQL database sock file not specified. Using default
Aug 26 17:17:35 NOTICE[13134] cdr_addon_mysql.c: MySQL database table not specified. Assuming "cdr"
any ideas?