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
port=5060
disallow=all
allow=alaw
allow=ulaw
allow=gsm
nat=yes
dtmfmode=rfc2833
canreinvite=no
canreinvite=no
context=default
tos=0x18
dbname=asterisk
dbhost=localhost
dbuser=asterisk
dbpass=password
tos=0x18
dbname=asterisk
dbhost=localhost
dbuser=asterisk
dbpass=password
extensions.conf
[general]
static=yes
writeprotect=no
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp
[local]
exten => _X.,1,Dial(SIP/${EXTEN},20,t)
exten => _X.,2,Hangup
exten => _X.,2,Hangup
[default]
include => demo
include => local
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:[EMAIL PROTECTED]>; 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!
Do You Yahoo!?
注册世界一流品质的雅虎免费电邮
_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users