Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-24 Thread Torbjörn Abrahamsson
Developers and maintainers, any information? // T Torbjörn Abrahamsson wrote: Hello! We are using the 1.2 branch, and upgraded to 1.2.26.1. We ran into some problems when using realtime for peers. We connect the PBX to a sip peer at an ITSP, and when we try to dial the peer we get:

Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-24 Thread Jaswinder Singh
Jan 23 09:02:07 DEBUG[2236] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sippeers WHERE name = '989800-out' AND host = 'dynamic' Quite obvious .. doest sippeers have that row ? On Jan 24, 2008 6:04 PM, Torbjörn Abrahamsson [EMAIL PROTECTED] wrote: Developers and

Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-24 Thread Torbjörn Abrahamsson
Yes, it does... This is not a problem of usage. This mail should probably have been sent to -dev instead, as it clearly is a bug. If you take a look at the link I provided you will see that this is indeed a bug, and it has been fixed in 1.4 branch in 1.4.17. The problem is that 1.2 is in

Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-24 Thread Tilghman Lesher
On Thursday 24 January 2008 08:54:03 Jaswinder Singh wrote: Jan 23 09:02:07 DEBUG[2236] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sippeers WHERE name = '989800-out' AND host = 'dynamic' Quite obvious .. doest sippeers have that row ? Or download 1.2.26.2. -- Tilghman

Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-24 Thread Torbjörn Abrahamsson
Subject: Re: [asterisk-users] Realtime problem host='dynamic' in 1.2.26.1 On Thursday 24 January 2008 08:54:03 Jaswinder Singh wrote: Jan 23 09:02:07 DEBUG[2236] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM sippeers WHERE name = '989800-out' AND host = 'dynamic' Quite

[asterisk-users] Realtime problem host='dynamic' in 1.2.26.1

