[asterisk-users] Re: FAX using T38

2007-03-06 Thread Tomislav Parcina

Steve Underwood wrote:

I'll do it for 30% less than they quote. :-)


I didn't see on their pages, what is their price?


--
Tomislav Parcina
[EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Re: fax support

2007-03-01 Thread Tomislav Parcina

Olle E Johansson wrote:

However, the 1.4.0 release
is buggy, so either use 1.4 from subversion or wait for 1.4.1.


Have you put this information somewhere on web page of Asterisk? I think 
its fair enough to say - look, this doesn't work as it should, use 1.2X 
or 1.4 from subversion.



--
Tomislav Parcina
[EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Re: fax support

2007-02-22 Thread Benny Amorsen
 OEJ == Olle E Johansson [EMAIL PROTECTED] writes:

OEJ And for fax over VOIP, sometimes called FOIP, Asterisk 1.4.x
OEJ supports T.38 passthrough. However, the 1.4.0 release is buggy,
OEJ so either use 1.4 from subversion or wait for 1.4.1.

T.38 passthrough is not very exciting unless you happen to speak SIP
to a provider which doesn't use Asterisk. Not that any of the other
free software PBX's have trouble free T.38-to-PSTN, according to their
mailing lists. Perhaps in a few months T.38 in free software will be
more mature.


/Benny


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] Re: fax eater

2006-11-03 Thread James Harper
 Won't they keep sending them if they seem to be received?

Only if they actually have the wrong fax number on record. Most of the
time it's just a misdial.

I guess another feature would be to bounce a fax back that says 'Please
check your number and try again', with a phone number to call (us) if
they can't understand that simple message.

I always wished that a fax machine could detect someone yelling F**K
OFF down the phone line, and register that it probably isn't a fax
machine at the other end :)

James

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Re: fax eater

2006-11-03 Thread Lee Howard

James Harper wrote:


I always wished that a fax machine could detect someone yelling F**K
OFF down the phone line, and register that it probably isn't a fax
machine at the other end :)



They can.  For example a fax modem report of no carrier detected 
means, if you trust the modem, exactly that:  we called and didn't find 
a fax machine on the other end.


Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Re: fax eater

2006-11-03 Thread Jay R. Ashworth
On Fri, Nov 03, 2006 at 06:06:40AM -0800, Lee Howard wrote:
 James Harper wrote:
 I always wished that a fax machine could detect someone yelling F**K
 OFF down the phone line, and register that it probably isn't a fax
 machine at the other end :)
 
 They can.  For example a fax modem report of no carrier detected 
 means, if you trust the modem, exactly that:  we called and didn't find 
 a fax machine on the other end.

Alas, for some reason, 30 years on, faxmodem chipsets seem
fundamentally incapable of detecting busy signals, which modems have
done since Bell 103J...

Cheers,
-- jra
-- 
Jay R. Ashworth[EMAIL PROTECTED]
Designer  Baylink RFC 2100
Ashworth  AssociatesThe Things I Think'87 e24
St Petersburg FL USA  http://baylink.pitas.com +1 727 647 1274

That's women for you; you divorce them, and 10 years later,
  they stop having sex with you.  -- Jennifer Crusie; _Fast_Women_
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Re: fax eater

2006-11-02 Thread Martin Joseph
On 2006-11-02 20:57:28 -0800, James Harper 
[EMAIL PROTECTED] said:



We have a 100 number indial range and every so often get fax calls on
our voice numbers (our fax number isn't in the 100 number range). If you
just hang up the sending fax will often try a few times before finally
giving up.

Our outgoing fax is connected to the PBX (not asterisk), and we can do a
blind transfer to that which will print it out, but right now the fax is
printing a misdialled fax and it's up to about 3 meters long and still
going.

I have an asterisk server plumbed into the PBX via an ISDN trunk, so I'm
thinking that if I could map an extension to that which would just 'eat'
any fax we transfer to it, it would save some paper. Any fax coming in
on the 100 number range isn't something we want anyway.

Anyone done this before?

Won't they keep sending them if they seem to be received?

Marty


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Re: FAX handling

2006-09-05 Thread Jose Limeres
Thanks all for the answers,
Calls are being forced into the Fax, so there is no fax detection. I
will send some CLI traces as soon as I have one stable platform on
which taking them. Right now we are reinstalling things and also
investigating which is the context where the fax calls are sent. We are
not using NVfax detect as fax enters through a zap channel, not a SIP
one. Anyway I will also give it a try.
Will keep you posted.
JoseOn 05/09/06, Justin Newman [EMAIL PROTECTED] wrote:
Let me know if you guys need help with this...Justin--Message: 15Date: Mon, 4 Sep 2006 17:16:00 -0400From: Technical Support 
[EMAIL PROTECTED]Subject: RE: [asterisk-users] FAX handlingTo: 'Asterisk Users Mailing List - Non-Commercial Discussion' asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]Content-Type: text/plain; charset=us-asciiLook into NVDETECT, and fax2mail script on 
www.generationd.comFax detection is automaticMD___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Re: FAX handling

2006-09-04 Thread Justin Newman

Let me know if you guys need help with this...

Justin

--

Message: 15
Date: Mon, 4 Sep 2006 17:16:00 -0400
From: Technical Support [EMAIL PROTECTED]
Subject: RE: [asterisk-users] FAX handling
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Look into NVDETECT, and fax2mail script on www.generationd.com

Fax detection is automatic

MD 
___

--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: FAX over PRI

2006-03-28 Thread Adolfo R. Brandes

Roger Schreiter wrote:

Than we bought a commercial DSP software, which is, according
to the manufacturer, capable of sending or recieving up
to 100 faxes simultaniously on a high perfomance machine.


	Interesting post.  Would you mind divulging what commercial DSP 
software you are using?


Adolfo

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Fax RX and SIP/IAX

2006-01-13 Thread Tomislav Parcina
In article 1591CC66BC72C847A8384D7D43065EEB31D729
@st_server2.solacomm.com, [EMAIL PROTECTED] says...
 Spandsp  app_rxfax / app_txfax will work over sip and IAX  Currently in
 use here... 
 
 http://www.voip-info.org/wiki/view/app_rxfax+and+app_txfax

Do you know what could be the problem with this one?

Copy of mail that I have send to Steve Underwood.



On Fedora Core 4 I have installed * 1.2.1 with zaptel, add-ons and 
sounds. On FC4 I have installed libtiff 3.7.1, libtiff-devel, libxml2-
2.6.19 and libxml2-devel.

In /etc/ld.so.conf file I have put line
/usr/local/lib
And in /usr/local/lib I have those files (libspandsp.a, libspandsp.la, 
libspandsp.so (softlink), libspandsp.so.0 (softlink) and 
libspandsp.so.0.0.1).

