[Asterisk-Users] make asterisk accept Register messages
jonatas.amorim at ig.com.br
jonatas.amorim at ig.com.br
Sun Nov 21 06:39:41 MST 2004
Hi all,
I don't know why but my * is not accepting Register Messages.
Have you seen this kind of problem before??
I need help!
Thank in advance.
####################################################
*CLI> Nov 19 15:42:11 NOTICE[12893]: chan_sip.c:4869 register_verify: Peer
'111' is trying to register, but not configured as host=dynamic
Nov 19 15:42:11 NOTICE[12893]: chan_sip.c:7586 handle_request: Registration
from '111 <sip:111 at 10.1.0.254>' failed for '10.1.0.111'
*CLI>
*CLI> Nov 19 15:42:35 NOTICE[12893]: chan_sip.c:4869 register_verify: Peer
'110' is trying to register, but not configured as host=dynamic
Nov 19 15:42:35 NOTICE[12893]: chan_sip.c:7586 handle_request: Registration
from '110 <sip:110 at 10.1.0.254>' failed for '10.2.0.110'
N 255.255.255.255 5060 Unmonitored
110/110 10.2.0.110 N
SEND TIME: 17729533
SEND >> 10.1.0.254:5060
REGISTER sip:10.1.0.254 SIP/2.0
Via: SIP/2.0/UDP
10.1.0.111:5060;rport;branch=z9hG4bK1E46C36B17664F1BA62A83A419FF9A75
From: 111 <sip:111 at 10.1.0.254>;tag=3904243491
To: 111 <sip:111 at 10.1.0.254>
Contact: "111" <sip:111 at 10.1.0.111:5060>
Call-ID: 22493486CC3B43E98157502206FFD604 at 10.1.0.254
CSeq: 43039 REGISTER
Expires: 1800
Max-Forwards: 70
User-Agent: X-Lite release 1103m
Content-Length: 0
RECEIVE TIME: 17729573
RECEIVE << 10.1.0.254:5060
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP
10.1.0.111:5060;branch=z9hG4bK1E46C36B17664F1BA62A83A419FF9A75
From: 111 <sip:111 at 10.1.0.254>;tag=3904243491
To: 111 <sip:111 at 10.1.0.254>;tag=as69260c6b
Call-ID: 22493486CC3B43E98157502206FFD604 at 10.1.0.254
CSeq: 43039 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:111 at 10.1.0.254>
Content-Length: 0
#################################################
sip.conf
[general]
context=from-sip
port=5060
bindaddr=10.1.0.254
srvlookup=yes
maxexpirey=3600
defaultexpirey=120
disallow=all ; First disallow all codecs
allow=ulaw ; Allow codecs in order of preference
allow=alaw
allow=gsm
allow=g729
allow=ilbc
musicclass=default
nat=no
[110]
type=friend
context=internal
username=110
secret=pad
nat=yes
host=10.2.0.110
defaultip=10.2.0.110
dtmfmode=rfc2833
canreinvite=yes
mailbox=110
amaflags=billing
[111]
type=friend
context=internal
username=111
secret=pad
nat=yes
host=10.1.0.111
defaultip=10.1.0.111
dtmfmode=rfc2833
canreinvite=yes
mailbox=111
amaflags=billing
#########################################################
_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams?
Clique aqui: http://www.igmailseguro.ig.com.br
More information about the asterisk-users
mailing list