2008-01-23 Thread Torbjörn Abrahamsson
Hello! We are using the 1.2 branch, and upgraded to 1.2.26.1. We ran into some problems when using realtime for peers. We connect the PBX to a sip peer at an ITSP, and when we try to dial the peer we get: Jan 23 09:02:07 VERBOSE[2236] logger.c: -- Executing Dial(SIP/dev02-08c36f28,

[asterisk-users] realtime problem

2007-04-03 Thread Pezhman Lali
Dear the following is the asterisk's dbase(Mysql5). if the extension =17171000 asterisk run appdata=22, but I prefer to run appdata=333. let me know how I can run the appdata=3 best Mani mysql select * from ext;

RE: [asterisk-users] realtime problem

2007-04-03 Thread Bobby Crawford
Try looking at this link: http://www.voip-info.org/wiki/index.php?page=Asterisk+config+extensions.conf +sorting Bobby ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:

[Asterisk-Users] Realtime problem

2006-06-22 Thread Benjamin Stocker
HiThis works fine in extensions.conf:exten = _0X./100,1,Dial(SIP/[EMAIL PROTECTED])exten = _0X./200,1,Dial(SIP/[EMAIL PROTECTED])This will just use different SIP channels for different Caller ID's. If I write the same to a realtime table, Asterisk always uses sipout-a, no matter what Caller ID is

Re: [Asterisk-Users] Realtime problem

2006-06-22 Thread Michiel van Baak
On 16:57, Thu 22 Jun 06, Benjamin Stocker wrote: Hi This works fine in extensions.conf: exten = _0X./100,1,Dial(SIP/[EMAIL PROTECTED]) exten = _0X./200,1,Dial(SIP/[EMAIL PROTECTED]) This will just use different SIP channels for different Caller ID's. If I write the same to a realtime

Re: [Asterisk-Users] Realtime problem

2006-06-22 Thread Benjamin Stocker
2006/6/22, Michiel van Baak [EMAIL PROTECTED]: On 16:57, Thu 22 Jun 06, Benjamin Stocker wrote: Hi This works fine in extensions.conf: exten = _0X./100,1,Dial(SIP/[EMAIL PROTECTED]) exten = _0X./200,1,Dial(SIP/[EMAIL PROTECTED] ) This will just use different SIP channels for different Caller ID's.

Re: [Asterisk-Users] RealTime problem with sipusers accounts

2005-10-16 Thread Marco Balmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I need to add and remove Sip accounts in realtime. What's the best way at the moment to do that? * Add/remove the user into the sip.conf and execute asterisk -x 'sip reload' ? Thanks for help Marco Kevin P. Fleming schrieb: Marco Balmer wrote:

Re: [Asterisk-Users] RealTime problem with sipusers accounts

2005-10-14 Thread Kevin P. Fleming
Marco Balmer wrote: Any ideas or hints? Yes. Whatever documentation told you that you could share a Realtime SIP peer database between two Asterisk servers was in error (or at least very incomplete). There are ways to do it right now, but it's not trivial and does not provide all the

Re: [Asterisk-Users] RealTime problem with sipusers accounts

2005-10-14 Thread Marco Balmer
Hello On Fri, 14 Oct 2005 01:25:20 -0500, Kevin P. Fleming wrote Marco Balmer wrote: Any ideas or hints? Yes. Whatever documentation told you that you could share a Realtime SIP peer database between two Asterisk servers was in error (or at least very incomplete). Server1 acts as a SIP

Re: [Asterisk-Users] RealTime problem with sipusers accounts

2005-10-14 Thread Kevin P. Fleming
Marco Balmer wrote: Server1 acts as a SIP Client only. Server2 should act as a SIP-Server with the sip_buddies table on the MySQL-Server. But this is not currently implemented. There is a patch in the bug tracker that will help move in this direction, but it's only a start, there are many

[Asterisk-Users] RealTime problem with sipusers accounts

2005-10-13 Thread Marco Balmer
Hello @ all, I hope you can help me. server1: asterisk-cvs HEAD 2005-10-13 server2: asterisk-cvs HEAD 2005-10-13 I've configured RealTime (sipusers) on server2 together with a MySQL database. The account in the database exists. It seems to be configured right. Then I can read realtime infos

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seems to be asterisk

2005-03-22 Thread Jose R. Ortiz Ubarri
Jose R. Ortiz wrote: Greg Boehnlein wrote: On Fri, 18 Mar 2005, Jose R. Ortiz Ubarri wrote: Jose R. Ortiz Ubarri wrote: Hi: I had asterisk with RealTime database working perfectly in a RH 9.0 machine. I used the sip cache so I even had MWI working. The problem is that I decided to

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seems to be asterisk

2005-03-20 Thread Jose R. Ortiz
Greg Boehnlein wrote: On Fri, 18 Mar 2005, Jose R. Ortiz Ubarri wrote: Jose R. Ortiz Ubarri wrote: Hi: I had asterisk with RealTime database working perfectly in a RH 9.0 machine. I used the sip cache so I even had MWI working. The problem is that I decided to move to Fedora Core 3.

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seems to be asterisk

2005-03-19 Thread Greg Boehnlein
On Fri, 18 Mar 2005, Jose R. Ortiz Ubarri wrote: Jose R. Ortiz Ubarri wrote: Hi: I had asterisk with RealTime database working perfectly in a RH 9.0 machine. I used the sip cache so I even had MWI working. The problem is that I decided to move to Fedora Core 3. I installed the

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seems to be asterisk

2005-03-18 Thread Jose R. Ortiz Ubarri
Jose R. Ortiz Ubarri wrote: Hi: I had asterisk with RealTime database working perfectly in a RH 9.0 machine. I used the sip cache so I even had MWI working. The problem is that I decided to move to Fedora Core 3. I installed the lastets cvs version of asterisk and the RealTime addon from

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seemsto be asterisk

2005-03-18 Thread Matthew Boehm
Jose R. Ortiz Ubarri wrote: Debugging the code and as you can see in the backtrace the problem is that it is receiving a Null variable (name) and then making the comparison. Is it an asterisk bug? What asterisk should do if the variable name received is NULL? Our chan_sip.c are still not

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seemsto be asterisk

2005-03-18 Thread Jose R. Ortiz Ubarri
Matthew: I sent more information and more opinions to the Dev and user list. My chan_sip.c file is from /chan_sip.c/1.674/Thu Mar 17 16:11:19 2005// Thanks Matthew for your help! -- JO Matthew Boehm wrote: Jose R. Ortiz Ubarri wrote: Debugging the code and as you can see in the backtrace the

Re: [Asterisk-Users] Realtime Problem = Segmentation faults Seemstobe asterisk

2005-03-18 Thread Matthew Boehm
Jose R. Ortiz Ubarri wrote: Matthew: I sent more information and more opinions to the Dev and user list. My chan_sip.c file is from /chan_sip.c/1.674/Thu Mar 17 16:11:19 2005// Oh poo. I forgot that I had patched my chan_sip with Kevin's RPID patch to test it for him. It seems that

[Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Jose R. Ortiz Ubarri
Hi: I had asterisk with RealTime database working perfectly in a RH 9.0 machine. I used the sip cache so I even had MWI working. The problem is that I decided to move to Fedora Core 3. I installed the lastets cvs version of asterisk and the RealTime addon from asterisk-addons. I at

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Matthew Boehm
Jose R. Ortiz Ubarri wrote: But if I load the module from boot or from the asterisk command load res_config_mysql.so then I get the Segmentation fault again. Where is your backtrace? I don't see a backtrace anywhere. Hi. My phone isn't working but I'm not going to let you see what I did to

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Jose R. Ortiz Ubarri
Hi: A very nice guy asked me for a trace: (I hope this is what I was asked for) from /var/log/messages: Mar 17 14:04:23 NOTICE[24649]: Registered Config Engine mysql Mar 17 14:04:23 WARNING[24649]: Unable to get our IP address, Skinny disabled Mar 17 14:04:57 NOTICE[24666]: Registered

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Matthew Boehm
#1 0xf6eb58c0 in build_peer (name=0x0, v=0x95fa370, realtime=0) at chan_sip.c:9255 #2 0xf6eb67b0 in find_peer (peer=0x0, sin=0x9642fd4, realtime=1) at chan_sip.c:1222 I just updated to newest CVS and visited those line numbers above. 9255 is in build_peer but find_peer is no

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Matthew Boehm
Jose R. Ortiz Ubarri wrote: (gdb) backtrace #0 0x007642b8 in strcasecmp () from /lib/tls/libc.so.6 #1 0xf6eb58c0 in build_peer (name=0x0, v=0x95fa370, realtime=0) at chan_sip.c:9255 #2 0xf6eb67b0 in find_peer (peer=0x0, sin=0x9642fd4, realtime=1) at chan_sip.c:1222 I do not

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Jose R. Ortiz Ubarri
Matthew: The .version file in the asterisk folder reads: CVS-HEAD-03/17/05-15:43:44 pd: I opened chan_sip.c at line 9255 and that line reads: peer = ASTOBJ_CONTAINER_FIND_UNLINK(peerl, name); No strcasecmp there... Thanks, JO Matthew Boehm wrote: Jose R. Ortiz Ubarri wrote: (gdb)

Re: [Asterisk-Users] Realtime Problem = Segmentation faults

2005-03-17 Thread Jose R. Ortiz Ubarri
Matthew: I did the cvs checkout asterisk today. I think I have the latest version: The trace is: (gdb) backtrace #0 0x007642b8 in strcasecmp () from /lib/tls/libc.so.6 #1 0xf6eb58c0 in build_peer (name=0x0, v=0x92a42d0, realtime=0) at chan_sip.c:9255 #2 0xf6eb67b0 in find_peer (peer=0x0,

Re: [Asterisk-Users] Realtime problem

2004-12-16 Thread Brian Wilkins
Clay, Can you post your extconfig.conf and your database schema? If you want to load your static sip configuration into a database, follow these instructions: http://www.voip-info.org/tiki-index.php?page=Asterisk%20RealTime%20Static I haven't loaded a static file into the database using

Re: [Asterisk-Users] Realtime problem

2004-12-15 Thread Matthew Boehm
[EMAIL PROTECTED] To: Clay Reiche [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 5:21 PM Subject: Re: [Asterisk-Users] Realtime problem I'm having exactly the same problem. I have sip.conf rows in the sql table (ast_config), and removed the /etc/asterisk/sip.conf file. Now

Re: [Asterisk-Users] Realtime problem

2004-12-14 Thread Bruce Komito
I'm having exactly the same problem. I have sip.conf rows in the sql table (ast_config), and removed the /etc/asterisk/sip.conf file. Now I have no sip devices. It's as though realtime is not looking for the sip.conf rows in the table. This is my extconfig.conf: [settings] ; Static

[Asterisk-Users] Realtime problem

2004-12-14 Thread Clay Reiche
Im having trouble with the Realtime setup. Ive followed the instructions on voip-info using odbc but I get this message during asterisk boot: Parsing '/etc/asterisk/sip.conf': Not found (No such file or directory) Dec 14 16:11:37 NOTICE[8868]: chan_sip.c:8462 reload_config: Unable to