I have copied and untar spandsp 0.0.2pre22 in /usr/src/. Than I have 
copied app_rxfax.c, app_txfax.c and apps_Makefile.patch in 
/usr/src/asterisk/apps/ dir.

I have execute patch file (in attachment) and I didn't get any error on 
console.

Then I have make clean; make; make install - reinstall of Asterisk. 
Then, then I try to start * I get this on console.

 [cdr_custom.so] = (Customizable Comma Separated Values CDR Backend)  
[format_ilbc.so] = (Raw iLBC data)
  == Registered file format iLBC, extension(s) ilbc  [app_curl.so] = 
(Load external URL)
  == Registered custom function CURL
  == Registered application 'Curl'
 [EMAIL PROTECTED] apps]#

And Asterisk doesn't start. Can you please tell me 
1. how to check what is the problem? (my guess is that app_txfax.so 
wasn't installed like it should) 
2. why did I get this problem? (wrong applied patch? But I didn't get 
any error message!) 
3. how to solve this?

I really hope that you can help me.

Thank you for your time!


-- 

Tomislav Parcina
[EMAIL PROTECTED]

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-09 Thread Lee Howard

andrutto wrote:


Yeah, but to traditional PBX central you can plug fax machine hassle free.



Well, in theory you should be able to do the same with Asterisk: plug 
fax machines into FXS ports on the box.


I say in theory because I've not done that myself, and I've heard 
rumors of past problems (for some reason) in doing it that way.


Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-09 Thread andrutto

Hi,

andrutto wrote:

I was wondering why asterisk - great telecommunication program - has such a 
weak fax support.


Because it's a PBX and not a fax server.

Yeah, but to traditional PBX central you can plug fax machine hassle free.

I don%u2019t want to use such a big thing like fax server (another machine and 
another cost ). I just want to connect to Asterisk one or two fax devices 
like a normal phone and use them in traditional way I would say paper way. Is 
this going to work with Asterisk. Or fax plus Asterisk is just something that 
will not work.

Best regards

Andrutto

--
Kliknij po wiecej!  http://link.interia.pl/f18ed

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread andrutto

Hi,

I having similar problem. Unfortunately each thread is archive leads to 
nowhere. I read a post in which similar problem was solved by changing rxgain 
and txgain to 15. Maybe this would help.
Does anyone have common problems?

I was wondering why asterisk - great telecommunication program - has such a 
weak fax support. I am talking about mail to fax and fax to mail. Or maybe I am 
the only one who has the problems with it.

If someone has some experience please help.

Best wishes

Andrutto 


--
Kliknij po wiecej!  http://link.interia.pl/f18ed

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Lee Howard

andrutto wrote:


I was wondering why asterisk - great telecommunication program - has such a 
weak fax support.



Because it's a PBX and not a fax server.

Use IAXmodem and HylaFAX, and then you have a fax server.

http://sourceforge.net/projects/iaxmodem
http://hylafax.sourceforge.net/

Lee.
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Steve Underwood

andrutto wrote:


Hi,

I having similar problem. Unfortunately each thread is archive leads to 
nowhere. I read a post in which similar problem was solved by changing rxgain 
and txgain to 15. Maybe this would help.
Does anyone have common problems?

I was wondering why asterisk - great telecommunication program - has such a 
weak fax support. I am talking about mail to fax and fax to mail. Or maybe I am 
the only one who has the problems with it.

If someone has some experience please help.
 

There are patents related to fax to e-mail and e-mail to fax. These are 
probably US only patents, but the picture isn't very clear. Some large 
users of Asterisk and spandsp have been chased by the patent holders. In 
light of this, I certainly don't want to integrate fax-e-mail support 
into spandsp.


Regards,
Steve

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Darren Nickerson

Lee Howard [EMAIL PROTECTED] wrote:


Use IAXmodem and HylaFAX, and then you have a fax server.

http://sourceforge.net/projects/iaxmodem
http://hylafax.sourceforge.net/


If you're looking for more general information on HylaFAX, see 
www.hylafax.org.


-Darren 


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Rich Adamson

 I having similar problem. Unfortunately each thread is archive leads to 
 nowhere. I 
read a post in which similar problem was solved by changing rxgain and txgain 
to 15. 
Maybe this would help.
 Does anyone have common problems?
 
 I was wondering why asterisk - great telecommunication program - has such a 
 weak fax 
support. I am talking about mail to fax and fax to mail. Or maybe I am the only 
one who 
has the problems with it.
 
 If someone has some experience please help.

In addition to what others have already mentioned, fax support requires
excellent * timing  bus characteristics, and the digium tdm card does not 
provide
that (nor does the older x100p). Those that have spandsp running are primarily
T1/E1 users.

Running fax over sip channels (and networks) also requires rather tight
requirements in terms of latency, jitter, etc, that has been discussed
many times on this list. 


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Andrew Nowrot
Hi,I certainly don't want to integrate fax-e-mail support into spandsp.I think our problem is not connected with spandsp and fax - email integration. All the applications I mean spandsp txfax and rxfax are enough to have emial - fax functionality in Asterisk. I wrote a program which allows me to convert emial to tiff, it is also not a problem to turn Asterisk to be a small email server (I use qmail). Only problem is with the txfax (or I don't with what, maybe with synchronization to my Telco). When Asterisk launch the txfax application sometimes (quite often) something cause it to hangup the Zap channel and fax transmission goes to  the space!. 
On http://soft-switch.org/spandsp_faq/ar01s08.html   I found that this can be cause by the synchronization problem, correct me if I'm wrong. But there is a little, that I can do about it. What should I change to be synchronized with Telco (linux version, hardware or.)
Of course that's not a problem to use hylafax, but I just want to have it on one machine (I'm afraid that Asterisk and hylafax won't run on the same machine :( )And one more thing. I use fax machine connected 
to TDM400P  I can receive and send faxes without problems. I get crazy things Best wishesAndrew Nowrot



___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: Fax, txfax -bizarre thing

2006-01-07 Thread Colin Anderson



