Package: asterisk-app-fax
Version: 0.0.20060218-1
Severity: normal

I can't get the AGI script to work. Here is the macro I use:

        [macro-rxfax]
        exten => s,1,SetVar(LOCALSTATIONID=+12-345-67890)
        exten => s,n,SetVar(FAXRECIPIENT=0146472138)
        exten => s,n,AGI(receive_fax,receive)
        exten => h,1,SetVar(MY_CALLERIDNUM=${CALLERIDNUM})
        exten => h,n,DeadAGI(receive_fax,deliver)

And the result:

        -- Executing Macro("Zap/10-1", "rxfax") in new stack
        -- Executing SetVar("Zap/10-1", "LOCALSTATIONID=+12-345-67890") in new 
stack
        -- Executing SetVar("Zap/10-1", "FAXRECIPIENT=0146472138") in new stack
        -- Executing AGI("Zap/10-1", "receive_fax|receive") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/receive_fax
        -- AGI Script receive_fax completed, returning 0

Also it would be nice to have to package depend on perl modules required
by the agi script:

        use Fcntl ':flock';
        use File::Sync 'fsync';
        use File::Temp qw(tempdir);
        use File::Path;
        use MIME::Lite;
        use Config::Tiny;


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (499, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-10-debian-pyrrhus
Locale: LANG=en_CA, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages asterisk-app-fax depends on:
ii  libc6                       2.3.6-7      GNU C Library: Shared libraries
ii  libspandsp1                 0.0.2pre25-1 Telephony signal processing librar

Versions of packages asterisk-app-fax recommends:
ii  gs-common                     0.3.9      Common files for different Ghostsc
ii  libconfig-tiny-perl           2.04-1     Read/Write .ini style files with a
ii  libfile-sync-perl             0.09-4     Perl interface to sync() and fsync
ii  liblocale-gettext-perl        1.05-1     Using libc functions for internati
ii  libmime-lite-perl             3.01-6     Perl5 module for convenient genera
ii  libpaper1 [libpaperg]         1.1.14-7   Library for handling paper charact
ii  perl [libstorable-perl]       5.8.8-4    Larry Wall's Practical Extraction 
ii  psutils                       1.17-21    A collection of PostScript documen

-- no debconf information

-- 
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to