[Asterisk-Users] Invalid sip contract

2005-05-18 Thread lie ka

HI, all
 I receive the message from asterisk cli likes below,I don't know what makes it.Can anybody help it.Thanks!!!

May 19 10:14:21 NOTICE[3799]: chan_sip.c:4814 parse_ok_contact: '' isnot a valid SIP contact (missing sip:) trying to use anywayMay 19 10:14:21 WARNING[3799]: chan_sip.c:4847 parse_ok_contact: Invalidhost ''May 19 10:14:21 NOTICE[3799]: chan_sip.c:4814 parse_ok_contact: '' isnot a valid SIP contact (missing sip:) trying to use anywayMay 19 10:14:24 NOTICE[3799]: chan_sip.c:4814 parse_ok_contact: '' isnot a valid SIP contact (missing sip:) trying to use anyway
Best Regards
kalie
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

[Asterisk-Users] Junk at the beginning, Warning, flexibel rate not heavily tested!

2005-05-17 Thread lie ka


Hi,all

I am newer to Asterisk.My Asterisk version is the newest CVS-HEAD.now something appears in the console CLI like below these,I don't know what's happen to my Asterisk Server.Could anybody help me? Thanks

Junk at the beginningWarning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Warning, flexibel rate not heavily tested!Warning, flexibel rate not heavily tested!Warning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Junk at the beginningWarning, flexibel rate not heavily tested!Warning, flexibel rate not heavily tested!Warning, flexibel rate not heavily tested!

Best Regards
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

[Asterisk-Users] Failed to authenticate

2005-04-24 Thread lie ka

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=5060disallow=allallow=alawallow=ulawallow=gsmnat=yes
dtmfmode=rfc2833canreinvite=no
context=defaulttos=0x18dbname=asteriskdbhost=localhostdbuser=asteriskdbpass=password

extensions.conf
[general]static=yeswriteprotect=no
[globals]CONSOLE=Console/dsp

[local]
exten = _X.,1,Dial(SIP/${EXTEN},20,t)exten = _X.,2,Hangup

[default]include = demoinclude = 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 
1000.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!

in addition,If I don't use sipfriends with mysql, it does well !

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

[Asterisk-Users] Failed to authenticate

2005-04-23 Thread lie ka

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=5060disallow=allallow=alawallow=ulawallow=gsmnat=yes
dtmfmode=rfc2833canreinvite=no
context=defaulttos=0x18dbname=asteriskdbhost=localhostdbuser=asteriskdbpass=password

extensions.conf
[general]static=yeswriteprotect=no
[globals]CONSOLE=Console/dsp

[local]
exten = _X.,1,Dial(SIP/${EXTEN},20,t)exten = _X.,2,Hangup

[default]include = demoinclude = 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 
1000.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

[Asterisk-Users] ast_expr.y:243 to_integer:Overflow

2005-04-23 Thread lie ka
hi,all!
 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

[Asterisk-Users] chan_sip.c:7174 handle_request : Failed to authenticate user

2005-04-23 Thread lie ka
Hi,all !
 My asterisk's console appear some words : "chan_sip.c:7174 handle_request : Failed to authenticate user "top" sip:1002:@10.0.0.1 tag=169447308" .
 Can anybody tell me what cause it ? 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

[Asterisk-Users] Asterisk Addons compile errors

2005-04-12 Thread lie ka
HI:
  I have compiled and installed Asterisk 1.0.7 without
any problems.I have also installed mysql and
DBD::mysql successfuly / When I tried to make
asterisk-addons, it
showed me the problem like these:

[EMAIL PROTECTED] asterisk-addons]# make install
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE 
-I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:162:64: macro AST_LIST_REMOVE
requires 4 arguments, but only 3 given
make -C format_mp3 all
make[1]: Entering directory
`/usr/src/asterisk-addons/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o common.o
common.c
gcc -pipe -fPIC -Wall -WstricUntitled 1t-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o dct64_i386.o
dct64_i386.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o decode_ntom.o
decode_ntom.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o layer3.o
layer3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o tabinit.o
tabinit.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o interface.o
interface.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6-c -o format_mp3.o
format_mp3.c
format_mp3.c: In function `load_module':
format_mp3.c:335: warning: passing arg 5 of
`ast_format_register' from incompatible pointer type
gcc -pipe -fPIC -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations  
-D_REENTRANT -D_GNU_SOURCE  -O6  -shared -Xlinker -x
-o format_mp3.so common.o dct64_i386.o decode_ntom.o
layer3.o tabinit.o interface.o format_mp3.o
make[1]: Leaving directory
`/usr/src/asterisk-addons/format_mp3'
cc -fPIC -I../asterisk -D_GNU_SOURCE 
-I/usr/include/mysql -c -o app_saycountpl.o
app_saycountpl.c
cc -shared -Xlinker -x -o app_saycountpl.so
app_saycountpl.o
cc -fPIC -I../asterisk -D_GNU_SOURCE 
-I/usr/include/mysql -c -o cdr_addon_mysql.o
cdr_addon_mysql.c
cdr_addon_mysql.c: In function `my_load_module':
cdr_addon_mysql.c:269: warning: assignment makes
pointer from integer without a cast
cc -shared -Xlinker -x -o cdr_addon_mysql.so
cdr_addon_mysql.o -lmysqlclient -lz  -L/usr/lib/mysql
cc -fPIC -I../asterisk -D_GNU_SOURCE 
-I/usr/include/mysql -c -o app_addon_sql_mysql.o
app_addon_sql_mysql.c
app_addon_sql_mysql.c:162:64: macro AST_LIST_REMOVE
requires 4 arguments, but only 3 given
app_addon_sql_mysql.c: In function `del_identifier':
app_addon_sql_mysql.c:162: `AST_LIST_REMOVE'
undeclared (first use in this function)
app_addon_sql_mysql.c:162: (Each undeclared identifier
is reported only once
app_addon_sql_mysql.c:162: for each function it
appears in.)
make: *** [app_addon_sql_mysql.o] Error 1

I am not a Linux Expert. What can I do for make
addons?
Thank to all, and sorry for my poor english.

_
Do You Yahoo!?

http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/
___
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