Of course that's not a problem to 
use hylafax, but I just want to have it on one machine (I'm afraid that Asterisk 
and hylafax won't run on the same 
machine :( )
[Colin 
Anderson]I am experimenting with IAXmodem to Hylafax running on an 
Asterisk server. It works. Last Thur, I had 98 virtual modems recognized and 
running under Hylafax. So far, I can send and recieve faxes reasonably well but 
there's some configuration issues I have to get out of the way before I would 
beta it on my users. I expect that Hylafax to a couple of plain old USR modems 
running on /ttys0 and /ttys1 would work fine enough even if Asterisk was on the 
box. Even though the postscript conversion is done on the server that can be 
controlled with -nice.After that all that Hylafax has to do is service the 
modems and the clients.This seems to be pretty low overhead - I think the 
client protocol is FTP on a nonstandard port, and servicing a couple of modems 
at 9600 can't be too taxing. Hell, 25 modems shouldn't be taxing, on a modern 
machine.

BTW I have used, installed, admin'd etcabout a dozen big Windows 
faxing solutions(basically all of the big players) and I've never 
used Hylafax before, and I was really impressed. It's better than 80% of the 
Windows product offerings, IMO. 

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax Support

2005-12-31 Thread LJ
I was able to get spandsp spandsp-0.0.2pre21.tar.gz working in 1.2.1, but 
you must manually copy the patch changes over to the Makefile in the 
\usr\src\asterisk\apps directory.  I followed the following directions found 
by googling asterisk spandsp.


===

Make sure libtiff is installed on your machine. Versions 3.5.7, 3.6.0 and 
3.7.1 seem to work OK. There have been several bugs related to FAX document 
handling in some recent versions of libtiff. Also, some people have had 
trouble using spandsp because they had more than one version of libtiff on 
their machine. Take care with this. You will also need libxml2 installed. 
The FAX facility does not use this, but some other parts of spandsp do. If 
you are using an RPM based system, such as RedHat or Fedora, you will need 
the libtiff, libtiff-devel, libxml2 and libxml2-devel RPMs installed.




Use the usual:



./configure

make

make install



process to build the spandsp library. Note that if you use configure in this 
way, the software will be installed in /usr/local. In this case make sure 
your /etc/ld.so.conf file has an entry for /usr/local/lib and then run 
'ldconfig' command.




Next, put app_rxfax.c, app_txfax.c and Makefile.patch in your Asterisk apps 
directory. Use the command:




patch Makefile.patch



within the apps directory, to patch your make file so it will build the new 
application. If the patching process fails, don't be too surprised. The 
patch file was generated for a specific revision of Asterisk, and things 
change. It would be difficult to produce a completely generic patch. If you 
look through the patch, and the Makefile, I think most people should be able 
to work out what is needed. Now rebuild and install Asterisk.  (I had to 
manually insert the +lines data from the patch to the Makefile, and be sure 
to observe TABs as space char are not acceptable and halted the compiler.)




Now if you put something like:



exten = 1234567,1,rxfax(/home/steveu/testfax.tif)



in your Asterisk extensions.conf file, a call to 1234567 should invoke the 
fax facility, to receive a fax to the file /home/steveu/testfax.tif. 
Alternatively:




exten = 1234567,1,txfax(/home/steveu/testfax.tif)



in your Asterisk extensions.conf file will cause a call to 1234567 to 
invoke the fax facility to send the file /home/steveu/testfax.tif to a 
calling fax machine. When sending a fax it is more likely you will be 
calling out to the remote FAX machine. In this case, make your Asterisk call 
the far FAX machine, and when it answers do:




exten = 1234567,1,txfax(/home/steveu/testfax.tif|caller)



The addition of |caller will make txfax act as a calling machine, rather 
than an answering machine.





- Original Message - 
From: [EMAIL PROTECTED]

Newsgroups: gmane.comp.telephony.pbx.asterisk.user
Sent: Friday, December 30, 2005 1:17 PM
Subject: Fax Support


Can anyone guide me enabling fax support in asterisk. I tried spandsp
patch but was unsuccessful. Because patch for chan_sip.c was not proper
for asterisk's version 1.2.1. Can anyone help me adding fax support in
asterisk 1.2.1.


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax Support

2005-12-31 Thread trixter aka Bret McDanel
On Sat, 2005-12-31 at 16:45 -0600, LJ wrote:
 exten = 1234567,1,rxfax(/home/steveu/testfax.tif)

I email pdf files, this requires a few extra packages, but I feel its
the easiest way to deal with it.  I have a macro that calls a shell
script and all to do  this.  Its based off work of others, I dont know
who they are, but here is what I do.  Its fairly trivial and fairly
painless if the underlying components are installed and working.

DEPENDS:
spandsp  rxfax
libtiff (should include tiff2pdf)
mime-construct
everything else should be standard on an asterisk server
  (bourne shell, asterisk, etc)


in AEL
macro faxreceive( email ) {
rxfax(/tmp/${UNIQUEID}.tiff);
system(/usr/sbin/mailfax /tmp/${UNIQUEID}.tiff ${email}
${CALLERIDNUM});
};


In extensions.conf

[macro-faxreceive]
exten = s,1,rxfax(/tmp/${UNIQUEID}.tiff)
exten = s,2,system(/usr/sbin/mailfax /tmp/${UNIQUEID}.tiff ${arg1}
${CALLERIDNUM})


Then just call it 
in AEL
faxreceive([EMAIL PROTECTED]);

extensions.conf
exten = 12345,1,macro(faxreceive,[EMAIL PROTECTED])

Using a database or something you can dynamically get the email address
on a per user basis.  Fairly trivial to do, course an AGI could do this
as well.


The mailfax script
#!/bin/sh

FAXFILE=$1 
RECIPIENT=$2
FAXSENDER=$3 
PDFTMPFILE=${FAXFILE}.pdf
PDFFILE=`date +fax-%Y%m%d%H%M%S.pdf`

tiff2pdf -o /tmp/${PDFTMPFILE} -z -p letter \
  -c creator such as your company name \
  -a author such as your company name \
  -t Fax from ${FAXSENDER} to ${RECIPIENT} \
  -s Fax from ${FAXSENDER} to ${RECIPIENT} ${FAXFILE}

mime-construct --to $RECIPIENT \
  --subject Fax from $FAXSENDER \
  --attachment ${PDFFILE} --type application/pdf \
  --file /tmp/${PDFTMPFILE}

rm -f /tmp/${PDFTMPFILE} /tmp/${FAXFILE}



-- 
Trixter http://www.0xdecafbad.com Bret McDanel
UK +44 870 340 4605   Germany +49 801 777 555 3402
US +1 360 207 0479 or +1 516 687 5200
FreeWorldDialup: 635378
http://www.sacaug.org/ Sacramento Asterisk Users Group


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax between Asterisk SIP clients

2005-11-02 Thread Justin Newman
SpanDSP comes with app_rxfax and app_txfax.

If you need to send a fax, you can initiate this from one of your ATA
connected fax machines. For automation, you can use call files (a sample is
at /usr/src/asterisk/sample.call) or the Asterisk Manager API. Another
method, although less automated- you could have an extension that you dial
into to kick the whole proces off.

If you need fax detection, you can try NVFaxDetect and NVBackgroundDetect.
For PDF/TIFF fax to e-mail, try NVFaxEmail.

Contact me off list if you need more help.

Justin

 Date: Wed, 2 Nov 2005 10:53:29 -0800
 From: Andy Kuo [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Fax between Asterisk SIP clients

 Hi all,
  I'm looking for a fax solution with Asterisk. I would like the users to
be
 able to hook up regular fax machines to their SIP ATA's and send/receive
fax
 from PSTN and/or other SIP clients.
 My goal is:
  fax machines - SIP ATA - Asterisk - T1(TE406E) - fax
on
 PSTN
  It looks like Hylafax will allow me to receive fax from PSTN, but not
send
 to PSTN. I also tried Spandsp, and it seems to receive fax ok from ATA's,
 but I can't figure out how to have it automatically forward the fax file
to
 fax machines on PSTN or other SIP extensions.
  Can I have Spandsp dial and send the fax to the destination
automatically?
 Are there other software / hardware solutions that can help me achieve my
 goal?
  Please advise.
 Thanks to any help/ideas.
 AK

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: FAX with Asterisk

2005-08-29 Thread Mick Hastings
Hi Nahid,

I think youll want a fax on-ramp and off-ramp on your asterisk boxes instead 
of trying to send a fax using VoIP (SIP). I believe it is possible but not 
recommended. There are technical reasons for this that you can find online 
in many places.

Basically asterisk answers the fax and sends it to your fax program. the fax 
progam receives the fax, turns it into a TIFF file and emails it to the 
other end of your network. then the process is reversed and the TIFF is 
faxed via software out the T1 at the other end.

This process has a standard called T.37. Im not sure if there is currently 
support for this in asterisk or not (search the archieves) but its what I do 
with our Cisco router and a very neat little windows fax program called 
T37FSP from Sandler Consulting. You could prolly use the free version for 
testing.

hope this helps,
cheers,
Mick



Nahid Hossain [EMAIL PROTECTED] wrote in message 
news:!~!UENERkVCMDkAAQACABgABittf/[EMAIL PROTECTED]
Hi,
I want to do FAX through Asterisk with the following scenario:

Fax Machine --àNortel PBX ---à E1 (euro-isdn) ---à 
Asterisk -à SIP -àAsteriskà E1 (euro-isdn)-àNortel 
PBX--à Fax Machine

Is there anyone who can help me to configure the above scenario without any 
extra application/software.

I would appreciate if anyone help me.

Regards
Nahid





___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 



___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax Issues

2005-08-16 Thread Matt
It is an HP all in One t45.
It is plugged into a dedicated port on a sipura 2002.
The person is able to send faxes fine.. but when trying to receive it
just never gets anywhere.
We tried turning off the ECM on the fax machine.
There did not seem to be a place to lower the modem speed.  It is
running at 14.4 but will lower itself as needed.

On 8/15/05, Joseph [EMAIL PROTECTED] wrote:
 On Mon, 2005-08-15 at 12:40 -0700, Matt wrote:
  I have a user who has a fax machine plugged into an ATA.
  They are able to SEND faxes just fine.  Faxes go through wonderfully.
  However, when someone tries to send them a fax, their fax machine
  never receives it.  And eventually the sending machine just errors
  out.  Any thoughts?
 
 Need more info!
 Is the fax plugged to dedicated port on ATA. What kind of ATA is it?
 
 Use NVBackgroundDetect works OK.
 
 -- 
 #Joseph
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax Problems

2005-04-21 Thread Doug Meredith
trixter http://www.0xdecafbad.com; [EMAIL PROTECTED] wrote:

Wonder if anyone would (or has) write a fax gateway app that would read
it off the PRI or whatever then store and forward.  Would enable
'internet faxing' without the requirement for T.38 or similar.

There is already a spec for this.  T.37.

Doug
-- 
Doug Meredith ([EMAIL PROTECTED])
SystemGuard - Oracle remote support
877-974-8273 (87-SYSGUARD)
506-854-7997
www.systemguard.com

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax detect/transfer problem?

2005-04-20 Thread Andrew C. Brown
I've been running into something similar. The fax detect works reliably 
to auto transfer the call. I see it Goto the new context, but instead of 
actually ringing the fax extension, it just fails over as though it's 
busy or something. I can always manually dial to the fax extension with 
success. Sometimes the auto transfer will ring successfully. But then 
for at least several minutes after a successful ring through, an auto 
transfer will continue to jump but fail to ring.

I'll paste some log results in a follow up to illustrate.

Detection seems to be working okay.  If I call in with a voice call, my two
voice SIP phones ring as normal, etc.  If I call in with a fax call, it seems
like Asterisk is detecting the fax correctly, but the fax never rings, and
the call is just dropped.  Fax rings fine and is answered if I call ext. 2003
though.  Here's the event log:
 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax questions

2005-04-18 Thread Ronald Wiplinger
Jesse Guardiani wrote:
Thank you for you time to help setting up fax.
I still have some questions.
[macro-faxreceive]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN})
exten = s,3,rxfax(${FAXFILE})
exten = s,103,SetVar([EMAIL PROTECTED])
exten = s,104,Goto(3)
[fax]
exten = 2201,1,Macro(faxreceive)
exten = 2202,1,Macro(faxreceive)
exten = 2203,1,Macro(faxreceive)
exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERIDNUM} 
${CALLERIDNAME})
 

