search for: ast_strdupa

Displaying 7 results from an estimated 7 matches for "ast_strdupa".

2006 Dec 06
1
0002475: [patch] Allow app_directory to work with REALTIME
Hi All, I'm running 1.2.9.1 stable. I'm wondering has this patch been applied to stable release or is it still only in CVS. Will this file patch apply correctly to 1.2.9.1 stable? Which file do I patch? I'm guessing app_directory_realtime_1.6.1.patch <http://bugs.digium.com/file_download.php?file_id=4915&type=bug> and config.h.patch
2010 May 06
2
problem with trustrpid
Hi everyone, I am trying to figure out the behavior of trustrpid Basically its not behaving the way I expected it to or maybe I am missing a configuration option or something else. When a call from a phone is sent to the * box it has the following sip headers: From: "From Phone" <sip:1001 at 10.0.0.29>;tag=4bf4bb4e11e92476. Remote-Party-ID: "Cloutier"
2014 Mar 12
0
module load Crash Asterisk 11.5.1 app_confbridge.c
...quot;); ast_verb(3, "\n MyConfbrigeCount requires an argument (conference number\n "); return -1; } if (!ao2_container_count(conference_bridges)) { ast_verb(3, "No active conferences."); ast_log(LOG_NOTICE, "No active conferences."); return -1; } if (!(localdata = ast_strdupa(data))){ return -1; } AST_STANDARD_APP_ARGS(args, localdata); ast_copy_string(tmp.name, args.confno, sizeof(tmp.name)); conf = ao2_find(conference_bridges, &tmp, OBJ_POINTER); if (conf) { ao2_lock(conf); count = conf->markedusers; ao2_unlock(conf); }else{ count = 0; } if (!ast_strlen...
2014 Mar 13
1
Any help Address 0xfffffffe out of bounds in app_confbridge.casterisk-11.5.1 using confbridge.conf
...==Inside load_module sdata [%s] at [%p] len[%d]\n ",sdata,&sdata,strlen(sdata)); ast_log(LOG_NOTICE ,"\n ==Inside load_module sdata [%s] at [%p] and len[%d]\n ",sdata,&sdata,strlen(sdata)); char *data= malloc(sizeof(char) * 256); data=ast_strdupa(sdata); ast_verb(3 ,"\n ==Inside load_module data is [%s] at [%p] len[%d]\n ",data,&data,strlen(data)); ast_log(LOG_NOTICE ,"\n ==Inside load_module data is [%s] at [%p] and len[%d]\n ",data,&data,strlen(data)); ast_verb(3 ,&quo...
2014 Mar 13
0
Any Help ? user defined application .module load Crash Asterisk 11.5.1 app_confbridge.c
...quot;); ast_verb(3, "\n MyConfbrigeCount requires an argument (conference number\n "); return -1; } if (!ao2_container_count(conference_bridges)) { ast_verb(3, "No active conferences."); ast_log(LOG_NOTICE, "No active conferences."); return -1; } if (!(localdata = ast_strdupa(data))){ return -1; } AST_STANDARD_APP_ARGS(args, localdata); ast_copy_string(tmp.name, args.confno, sizeof(tmp.name)); conf = ao2_find(conference_bridges, &tmp, OBJ_POINTER); if (conf) { ao2_lock(conf); count = conf->markedusers; ao2_unlock(conf); }else{ count = 0; } if (!ast_strlen...
2005 Jan 22
0
chan_capi patch: app_capiFax modifications
...{ int res=0; struct localuser *u; char *vdata, *fname, *stationID; struct ast_capi_pvt *i = chan->pvt->pvt; if (!data) { /* no data implies no filename or anything is present */ ast_log(LOG_WARNING, "capiAnswerFax requires an argument (filename)\n"); return -1; } vdata = ast_strdupa(data); LOCAL_USER_ADD(u); fname = vdata; if (fname) { stationID = strchr(vdata, '|'); if (stationID) { *stationID='\0'; stationID++; } else stationID = "00000000"; } else stationID = "00000000"; if (strcasecmp("CAPI", chan->type)...
2009 Oct 05
3
Questions about app_jack.c
Hello, My configuration is : Card 0 - kernel dummy sound card Card 1 - my soundcard I have a jackd running in background. My jackd launch command is : jackd --port-max 16 --realtime --no-mlock -d alsa --playback hw:1,0 --capture hw:1,0 --rate 8000 --period 1024 --shorts --inchannels 2 --outchannels 2 --dither triangular & 1 ) I open asterisk with chan_alsa.so connected (with asoundrc) to