[Asterisk-Users] Failed to authenticate

lie ka kalie2046 at yahoo.com.cn
Sun Apr 24 21:33:59 MST 2005


HI,all!
       I have setted up an Asterisk server on my linux.My sip.conf and extensions.conf configurations like these:
sip.conf
[general]
port=5060
disallow=all
allow=alaw
allow=ulaw
allow=gsm
nat=yes       
dtmfmode=rfc2833
canreinvite=no 
context=default
tos=0x18 
dbname=asterisk
dbhost=localhost
dbuser=asterisk
dbpass=password
 
extensions.conf
[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp
 
[local]
exten => _X.,1,Dial(SIP/${EXTEN},20,t)
exten => _X.,2,Hangup
 
[default]
include => demo
include => local
 
I have also setted callidnum 1000-1010 in mysql database.First,it can dial out and receive a call well.(in internal) then I alter callidnum 1000 to 
10000000000000000000.It can registered successfully and it can receive a call ,but it cannot dial out .There are some words in my asterisk console:"Failed to authenticate user "aaa" <sip:10000000000000000000 at 10.0.0.1>; tag=164262242".So,I tried change callidnum to 1000, it works. I don't know what happen.Can anybody tell me what's the matter ? thanks!
 
in addition,If I don't use sipfriends with mysql, it does well !
 




---------------------------------
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050424/9132c815/attachment.htm


More information about the asterisk-users mailing list