has the sender dial the extensions 2201 ~ 2203 ?
You said it would automatically go to [fax] if in zapata.conf is set
faxdetect=both
If so, than we could use NO number, but s as extension, would that be 
right?


NOTE: asterisk automatically jumps to the [fax] context if you are using
faxdetect in your zapata.conf
NOTE2: mailfax is a custom script I wrote. This is what it looks like:
-- START mailfax script --
#!/bin/sh
FAXFILE=$1
RECIPIENT=$2
FAXSENDER=$3
FAXID=`date +%j%H%M%S`
tempfoo=fax
TMPFILE=`mktemp /tmp/${tempfoo}XX`
TMPFILE_A=`mktemp /tmp/${tempfoo}XX`.pdf
/usr/bin/tiff2pdf -p letter ${FAXFILE}  ${TMPFILE_A}
metasend -b -t $RECIPIENT -s Fax from $FAXSENDER \
 -f ${TMPFILE} -m 'text/plain' -n \
 -m 'application/pdf;name=fax'${FAXID}'.pdf' -f ${TMPFILE_A} \
 -D 'PDF Fax Document'
rm ${TMPFILE}
rm ${TMPFILE_A}
-- END mailfax script --
 

I don't have found metasend on my system. Do you know where it is?
I based this config on the excellent information found at the following
website:
   http://scottstuff.net/scott/archives/000152.html
 

At this web site I find also a line:
|*CLI database put extensionemail 2202 [EMAIL PROTECTED]
How does that fit together with|
macro-faxreceive,103   ???

This methode would cover the part of receiving a fax via a zap device, how to 
exend it to receive a fax from a remote gateway via G711?
bye
Ronald

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax questions

