Thank You,
On Sat, Sep 24, 2011 at 2:57 AM, Michael Keuter <li...@mksolutions.info>wrote:
> As he said in the text part: in the Astlinux ActionList.
>
> Sent from my iPad
>
> Michael
>
> Am 24.09.2011 um 04:05 schrieb Fernando Fuentes <digitaldis...@gmail.com>:
>
> David Kerr,
>
> Where did you define your email address in the script to send the fax to
> the inbox?
> I am a noob at the dial plan so I am trying to Incorporate your context
> just want to see where I need to make my changes.
>
> Thanks!
>
> On Thu, Sep 22, 2011 at 1:57 PM, David Kerr < <da...@kerr.net>
> da...@kerr.net> wrote:
>
>> I am receiving faxes just fine on an Alix board. I use the following in
>> my dialplan.... asterisk 1.8 will automatically detect fax tone and branch
>> to "fax", for asterisk 1.4 you need to use NVdetect/NVbackgrounddetect to
>> catch the tone.
>>
>> exten = fax,1,Gosub(fax-rx,s,1)
>> exten = fax,n,Hangup()
>>
>> [fax-rx]
>> exten = s,1,NoOp(Receive FAX)
>> exten =
>> s,n,Set(emailaddr=${IF(${DB_EXISTS(actionlist/fax${CALLERID(dnid)})}?${DB_RESULT}:${DB(actionlist/fax)})})
>> exten =
>> s,n,Set(FAXFILE=/tmp/fax~${CALLERID(NUM)}~${emailaddr}~${FILTER(0123456789,${UNIQUEID})})
>> exten = s,n,Set(LOCALHEADERINFO=My Name)
>> exten = s,n,Set(LOCALSTATIONID=My Name)
>> exten = s,n,ReceiveFAX(${FAXFILE}.tiff) ;Asterisk 1.8
>> ;exten = s,n,RxFAX(${FAXFILE}.tiff) ;Asterisk 1.4
>> exten = s,n,Log(NOTICE,New FAX: ${FAXPAGES} page(s) from ${CALLERID(NUM)}
>> (${REMOTESTATIONID}) to ${CALLERID(dnid)})
>> exten = s,n,Hangup()
>> exten = s,n,Return()
>>
>> This places a .tiff file into the /tmp/fax directory. The filename
>> includes the email address that the fax should be forwarded to -- the email
>> address comes from the astdb "actionlist/fax" or "actionlist/faxXXX" where
>> XXX is destination extension. I then have an application running in
>> background looking for new tiff files, converting them to pdf and emailing.
>> I do this outside of the asterisk dialplan as I found it more reliable....
>>
>> #!/bin/bash
>> #
>>
>> background () {
>> echo $$ > /tmp/check_fax.pid
>> while true;
>> do
>> for f in /tmp/*.tiff
>> do
>> if [ -f $f ]
>> then
>> fuser -s $f
>> if [ $? -ne 0 ]
>> then
>> tiff2pdf -o "${f%\.*}".pdf "$f"
>> mv -f "$f" /mnt/kd/fax
>> fi
>> fi
>> done
>>
>> for f in /tmp/*.pdf
>> do
>> if [ -f $f ]
>> then
>> cidemail="${f%~*}"
>> cidemail="${cidemail#*~}"
>> email="${cidemail#*~}"
>> cid="${cidemail%~*}"
>> shortf="${f##*~}"
>> mv -f "$f" "/tmp/fax-$shortf"
>> echo "Subject: New FAX from $cid
>> From: AsteriskPBX
>> To: $email" | \
>> mime-pack "New FAX received from $cid" "/tmp/fax-$shortf"
>> "application/pdf" | \
>> sendmail -t
>> rm -f "/tmp/fax-$shortf"
>> fi
>> done
>>
>> sleep 30
>> done
>> rm -f /tmp/check_fax.pid
>> }
>>
>> background&
>>
>>
>>
>>
>> On Thu, Sep 22, 2011 at 12:44 PM, Fernando Fuentes <<digitaldis...@gmail.com>
>> digitaldis...@gmail.com> wrote:
>>
>>> Looks like I have a lot of research to do. :)
>>> I would like to setup a 3rd line for faxing. I think I will see how far
>>> the rabbit holes goes and get a fax module loaded and going. One issue I
>>> can foresee is the lack of sound processing in the Alix board. I do not have
>>> the dsp module load it as is unable to be processed in alix (no dsp engine)
>>>
>>> Thank You,
>>> -
>>>
>>>
>>> On Thu, Sep 22, 2011 at 11:34 AM, Michael Keuter <<li...@mksolutions.info>
>>> li...@mksolutions.info> wrote:
>>>
>>>> >You can receive faxes in Astlinux using
>>>> >SpanDSP... using built in fax functions in
>>>> >asterisk 1.8 or the NVfax packages in asterisk
>>>> >1.4. I have both working -- but you may need to
>>>> >do your own build of astlinux for 1.4 not sure
>>>> >what is included in the default build of 1.8.
>>>>
>>>> With 1.8 you can also send faxes with "SendFax",
>>>> "Originate" or "Call Files" or any combination of
>>>> that. I've tested that intensely. Spandsp and
>>>> tiff-utils are included in the Astlinux 1.8-image
>>>>
>>>> >David
>>>> >
>>>> >On Thu, Sep 22, 2011 at 11:25 AM, Fernando
>>>> >Fuentes
>>>> ><<mailto:
>>>> ><digitaldis...@gmail.com>digitaldis...@gmail.com><digitaldis...@gmail.com>
>>>> digitaldis...@gmail.com>
>>>> >wrote:
>>>> >
>>>> >Is it possible to use Asterisk Free Fax in AstLinux?
>>>> >
>>>> >
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure contains a
>>> definitive record of customers, application performance, security
>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>> sense of it. Business sense. IT sense. Common sense.
>>> <http://p.sf.net/sfu/splunk-d2dcopy1>
>>> http://p.sf.net/sfu/splunk-d2dcopy1
>>> _______________________________________________
>>> Astlinux-users mailing list
>>> <Astlinux-users@lists.sourceforge.net>
>>> Astlinux-users@lists.sourceforge.net
>>> <https://lists.sourceforge.net/lists/listinfo/astlinux-users>
>>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>>
>>> Donations to support AstLinux are graciously accepted via PayPal to
>>> <pay...@krisk.org>pay...@krisk.org.
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense.
>> <http://p.sf.net/sfu/splunk-d2dcopy1>http://p.sf.net/sfu/splunk-d2dcopy1
>> _______________________________________________
>> Astlinux-users mailing list
>> <Astlinux-users@lists.sourceforge.net>
>> Astlinux-users@lists.sourceforge.net
>> <https://lists.sourceforge.net/lists/listinfo/astlinux-users>
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to
>> <pay...@krisk.org>pay...@krisk.org.
>>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
>
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
>
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.