Archive›2004›April

April 2004

38 pastes
  • Anonymous

    129·text·666 B·2004-04-30 16:04 UTC
    [macro-priority-call]
    ;$ARG1 = name
    exten => s,1,Macro(LookupCIDName-sql)
    exten => s,2,Answer
    exten => s,3,Wait(1)
    exten => s,4,Playback(gsm7/thank-you-for-calling)
    exten => s,5,Playback(generic
  • Anonymous

    127·text·726 B·2004-04-28 05:21 UTC
    exten => _5XXX,1,Macro(dial-phone,vaw2,m)
    
    [macro-dial-phone]
    ;ARG1 = system context
    ;ARG2 = dial options
    
    exten => s,1,DBGet(chan=exten/${MACRO_EXTEN})
    exten => s,2,GoTo(s+valid,1)
    exten => s
  • Anonymous

    126·text·681 B·2004-04-28 05:17 UTC
    [macro-dial-phone]
    ;ARG1 = system context
    ;ARG2 = dial options
    
    exten => s,1,DBGet(chan=exten/${MACRO_EXTEN})
    exten => s,2,GoTo(s+valid,1)
    exten => s,102,GoTo(s+invalid,1)
    
    exten => s+valid,1,
  • sam

    125·text·2.6 KB·2004-04-28 00:25 UTC
    tatic void apply_options(struct ast_vm_user *vmu, char *options)
    {
     /* Destructively Parse options and apply */
     char *stringp = ast_strdupa(options);
     char *s;
     char
  • twisted revised

    122·text·2.7 KB·2004-04-28 00:12 UTC
    tatic void apply_options(struct ast_vm_user *vmu, char *options)
    {
     /* Destructively Parse options and apply */
     char *stringp = ast_strdupa(options);
     char *s;
     char
  • sbingner

    120·text·2.0 KB·2004-04-27 23:38 UTC
    tatic void apply_options(struct ast_vm_user *vmu, char *options)
    {
     /* Destructively Parse options and apply */
     char *stringp = ast_strdupa(options);
     char *s;
     char
  • Twisted

    119·text·2.1 KB·2004-04-27 23:34 UTC
    tatic void apply_options(struct ast_vm_user *vmu, char *options)
    {
     /* Destructively Parse options and apply */
     char *stringp = ast_strdupa(options);
     char *s;
     char
  • Anonymous

    117·text·2.0 KB·2004-04-26 04:20 UTC
    I did say that was for people running asterisk and/or ser and added e164.org to the enum search list, which both those applications support...
     
    What gives someone authority in any case? Why should
  • Anonymous

    106·text·424 B·2004-04-22 08:11 UTC
    <robl^> MS originating technology (i.e. ODBC)is needlessly compex and has no place on Linux. *waits to be slapped by bkw_*
    <zoa> bkw is sleeping
    * brc007 messages bkw the quote
    <robl^> NO!!
    <brc0
  • Anonymous

    104·text·212 B·2004-04-22 08:05 UTC
    <robl^> MS originating technology (i.e. ODBC)is needlessly compex and has no place on Linux. *waits to be slapped by bkw_*
    <zoa> bkw is sleeping
    * brc007 messages bkw the quote
    <robl^> NO!!
    <brc0
  • Anonymous

    103·text·433 B·2004-04-21 04:09 UTC
    while(1) {
     int maxfd = 0;
     FD_ZERO(&fds);
     tmp = skinnylist_head;
     while(tmp) {
     FD_SET(tmp->fd, &fds);
     if(tmp->fd > maxfd)
     maxfd = tmp->fd;
     tmp = tmp->next;
     }
     res
  • Anonymous

    102·text·415 B·2004-04-21 04:06 UTC
    while(1) {
     int maxfd = 0;
     FD_ZERO(&fds);
     tmp = skinnylist_head;
     while(tmp) {
     FD_SET(tmp->fd, &fds);
     if(tmp->fd > maxfd)
     maxfd = tmp->fd;
     tmp = tmp->next;
     }
     res
  • Anonymous

    101·text·65 B·2004-04-20 22:16 UTC
    http://ftp.azc.uam.mx/mirrors/gnu/pub/savannah/files/pxe-toolkit/
  • jsp

    100·text·672 B·2004-04-20 21:12 UTC
    <%@ page import="java.io.PrintWriter"%>
    <%
    boolean logonForm = true;
    %>
    <%@ include file="/common/IncludeTop.jsp" %>
    
    <p>This administration website requires you to login. Please provide your
    u
  • txtcheck

    98·text·320 B·2004-04-18 11:25 UTC
    char *pos_comma = strrchr(s, ',');
    tmp->txtcheck = 0;
    if(pos_comma) {
     *pos_comma = '\0';
     ++pos_comma;
     if(*pos_comma == '1' || *pos_comma == 'Y' || *pos_comma == 'y' || *pos_comma == 't' ||
  • slePP

    97·text·3.4 KB·2004-04-18 02:37 UTC
    CREATE TABLE users (
     id serial unique,
     username varchar(32) not null unique,
     password varchar(256) not null default 'x',
     name
  • slePP

    96·text·1.5 KB·2004-04-18 02:11 UTC
    CREATE TABLE users (
     id serial unique,
     username varchar(32) not null unique,
     password varchar(256) not null default 'x',
     name
  • Anonymous

    94·ini·617 B·2004-04-16 20:50 UTC
    [trunkinbound]
     
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1)
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten => 8003,1,Dial
  • Ryan Thrash

    93·ini·593 B·2004-04-15 06:04 UTC
    [trunkinbound]
     
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1)
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten => 8003,1,Dial
  • Ryan Thrash

    92·ini·642 B·2004-04-15 05:23 UTC
    -- Executing Dial("Zap/1-1", "local/200@vertex") in new stack
     -- Executing Answer("Local/200@vertex-05db,2", "") in new stack
     -- Called 200@vertex
     -- Accepting call from '2145211340
  • Ryan Thrash

    91·ini·941 B·2004-04-15 05:02 UTC
    -- Executing Dial("Zap/1-1", "local/200@vertex") in new stack
     -- Accepting call from '2145211340' to '7070' on channel 1, span 1
     -- Executing Macro("Local/200@vertex-71ad,2", "extVertex|
  • Ryan Thrash

    90·ini·509 B·2004-04-15 05:00 UTC
    [trunkinbound]
    
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1) 
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten =
  • Anonymous

    89·ini·1.0 KB·2004-04-15 04:55 UTC
    == Spawn extension (local, 107, 1) exited non-zero on 'Zap/1-1'
     -- Hungup 'Zap/1-1'
     -- Executing Dial("Zap/1-1", "local/200@vertex") in new stack
     -- Executing Macro("Local/200@vertex-
  • Ryan Thrash

    88·ini·865 B·2004-04-15 04:40 UTC
    [trunkinbound]
    
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1)
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten => 8003,1,Dial(
  • slePP

    87·ini·865 B·2004-04-15 04:39 UTC
    [trunkinbound]
    
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1)
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten => 8003,1,Dial(
  • Ryan Thrash

    86·ini·865 B·2004-04-15 04:38 UTC
    [trunkinbound]
    
    exten => 8000,1,Goto(aa-vertex|s|1)
    exten => 8001,1,Goto(voice-mail|887|1)
    exten => 8002,1,Goto(aa-vertex-2|s|1) ; for testing AA during biz hrs
    exten => 8003,1,Dial(
  • Zaptel interface problem

    85·ini·394 B·2004-04-11 10:30 UTC
    total 0
    lr-xr-xr-x 1 root root 7 Dec 31 1969 1 -> span1/1
    crw-rw-rw- 1 root root 196, 254 Dec 31 1969 channel
    crw-rw-rw- 1 root root 196, 0 Dec 31 1969
  • callmerge.sh

    81·text·1.1 KB·2004-04-07 06:46 UTC
    #!/bin/sh
    
    # The MD is set manually for some safety and sanity, also available via $1
    MD=/var/spool/asterisk/monitor
    FN="$2"
    INEXT="$3"
    EXT=wav
    OUTEXT=gsm
    TG=/web/voip.netmonks.ca/calls
    
    # F
  • Anonymous

    80·text·4.6 KB·2004-04-07 06:16 UTC
    --- res_monitor.c 2004-03-04 16:03:31.000000000 -0600
    +++ res_monitor.c 2004-04-07 01:08:21.000000000 -0500
    @@ -31,7 +31,9 @@
     " file_format -- optional, if not set, defaul
  • chanmonitor custom diff

    79·text·4.6 KB·2004-04-07 06:10 UTC
    --- res_monitor.c 2004-03-04 16:03:31.000000000 -0600
    +++ res_monitor.c 2004-04-07 01:08:21.000000000 -0500
    @@ -31,7 +31,9 @@
     " file_format -- optional, if not set, defaul
  • slePP

    78·text·131 B·2004-04-07 05:10 UTC
    exten => h,1,ResetCDR(w)
    exten => h,2,Macro(record-cleanup)
    exten => h,3,Hangup
    
    exten => _91NXXNXXXXXX,1,Macro(record-setup)
  • slePP

    77·text·83 B·2004-04-07 05:10 UTC
    exten => h,1,ResetCDR(w)
    exten => h,2,Macro(record-cleanup)
    exten => h,3,Hangup
  • slePP

    76·text·366 B·2004-04-07 05:09 UTC
    ;;; Record calls
    [macro-record-setup]
    exten => s,1,SetVar(CALLFILENAME=${TIMESTAMP}-${CALLERIDNUM}-${MACRO_EXTEN})
    exten => s,2,Monitor(wav,${CALLFILENAME})
    
    ;;; Cleanup recorded files
    [macro-re
  • slePP

    75·text·702 B·2004-04-07 05:08 UTC
    #!/bin/sh
    
    EXT=wav
    MD=/var/spool/asterisk/monitor
    TG=/web/voip.netmonks.ca/calls
    FN=$1
    
    SOX=/usr/bin/sox
    
    /usr/bin/sox ${MD}/${FN}-in.${EXT} -c 2 ${MD}/${FN}-in-pan.${EXT} pan -1.0
    /usr/bin/
  • slePP

    74·text·1.2 KB·2004-04-03 12:53 UTC
    /* Scale it into inches */
     int ppiPrinterX, ppiPrinterY;
     GetPPIPrinter(&ppiPrinterX, &ppiPrinterY);
    
     int pageWidth, pageHeight;
     GetPageSizePixels(&pageWidth, &pageHeight);
    
     in
  • Anonymous

    71·text·618 B·2004-04-01 03:01 UTC
    [root@Asterisk phpagi-1.5]# locate festival
    /var/cache/yum/base/headers/festival-devel-0-1.4.2-12.i386.hdr
    /var/cache/yum/base/headers/festival-0-1.4.2-12.i386.hdr
    /etc/asterisk/festival.conf
    /u
  • km

    70·text·1.0 KB·2004-04-01 01:05 UTC
    x --- Video Adapters x x 
     x x < > Mediavision Pro Movie Studio Video For Linux x x 
     x x < > Quickcam BW Video For Linux
  • Carp

    69·ini·1.7 KB·2004-04-01 00:42 UTC
    [root@Asterisk asterisk-addons]# make
    ./mkdep -fPIC -I../asterisk -I/usr/local/include/mysql `ls *.c`
    cdr_addon_mysql.c:33:19: mysql.h: No such file or directory
    cdr_addon_mysql.c:34:20: errmsg.
Page 1 of 1