search for: ast_channel_alloc

Displaying 17 results from an estimated 17 matches for "ast_channel_alloc".

2003 Aug 14
1
ast_channel_alloc() losing pvt struct
I don't understand the reasoning here so could somebody please help me out? chan_h323 is causing a segmentation fault when trying to connect a call. I tracked the problem back to chan_h323.c in the oh323_new() function. the code is: tmp = ast_channel_alloc( 1 ); After this point, tmp->pvt is not allocated (null pointer). HOWEVER, in the ast_channel_alloc() function right before the statement: return tmp; tmp->pvt IS allocated. Now between the statements: return tmp; and tmp = ... the pvt structure is getting lost and the tmp->pvt point is...
2006 Apr 04
1
Too many open files
...k in the foreground, "asterisk -vvvvgc" with more 100 SIP calls concurrently. we have set ulimit to the highest value. still has this problem. Is this the problem keeping asterisk in the foreground or this is a bug in SVN 1.2 16771? Apr 5 08:48:36 WARNING[14887]: channel.c:562 ast_channel_alloc: Channel allocation failed: Can't create alert pipe! Apr 5 00:48:36 WARNING[14887]: chan_local.c:523 local_new: Unable to allocate channel structure(s) Apr 5 08:48:36 NOTICE[14887]: app_dial.c:1042 dial_exec_full: Unable to create channel of type 'LOCAL' (cause 0 - Unknown) Apr 5...
2003 Jun 23
2
Sip too many open files?
...es Jun 23 15:51:07 WARNING[7176]: File chan_sip.c, Line 1308 (sip_alloc): Unable to create RTP session: Too many open files Jun 23 15:51:07 WARNING[7176]: File chan_sip.c, Line 4655 (sip_send_mwi_to_peer): Unable to build sip pvt data for MWI Jun 23 15:51:07 WARNING[7176]: File channel.c, Line 293 (ast_channel_alloc): Alert pipe creation failed! Jun 23 15:51:07 WARNING[7176]: File chan_sip.c, Line 1152 (sip_new): Unable to allocate channel structure Jun 23 15:51:07 NOTICE[7176]: File chan_sip.c, Line 4414 (handle_request): Unable to create/find channel Jun 23 15:53:14 WARNING[7176]: File channel.c, Line 293 (a...
2004 Jan 13
0
Memory allocation issues
Hi, I'm developing a new channel driver for a device. I'm calling ast_channel_alloc from one of my functions, and as I step through the execution of ast_channel_alloc with gdb, everything is being initialized properly. However, once ast_channel_alloc returns, the pvt field of the data structure created is reset to null. I've verified that the structure created in the functio...
2006 Dec 20
0
asterisk run on vxworks for hardware pbx
...PBX run asterisk on vxworks,Because the vxworks not support perl. Now I want to add a callback function to my pbx. now it can store Caller and Called party numbers in queue when Called party is busy Then I malloc a new ast_channel to call.It is should use ast_get_channel_by_exten_locked() or ast_channel_alloc() , my program as follow,But it isn't work, anyone know how to do this. { struct ast_channel *callbk; char *callbk_real_context; char xferto[256],dialstr[265]; char *cid_num; char *cid_name; int outstate=0;...
2006 Apr 19
2
Unable to allocate socket: Too may open files
...stablish 400 concurrent calls. In the CLI I see the following messages: Apr 19 14:20:51 WARNING[4045]: rtp.c:911 ast_rtcp_new: Unable to allocate socket: Too many open files Apr 19 14:20:51 WARNING[4045]: acl.c:306 ast_ouraddrfor: Cannot create socket Apr 19 14:20:51 WARNING[4045]: channel.c:562 ast_channel_alloc: Channel allocation failed: Can't create alert pipe! Apr 19 14:20:51 WARNING[4045]: chan_sip.c:2748 sip_new: Unable to allocate SIP channel structure Apr 19 14:20:51 NOTICE[4045]: app_dial.c:1029 dial_exec_full: Unable to create channel of type 'SIP' (cause 0 - Unknown) Apr 19 14:20:51...
2007 Jun 15
0
Error: Unable to allocate RTCP socket: Too many open files
...-- Called 0824537518 at 10.65.138.102 -- Call on SIP/10.65.138.105-0a67bbd8 left from hold -- SIP/10.65.138.105-0a67bbd8 answered SIP/sipCloverCSC-b7eba8a8 -- Packet2Packet bridging SIP/sipClCSC-b7eba8a8 and SIP/10.65.138.105-0a67bbd8 [Jun 15 09:21:48] WARNING[5306]: channel.c:768 ast_channel_alloc: Channel allocation failed: Can't create alert pipe! [Jun 15 09:21:48] WARNING[5306]: chan_sip.c:3783 sip_new: Unable to allocate AST channel structure for SIP channel [Jun 15 09:21:48] NOTICE[5306]: chan_sip.c:13662 handle_request_invite: Unable to create/find SIP channel for this INVITE...
2007 Jan 25
1
Failing to compile chan_capi
...finition has no type or storage class chan_capi.c:147: warning: type defaults to `int' in declaration of `LOCAL_USER_DECL' chan_capi.c:147: warning: data definition has no type or storage class chan_capi.c: In function `capi_new': chan_capi.c:2069: error: too few arguments to function `ast_channel_alloc' chan_capi.c:2083: error: structure has no member named `type' chan_capi.c: In function `pbx_capicommand_exec': chan_capi.c:4613: warning: implicit declaration of function `LOCAL_USER_ADD' chan_capi.c:4628: warning: implicit declaration of function `LOCAL_USER_REMOVE' chan_capi...
2007 Jun 20
0
Error: Unable to allocate RTCP socket: Too manyopen files
...t 10.65.138.102 > -- Call on SIP/10.65.138.105-0a67bbd8 left from hold > -- SIP/10.65.138.105-0a67bbd8 answered SIP/sipCloverCSC-b7eba8a8 > -- Packet2Packet bridging SIP/sipClCSC-b7eba8a8 and > SIP/10.65.138.105-0a67bbd8 > [Jun 15 09:21:48] WARNING[5306]: channel.c:768 ast_channel_alloc: Channel > allocation > failed: Can't create alert pipe! > [Jun 15 09:21:48] WARNING[5306]: chan_sip.c:3783 sip_new: Unable to allocate > AST channel > structure for SIP channel > [Jun 15 09:21:48] NOTICE[5306]: chan_sip.c:13662 handle_request_invite: > Unable to > cr...
2004 Apr 28
0
Are Zaptel and Asterisk out of sync in CVS?
Both updated from CVS within the same script but:- channel.c:44:2: #error "You need newer zaptel! Please cvs update zaptel" channel.c: In function `ast_channel_alloc': channel.c:298: error: `ZT_TIMERPONG' undeclared (first use in this function) channel.c:298: error: (Each undeclared identifier is reported only once channel.c:298: error: for each function it appears in.) channel.c: In function `ast_queue_frame': channel.c:407: error: `ZT_TIMERPING...
2006 Nov 12
0
asterisk-addons 1.4 SVN fails to compile
...323c/src -I./ooh323c/src/h323 - DGNU -D_GNU_SOURCE -D_REENTRANT -D_COMPACT -c src/chan_h323.c -MT chan_h323.lo -MD -MP -MF .deps/chan_h323.TPlo -fPIC -DPIC -o .libs/ chan_h323.lo src/chan_h323.c: In function 'ooh323_new': src/chan_h323.c:250: error: too few arguments to function 'ast_channel_alloc'
2008 Jul 31
0
Asterisk CDR "**Unknow**" as channel name
Hi all I have been looking at my asterisk CDR in the mysql database and some channel names are set to "**Unknown**" string. When I look at the code, everybody when calling ast_channel_alloc set a channel format like SIP/%s or Zap/%s Only app_voicemail.c doesn't when sending emails and I don't use voicemail. Why app_voicemail needs to allocate a channel to send emails ? And in which case I have "**Unknown**" in the CDR Thanks
2007 Sep 20
4
Asterisk 1.2.24 simultaneous call limits.
Hi everyone, I am running into wall today with simultaneous call limits. I have two Asterisk machines (fast 3GHz C2D with 2GB of ram). I tried to create a lot of sip calls from one machine to the other by issuing AMI Originate commands to one machine. The machine that makes calls plays a message (demo-intruct) upon the other machine answer. The machine receives the calls just waits for 40 seconds
2005 Jun 21
5
app_changrab.c released on pbxfreeware.org
I released app_changrab.c lastnight really late... It includes a way to hijack a channel and originate calls from the CLI. /b --- Keep Your Friends Close, But Your Enemies Even Closer...
2005 Jan 07
2
Asterisk 1.0.2 - Unable to allocate channel structure
...is an excerpt of my messages log as well as the output of ps and top, if it helps. Has anyone seen this sort of error before? Any ideas what could be causing it? The changelog for 1.0.3 doesn't list anything related to memory or resource allocation.. Anyone know if there was any work done to ast_channel_alloc() or related functions? Thanks. - Eric Jan 7 07:24:50 WARNING[163850]: Unable to allocate channel structure Jan 7 07:24:50 WARNING[163850]: Unable to start PBX on channel 0/11, span 1 Jan 7 07:24:50 WARNING[163850]: Call specified, but not found? Jan 7 07:24:50 WARNING[163850]: Hangup on b...
2005 Jun 20
2
app_valetparking.c
Since www.bkw.org seems not to exist anymore (getting response from some hosting provider), does anyone happend to have a copy of app_valetparking.c from www.bkw.org - the one that should work with * stable 1.0.X ? If so please contact me. One that can be downloaded from www.loligo.com dosn't compile with 1.0.X, and SuperValletParking (www.asterlink.com/svp/) seems to be for * HEAD
2005 Jun 20
1
Re: app_valetparking.c for * STABLE (1.0.X)
Nope ! This is the one that tries to include PRE 1.0.X header file <parking.h>. It cannot compile on * 1.0.X (I have tried also to include <features.h> instead of <parking.h> (as far as I know features.h is successor to parking.h), but still without results). Thanks anyway. Nenad > > Try this > >> Since www.bkw.org seems not to exist anymore (getting