[asterisk-users] strange asterisk behaviour on XEN
Hi all, Now a days we are planning to run two asterisk boxes on XEN with DNS Failover. But even using the default configuration asterisk shuts itself down at least 5 times in a day with an exit status of 139 (i think it should be 139-128=11 there may be a coding mistake). Thus what do you prefer to do? How can i examine the core dump file? OS : RHEL 5.4 XEN kernel (2.6.18-164.11.1.el5xen) asterisk core package : asterisk16-core-1.6.0.21-1_centos5 -- Emre Kurnaz ITU/BIDB Sistem Destek Grubu RHCE : 805009174841679 Yarı Zamanlı Öğrenci Koordinatörü kurn...@itu.edu.tr 0212 285 3930 ITU Linux Academy http://ila.itu.edu.tr -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] sip realtime md5secret
OK. thanks for the replies. I missed the point about expiration, i will focus on this point. On Wed, Feb 03, 2010 at 08:58:00AM +0200, Mindaugas Kezys wrote: Just remember, that after reload you will lose all registrations. Regards, Mindaugas Kezys http://www.kolmisoft.com VoIP Billing and Routing Solutions -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Carlos Chavez Sent: 2010 m. vasario 2 d. 22:56 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] sip realtime md5secret On Tue, 2010-02-02 at 21:20 +0200, Emre Kurnaz wrote: Hi all, Does asterisk cache realtime sip md5secret values? I create a user over a web site and set a password as asd and I can login with that password. After a while I change my password and set it as 123. Although the password is set as 123 in the mysql database (I double checked), i can not login using the password 123, but with asd. So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? Any help would be appreciated. If you have rtcachefriends=yes set in your sip.conf file then you either have to wait until the peer expires or you have to reload sip so the peer is re read from the database. -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez Prats Director de Tecnología +52-55-91169161 ext 2001 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Emre Kurnaz ITU/BIDB Sistem Destek Grubu RHCE : 805009174841679 Yarı Zamanlı Öğrenci Koordinatörü kurn...@itu.edu.tr 0212 285 3930 ITU Linux Academy http://ila.itu.edu.tr -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] sip realtime md5secret
Hi all, Does asterisk cache realtime sip md5secret values? I create a user over a web site and set a password as asd and I can login with that password. After a while I change my password and set it as 123. Although the password is set as 123 in the mysql database (I double checked), i can not login using the password 123, but with asd. So, am i missing a point? or is this how asterisk works? and Should I reload asterisk after adding a peer in the database? Any help would be appreciated. -- Emre Kurnaz ITU/BIDB Sistem Destek Grubu RHCE : 805009174841679 Yarı Zamanlı Öğrenci Koordinatörü kurn...@itu.edu.tr 0212 285 3930 ITU Linux Academy http://ila.itu.edu.tr -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] sip realtime question
Hi everybody, First of all i am sorry my English :) i want to configure my asterisk server as a sip server that stores sip users in the mysql database connecting directly over odbc driver. My odbc configuration works as below [r...@ao042 asterisk]# isql -v asterisk +---+ | Connected!| | | | sql-statement | | help [tablename] | | quit | | | +---+ and i did refer to the site http://www.voip-info.org/wiki/view/Asterisk+RealTime+Sip . my res_odbc file as; [r...@ao042 asterisk]# cat res_odbc.conf [asterisk] enabled = yes dsn = asterisk username = asterisk password = *** pre-connect = yes [r...@ao042 asterisk]# grep -Ev '^;|^$' extconfig.conf [settings] sipusers = odbc,asterisk,sip_buddies sippeers = odbc,asterisk,sip_buddies and i created the asterisk database with sip_buddies table. Here is my problem: In asterisk console when i run the following command i get the answer, ao042*CLI realtime load sipusers name 100 Column Name Column Value id 1 name 100 host dynamic nat no type friend cancallforward yes canreinvite yes secret Deneme01 disallow all allow g729 allow ilbc allow gsm allow ulaw allow alaw port 5060 regseconds 0 lastms 0 username 100 but the following commands returns nothing ao042*CLI sip show users Username Secret Accountcode Def.Context ACL NAT ao042*CLI sip show peers Name/username HostDyn Nat ACL Port Status Realtime 0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline] besides it does not query anything. So what am i missing? Is there anything that i should mentioned in the sip.conf file? by the way i am using RHEL 5.4 with 2.6.18-164.el5 kernel - asterisk16-1.6.0.17-1_centos5 rpm Any help would be appreciated... -- Emre Kurnaz ITU/BIDB | Istanbul Technical University / Information Technologies Office Sistem Destek Grubu| System Support Team RHCE : 805009174841679 Yarı Zamanlı Öğrenci Koordinatörü | Part-Time Student Manager kurn...@itu.edu.tr +90 0212 285 3930 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users