2005-04-15 Thread Jesse Guardiani
On Fri, 15 Apr 2005 07:14:03 +0800, Ronald Wiplinger wrote:

 There are so many fax information available, so that I am getting confused.
 
 What I hope I can get to work:
 
 Any extension should be able to receive fax, whereby via faxdetect the 
 fax should be sent to the email address as mentioned in voicemail.conf
 
 Which packages should I install?
 How would be the dialplan for this? (as mentione above)
 I am using SuSE 9.2 Professional

I use Gentoo, so you'll have to figure out what to install from SuSe
yourself, but I installed the spandsp software, which gives you a nice
software fax modem, then I used this in extensions.conf to switch to
spandsp when a fax tone is detected and email it to my email address:

[macro-faxreceive]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,DBGet(EMAILADDR=extensionemail/${MACRO_EXTEN})
exten = s,3,rxfax(${FAXFILE})
exten = s,103,SetVar([EMAIL PROTECTED])
exten = s,104,Goto(3)

[fax]
exten = 2201,1,Macro(faxreceive)
exten = 2202,1,Macro(faxreceive)
exten = 2203,1,Macro(faxreceive)

exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR} 
${CALLERIDNUM} ${CALLERIDNAME})


NOTE: asterisk automatically jumps to the [fax] context if you are using
faxdetect in your zapata.conf

NOTE2: mailfax is a custom script I wrote. This is what it looks like:

-- START mailfax script --
#!/bin/sh

FAXFILE=$1
RECIPIENT=$2
FAXSENDER=$3
FAXID=`date +%j%H%M%S`
tempfoo=fax
TMPFILE=`mktemp /tmp/${tempfoo}XX`
TMPFILE_A=`mktemp /tmp/${tempfoo}XX`.pdf


/usr/bin/tiff2pdf -p letter ${FAXFILE}  ${TMPFILE_A}
metasend -b -t $RECIPIENT -s Fax from $FAXSENDER \
  -f ${TMPFILE} -m 'text/plain' -n \
  -m 'application/pdf;name=fax'${FAXID}'.pdf' -f ${TMPFILE_A} \
  -D 'PDF Fax Document'

rm ${TMPFILE}
rm ${TMPFILE_A}
-- END mailfax script --

I based this config on the excellent information found at the following
website:
http://scottstuff.net/scott/archives/000152.html

But note that I heavily modified the mailfax script from the original
version. Why?
1.) The original used the Perl mime-construct script, which has a lot
of annoying Perl dependencies.
2.) The original didn't send usable MIME attachments to me. Neither
KMail or Evolution could successfully decode the attachment
because the email contained no text/plain part.
My script uses metasend from the metamail package, instead of
mime-construct, and it adds an empty text/plain section at the beginning
of the email so that KMail and Evolution and probably other mail clients
can decode the attachment properly. The trade off is that it has to use
temporary files. Uck. :)

Anyway, the above does everything you need, except the ability to email
the fax to an email specified in voicemail.conf. You'll have to figure
that part out yourself. The above simply emails the message to a static
address. No DIDs or anything.

Also, you'll probably have to change some of the paths for things like
tiff2pdf and metasend.

HTH!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-14 Thread Rich Adamson

 I've had a question related to this: what's the deal with frame 
 slippage on the Digium TDM analog cards?  What would cause this?  How 
 can one correct for this?  I've recently seen a bad buzz every 6 
 seconds or so, heard by callers when calls are bridged with my TDM card 
 analog phones.
 
 Any information you know of online about this?
 
 Thanks in advance for any help you can give!

Don't know about the buzz every 6 seconds, but I assume you mean mean
missed frames as opposed to frame slippage. Right?

The missed frames issue seems to be related to two possible items:
1. other devices on the pci bus not relinquishing the bus in time
for the TDM to move data across the bus.
2. pci bus design issues with certain motherboards

There have been many postings related to item #1. One recent posting
related to IDE disk usage and its impact on the pci bus.

