I am able to successfully regsiter a phone when I try from the same system where Asterisk is installed but when the request is coming from external system(It doesn’t have static IP, it is dynamic), it fails giving the following error.
[Jun 10 06:08:14] NOTICE: chan_sip.c:27829 handle_request_register: Registration from '"praveena"<sip:6001@XX.XX.XX.XX:5060>' failed for 'YY.YY.YY.YY:12345' - Wrong password
Scheduling destruction of SIP dialog 'MTZkNzhmNjA4MWY3MDM4ZDhjY2ZiM2Q4NjMyYzRlMjU' in 32000 ms (Method: REGISTER)
Really destroying SIP dialog 'MTZkNzhmNjA4MWY3MDM4ZDhjY2ZiM2Q4NjMyYzRlMjU' Method: REGISTER
exten => 6001,1,Dial(SIP/praveena,20)
Could anyone tell me if I have to do configuration changes?
I searched in this forum, I didn’t see solution in any post.