All pastes #270468 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-12-07 11:53 UTC
rendered paste body
im having problems registering sip users on my godaddy dedicated server.

zaptel, libpri, asterisk & asterisk addons compilation went well and asterisk seems to start ok but im not able to register sip users

[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=8891                   ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=208.109.119.199        ;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


[100000]
type=friend
username=100000
secret=blah
host=dynamic
dtmfmode=rfc2833               ; Choices are inband, rfc2833, or info
disallow=all
allow=ulaw                     ; since we chose 'inband' for dtmf we must use g.711



godaddy doesnt allows direct access for root user.. i have to ssh with an admin user and then su to root for setup/compilation or setup related stuff. could that be causing it to not allow sip registerations?

please advise.
thanks

UPDATE on the issue
====================

sip.conf
========
register => 100000:blah@208.109.119.199/100000


---
ip-208-109-119-199*CLI> sip show registry
Host                            Username       Refresh State
208.109.119.199:5060            100000             120 Request Sent
Retransmitting #5 (NAT) to 208.109.119.199:5060:
REGISTER sip:208.109.119.199 SIP/2.0
Via: SIP/2.0/UDP 208.109.119.199:8891;branch=z9hG4bK53633535;rport
From: <sip:100000@208.109.119.199>;tag=as661633c5
To: <sip:100000@208.109.119.199>
Call-ID: 08b419274a8149532fd18e5d2093cafe@208.109.119.199
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:100000@208.109.119.199:8891>
Event: registration
Content-Length: 0


---
Retransmitting #6 (NAT) to 208.109.119.199:5060:
REGISTER sip:208.109.119.199 SIP/2.0
Via: SIP/2.0/UDP 208.109.119.199:8891;branch=z9hG4bK53633535;rport
From: <sip:100000@208.109.119.199>;tag=as661633c5
To: <sip:100000@208.109.119.199>
Call-ID: 08b419274a8149532fd18e5d2093cafe@208.109.119.199
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:100000@208.109.119.199:8891>
Event: registration
Content-Length: 0


Still no registration :(