Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm unable to register a SIP client on my Asterisk server. What changes do I need to make to my Asterisk server configuration to fix this?

Here are my configuration files for Asterisk.

sip.conf

udpbindaddr=0.0.0.0:5060
realm=doubango.org
transport=udp,ws,wss

http.conf

enabled=yes
bindaddr=0.0.0.0
bindport=8088

rtp.conf :

stunaddr=stun.l.google.com:19302

users.conf :

[6000]
type=peer
username=6000
host=dynamic
secret=6000
context=default
hasiax = no
hassip = yes
encryption = yes
avpf = yes
icesupport = yes
videosupport=no
directmedia=no

[6002]
type=peer
username=6002
host=dynamic
secret=6002
context=default
hasiax = no
hassip = yes
; enable ice if supported by your ua (e.g. xlite)
icesupport = yes

extensions.conf

exten => 100,1,Dial(SIP/6000)
exten => 101,1,Dial(SIP/6002)
share|improve this question
    
Try check log files of Asterisk, there will be some complaints... I have peers in the sip.conf file and in every peer section I have lines type=friend, transport=udp and nat=yes –  Jan Marek Jan 11 '13 at 9:58
    
@JanMarek type=peer, nat=yes but transport=udp is not ther.. should i add it to users.conf? –  Surashri Jan 11 '13 at 10:18
    
transport=udp you have in the sip.conf already, it is OK. What you have in the log files? –  Jan Marek Jan 15 '13 at 12:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.