my asterisk version is 1.6.1.18
Here is the sip.conf
[general]
context=default
allowoverlap=no
bindport=5060
udpbindaddr=0.0.0.0
srvlookup=yes
;trustrpid=yes
;sendrpid=yes
register => username:password@66.220.x.x:5060/rakib123
[rakib123]
type=friend
host=66.220.x.x
;defaultip=66.220.x.x
username=username
authuser=username
fromuser=username
fromdomain=216.x.x.x
secret=password
context=office
dtmfmode=rfc2833
callerid=username
disallow=all
allow=gsm
allow=ulaw
allow=g729
insecure=port,invite
canreinvite=no
permit=66.220.x.x/24
;qualify=no
;nat=no
outboundproxy=66.220.x.x
transport=udp,tcp
asterisk debug message says registration timeout
sip debug output
Retransmitting #3 (no NAT) to 66.220.x.x:5060:
REGISTER sip:66.220.x.xSIP/2.0
Via: SIP/2.0/UDP 216.127.x.x:5060;branch=z9hG4bK3cbdcaa1;rport
Max-Forwards: 70
From: sip:username@66.220.x.x;tag=as68a2c882
[u]To: sip:username@66.220.x.x[/b][/u]
Call-ID: 328e85ac169938ba232160bc07f8522b@204.13.x.x
CSeq: 106 REGISTER
User-Agent: Asterisk PBX 1.6.1.18
Expires: 120
Contact: sip:rakib123@216.127.x.x
Content-Length: 0
my sip provider address is 66.220.x.x and my ip addr is 216.127.x.x
asterisk always telling same debug message and i think problem is asterisk is getting always register no invite message
and underlined From and To IP is same!!!
please help me !!!
thanks in advance.
my asterisk version is 1.6.1.18
Here is the sip.conf
[general]
context=default
allowoverlap=no
bindport=5060
udpbindaddr=0.0.0.0
srvlookup=yes
;trustrpid=yes
;sendrpid=yes
register => username:password@66.220.x.x:5060/rakib123
[rakib123]
type=friend
host=66.220.x.x
;defaultip=66.220.x.x
username=username
authuser=username
fromuser=username
fromdomain=216.x.x.x
secret=password
context=office
dtmfmode=rfc2833
callerid=username
disallow=all
allow=gsm
allow=ulaw
allow=g729
insecure=port,invite
canreinvite=no
permit=66.220.x.x/24
;qualify=no
;nat=no
outboundproxy=66.220.x.x
transport=udp,tcp
asterisk debug message says registration timeout
sip debug output
Retransmitting #3 (no NAT) to 66.220.x.x:5060:
REGISTER sip:66.220.x.xSIP/2.0
Via: SIP/2.0/UDP 216.127.x.x:5060;branch=z9hG4bK3cbdcaa1;rport
Max-Forwards: 70
From: sip:username@66.220.x.x;tag=as68a2c882
To: sip:username@66.220.x.x[/b]
Call-ID: 328e85ac169938ba232160bc07f8522b@204.13.x.x
CSeq: 106 REGISTER
User-Agent: Asterisk PBX 1.6.1.18
Expires: 120
Contact: sip:rakib123@216.127.x.x
Content-Length: 0
my sip provider address is 66.220.x.x and my ip addr is 216.127.x.x
asterisk always telling same debug message and i think problem is from and to IP is same which should not be.
please help me !!!
thanks in advance.
Probably a firewall or NAT problem. Either the provider isn’t getting your packets, or their packets aren’t getting back to Asterisk.
thanks for the reply…
I already figure it out.its for bindadd.I set bindadd=0.0.0.0 then i change it to asterisk host Ip address.
then it get registered.