hi,everybody,
My asterisk is behind the nat,Now it can register the server 61.235.146.1,but can’t dial with it,please help me!
the asterisk send INVITE to the server,when the server reply me 407,my asterisk send INVITE with the auth messages,but the server reply 503,why?
help me ,thanks!
hi
after checking your sip 7 extension.conf
i think there is problem in sip.conf
as [61.235.146.1] is ur peer not friend.becuse call routed out side or at ur service provide with the help of this peers so modify type=peer
also make qualify=yes
one more thunk context in this peer & genreal in sip.conf wud be same.means if ur reciveing all incoming call in context call ‘incoming’ then in both u have to mention context=incoming , so ur this peer context=ur incoming context not sip.
sip.conf [genreal]
add this
bindport=5060
bindaddr=ur asterisk server ip
maxexpiry=3600
rtcachefriends=yes
nat=yes
also type=friend for ur asterisk extensions or users it is diffrent than ur peers meaning .ok
try this it will help you
Also register user & passwrd shud be correct & correct format check that alos.