There were also many postings relative to motherboard issues over
the last twelve months. Some found that swapping a 3 ghz motherboard
for an older/slower P3 motherboard fixed their problem. (That really
implies a different pci bus design; had nothing to do with P3 vs P4,
processor speed, memory, etc.

The TDM card wants to move data across the pci bus at the rate of
1,000 interrupts per second. Essentially, there is no buffering on
the TDM card, therefore if one interrupt can't be handled before
the next frame of pcm data on the TDM card is ready, the frame is
lost/missed. One or two of those per second will probably not be
noticed, however as the number of missed frames increase, so do the
chances those missed frames will impact the audio quality. If the
number of missed frames is rather large, the resulting audio might
suffer from clicks, no audio, buzz, etc.

Digium tech support suggests running /usr/src/zaptel/zttest to
get a perspective of how well the interrupt structure is operating.
They have suggested that values around 99.975% and below represent
an inadequate interrupt structure that will impact audio.

I'm not having any audio problems at all with results like:
 Best: 99.975586 -- Worst: 99.975586 -- Average: 99.975586

However, I cannot use Steve Underwood's spandsp reliably, and that
is very likely because of missed frames (missed interrupts). I'll
be swapping motherboards to verify/validate that for sure.

Attempts to use a modem through the TDM card with missed frames
is a serious problem even though missed frames may not have any
noticable impact on audio. 

I'm not sure I trust Digium's represetation that 99.975% is a bad
number. Multiplying 1,000 interrupts per second by .99975 results
in 999.75 valid interrupts. Looks like a rounding or floating
point issue in zttest to me. A single missed interrupt would be
99.9000%, well below where Digium indicates the threashold to be.

If I run zttest -v, I see:
 8192 samples in 8190 sample intervals 99.975586% 
which implies two additional samples were received over and above
those that were sent. That certainly suggests a different issue
then missed frames, interrupt problem, or pci bus issue. Guess 
I'll need to run debug against that just to better understand what 
this is supposed to be measuring.

Hopefully this rambling sheads a little lite on the subject.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-14 Thread Richard Lyman
Rich Adamson wrote:
I've had a question related to this: what's the deal with frame 
slippage on the Digium TDM analog cards?  What would cause this?  How 
can one correct for this?  I've recently seen a bad buzz every 6 
seconds or so, heard by callers when calls are bridged with my TDM card 
analog phones.

Any information you know of online about this?
Thanks in advance for any help you can give!

Don't know about the buzz every 6 seconds, but I assume you mean mean
missed frames as opposed to frame slippage. Right?
The missed frames issue seems to be related to two possible items:
1. other devices on the pci bus not relinquishing the bus in time
for the TDM to move data across the bus.
2. pci bus design issues with certain motherboards
*snipped
i'm probably coming in on the rear end of this convo, but i think 
he mentioned he was connecting his tdm card to pstn.  depending 
where he is (there are still some analog switches at some 
CO's)...  some analong pbx's, when the ring generator went out 
would do exactly this.. buzz 4-6 sec delay repeat

note: if this were the case it would ALSO exhibit this with a 
normal phone on that fxo.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-13 Thread Cameron Beattie
Interesting. Are you using a TDM400. If so what revision E/F/H? I've not 
been able to get the fax trained using spandsp. I'd given up because so 
many posts indicate problems with TDM and fax.

Regards
Cameron
- Original Message - 
From: Bartosz Jozwiak [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Sent: Monday, April 11, 2005 11:37 PM
Subject: Re: [Asterisk-Users] Re: Fax to Email



 This has already been answered...but I can't find it...

 Has anyone set up multiple fax lines in asterisk...

 Fax Extension #1  goes to email1
 Fax Extension #2  goes to email2
 ETC...

 In other words, I want to be able to give numerous users each
 a virtual fax machine..

 Bill
; Assumes entry is DID # or extension number
[context-incoming]
exten = some_did,1,NVFaxEmail([EMAIL PROTECTED],Someone)
exten = some_other_did,1,NVFaxEmail([EMAIL PROTECTED],Someone2)
You could use NVFaxDetect first to check for the presence of the fax. 
This
sample requires SpanDSP and NVFaxEmail. Alternatively, you could use
SpanDSP, RxFax, and a different AGI script or app.
Not sure what pstn interface the OP was using, but if its a digium
TDM analog card, SpanDSP will not function correctly due to frame
slips in most systems.
SpanDSP is working great on my analog TDM card.
B
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-13 Thread Trent Tuggle
I've had a question related to this: what's the deal with frame 
slippage on the Digium TDM analog cards?  What would cause this?  How 
can one correct for this?  I've recently seen a bad buzz every 6 
seconds or so, heard by callers when calls are bridged with my TDM card 
analog phones.

Any information you know of online about this?
Thanks in advance for any help you can give!
-Trent Tuggle
On Apr 10, 2005, at 10:21 PM, Rich Adamson wrote:
Not sure what pstn interface the OP was using, but if its a digium
TDM analog card, SpanDSP will not function correctly due to frame
slips in most systems.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-11 Thread Bartosz Jozwiak

 This has already been answered...but I can't find it...

 Has anyone set up multiple fax lines in asterisk...

 Fax Extension #1  goes to email1
 Fax Extension #2  goes to email2
 ETC...

 In other words, I want to be able to give numerous users each
 a virtual fax machine..

 Bill
; Assumes entry is DID # or extension number
[context-incoming]
exten = some_did,1,NVFaxEmail([EMAIL PROTECTED],Someone)
exten = some_other_did,1,NVFaxEmail([EMAIL PROTECTED],Someone2)
You could use NVFaxDetect first to check for the presence of the fax. 
This
sample requires SpanDSP and NVFaxEmail. Alternatively, you could use
SpanDSP, RxFax, and a different AGI script or app.
Not sure what pstn interface the OP was using, but if its a digium
TDM analog card, SpanDSP will not function correctly due to frame
slips in most systems.
SpanDSP is working great on my analog TDM card.
B 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax to Email

2005-04-10 Thread Justin Newman
 Date: Sun, 10 Apr 2005 11:06:59 -0500
 From: Bill Ford [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Fax to Email

 This has already been answered...but I can't find it...

 Has anyone set up multiple fax lines in asterisk...

 Fax Extension #1  goes to email1
 Fax Extension #2  goes to email2
 ETC...

 In other words, I want to be able to give numerous users each
 a virtual fax machine..

 Bill

; Assumes entry is DID # or extension number
[context-incoming]
exten = some_did,1,NVFaxEmail([EMAIL PROTECTED],Someone)
exten = some_other_did,1,NVFaxEmail([EMAIL PROTECTED],Someone2)

You could use NVFaxDetect first to check for the presence of the fax. This
sample requires SpanDSP and NVFaxEmail. Alternatively, you could use
SpanDSP, RxFax, and a different AGI script or app.

Justin Newman
Newman Telecom, Inc.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-10 Thread Bill Ford
Thanks...
I suppose also if I have spanDSP on the * box, I'd modify the config
lines accordingingly?

Bill

On Apr 10, 2005 2:57 PM, Justin Newman [EMAIL PROTECTED] wrote:
  Date: Sun, 10 Apr 2005 11:06:59 -0500
  From: Bill Ford [EMAIL PROTECTED]
  Subject: [Asterisk-Users] Fax to Email
 
  This has already been answered...but I can't find it...
 
  Has anyone set up multiple fax lines in asterisk...
 
  Fax Extension #1  goes to email1
  Fax Extension #2  goes to email2
  ETC...
 
  In other words, I want to be able to give numerous users each
  a virtual fax machine..
 
  Bill
 
 ; Assumes entry is DID # or extension number
 [context-incoming]
 exten = some_did,1,NVFaxEmail([EMAIL PROTECTED],Someone)
 exten = some_other_did,1,NVFaxEmail([EMAIL PROTECTED],Someone2)
 
 You could use NVFaxDetect first to check for the presence of the fax. This
 sample requires SpanDSP and NVFaxEmail. Alternatively, you could use
 SpanDSP, RxFax, and a different AGI script or app.
 
 Justin Newman
 Newman Telecom, Inc.
 
 ___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax to Email

2005-04-10 Thread Rich Adamson
 
  This has already been answered...but I can't find it...
 
  Has anyone set up multiple fax lines in asterisk...
 
  Fax Extension #1  goes to email1
  Fax Extension #2  goes to email2
  ETC...
 
  In other words, I want to be able to give numerous users each
  a virtual fax machine..
 
  Bill
 
 ; Assumes entry is DID # or extension number
 [context-incoming]
 exten = some_did,1,NVFaxEmail([EMAIL PROTECTED],Someone)
 exten = some_other_did,1,NVFaxEmail([EMAIL PROTECTED],Someone2)
 
 You could use NVFaxDetect first to check for the presence of the fax. This
 sample requires SpanDSP and NVFaxEmail. Alternatively, you could use
 SpanDSP, RxFax, and a different AGI script or app.

Not sure what pstn interface the OP was using, but if its a digium
TDM analog card, SpanDSP will not function correctly due to frame 
slips in most systems.


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] re: Fax detection

2005-03-30 Thread Justin Newman
 Date: Wed, 30 Mar 2005 14:29:06 -0500
 From: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Fax detection

 Hello,

 I'm attempting to configure my office Asterisk server to do fax
 detection for each one of our DID's configured for different users.
 Each person in our office has their own phone number, and I want each
 to do both voice  fax.

 Fax detection works great when configured like this:

 exten = fax,1,Macro(faxreceive)
 exten = fax,2,SetVar([EMAIL PROTECTED])
 exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
 ${CALLERIDNUM} ${CALLERIDNAME})

 This will detect any incoming fax for this particular context and
 basically work as expected.
 I attempted to do some callerid matching to ensure the correct person
 gets their fax.
 When configured like this, Asterisk doesn't match the incoming DID to
 the fax user in question.

 exten = fax/3172152560,1,Macro(faxreceive)
 exten = fax/3172152560,2,SetVar([EMAIL PROTECTED])
 exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
 ${CALLERIDNUM} ${CALLERIDNAME})

 This didn't work!
 I then tried this:


 exten = fax,1,Macro(faxreceive)
 exten = fax/3172152560,2,SetVar([EMAIL PROTECTED])
 exten = fax/3172152561,2,SetVar([EMAIL PROTECTED])
 exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}
 ${CALLERIDNUM} ${CALLERIDNAME})

 this also didn't work, although it did everything but set the e-mail
 variable.
 Any ideas?
 Niles

