Astman segfaults on me, anyone have the same experience? Doing a bt whilst running it in gdb gives: (gdb) bt #0 0x400a340a in chunk_alloc () from /lib/libc.so.6 #1 0x400a2f6e in malloc () from /lib/libc.so.6 #2 0x4011359a in gethostbyname () from /lib/libc.so.6 #3 0x0804a35c in login (hostname=0xbffff821 "localhost") at astman.c:571 #4 0x0804a734 in main (argc=2, argv=0xbffff694) at astman.c:641 #5 0x4004d4f2 in __libc_start_main () from /lib/libc.so.6 Not being a gdb wizard... does this mean, as I think it does, that it crashes in a system call????? Thanks for any help on this, Michiel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030310/56ffff3e/attachment.htm
Please try a make clean; make all so everything gets rebuilt. There was a change to the mansession struct last night and anything that uses manager.h will need to get rebuilt. James On Mon, 10 Mar 2003, Michiel Betel wrote:> Astman segfaults on me, anyone have the same experience? > > Doing a bt whilst running it in gdb gives: > > (gdb) bt > #0 0x400a340a in chunk_alloc () from /lib/libc.so.6 > #1 0x400a2f6e in malloc () from /lib/libc.so.6 > #2 0x4011359a in gethostbyname () from /lib/libc.so.6 > #3 0x0804a35c in login (hostname=0xbffff821 "localhost") at astman.c:571 > #4 0x0804a734 in main (argc=2, argv=0xbffff694) at astman.c:641 > #5 0x4004d4f2 in __libc_start_main () from /lib/libc.so.6 > > Not being a gdb wizard... does this mean, as I think it does, that it > crashes in a system call????? > > Thanks for any help on this, > > Michiel >
Hi, How can we use Environnement variable in extension.conf ? regards rattana
Hello, I'm testing the E400P with PRI signaling and work fine, but I want to test it with R2 signaling. My question are: 1. Can the E400P work with R2 signaling ? 2. If the firs question is yes, HOWTO? Thank in advance Peter
you put some definitions in [globals] section in extensions.conf later you just use SetGlobalVar variable to change the values of global variables and then you just take the value of a variable like this: ${variable} or like this ${${variable}} or like this ${extension_${EXTEN}} etc. a trivial example: [global] start=1 [local] exten => s,1,SetGlobalVar,start=1 exten => s,2,Dial,Zap/${start} is the same as exten => s,1,Dial,Zap/1 regards Martin On Mon, 10 Mar 2003, Rattana BIV wrote:> Hi, > > How can we use Environnement variable in extension.conf ? > > > regards > rattana > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Did that, and did it again after reading your reply, All of * works (as far as I can test) but alas..astman is still segfaulting. Any other directions where I can look to solve? -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of James Golovich Sent: maandag 10 maart 2003 17:28 To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] astman segfault Please try a make clean; make all so everything gets rebuilt. There was a change to the mansession struct last night and anything that uses manager.h will need to get rebuilt. James On Mon, 10 Mar 2003, Michiel Betel wrote:> Astman segfaults on me, anyone have the same experience? > > Doing a bt whilst running it in gdb gives: > > (gdb) bt > #0 0x400a340a in chunk_alloc () from /lib/libc.so.6 > #1 0x400a2f6e in malloc () from /lib/libc.so.6 > #2 0x4011359a in gethostbyname () from /lib/libc.so.6 > #3 0x0804a35c in login (hostname=0xbffff821 "localhost") at > astman.c:571 #4 0x0804a734 in main (argc=2, argv=0xbffff694) at > astman.c:641 #5 0x4004d4f2 in __libc_start_main () from > /lib/libc.so.6 > > Not being a gdb wizard... does this mean, as I think it does, that it > crashes in a system call????? > > Thanks for any help on this, > > Michiel >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
On Tuesday 11 March 2003 08:44, Steven Critchfield wrote:> On Tue, 2003-03-11 at 02:29, Rattana BIV wrote: > > I try to detect if an user who use Netmeeting is connected > > or not. I think in order to do that, Netmeeting-user open a > > web page (in PHP) et press the button Connect or Disconnect > > and the PHP set the Environnement variable which will be > > proceeded in extension.conf > > > > So i need Environnement Variable, I have test it with : > > s,1,SetVar,toto=$VARENV where VARENV is my environnement > > variable but toto not take the value. perhaps should I try > > toto=${VARENV} or toto=${$VARENV}. > > You can not pass information that way. The environment > variable for your web server is JUST for your web server. It > will not be available to asterisk. Your webserver should not > run as root, nor as the same user as asterisk. Your best bet > would be to get netmeeting to register to asterisk when it is > opened, then asterisk will know the user is available.You might be able to write an interface in PHP to the manager port and pass commands (perhaps to set database entries?). -Tilghman