Send your output from Asterisk. Also, your second example needs to be
reordered (priorities are not numbered right).
Are you coming in on ZAP?

Justin Newman
Newman Telecom, Inc.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax receive issues and NVFaxDetect

2005-03-27 Thread Justin Newman
 I removed everything but what I needed to get the fax and email it to
 myself.  So this is all I have, Thanks..
Well, then you need to renumber the priorities! Below is a start. Your
code does not do any emailing, by the way... what happens when you set
the EMAILADDR variable? Nothing... you need to add a handler script to
send the email.

[macro-faxreceive]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,rxfax(${FAXFILE})
exten = s,3,SetVar([EMAIL PROTECTED])
exten = s,3,System(SOME EMAILING CODE HERE)
exten = s,5,Goto(1)

--Luki

Or you can use NVFaxEmail to eliminate the scripting, however it still
requires SpanDSP and RxFax.
Look on the wiki for more information. It's either NVFaxEmail or
NVEmailFax - can't remember right now.

[context]
exten = s,1,NVFaxDetect
exten = fax,1,NVFaxEmail([EMAIL PROTECTED])

Justin Newman
Newman Telecom, Inc.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax receive issues and NVFaxDetect

2005-03-21 Thread Chris Tuska
I removed everything but what I needed to get the fax and email it to 
myself.  So this is all I have, Thanks..

[macro-faxreceive]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,7,rxfax(${FAXFILE})
exten = s,103,SetVar([EMAIL PROTECTED])
exten = s,104,Goto(7)
Chris
Message: 1
Date: Tue, 22 Mar 2005 11:12:33 +1200
From: Matt Riddell [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Fax receive issues and NVFaxDetect
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
[macro-faxreceive]
 exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
 exten = s,7,rxfax(${FAXFILE})
what happened to 2 through 6?
--
Cheers,
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: Fax receive issues and NVFaxDetect

2005-03-21 Thread Luki
 I removed everything but what I needed to get the fax and email it to
 myself.  So this is all I have, Thanks..
Well, then you need to renumber the priorities! Below is a start. Your
code does not do any emailing, by the way... what happens when you set
the EMAILADDR variable? Nothing... you need to add a handler script to
send the email.

[macro-faxreceive]
exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
exten = s,2,rxfax(${FAXFILE})
exten = s,3,SetVar([EMAIL PROTECTED])
exten = s,3,System(SOME EMAILING CODE HERE)
exten = s,5,Goto(1)

--Luki
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Re: FAX

2005-02-23 Thread Hermann Wecke
Olaf Klein wrote:
Why not just kill yourself, fucking wannabe spammer? DIE DIE DIE
This is *REALLY* offtopic, but Isamar is the founder of Brazilian 
AntiSPAM - http://antispam.org.br/ and later http://spambr.org/
Does it matter here? I don't think so, but calling he (or even me) a 
spammer is really too bad! ;-)

Now can we return to the main issue of this thread? TIA.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Re: FAX

2005-02-23 Thread Robert Webb

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Hermann Wecke
 Sent: Tuesday, February 22, 2005 11:03 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] Re: FAX

 Olaf Klein wrote:
  Why not just kill yourself, fucking wannabe spammer? DIE DIE DIE

 This is *REALLY* offtopic, but Isamar is the founder of
 Brazilian AntiSPAM - http://antispam.org.br/ and later
 http://spambr.org/ Does it matter here? I don't think so, but
 calling he (or even me) a spammer is really too bad! ;-)

 Now can we return to the main issue of this thread? TIA.


And since we were on topic today about CTO's coming here to look at this
product and being turned away because they ask the wrong question...

If this guy is who you say he is, even though he is not a CTO or a three
levels down grunt, seems we may have turned an important person away
from this product that might have been using it for legitimate
reasons...

Robert

Just playing a third party observer of today's events...



___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: FAX

2005-02-20 Thread Olaf Klein
Why not just kill yourself, fucking wannabe spammer? DIE DIE DIE 

 

I am using Underwood's fax system for fax on demand and it's very cool. 

I am planning to do the following and I would like to know if it's
possible before putting my hands on it. 

For a specific application,
I want to dialout thousands of numbers searching for fax machines.
If somebody takes the call(voice), I would flag that number as bad in the
DB. If it's a voice only answer machine, I would flag that number also as
bad. But if it's a fax or an answer machine with fax, I would flag that
number as valid fax number for future use.
Is that possible? 

Thanks a lot, 

Isamar Maia 

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: fax over tdm400p

2005-01-19 Thread Sergio

My solution was to use app_rxfax() and some glue to have faxes automatically converted to PDFs and placed in a samba share.
   

Could you describe more detaily how this could be done. I plan to do
ou can start from here
ftp://ftp.opencall.org/pub/spandsp
I had to manually modify the apps/Makefile to get a clean compile but it 
is working
here you can find a guide to get it working in your dialplan
http://scottstuff.net/scott/archives/000152.html

Sergio
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: fax over tdm400p

2005-01-19 Thread Sergio

Sending works nearly perfect.  It's the receiving that is a pain.
Well, txfax/rxfax is not exactly what we're talking about here.
yes that is right. I have problems sending and receiving
I'm using a v90 modem/fax to test the analog fax from a different 
tdm400p port you can hear some click during the handshake between the 
v90 and the analog fax and I think that is disturbing the handshake or 
the connection.
Too many ECM retransmission so something is going wrong.
Maybe it's just an hardware issue. I should try to change the pci slot 
and the power cord from the PSU.
Well I'm still curious to know if someone has got fax over tdm400p working.

Sergio
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: fax over tdm400p

2005-01-19 Thread Sergio

The situation is opposite here: I have a Philips fax connceted to an 
fxs port of a TDM31B, and receiving from the fax to * with rxfax works 
great, while transmitting with txfax *never* works...
did you hear something wrong during the fax handshake? any micro 
interruption (click sound) or something similar?
thx
Sergio
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: Fax and PRI

2005-01-19 Thread Noah Miller
On 2005.01.19 01:39 tim panton wrote:
My options include;
1) get a basic fax machine and plug it into a (iaxy/sipura?)
ATA. Configure the ATA to do alaw
so asterisk doesn't have to do any transcoding and hope it works.
2) use spandsp on my asterisk system and add suitable print
queues
3) get an separate analog line and plug a fax into it
4) use a fax modem on the back of an existing system and an ATA
(like 1 but even less
hardware)
5) use a fax-to-email service
I've been reading about all the problems that people have with fax.
What do folk recommend?
Get a separate analog line and plug a fax into it.
It's an unfortunate expenditure, but Asterisk just does not do fax very
well.  There seems to be some bug with it and receiving faxes.
Andrew's experience seems to indicate that you could mix numbers 1  2
with success.  In other words, send with #1, and receive with #2.  I
don't have any experience with #2.  My experience with #1 is that
sending works fine, but receiving is not fine.
We have a PRI and I run both incoming and outgoing faxes through a 
TDM400P.  It works without problems.  No need to mess with 
codecs/compression at all.  The signal that comes in on the PRI is the 
same one that goes out to the fax machine and vice versa.  The fax 
machine is a big ricoh multifunction unit.

___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Re: fax over tdm400p

2005-01-18 Thread Sergio

I'm unable to get faxes working over tdm400p (4fxs modules)
Too many errors sending and receiving faxes with an analog fax
1) echocancel=no on the zap channels
2) ztmonitored the channel for a good/low audio volume
   

I can now send faxes just fine, but I cannot for the life of me get reliable 
fax reception, nor can I get the stamp machine to work well.  I took out the 
 

thanks for the reply andrew.
Yes the fax sometimes works sending and receiving but it's not working 
as I was expected.
Something wrong in the TDM or in the drivers.
Maybe it's just a low power problem
I will try to change the pci slot and the power connector but I think 
tdm is good for voice not for data.

My solution was to use app_rxfax() and some glue to have faxes automatically 
converted to PDFs and placed in a samba share.
 

yes I was trying it out. I'm using an  eicon diva with integrated 
softmodem and I can use capiAnswerFax but I would be able to use an old 
analog fax.
Maybe I should buy one of those sip-fxs converters

Sergio
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Fax detection in voip channel

2004-10-22 Thread usedcanon
usedcanon wrote:

Hi All,

Is it possible to detect an incomming fax just as it is possible with
Answer
on a Zap channel. If not do others find the possibility of this
enhancement
useful too?


Detecting that an incoming is a FAX has been present in * since its
early days.

Regards,
Steve

Steve,

Can you kindly elaborate on that. As I mention in my original post, I
understand that it is possible for calls comming in on a Zap channel, but my
tests and wiki documentation suggest that it is limited to that.

If you can shed some more light on this I would be greatful.

should something like this work ? if the incomming call is from a SIP
channel

 [default]
 exten = s,1,Answer
 exten = s,2,Dial(IAX2/3987,40,r)
 exten = s,3,Hangup

 exten = fax,1,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
 exten = fax,2,rxfax(${FAXFILE})


Thanks

Umar

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] RE: Fax

2004-01-14 Thread Reinhard Max
Hi,

On Tue, 13 Jan 2004 at 21:06, Jason Penton wrote:

 (I have successfully managed to receive faxes thru my isdn card so I
 don't see why I shouldn't be able to send them).

that's interesting, as in my tests it was just the other way around.

I can send faxes through my AVM ISDN card (chan_capi), but when I try
to receive a fax, app_rxfax fails after reporting some carrier
training errors. I've posted the detailed error logs to this list some
weeks ago.

Jason, are you using chan_capi, or chan_modem_i4l to access your ISDN
card?

cu
Reinhard

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: Fax

2004-01-14 Thread Jason Penton
Hi Reinhard

Hmmm very interesting. 

I am using chan_modem_i4l to access my gazel ISDN PCI cards. I must tell you
though that I have two fax machines the one sends perfectly and the other
fails (sounds similar to your problem wrt training errors). Not quite sure
where to go from here. I am going to listen to the line (as Steve suggested
in an earlier post) and will post my findings.

Good luck 
Jason

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Reinhard Max
 Sent: 14 January 2004 10:30 AM
 To: [EMAIL PROTECTED]
 Subject: [Asterisk-Users] RE: Fax
 
 Hi,
 
 On Tue, 13 Jan 2004 at 21:06, Jason Penton wrote:
 
  (I have successfully managed to receive faxes thru my isdn 
 card so I 
  don't see why I shouldn't be able to send them).
 
 that's interesting, as in my tests it was just the other way around.
 
 I can send faxes through my AVM ISDN card (chan_capi), but 
 when I try to receive a fax, app_rxfax fails after reporting 
 some carrier training errors. I've posted the detailed error 
 logs to this list some weeks ago.
 
 Jason, are you using chan_capi, or chan_modem_i4l to access 
 your ISDN card?
 
 cu
   Reinhard
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] RE: Fax

2004-01-14 Thread Steven Critchfield
On Wed, 2004-01-14 at 03:37, Jason Penton wrote:
 Hi Reinhard
 
 Hmmm very interesting. 
 
 I am using chan_modem_i4l to access my gazel ISDN PCI cards. I must tell you
 though that I have two fax machines the one sends perfectly and the other
 fails (sounds similar to your problem wrt training errors). Not quite sure
 where to go from here. I am going to listen to the line (as Steve suggested
 in an earlier post) and will post my findings.

I think you will find a common thread wrt echo on chan_modem_i4l. That
method wasn't meant rally for voice traffic and therefore has some
variable delays. In the case of data, the timing isn't critical as a
data app will eat the data at about any speed, in voice it is critical
to have specific timing and even more so in fax or modem audio. If you
can switch to Kapejods CAPI driver then it should be better.

  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Reinhard Max
  Sent: 14 January 2004 10:30 AM
  To: [EMAIL PROTECTED]
  Subject: [Asterisk-Users] RE: Fax
  
  Hi,
  
  On Tue, 13 Jan 2004 at 21:06, Jason Penton wrote:
  
   (I have successfully managed to receive faxes thru my isdn 
  card so I 
   don't see why I shouldn't be able to send them).
  
  that's interesting, as in my tests it was just the other way around.
  
  I can send faxes through my AVM ISDN card (chan_capi), but 
  when I try to receive a fax, app_rxfax fails after reporting 
  some carrier training errors. I've posted the detailed error 
  logs to this list some weeks ago.
  
  Jason, are you using chan_capi, or chan_modem_i4l to access 
  your ISDN card?
  
  cu
  Reinhard
  
  ___
  Asterisk-Users mailing list
  [EMAIL PROTECTED]
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
  
  
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users