[asterisk-users] SpanDSP (RxFax)
Hi, We had an install working quite well of SpanDSP on our machine until recently where it has began spitting out an error stating unable to translate from unknown to unknown. Any ideas ? Regards, Sahil Gupta VoiceValley ___ --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] SpanDSP (RxFax)
Might want to look into you libtiff version and / or the presence of tiff2pdf. Just a guess. Bryan Johns Partner Shelton | Johns Office: 678.248.2637 FindMe: 678.229.1809 http://www.sheltonjohns.com - Original Message - From: Sahil Gupta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2007 5:27:04 PM (GMT-0500) America/New_York Subject: [asterisk-users] SpanDSP (RxFax) Hi, We had an install working quite well of SpanDSP on our machine until recently where it has began spitting out an error stating unable to translate from unknown to unknown. Any ideas ? Regards, Sahil Gupta VoiceValley ___ --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] Spandsp rxfax txtax fails no errors
On Mon, Nov 20, 2006 at 02:25:30PM -0800, daveasterisk wrote: -- Executing [EMAIL PROTECTED]:2] RxFAX(SIP/xxx.xxx.xx.xx-0821ec78, /tmp/recievedfax.tif) in new stack saster*CLI and that is where it just sits. no further messages. the target file does not exist and the directory should have acceptable rights. I'm not well-familiar with rxfax, but I recall it has a 'debug' option. Could you try using it? One other sanity check: make sure you're not out of disk space: df /tmp -- Tzafrir Cohen icq#16849755jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ --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] spanDSP + rxfax
Hi, I trying to recieve fax with spanDSP and rxfax. scheme: asterisk---sipUA(audiocodes mp-112)--fax(hp5610). I'm allways getting by from UA at the beginning of transmission. Hi does that because sees that rtp connection is broken. I suppose my multifunction hp box is not working correctly but I don't have other to try ;). Maybe somebody from debug may say thats wrong? Aug 17 09:53:58 DEBUG[704] chan_sip.c: Setting NAT on RTP to 0 Aug 17 09:53:58 DEBUG[704] chan_sip.c: Checking SIP call limits for device 123 Aug 17 09:53:58 DEBUG[704] chan_sip.c: build_route: Contact hop: sip:[EMAIL PROTECTED] Aug 17 09:53:58 VERBOSE[704] logger.c: -- Executing Answer(SIP/123-df9b, ) in new stack Aug 17 09:53:58 VERBOSE[704] logger.c: -- Executing RxFAX(SIP/123-df9b, /home/minkpr/test.tif|debug) in new stack Aug 17 09:53:58 DEBUG[704] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Response 2: Match Found Aug 17 09:53:59 DEBUG[704] app_rxfax.c: FLOW HDLC carrier up Aug 17 09:53:59 DEBUG[704] app_rxfax.c: FLOW HDLC carrier down Aug 17 09:53:59 DEBUG[704] app_rxfax.c: FLOW HDLC carrier up Aug 17 09:53:59 DEBUG[704] app_rxfax.c: FLOW HDLC carrier down Aug 17 09:54:01 DEBUG[704] app_rxfax.c: FLOW Changed from phase 1 to 4 Aug 17 09:54:01 DEBUG[704] app_rxfax.c: FLOW DIS:Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 00Aug 17 09:54:01 DEBUG[704] app_rxfax.c: ceAug 17 09:54:01 DEBUG[704] app_rxfax.c: f4Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 81Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:01 DEBUG[704] app_rxfax.c: 18Aug 17 09:54:01 DEBUG[704] app_rxfax.c: Aug 17 09:54:03 DEBUG[704] app_rxfax.c: FLOW HDLC underflow in state 9 Aug 17 09:54:03 DEBUG[704] app_rxfax.c: FLOW Changed from phase 4 to 3 Aug 17 09:54:06 DEBUG[704] app_rxfax.c: FLOW T4 timeout in state 9 Aug 17 09:54:06 DEBUG[704] app_rxfax.c: FLOW Changed from phase 3 to 4 Aug 17 09:54:06 DEBUG[704] app_rxfax.c: FLOW DIS:Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 00Aug 17 09:54:06 DEBUG[704] app_rxfax.c: ceAug 17 09:54:06 DEBUG[704] app_rxfax.c: f4Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 81Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:06 DEBUG[704] app_rxfax.c: 18Aug 17 09:54:06 DEBUG[704] app_rxfax.c: Aug 17 09:54:07 DEBUG[704] app_rxfax.c: FLOW T2 timeout Aug 17 09:54:07 DEBUG[704] app_rxfax.c: FLOW Start receiving document Aug 17 09:54:07 DEBUG[704] app_rxfax.c: FLOW DIS:Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 00Aug 17 09:54:07 DEBUG[704] app_rxfax.c: ceAug 17 09:54:07 DEBUG[704] app_rxfax.c: f4Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 81Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:07 DEBUG[704] app_rxfax.c: 18Aug 17 09:54:07 DEBUG[704] app_rxfax.c: Aug 17 09:54:08 DEBUG[704] app_rxfax.c: FLOW HDLC underflow in state 9 Aug 17 09:54:08 DEBUG[704] app_rxfax.c: FLOW Changed from phase 4 to 3 Aug 17 09:54:08 DEBUG[704] app_rxfax.c: FLOW HDLC carrier up Aug 17 09:54:08 DEBUG[704] app_rxfax.c: FLOW HDLC framing OK Aug 17 09:54:10 DEBUG[704] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Response 3: Match Found Aug 17 09:54:10 VERBOSE[704] logger.c: == Forcing Marker bit, because SSRC has changed Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW DCS:Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 83Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 00Aug 17 09:54:10 DEBUG[704] app_rxfax.c: c6Aug 17 09:54:10 DEBUG[704] app_rxfax.c: f4Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 80Aug 17 09:54:10 DEBUG[704] app_rxfax.c: 00Aug 17 09:54:10 DEBUG[704] app_rxfax.c: Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW DCS with final frame tag Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW In state 9 Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW Get at 9600bps, modem 1 Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW Changed from phase 3 to 5 Aug 17 09:54:10 DEBUG[704] app_rxfax.c: FLOW Non-ECM carrier up Aug 17 09:54:11 DEBUG[704] app_rxfax.c: FLOW Non-ECM carrier down Aug 17 09:54:11 DEBUG[704] app_rxfax.c: FLOW Non-ECM carrier up Aug 17 09:54:11 DEBUG[704] app_rxfax.c: FLOW Non-ECM carrier trained Aug 17 09:54:12 DEBUG[704] app_rxfax.c: FLOW
Re: [Asterisk-Users] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Ben Fried wrote: Just to be clear, I have inbound and outbound faxes working with my TDM400, by going the iaxmodem and hylafax route. No need for a separate modem or an x100p card. Be Ah, that's interesting. Can you provide some details on how you set it up? Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
I'm doing this from memory, so there may be errors. I'm using [EMAIL PROTECTED] 2.2 as a base, though I'd added a bunch of RPMs for things like fonts along the way. Install hylafax - if you [EMAIL PROTECTED], there's a CentOS RPM for hylafax you can use. I believe I had to install some (obvious) dependencies, but they were straightforward and easy to do with yum; then I had to make some symlinks for the ghostscript fontss and one or two other things; the hylafax setup tells you where it looks for stuff and if it found it or not. Building iaxmodem is a tiny bit tricky; it uses a different version of spandsp from what [EMAIL PROTECTED]'s build of rxfax and txfax uses, which causes asterisk to crash if it had loaded rxfax and txfax, and it also and overwrites the install location of what came with [EMAIL PROTECTED] I had to remove the dso's for rxfax and txfax after installing iaxmodem and restart asterisk, and all was fine. I made some trivial changes to the default iaxmodem configuration, which I don't think were significant (told it to use ulaw, but it seems to negotiate to the slinear codec anyway). Run iaxmodem on the same machine running Asterisk. I had to change the iax.conf [general] stanza to bandwidth=high and tos=reliability, and to add allow=slinear In the [EMAIL PROTECTED] AMP console, add an iax extension. It has to have a numeric extension identifier. Make that be the peername filed of the iaxmodem config. In the AMP console, specify that extension 300 (or whatever extension # you made iaxmodem) is the handler for faxes. Run faxgetty on ttyIAX with the configuration that came with iaxmodem. At this point, you can test to see if things are working or not. Send yourself some faxes. /var/spool/hylafax/log has a separate log file for each inbound or outbound fax; you can tail them and the asterisk logs to see what's going on. I get a lot of HDLC errors but they all seem benign. If everything works, the inbound faxes will be delivered as PDF to whoever the recipient of FaxMaster mail. sendfax sends faxes; it also leaves logs in /var/spool/hylafax/log. Once you're sure everything's working, make sure everything will come back on startup. I added the following two lines to [EMAIL PROTECTED]'s /etc/rc3.d/S99local: /usr/local/bin/iaxmodem ttyIAX /var/log/iaxmodem.stdout 2 /var/log/iaxmodem.stderr /usr/sbin/faxgetty ttyIAX Using inittab seems like a more elegant approach: it will respawn processes that exit unexpectedly and this won't, but it wasn't clear to me that I could have lines in inittab that I knew were executed after S99local. IMHO, iaxmodem and hylafax should be standard parts of [EMAIL PROTECTED], and are far preferable to rxfax and txfax. Aside from the virtue of working where the asterisk builtins don't, hylafax is a far more mature, complete, and feature-rich fax engine, with a strong community around it. Good luck. Ben On 1/17/06, Philip Edelbrock [EMAIL PROTECTED] wrote: Ben Fried wrote: Just to be clear, I have inbound and outbound faxes working with my TDM400, by going the iaxmodem and hylafax route. No need for a separate modem or an x100p card. Be Ah, that's interesting. Can you provide some details on how you set it up? Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Ben Fried wrote: On 1/9/06, Rich Adamson [EMAIL PROTECTED] wrote: Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Its been a problem since the card came out a couple of years ago. So, no it does not appear there is any relief in sight. Sigh. What a disappointment! Are there any other options for home users to receive faxes over the PSTN through *? Is anyone working on an alternative to the zaptel driver that might fix this issue? Humm, I tried to get my TDM400 card accepting faxes last week. It works about 1 out of 8 times. When it works, it looks great. When it doesn't, I usually (but not always) get a 'poor line quality' error from the sending fax machine and a blank or small corrupt image. I've tried adjusting the gain up and down, reversing ring/tip, and a few other little things. I wonder if it helps to adjust some other settings in the zapata.conf, like echo cancellation? My hope is dwindling, though, after reading this thread. :'( I do have a couple unused X100P clones sitting in that box that might be worth a try... Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Since writing my message, I appear to have had success using iaxmodem + hylafax to do inbound faxing. Setup was not completely obvious, especially if you're usin [EMAIL PROTECTED], like me, I finally seem to have inbound faxes working properly now - 5 or 6 in a row have all come in just fine. Ben On 1/16/06, Philip Edelbrock [EMAIL PROTECTED] wrote: Ben Fried wrote: On 1/9/06, Rich Adamson [EMAIL PROTECTED] wrote: Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Its been a problem since the card came out a couple of years ago. So, no it does not appear there is any relief in sight. Sigh. What a disappointment! Are there any other options for home users to receive faxes over the PSTN through *? Is anyone working on an alternative to the zaptel driver that might fix this issue? Humm, I tried to get my TDM400 card accepting faxes last week. It works about 1 out of 8 times. When it works, it looks great. When it doesn't, I usually (but not always) get a 'poor line quality' error from the sending fax machine and a blank or small corrupt image. I've tried adjusting the gain up and down, reversing ring/tip, and a few other little things. I wonder if it helps to adjust some other settings in the zapata.conf, like echo cancellation? My hope is dwindling, though, after reading this thread. :'( I do have a couple unused X100P clones sitting in that box that might be worth a try... Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Ben Fried wrote: Since writing my message, I appear to have had success using iaxmodem + hylafax to do inbound faxing. Setup was not completely obvious, especially if you're usin [EMAIL PROTECTED], like me, I finally seem to have inbound faxes working properly now - 5 or 6 in a row have all come in just fine. Ben Incidentially, I switched to a X100P and it works a lot better. That is to say that one fax failed of 5. Not great, but much better. We've got a semi-nice (but old) fax/modem from the days when we dialed in from home. If we get serious, I might try that instead. Or just stick to smearing ink/toner on dead trees. Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Just to be clear, I have inbound and outbound faxes working with my TDM400, by going the iaxmodem and hylafax route. No need for a separate modem or an x100p card. Be On 1/16/06, Philip Edelbrock [EMAIL PROTECTED] wrote: Ben Fried wrote: Since writing my message, I appear to have had success using iaxmodem + hylafax to do inbound faxing. Setup was not completely obvious, especially if you're usin [EMAIL PROTECTED], like me, I finally seem to have inbound faxes working properly now - 5 or 6 in a row have all come in just fine. Ben Incidentially, I switched to a X100P and it works a lot better. That is to say that one fax failed of 5. Not great, but much better. We've got a semi-nice (but old) fax/modem from the days when we dialed in from home. If we get serious, I might try that instead. Or just stick to smearing ink/toner on dead trees. Phil ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
On 1/9/06, Adam Goryachev [EMAIL PROTECTED] wrote: On Mon, 2006-01-09 at 11:40 -0600, Rich Adamson wrote: It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! I bought a really cheap clone off ebay and it worked first time every time (so far). Even on longer many page faxes. Getting one with an md3200 chipset (which is not what I have) and will try it on that and see and report back).. this isnt a critical system especially for faxing, so it would be interesting for me to see if this problem you are talking about has any problems with either card. I can try to get the exact chip I have when I open it up to install the new card when it gets here) It would _very_ interesting to see the data, so please do post it to the list. There are a fair number of people interested in selling small pbx's with fax/modem/pos support that actually works reliably. Have you tried the TDM card yet? I think at the end of the day all of this has more to do with the motherboard and the software rather than the TDM card. I have it working fine with a TE410p + TDM31B cards... ie, EFTPOS connects to FXS on TDM which connects to the TE410p card onto the PSTN... While this may not be a 'small office' scenario, it shows that at least the TDM card is working perfectly in that system. I also use spandsp with a TE410p card in a different system, which seems to work perfectly as well. I'd strongly suggest that people having problems, and who are interested in marketing this as a solution, do some testing with different motherboards/systems/etc and find a combination that works. Once you have that, simply replicate as needed. Regards, Adam What motherboards, CPUs, etc, do you have in the systems that are working properly? Ben ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Ben Fried wrote: On 1/9/06, Adam Goryachev [EMAIL PROTECTED] wrote: I'd strongly suggest that people having problems, and who are interested in marketing this as a solution, do some testing with different motherboards/systems/etc and find a combination that works. Once you have that, simply replicate as needed. What motherboards, CPUs, etc, do you have in the systems that are working properly? motherboard: ASUS A7N8X-X processor: AMD Athlon XP 2000+ fxo card: AMI-IA92/IE92 winmodem (X100P) kernel: Linux 2.6.12.2 configuration: ACPI using IO-APIC, fxo card uses IRQ 17 alone 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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Its been a problem since the card came out a couple of years ago. So, no it does not appear there is any relief in sight. ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
On 1/9/06, Rich Adamson [EMAIL PROTECTED] wrote: Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Its been a problem since the card came out a couple of years ago. So, no it does not appear there is any relief in sight. Sigh. What a disappointment! Are there any other options for home users to receive faxes over the PSTN through *? Is anyone working on an alternative to the zaptel driver that might fix this issue? Ben ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Its been a problem since the card came out a couple of years ago. So, no it does not appear there is any relief in sight. Sigh. What a disappointment! Are there any other options for home users to receive faxes over the PSTN through *? Is anyone working on an alternative to the zaptel driver that might fix this issue? I'm certainly not the expert on this topic, but I believe the issue has to do with the pci bus and probably relates to the TigerJet chip used on the card. Until that's addressed, any analog modem use through the card will be marginal at best. (Same issue as with the older x100p card.) One alternative for low volume faxing is to use an external service. I've found those to be very economical and I receive all faxes in the form of a pdf file (much better for me in terms of a distributed office environment). No more costs associated with junk faxes, toner, paper, etc, etc. Another alternative is to maintain a single pstn analog line for outbound faxing, E911, and other such services. All of the above has been discussed many times on the list and should be available from the archives. ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Rich Adamson wrote: I'm certainly not the expert on this topic, but I believe the issue has to do with the pci bus and probably relates to the TigerJet chip used on the card. Until that's addressed, any analog modem use through the card will be marginal at best. (Same issue as with the older x100p card.) I can send and receive faxes just fine with my X100P (well, actually it was just a winmodem that was identical to the X100P). And I fax with ECM, so I notice every little glitch in the data stream. So I strongly doubt that your speculation is correct. 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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
I'm certainly not the expert on this topic, but I believe the issue has to do with the pci bus and probably relates to the TigerJet chip used on the card. Until that's addressed, any analog modem use through the card will be marginal at best. (Same issue as with the older x100p card.) I can send and receive faxes just fine with my X100P (well, actually it was just a winmodem that was identical to the X100P). And I fax with ECM, so I notice every little glitch in the data stream. So I strongly doubt that your speculation is correct. It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
On Mon, 2006-01-09 at 11:15 -0600, Rich Adamson wrote: It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! I bought a really cheap clone off ebay and it worked first time every time (so far). Even on longer many page faxes. Getting one with an md3200 chipset (which is not what I have) and will try it on that and see and report back).. this isnt a critical system especially for faxing, so it would be interesting for me to see if this problem you are talking about has any problems with either card. I can try to get the exact chip I have when I open it up to install the new card when it gets here) -- 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
Re: [Asterisk-Users] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Rich Adamson wrote: I'm certainly not the expert on this topic, but I believe the issue has to do with the pci bus and probably relates to the TigerJet chip used on the card. Until that's addressed, any analog modem use through the card will be marginal at best. (Same issue as with the older x100p card.) I can send and receive faxes just fine with my X100P (well, actually it was just a winmodem that was identical to the X100P). And I fax with ECM, so I notice every little glitch in the data stream. So I strongly doubt that your speculation is correct. It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. I use IAXmodem... which uses spandsp, but it's not txfax/rxfax. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! The silkscreened manufacturer model number is AMI-IA92/IE92. I actually bought two of these things over the course of time, and at one time they were sold by many various vendors. They were more popular in the 2001-2004 time-frame... so finding one of these nowadays may be rather difficult. Many vendors replaced the AMI-IA92/IE92 with another product without updating their databases, so it is possible to purchase the wrong thing very easily here. The chipset on the right card clearly indicates that it is an Ambient MD3200. If you have an Ambient MD3200 chipsetted modem and Zaptel does not pick it up, then it's most likely the case that the vendor's PCI ID is just not stored in the Zaptel driver. This only requires a very simple modification to the source code to fix. 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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! I bought a really cheap clone off ebay and it worked first time every time (so far). Even on longer many page faxes. Getting one with an md3200 chipset (which is not what I have) and will try it on that and see and report back).. this isnt a critical system especially for faxing, so it would be interesting for me to see if this problem you are talking about has any problems with either card. I can try to get the exact chip I have when I open it up to install the new card when it gets here) It would _very_ interesting to see the data, so please do post it to the list. There are a fair number of people interested in selling small pbx's with fax/modem/pos support that actually works reliably. Have you tried the TDM card yet? ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
On Mon, 2006-01-09 at 11:40 -0600, Rich Adamson wrote: It would be very interesting to know the real numbers that have it working. The archives (and about two/three years of attempting to help others with the exact same problem) suggests no better then maybe one in ten or twenty will ever get spandsp to work with the digium x100p or TDM card. Maybe the trick is for you to identify 'exactly' which winmodem card does work; others would be very happy to give it a try without a doubt! I bought a really cheap clone off ebay and it worked first time every time (so far). Even on longer many page faxes. Getting one with an md3200 chipset (which is not what I have) and will try it on that and see and report back).. this isnt a critical system especially for faxing, so it would be interesting for me to see if this problem you are talking about has any problems with either card. I can try to get the exact chip I have when I open it up to install the new card when it gets here) It would _very_ interesting to see the data, so please do post it to the list. There are a fair number of people interested in selling small pbx's with fax/modem/pos support that actually works reliably. Have you tried the TDM card yet? I think at the end of the day all of this has more to do with the motherboard and the software rather than the TDM card. I have it working fine with a TE410p + TDM31B cards... ie, EFTPOS connects to FXS on TDM which connects to the TE410p card onto the PSTN... While this may not be a 'small office' scenario, it shows that at least the TDM card is working perfectly in that system. I also use spandsp with a TE410p card in a different system, which seems to work perfectly as well. I'd strongly suggest that people having problems, and who are interested in marketing this as a solution, do some testing with different motherboards/systems/etc and find a combination that works. Once you have that, simply replicate as needed. Regards, Adam ___ --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] spandsp, rxfax, TDM400/zaptel, missed frames, any help?
Sorry in advance if this is a FAQ... I've got a working Asterisk setup based on [EMAIL PROTECTED] 2.2. I have a TDM400 card with 2 FXS and 2 FXO ports; PSTN connections come in via the TDM card. I haven't been able to get inbound fax with spandsp and rxfax to work. Occasionally an all-text fax will come in, though it's usually badly corrupted, but in most cases, it would appear that the call is terminated without successful transmission of the fax. I get logs that look what's included below. From reading the list, it looks like this is caused by the TDM card missing frames. Does that sound correct? If so, is there any relief in sight? Thanks for the help. Ben Jan 8 21:47:53 VERBOSE[17842] logger.c: -- Goto (ext-fax,in_fax,2) Jan 8 21:47:53 VERBOSE[17842] logger.c: -- Executing Macro(Zap/3-1, faxreceive) in new stack Jan 8 21:47:53 VERBOSE[17842] logger.c: -- Executing SetVar(Zap/3-1, FAXFILE=/var/spool/asterisk/fax/1136774870.55.tif) in new stack Jan 8 21:47:53 VERBOSE[17842] logger.c: -- Executing SetVar(Zap/3-1, EMAILADDR=[redacted]) in new stack Jan 8 21:47:53 VERBOSE[17842] logger.c: -- Executing RxFAX(Zap/3-1, /var/spool/asterisk/fax/1136774870.55.tif) in new stack Jan 8 21:48:21 DEBUG[17842] chan_zap.c: Exception on 14, channel 3 Jan 8 21:48:21 DEBUG[17842] chan_zap.c: Got event On hook(1) on channel 3 (index 0) Jan 8 21:48:21 DEBUG[17842] chan_zap.c: disabled echo cancellation on channel 3 Jan 8 21:48:21 DEBUG[17842] app_rxfax.c: Got hangup Jan 8 21:48:21 DEBUG[17842] app_macro.c: Extension s, priority 3 returned normally even though call was hung up Jan 8 21:48:21 DEBUG[17842] pbx.c: Extension in_fax, priority 2 returned normally even though call was hung up Jan 8 21:48:21 VERBOSE[17842] logger.c: -- Executing Hangup(Zap/3-1, ) in new stack Jan 8 21:48:21 VERBOSE[17842] logger.c: == Spawn extension (ext-fax, h, 1) exited non-zero on 'Zap/3-1' Jan 8 21:48:21 DEBUG[17842] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record. Jan 8 21:48:21 DEBUG[17842] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2006-01-08 21:47:51','','','in_fax','ext-fax', 'Zap/3-1','','Hangup','',30,30,'ANSWERED',3,'','1136774870.55') Jan 8 21:48:21 DEBUG[17842] chan_zap.c: Hangup: channel: 3 index = 0, normal = 14, callwait = -1, thirdcall = -1 Jan 8 21:48:21 DEBUG[17842] chan_zap.c: disabled echo cancellation on channel 3 Jan 8 21:48:21 DEBUG[17842] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/3-1 Jan 8 21:48:21 DEBUG[17842] chan_zap.c: Updated conferencing on 3, with 0 conference users Jan 8 21:48:21 VERBOSE[17842] logger.c: -- Hungup 'Zap/3-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
Re: [Asterisk-Users] Spandsp/rxfax/txfax Asterisk 1.2stable - problems loading the modules
I am getting the same problems -- undefined symbols with spandsp-0.0.2pre21 and the fax modules from the same directory -- wonder if there are anylater versions? I am not using /usr/local/lib for any of these so its not in the ld.so.conf. Any assistance would be appreciated. on Wed, 23 Nov 2005 07:50:54 -0600 Martinez Felix [EMAIL PROTECTED] wrote: two things...verify the content of your /etc/ld.so.conf file must have the path included(/usr/local/lib) and recompile and install...first span and then asterisk... On 11/22/05, Dominik Simon [EMAIL PROTECTED] wrote: Hi all, today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with rxfax txfax. After I restart the asterisk and get the following errors: [app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler WARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.so failed! [app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info WARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.so failed! I am running Asterisk on fedora core 4 - all works great (Asterisk, app_conference and others...), but tx/rxfax failed :( Now I found the following message on http://www.asteriskguru.com/ tutorials/spandsp.html: // START // 2) If you receive a message like the following: [app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loading module app_txfax.so failed! Ouch ... error while writing audio data: : Broken pipe When you execute the asterisk -vvvc command and the Asterisk crashes when you try to execute the safe_asterisk command, then very probably you have the following problem: The previously installed version of spandsp has been 0.0.3, but now you have installed version 0.0.2. The problem is that the installation of version 0.0.3 creates a symlink, which is not replaced by installation of version 0.0.2. So the symlink points to the library of version 0.0.3, which actually does not exist. The solution is to find the location of this symlink and to delete it manually. Usually it is in the /usr/lib/ directory. /// STOP /// - But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see: -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so - libspandsp.so.0.0.1 lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 - libspandsp.so.0.0.1 -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 - Does anybody have the same problems? Best regards and thx for help! Dominik Simon. ___ --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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [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] Spandsp/rxfax/txfax Asterisk 1.2stable - problems loading the modules
The problem is your's. pre21 works with Asterisk 1.2, although I haven't yet updated the Makefile patch to apply cleanly. Try looking for other versions of spandsp left behind on your system. Steve John Covici wrote: I am getting the same problems -- undefined symbols with spandsp-0.0.2pre21 and the fax modules from the same directory -- wonder if there are anylater versions? I am not using /usr/local/lib for any of these so its not in the ld.so.conf. Any assistance would be appreciated. on Wed, 23 Nov 2005 07:50:54 -0600 Martinez Felix [EMAIL PROTECTED] wrote: two things...verify the content of your /etc/ld.so.conf file must have the path included(/usr/local/lib) and recompile and install...first span and then asterisk... On 11/22/05, Dominik Simon [EMAIL PROTECTED] wrote: Hi all, today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with rxfax txfax. After I restart the asterisk and get the following errors: [app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler WARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.so failed! [app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info WARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.so failed! I am running Asterisk on fedora core 4 - all works great (Asterisk, app_conference and others...), but tx/rxfax failed :( Now I found the following message on http://www.asteriskguru.com/ tutorials/spandsp.html: // START // 2) If you receive a message like the following: [app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loading module app_txfax.so failed! Ouch ... error while writing audio data: : Broken pipe When you execute the asterisk -vvvc command and the Asterisk crashes when you try to execute the safe_asterisk command, then very probably you have the following problem: The previously installed version of spandsp has been 0.0.3, but now you have installed version 0.0.2. The problem is that the installation of version 0.0.3 creates a symlink, which is not replaced by installation of version 0.0.2. So the symlink points to the library of version 0.0.3, which actually does not exist. The solution is to find the location of this symlink and to delete it manually. Usually it is in the /usr/lib/ directory. /// STOP /// - But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see: -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so - libspandsp.so.0.0.1 lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 - libspandsp.so.0.0.1 -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 - Does anybody have the same problems? Best regards and thx for help! Dominik Simon. ___ --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 ___ --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] Spandsp/rxfax/txfax Asterisk 1.2stable - problems loading the modules
two things...verify the content of your /etc/ld.so.conf file must have the path included(/usr/local/lib) and recompile and install...first span and then asterisk...On 11/22/05, Dominik Simon [EMAIL PROTECTED] wrote: Hi all,today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 withrxfax txfax. After I restart the asterisk and get the followingerrors:[app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handlerWARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.sofailed![app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_infoWARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.sofailed!I am running Asterisk on fedora core 4 - all works great (Asterisk, app_conference and others...), but tx/rxfax failed :(Now I found the following message on http://www.asteriskguru.com/tutorials/spandsp.html:// START // 2) If you receive a message like the following:[app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314__load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefinedsymbol: fax_set_header_info Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loadingmodule app_txfax.so failed!Ouch ... error while writing audio data: : Broken pipeWhen you execute the asterisk -vvvc command and the Asterisk crashes when you try to execute the safe_asterisk command, then veryprobably you have the following problem:The previously installed version of spandsp has been 0.0.3, but nowyou have installed version 0.0.2. The problem is that theinstallation of version 0.0.3 creates a symlink, which is notreplaced by installation of version 0.0.2. So the symlink points tothe library of version 0.0.3, which actually does not exist. The solution is to find the location of this symlink and to delete itmanually. Usually it is in the /usr/lib/ directory./// STOP ///-But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see:-rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a-rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.lalrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so -libspandsp.so.0.0.1lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 -libspandsp.so.0.0.1-rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1-Does anybody have the same problems? Best regards and thx for help!Dominik Simon.___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list Asterisk-Users@lists.digium.comhttp://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] Spandsp/rxfax/txfax Asterisk 1.2stable - problems loading the modules
Hi all, today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with rxfax txfax. After I restart the asterisk and get the following errors: [app_rxfax.so] WARNING[6340]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_rxfax.so: undefined symbol: fax_set_phase_d_handler WARNING[6340]: loader.c:554 load_modules: Loading module app_rxfax.so failed! [app_txfax.so] WARNING[6311]: loader.c:325 __load_resource: /usr/lib/ asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info WARNING[6311]: loader.c:554 load_modules: Loading module app_txfax.so failed! I am running Asterisk on fedora core 4 - all works great (Asterisk, app_conference and others...), but tx/rxfax failed :( Now I found the following message on http://www.asteriskguru.com/ tutorials/spandsp.html: // START // 2) If you receive a message like the following: [app_txfax.so]Oct 5 12:05:24 WARNING[14665]: loader.c:314 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info Oct 5 12:05:24 WARNING[14665]: loader.c:543 load_modules: Loading module app_txfax.so failed! Ouch ... error while writing audio data: : Broken pipe When you execute the asterisk -vvvc command and the Asterisk crashes when you try to execute the safe_asterisk command, then very probably you have the following problem: The previously installed version of spandsp has been 0.0.3, but now you have installed version 0.0.2. The problem is that the installation of version 0.0.3 creates a symlink, which is not replaced by installation of version 0.0.2. So the symlink points to the library of version 0.0.3, which actually does not exist. The solution is to find the location of this symlink and to delete it manually. Usually it is in the /usr/lib/ directory. /// STOP /// - But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see: -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so - libspandsp.so.0.0.1 lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 - libspandsp.so.0.0.1 -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 - Does anybody have the same problems? Best regards and thx for help! Dominik Simon. ___ --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
Re: [Asterisk-Users] Spandsp/rxfax/txfax Asterisk 1.2stable -
Dominik Simon wrote: Hi all, today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with rxfax txfax. After I restart the asterisk and get the following errors: - But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see: -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so - libspandsp.so.0.0.1 lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 - libspandsp.so.0.0.1 -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 Your output shows that you have 0.0.1 installed. Delete the older version of spandsp and re-install 0.0.2 Doug ___ --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
Re: [Asterisk-Users] Spandsp/rxfax/txfax Asterisk 1.2stable -
Hi Doug, hi list, I installed spandsp-0.0.2 were the libspandsp.so.0.0.1 are included, now I installed die spandsp-0.0.3 an you see: the same problem - and now there is the libspandsp.so.0.0.2: [app_txfax.so]Nov 22 16:15:38 WARNING[29448]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info Nov 22 16:15:38 WARNING[29448]: loader.c:554 load_modules: Loading module app_txfax.so failed! [EMAIL PROTECTED] /]# cd /usr/local/lib [EMAIL PROTECTED] lib]# ll -rw-r--r-- 1 root root 1143730 22. Nov 16:06 libspandsp.a -rwxr-xr-x 1 root root 822 22. Nov 16:06 libspandsp.la lrwxrwxrwx 1 root root 19 22. Nov 16:06 libspandsp.so - libspandsp.so.0.0.2 lrwxrwxrwx 1 root root 19 22. Nov 16:06 libspandsp.so.0 - libspandsp.so.0.0.2 -rwxr-xr-x 1 root root 873774 22. Nov 16:06 libspandsp.so.0.0.2 Whats going wrong? I cant see the mistake... Best regards, Dominik Am 22.11.2005 um 15:10 schrieb Doug Lytle: Dominik Simon wrote: Hi all, today I installed asterisk 1.2stable and than spandsp-0.0.2pre21 with rxfax txfax. After I restart the asterisk and get the following errors: - But I only have spandsl-0.0.2 installed, and the libs are in /usr/ local/lib, see: -rw-r--r-- 1 root root 946280 18. Nov 22:02 libspandsp.a -rwxr-xr-x 1 root root 822 18. Nov 22:02 libspandsp.la lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so - libspandsp.so.0.0.1 lrwxrwxrwx 1 root root 19 18. Nov 22:02 libspandsp.so.0 - libspandsp.so.0.0.1 -rwxr-xr-x 1 root root 738959 18. Nov 22:02 libspandsp.so.0.0.1 Your output shows that you have 0.0.1 installed. Delete the older version of spandsp and re-install 0.0.2 Doug ___ --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
Re: [Asterisk-Users] Spandsp/rxfax/txfax Asterisk 1.2stable -
Dominik Simon wrote: Hi Doug, hi list, I installed spandsp-0.0.2 were the libspandsp.so.0.0.1 are included, now I installed die spandsp-0.0.3 an you see: the same problem - and now there is the libspandsp.so.0.0.2: [app_txfax.so]Nov 22 16:15:38 WARNING[29448]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_txfax.so: undefined symbol: fax_set_header_info You need to make sure there is no version of spandsp on the system. Use locate -u to update your locate database, then do a local spandsp to find all the locations that it may install to. Remove them all, recompile and install spandsp. That should do it. Doug ___ --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
RE: [Asterisk-Users] SpanDSP rxfax TSID variable name?
What Steve posted is the output of the command 'show application RxFAX' on the Asterisk CLI. - Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Woody Sturges Sent: Wednesday, August 31, 2005 11:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] SpanDSP rxfax TSID variable name? Thanks Steve. That's exactly what I was looking for. At the risk of embarrasing myself (I know, too late), where is this 'help'? I've searched the Wiki, I've been on the Digium forums, I've looked for it in the Asterisk CLI, etc. I'm missing something that seems to be pretty obvious. I'm using [EMAIL PROTECTED] 1.5. Thanks, Woody Steve Underwood wrote: Woody Sturges wrote: Scott's SpanDSP FAQ mentions that the senders' TSID (20 bytes sent by sending fax machine) is made available, but doesn't mention where or how. Is there a variable or something that's set? I didn't see it in http://www.voip-info.org/tiki-index.php?page=Asterisk+variables I suppose trying the help would be a little too obscure? :-\ RxFAX(filename[|caller][|debug]): Receives a FAX from the channel into the given filename. If the file exists it will be overwritten. The file should be in TIFF/F format. The caller option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the sender CSID. FAXPAGES to the number of pages received. FAXBITRATE to the transmition rate. FAXRESOLUTION to the resolution. Returns -1 when the user hangs up. Returns 0 otherwise. TxFAX(filename[|caller][|debug]): Send a given TIFF file to the channel as a FAX. The \caller\ option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the receiver CSID. Returns -1 when the user hangs up, or if the file does not exist. Returns 0 otherwise. ___ --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 The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. ___ --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] SpanDSP rxfax TSID variable name?
Scott's SpanDSP FAQ mentions that the senders' TSID (20 bytes sent by sending fax machine) is made available, but doesn't mention where or how. Is there a variable or something that's set? I didn't see it in http://www.voip-info.org/tiki-index.php?page=Asterisk+variables Thanks, Woody ___ --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
Re: [Asterisk-Users] SpanDSP rxfax TSID variable name?
Woody Sturges wrote: Scott's SpanDSP FAQ mentions that the senders' TSID (20 bytes sent by sending fax machine) is made available, but doesn't mention where or how. Is there a variable or something that's set? I didn't see it in http://www.voip-info.org/tiki-index.php?page=Asterisk+variables I suppose trying the help would be a little too obscure? :-\ RxFAX(filename[|caller][|debug]): Receives a FAX from the channel into the given filename. If the file exists it will be overwritten. The file should be in TIFF/F format. The caller option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the sender CSID. FAXPAGES to the number of pages received. FAXBITRATE to the transmition rate. FAXRESOLUTION to the resolution. Returns -1 when the user hangs up. Returns 0 otherwise. TxFAX(filename[|caller][|debug]): Send a given TIFF file to the channel as a FAX. The \caller\ option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the receiver CSID. Returns -1 when the user hangs up, or if the file does not exist. Returns 0 otherwise. ___ --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
Re: [Asterisk-Users] SpanDSP rxfax TSID variable name?
Thanks Steve. That's exactly what I was looking for. At the risk of embarrasing myself (I know, too late), where is this 'help'? I've searched the Wiki, I've been on the Digium forums, I've looked for it in the Asterisk CLI, etc. I'm missing something that seems to be pretty obvious. I'm using [EMAIL PROTECTED] 1.5. Thanks, Woody Steve Underwood wrote: Woody Sturges wrote: Scott's SpanDSP FAQ mentions that the senders' TSID (20 bytes sent by sending fax machine) is made available, but doesn't mention where or how. Is there a variable or something that's set? I didn't see it in http://www.voip-info.org/tiki-index.php?page=Asterisk+variables I suppose trying the help would be a little too obscure? :-\ RxFAX(filename[|caller][|debug]): Receives a FAX from the channel into the given filename. If the file exists it will be overwritten. The file should be in TIFF/F format. The caller option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the sender CSID. FAXPAGES to the number of pages received. FAXBITRATE to the transmition rate. FAXRESOLUTION to the resolution. Returns -1 when the user hangs up. Returns 0 otherwise. TxFAX(filename[|caller][|debug]): Send a given TIFF file to the channel as a FAX. The \caller\ option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the receiver CSID. Returns -1 when the user hangs up, or if the file does not exist. Returns 0 otherwise. ___ --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
Re: [Asterisk-Users] SpanDSP rxfax TSID variable name?
From the asterisk cli 'show application txfax' and 'show application rxfax' Craig - Original Message - From: Woody Sturges [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Wednesday, August 31, 2005 11:15 PM Subject: Re: [Asterisk-Users] SpanDSP rxfax TSID variable name? Thanks Steve. That's exactly what I was looking for. At the risk of embarrasing myself (I know, too late), where is this 'help'? I've searched the Wiki, I've been on the Digium forums, I've looked for it in the Asterisk CLI, etc. I'm missing something that seems to be pretty obvious. I'm using [EMAIL PROTECTED] 1.5. Thanks, Woody Steve Underwood wrote: Woody Sturges wrote: Scott's SpanDSP FAQ mentions that the senders' TSID (20 bytes sent by sending fax machine) is made available, but doesn't mention where or how. Is there a variable or something that's set? I didn't see it in http://www.voip-info.org/tiki-index.php?page=Asterisk+variables I suppose trying the help would be a little too obscure? :-\ RxFAX(filename[|caller][|debug]): Receives a FAX from the channel into the given filename. If the file exists it will be overwritten. The file should be in TIFF/F format. The caller option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the sender CSID. FAXPAGES to the number of pages received. FAXBITRATE to the transmition rate. FAXRESOLUTION to the resolution. Returns -1 when the user hangs up. Returns 0 otherwise. TxFAX(filename[|caller][|debug]): Send a given TIFF file to the channel as a FAX. The \caller\ option makes the application behave as a calling machine, rather than the answering machine. The default behaviour is to behave as an answering machine. Uses LOCALSTATIONID to identify itself to the remote end. LOCALHEADERINFO to generate a header line on each page. Sets REMOTESTATIONID to the receiver CSID. Returns -1 when the user hangs up, or if the file does not exist. Returns 0 otherwise. ___ --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 ___ --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
RE: [Asterisk-Users] SpanDSP rxfax, no tiff.
I may be a little late on this, but what permissions are on /usr/local/sbin/mailfax? I have a similar set up to execute a mysql query to grab the email address based on DNIS (PRI T1 with multiple numbers on one circuit) and then email the fax to the destination. I set the perm to 755 on the script so everyone/thing can execute. Also, what are the perms on /var/spool/asterisk/asterisk-fax? Can you run the script from the command line by passing it the appropriate values (i.e. /usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/#.#.tiff [EMAIL PROTECTED]? In the event that something weird is going on with the command line parameters, here are some considerations: If the folder for the TIFFs is always the same, you could do a Set (or SetVar depending on your Asterisk build) to have the UNIQUEID passed only to the script If the email reciepients are always on the same domain, you need to only pass the name portion of the email address For example: Extensions.conf section --- [fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) ;exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) This line could go away [macro-faxreceive] exten = s,1,Set(FAX_OUT=${UNIQUEID}) exten = s,2,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${FAX_OUT}.tif) exten = s,3,rxfax(${FAXFILE}) exten = s,4,system(/usr/local/sbin/mailfax ${FOX_OUT} MyName) ;exten = s,3,Set([EMAIL PROTECTED]) This line could go away Assuming #!/bin/bash ;) #!/bin/bash # $ARG1 is the TIFF file name # $ARG2 is the name of the domain email user EMAIL_ADDR=$2"@mycompany.com" FAX_FILE="/var/spool/asterisk/asterisk-fax/"$1 # Do the sendmail thing here #-- Just my 40 cents. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob DanzSent: Wednesday, July 13, 2005 8:18 AMTo: asterisk-users@lists.digium.comSubject: [Asterisk-Users] SpanDSP rxfax, no tiff. Hello, Let me start by saying I have checked the wiki and the archives and did find some relative information. I tried the suggestions in those threads, but still have the same problem. Im using the CVS Asterisk from July 11, 2005. Redhat FC2 SpanDSP 0.0.2pre18 Libtiff 3.5.7 Digium PCI card 1 FXO, 1FXS. I have a single POTS line coming, but I have 2 numbers and am using distinctive ring detection in *. When you call my fax number, the ring detection does work, and does send it to the fax context correctly. The debugs show the call is answered, rxfax is invoked and it is trying to write to the fax file. After the sending party hangs up, it tries to execute a script that will ultimately mail me the fax file. But since the tiff file isnt there to begin with, that fails. The permissions on that folder are 777 for now so permissions arent the problem. I saw a post by Steve Underwood from last year on a similar problem, but it was looking like timing slips on the T1/E1 for that user Im just using a POTS line though. Ive also done ztmonitor to look at the Rx and Tx levels. Rx is a little hotter than Tx, but theyre both well on the right hand side of the scale. Any help is appreciated. Debugs extensions.conf excerpt are below. Thanks, Rob Debug output --- Jul 13 10:04:34 NOTICE[7975]: chan_zap.c:5759 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 93,0,0 -- Distinctive Ring matched context fax -- Executing Answer("Zap/4-1", "") in new stack -- Executing Macro("Zap/4-1", "faxreceive") in new stack -- Executing Set("Zap/4-1", "FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack -- Executing RxFAX("Zap/4-1", "/var/spool/asterisk/asterisk-fax/1121267067.12.tif") in new stack -- Executing System("Zap/4-1", "/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ") in new stack Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to execute '/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf section --- [fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) [macro-faxreceive] exten = s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten = s,2,rxfax(${FAXFILE}) exten = s,3,Set([EMAIL PROTECTED]) ___ 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] SpanDSP rxfax, no tiff
Maybe I over-complicated my question with the mailfax part. If I leave the mailfax step out entirely, then there should be a .tif file, right? But theres not. No tif file gets created at all. Permissions on the fax folder are 777 at the moment. Thanks for the responses so far. /Rob ___ 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] SpanDSP rxfax, no tiff
Rob Danz wrote: If I leave the mailfax step out entirely, then there should be a .tif file, right? But there’s not. No tif file gets created at all. Permissions on the fax folder are 777 at the moment. Are the permissions okay for getting TO that folder? (do you have r+x on the directories 'above' the fax folder?) Thanks for the responses so far. Just trying to help out, I'm using ISDN lines with a DID, for receiving I do this.. If one calls number X, then Goto(custom-fax,s,1) and then.. [custom-fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) exten = s,3,SetVar(ONZENID=${UNIQUEID}) exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} [EMAIL PROTECTED] ${CALLERIDNUM} ${CALLERIDNAME} ${ONZENID}) [macro-faxreceive] exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif) exten = s,2,SetVar(EMAILADDR=${FAX_RX_EMAIL}) exten = s,3,rxfax(${FAXFILE}) exten = s,103,SetVar(EMAILADDR=${FAX_RX_EMAIL}) exten = s,104,Goto(3) The [macro-faxrecevive] is from AMP (wich I'm using for managing asterisk) Hope you can do something with this.. :-) 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
[Asterisk-Users] SpanDSP rxfax, no tiff.
Hello, Let me start by saying I have checked the wiki and the archives and did find some relative information. I tried the suggestions in those threads, but still have the same problem. Im using the CVS Asterisk from July 11, 2005. Redhat FC2 SpanDSP 0.0.2pre18 Libtiff 3.5.7 Digium PCI card 1 FXO, 1FXS. I have a single POTS line coming, but I have 2 numbers and am using distinctive ring detection in *. When you call my fax number, the ring detection does work, and does send it to the fax context correctly. The debugs show the call is answered, rxfax is invoked and it is trying to write to the fax file. After the sending party hangs up, it tries to execute a script that will ultimately mail me the fax file. But since the tiff file isnt there to begin with, that fails. The permissions on that folder are 777 for now so permissions arent the problem. I saw a post by Steve Underwood from last year on a similar problem, but it was looking like timing slips on the T1/E1 for that user Im just using a POTS line though. Ive also done ztmonitor to look at the Rx and Tx levels. Rx is a little hotter than Tx, but theyre both well on the right hand side of the scale. Any help is appreciated. Debugs extensions.conf excerpt are below. Thanks, Rob Debug output --- Jul 13 10:04:34 NOTICE[7975]: chan_zap.c:5759 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 93,0,0 -- Distinctive Ring matched context fax -- Executing Answer(Zap/4-1, ) in new stack -- Executing Macro(Zap/4-1, faxreceive) in new stack -- Executing Set(Zap/4-1, FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing RxFAX(Zap/4-1, /var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing System(Zap/4-1, /usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ) in new stack Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to execute '/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf section --- [fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) [macro-faxreceive] exten = s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten = s,2,rxfax(${FAXFILE}) exten = s,3,Set([EMAIL PROTECTED]) ___ 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] SpanDSP rxfax, no tiff.
Hello Rob, I don't really know the answer to your woes, but I have a queston. Where are you downloading the rxfax and spandsp? I can't seem to hit any of the sites that claim to have it. Erik On 7/13/05, Rob Danz [EMAIL PROTECTED] wrote: Hello, Let me start by saying I have checked the wiki and the archives and did find some relative information. I tried the suggestions in those threads, but still have the same problem. I'm using the CVS Asterisk from July 11, 2005. Redhat FC2 SpanDSP 0.0.2pre18 Libtiff 3.5.7 Digium PCI card 1 FXO, 1FXS. I have a single POTS line coming, but I have 2 numbers and am using distinctive ring detection in *. When you call my fax number, the ring detection does work, and does send it to the fax context correctly. The debugs show the call is answered, rxfax is invoked and it is trying to write to the fax file. After the sending party hangs up, it tries to execute a script that will ultimately mail me the fax file. But since the tiff file isn't there to begin with, that fails. The permissions on that folder are 777 for now… so permissions aren't the problem. I saw a post by Steve Underwood from last year on a similar problem, but it was looking like timing slips on the T1/E1 for that user … I'm just using a POTS line though. I've also done ztmonitor to look at the Rx and Tx levels. Rx is a little hotter than Tx, but they're both well on the right hand side of the scale. Any help is appreciated. Debugs extensions.conf excerpt are below. Thanks, Rob Debug output --- Jul 13 10:04:34 NOTICE[7975]: chan_zap.c:5759 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 93,0,0 -- Distinctive Ring matched context fax -- Executing Answer(Zap/4-1, ) in new stack -- Executing Macro(Zap/4-1, faxreceive) in new stack -- Executing Set(Zap/4-1, FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing RxFAX(Zap/4-1, /var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing System(Zap/4-1, /usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ) in new stack Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to execute '/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf section --- [fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) [macro-faxreceive] exten = s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten = s,2,rxfax(${FAXFILE}) exten = s,3,Set([EMAIL PROTECTED]) ___ 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
AW: [Asterisk-Users] SpanDSP rxfax, no tiff.
is /usr/local/sbin/mailfax flagged to 755? Von: [EMAIL PROTECTED] im Auftrag von Rob Danz Gesendet: Mi 13.07.2005 17:17 An: asterisk-users@lists.digium.com Betreff: [Asterisk-Users] SpanDSP rxfax, no tiff. Hello, Let me start by saying I have checked the wiki and the archives and did find some relative information. I tried the suggestions in those threads, but still have the same problem. I'm using the CVS Asterisk from July 11, 2005. Redhat FC2 SpanDSP 0.0.2pre18 Libtiff 3.5.7 Digium PCI card 1 FXO, 1FXS. I have a single POTS line coming, but I have 2 numbers and am using distinctive ring detection in *. When you call my fax number, the ring detection does work, and does send it to the fax context correctly. The debugs show the call is answered, rxfax is invoked and it is trying to write to the fax file. After the sending party hangs up, it tries to execute a script that will ultimately mail me the fax file. But since the tiff file isn't there to begin with, that fails. The permissions on that folder are 777 for now... so permissions aren't the problem. I saw a post by Steve Underwood from last year on a similar problem, but it was looking like timing slips on the T1/E1 for that user ... I'm just using a POTS line though. I've also done ztmonitor to look at the Rx and Tx levels. Rx is a little hotter than Tx, but they're both well on the right hand side of the scale. Any help is appreciated. Debugs extensions.conf excerpt are below. Thanks, Rob Debug output --- Jul 13 10:04:34 NOTICE[7975]: chan_zap.c:5759 ss_thread: Got event 2 (Ring/Answered)... -- Detected ring pattern: 93,0,0 -- Distinctive Ring matched context fax -- Executing Answer(Zap/4-1, ) in new stack -- Executing Macro(Zap/4-1, faxreceive) in new stack -- Executing Set(Zap/4-1, FAXFILE=/var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing RxFAX(Zap/4-1, /var/spool/asterisk/asterisk-fax/1121267067.12.tif) in new stack -- Executing System(Zap/4-1, /usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ) in new stack Jul 13 10:05:03 WARNING[7975]: app_system.c:75 system_exec_helper: Unable to execute '/usr/local/sbin/mailfax /var/spool/asterisk/asterisk-fax/1121267067.12.tif ' -- Hungup 'Zap/4-1' Extensions.conf section --- [fax] exten = s,1,Answer exten = s,2,Macro(faxreceive) exten = h,1,system(/usr/local/sbin/mailfax ${FAXFILE} ${EMAILADDR}) [macro-faxreceive] exten = s,1,Set(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten = s,2,rxfax(${FAXFILE}) exten = s,3,Set([EMAIL PROTECTED]) winmail.dat___ 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] SpanDSP rxfax, no tiff.
On Wed, Jul 13, 2005 at 11:30:07AM -0700, Erik Espinoza wrote: Hello Rob, I don't really know the answer to your woes, but I have a queston. Where are you downloading the rxfax and spandsp? I can't seem to hit any of the sites that claim to have it. http://soft-switch.org/ They seem to be having some problems lately. Until they work things out, you can get at least the latest(?) spandsp and apps from: http://tzafrir.org.il/rapid108/unstable/spandsp_0.0.2pre18.orig.tar.gz http://tzafrir.org.il/rapid108/unstable/asterisk-spandsp-plugins_0.0.20050612.orig.tar.gz -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ___ 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] SpanDSP rxfax, no tiff.
Hello Rob, /usr/local/sbin/mailfax will execute mime-construct program. Have you installed mime-construct? Your dialplan should be: [macro-faxreceive] exten = s,1,SetVar(FAXFILE=/var/spool/asterisk/asterisk-fax/${UNIQUEID}.tif) exten = s,2,rxfax(${FAXFILE}) exten = s,3,SetVar([EMAIL PROTECTED]) Notice the SetVar instead of Set in your script. ___ 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] spandsp rxfax under Linux 2.6 w/TDM400?
On Mon, 2005-03-28 at 18:18 -0800, Derrick Knight wrote: I have got my Asterisk server running with TDM400 card (2xFXO 2xFXS). I originally had the system configured with a Panasonic fax machine on one of the extensions. Due to the high volume of fax spam, I figured it would be a much better idea to capture the faxes as TIF or PDF files to minimize wasted paper, etc. I have downloaded, compiled and installed spandsp and can see the rxfax and txfax applications from within Asterisk. When a fax comes in, it calls the rxfax application and then does nothing. Here is my log: Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on video (pid = 22837) video*CLI -- Starting simple switch on 'Zap/3-1' -- Executing SetMusicOnHold(Zap/3-1, default) in new stack -- Executing Answer(Zap/3-1, ) in new stack -- Executing Dial(Zap/3-1, Zap/1|15) in new stack -- Called 1 -- Zap/1-1 is ringing -- Zap/1-1 is ringing -- Redirecting Zap/3-1 to fax extension -- Hungup 'Zap/1-1' -- Executing Macro(Zap/3-1, faxreceive) in new stack -- Executing SetVar(Zap/3-1, FAXFILE=/data/fax/1112059186.0.tif) in new stack -- Executing RxFAX(Zap/3-1, /data/fax/1112059186.0.tif) in new stack -- Hungup 'Zap/3-1' I am running: Fedora Core 3 (2.6.10-1.770_14) Asterisk (CVS-HEAD-03/28/05-16:44:11) SpanDSP 0.0.2pre10 libtiff 3.5.7 (including dev source) Any guidance would be appreciated. This is what I'm using albeit on an X100, that does work, I seem to remember having trouble with the macro so used this instead. [analog-in] ; exten = s,1,System(/bin/echo -n -e '@CALL${CALLERIDNAME} ~ ${CALLERIDNUM}' | nc -q0 -w1 192.168.1.161 10629) exten = s,2,Answer exten = s,3,GotoIf($[${CALLERIDNUM} = ${DAVE_MOBILE}]?disa,s,1) exten = s,4,SetCallerID(9${CALLERIDNUM}) exten = s,5,Dial(${ALLPHONES},20,tr) exten = s,6,Voicemail(u${INSTITUTE_VM}) exten = s,7,Hangup exten = s,106,Voicemail(b${INSTITUTE_VM}) exten = s,107,Hangup ; exten = fax,1,SetCallerID(${CALLERIDNUM}) exten = fax,2,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten = fax,3,rxfax(${FAXFILE}) exten = fax,4,System(/usr/bin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERID}) exten = fax,5,Hangup ; Dave Cotton ___ 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] spandsp rxfax under Linux 2.6 w/TDM400?
Thanks Dave, I will strip out the macro and give it a try. It did appear from the log that the macro was being called and the last command was rxfax. The sending fax shows that it is getting connected, and then fails to send the fax with a message that the receiving fax did not respond and no file was sent. I'll repost my results after the stripping of the macro. Thanks! Derrick Dave Cotton wrote: On Mon, 2005-03-28 at 18:18 -0800, Derrick Knight wrote: I have got my Asterisk server running with TDM400 card (2xFXO 2xFXS). I originally had the system configured with a Panasonic fax machine on one of the extensions. Due to the high volume of fax spam, I figured it would be a much better idea to capture the faxes as TIF or PDF files to minimize wasted paper, etc. I have downloaded, compiled and installed spandsp and can see the rxfax and txfax applications from within Asterisk. When a fax comes in, it calls the rxfax application and then does nothing. Here is my log: Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on video (pid = 22837) video*CLI -- Starting simple switch on 'Zap/3-1' -- Executing SetMusicOnHold("Zap/3-1", "default") in new stack -- Executing Answer("Zap/3-1", "") in new stack -- Executing Dial("Zap/3-1", "Zap/1|15") in new stack -- Called 1 -- Zap/1-1 is ringing -- Zap/1-1 is ringing -- Redirecting Zap/3-1 to fax extension -- Hungup 'Zap/1-1' -- Executing Macro("Zap/3-1", "faxreceive") in new stack -- Executing SetVar("Zap/3-1", "FAXFILE=/data/fax/1112059186.0.tif") in new stack -- Executing RxFAX("Zap/3-1", "/data/fax/1112059186.0.tif") in new stack -- Hungup 'Zap/3-1' I am running: Fedora Core 3 (2.6.10-1.770_14) Asterisk (CVS-HEAD-03/28/05-16:44:11) SpanDSP 0.0.2pre10 libtiff 3.5.7 (including dev source) Any guidance would be appreciated. This is what I'm using albeit on an X100, that does work, I seem to remember having trouble with the macro so used this instead. [analog-in] ; exten = s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~ ${CALLERIDNUM}'" | nc -q0 -w1 192.168.1.161 10629) exten = s,2,Answer exten = s,3,GotoIf($[${CALLERIDNUM} = ${DAVE_MOBILE}]?disa,s,1) exten = s,4,SetCallerID(9${CALLERIDNUM}) exten = s,5,Dial(${ALLPHONES},20,tr) exten = s,6,Voicemail(u${INSTITUTE_VM}) exten = s,7,Hangup exten = s,106,Voicemail(b${INSTITUTE_VM}) exten = s,107,Hangup ; exten = fax,1,SetCallerID(${CALLERIDNUM}) exten = fax,2,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten = fax,3,rxfax(${FAXFILE}) exten = fax,4,System(/usr/bin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERID}) exten = fax,5,Hangup ; Dave Cotton ___ 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] spandsp rxfax under Linux 2.6 w/TDM400?
I just tried again with the macro stripped out (very simple extensions.conf file) and I still have the same problem where the system launches rxfax and then the line just eventually times out. I thought I may have a problem with my zapata.conf file, so I tried with the physical fax machine on one of the extensions and it received without any problems. I think that should rule out any issues in the zapata.conf file? I am not sure where to go from here since I am not getting any errors at all. I am running the CLI in full debug and verbose modes and am not getting any errors. Are there any ideas where I should start? I tried running older versions of spandsp (pre2 and pre4) and newer versions of libtiff (3.7.2) with exactly the same results. I am currently running what I believe is the recommended configuration of libtiff 3.5.7 and spandsp pre10. Any ideas? Derrick Derrick Knight wrote: Dave Cotton wrote: On Mon, 2005-03-28 at 18:18 -0800, Derrick Knight wrote: I have got my Asterisk server running with TDM400 card (2xFXO 2xFXS). I originally had the system configured with a Panasonic fax machine on one of the extensions. Due to the high volume of fax spam, I figured it would be a much better idea to capture the faxes as TIF or PDF files to minimize wasted paper, etc. I have downloaded, compiled and installed spandsp and can see the rxfax and txfax applications from within Asterisk. When a fax comes in, it calls the rxfax application and then does nothing. Here is my log: Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on video (pid = 22837) video*CLI -- Starting simple switch on 'Zap/3-1' -- Executing SetMusicOnHold("Zap/3-1", "default") in new stack -- Executing Answer("Zap/3-1", "") in new stack -- Executing Dial("Zap/3-1", "Zap/1|15") in new stack -- Called 1 -- Zap/1-1 is ringing -- Zap/1-1 is ringing -- Redirecting Zap/3-1 to fax extension -- Hungup 'Zap/1-1' -- Executing Macro("Zap/3-1", "faxreceive") in new stack -- Executing SetVar("Zap/3-1", "FAXFILE=/data/fax/1112059186.0.tif") in new stack -- Executing RxFAX("Zap/3-1", "/data/fax/1112059186.0.tif") in new stack -- Hungup 'Zap/3-1' I am running: Fedora Core 3 (2.6.10-1.770_14) Asterisk (CVS-HEAD-03/28/05-16:44:11) SpanDSP 0.0.2pre10 libtiff 3.5.7 (including dev source) Any guidance would be appreciated. This is what I'm using albeit on an X100, that does work, I seem to remember having trouble with the macro so used this instead. [analog-in] ; exten = s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~ ${CALLERIDNUM}'" | nc -q0 -w1 192.168.1.161 10629) exten = s,2,Answer exten = s,3,GotoIf($[${CALLERIDNUM} = ${DAVE_MOBILE}]?disa,s,1) exten = s,4,SetCallerID(9${CALLERIDNUM}) exten = s,5,Dial(${ALLPHONES},20,tr) exten = s,6,Voicemail(u${INSTITUTE_VM}) exten = s,7,Hangup exten = s,106,Voicemail(b${INSTITUTE_VM}) exten = s,107,Hangup ; exten = fax,1,SetCallerID(${CALLERIDNUM}) exten = fax,2,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif) exten = fax,3,rxfax(${FAXFILE}) exten = fax,4,System(/usr/bin/mailfax ${FAXFILE} ${EMAILADDR} ${CALLERID}) exten = fax,5,Hangup ; Dave Cotton ___ 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 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] spandsp rxfax under Linux 2.6 w/TDM400?
Hi, I have got my Asterisk server running with TDM400 card (2xFXO 2xFXS). I originally had the system configured with a Panasonic fax machine on one of the extensions. Due to the high volume of fax spam, I figured it would be a much better idea to capture the faxes as TIF or PDF files to minimize wasted paper, etc. I have downloaded, compiled and installed spandsp and can see the rxfax and txfax applications from within Asterisk. When a fax comes in, it calls the rxfax application and then does nothing. Here is my log: Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on video (pid = 22837) video*CLI -- Starting simple switch on 'Zap/3-1' -- Executing SetMusicOnHold(Zap/3-1, default) in new stack -- Executing Answer(Zap/3-1, ) in new stack -- Executing Dial(Zap/3-1, Zap/1|15) in new stack -- Called 1 -- Zap/1-1 is ringing -- Zap/1-1 is ringing -- Redirecting Zap/3-1 to fax extension -- Hungup 'Zap/1-1' -- Executing Macro(Zap/3-1, faxreceive) in new stack -- Executing SetVar(Zap/3-1, FAXFILE=/data/fax/1112059186.0.tif) in new stack -- Executing RxFAX(Zap/3-1, /data/fax/1112059186.0.tif) in new stack -- Hungup 'Zap/3-1' I am running: Fedora Core 3 (2.6.10-1.770_14) Asterisk (CVS-HEAD-03/28/05-16:44:11) SpanDSP 0.0.2pre10 libtiff 3.5.7 (including dev source) Any guidance would be appreciated. Sincerely, Derrick Knight ___ 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] SpanDSP/RxFax anomalies...
Hi Rob, I used RxFax some time ago with success but the last CVS of asterisk crashes when asterisk is going to start receiving data. I'm trying with tiff-3.5.7 spandsp-0.0.1k and last asterisk CVS... What versions do you use? On Fri, 2004-09-10 at 14:09 -0500, Rob Fugina wrote: I've recently started playing with the RxFax application on my Asterisk box. I've had success, mostly, but I've had some failures, too... The most recent failure is specific to receiving from a particular fax machine -- a Canon Laser Class 9000S. The TIF images received are readable, but the aspect ratio is stretched horizonatlly (or squished vertically). Is this a problem anyone else has seen before? Is there a workaround? Thanks, Rob ___ 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 Thank you in Advance, Alexander ___ 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] SpanDSP/RxFax anomalies...
I've recently started playing with the RxFax application on my Asterisk box. I've had success, mostly, but I've had some failures, too... The most recent failure is specific to receiving from a particular fax machine -- a Canon Laser Class 9000S. The TIF images received are readable, but the aspect ratio is stretched horizonatlly (or squished vertically). Is this a problem anyone else has seen before? Is there a workaround? Thanks, Rob ___ 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] SpanDSP/RxFax anomalies...
Rob Fugina wrote: I've recently started playing with the RxFax application on my Asterisk box. I've had success, mostly, but I've had some failures, too... The most recent failure is specific to receiving from a particular fax machine -- a Canon Laser Class 9000S. The TIF images received are readable, but the aspect ratio is stretched horizonatlly (or squished vertically). Is this a problem anyone else has seen before? Is there a workaround? Thanks, Rob This is usually a problem that you are using standard FAX resolution (rather than fine) and the viewing software does not handle the aspect ratio properly. Try using other viewing software. If they all do the same thing, get back to me. Regards, Steve ___ 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] SpanDSP/RxFax help...
I've seen people mention that they have fax reception working with Asterisk, spandsp, and app_rxfax. I'm using the latest Asterisk from CVS, SpanDSP 0.0.1k, and the latest app_rxfax.c (as mirrored by friendly list members recently), and libtiff 3.5.7. Asterisk is detecting the fax signal properly, and executing the fax extension in the dialplan. The fax part of the dialplan is pretty simple. The incoming call is already answered by this point: exten = fax,1,RxFax(/tmp/fax.tif) exten = fax,2,Hangup I do get files in /tmp called fax-[tr]x-audio-*, but no tif... The console output follows. I don't really know what any of it means... Can anyone give me a hand getting this working? In case it helps, I've got a T100P connected to a TA750 channel bank. Zap/21 is an FXO port on the channel bank. Thanks, Rob -- Executing RxFAX(Zap/21-1, /tmp/fax.tif) in new stack Changed from phase 0 to 1 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Start receiving document Changed from phase 1 to 4 Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up TSI: 43 34 38 36 34 20 34 39 39 20 34 31 33 20 20 20 20 20 20 20 20 TSI without final frame tag Remote fax gave TSI as: 314 XXX DCS: 83 00 c6 f0 80 80 00 DCS with final frame tag In state 9 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 0ms Minimum scan line time for higher resolutions: T15.4 = T7.7 Get at 9600 Changed from phase 3 to 5 Fast carrier up Fast carrier down Fast carrier up Fast carrier down -- Hungup 'Zap/21-1' -- Rob Fugina, Systems Guy [EMAIL PROTECTED] -- http://www.geekthing.com My firewall filters MS Office attachments. Hell is full. The damned are now in Tech Support. ___ 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] SpanDSP RxFax receives junk - gets Fax3Decode2d: Warning, (FakeInput): .... messages
I'm trying to install the RxFax in Asterisk. After much trouble getting app_rxfax.c(and friends) compiles and installed into Asterisk (thanks to the many asterisk-users messages) it did get it installed. I have been unable to receive a legible fax. app_rxfax provides lots of debugging information but none useful to me. I was hoping that someone hasan idea what might be going on. Asterisk version: Asterisk CVS-HEAD-08/12/04 ... on a i686 Linux (RedHat 9 2.4.20-31.9smp) PC is a Tyan with P4 3.06Ghz hyperthreading The spandsp is a recent download from 8/12/2004 I'm testing with a T1-PRI only (no analog cards), sending a fax from an HO d135 all-in-one and tried a second Brothers "dumb" fax with the same results. Everything was compiled today and the non-fax asterisk is running just fine. Here's what appears to be a problem: Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 0 (got 3198, expected 1728). Any help would be nice. Jon Here's the console log for the fax receive: -- Executing Answer("Zap/11-1", "") in new stack -- Accepting call from '8131231234' to '8133214321' on channel 0/11, span 1 -- Executing SetVar("Zap/11-1", "FAXFILE=/var/spool/asterisk-fax/1092770077.3.tif") in new stack -- Executing RxFAX("Zap/11-1", "/var/spool/asterisk-fax/1092770077.3.tif") in new stackChanged from phase 0 to 1Start receiving documentChanged from phase 1 to 4Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20DIS:Preferred octets: 256Can receive faxSupported data signalling rates: V.27ter and V.29R8x7.7lines/mm and/or 200x200pels/25.4mm OK2D coding OKScan line length: 215mmRecording length: A4 (297mm)Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85R8x15.4lines/mm OKMinimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01HDLC underflow in state 9Changed from phase 4 to 3Slow carrier up TSI: 43 34 34 32 39 20 38 36 39 20 20 20 20 20 20 20 20 20 20 20 20TSI without final frame tagRemote fax gave TSI as: "123 1234" DCS: 83 00 86 f0 80 80 00DCS with final frame tagIn state 9DCS:Can receive faxSelected data signalling rate: V.29, 9600bps2D coding OKScan line length: 215mmRecording length: A4 (297mm)Minimum scan line time: 0msMinimum scan line time for higher resolutions: T15.4 = T7.7Get at 9600Changed from phase 3 to 5Fast carrier upCoarse carrier frequency 1649.53 (6)Fast carrier downFast carrier upCoarse carrier frequency 1700.08 (66)Training error 5.417056Training succeeded (constellation mismatch 9.565170)Fast carrier trainedFast carrier downChanged from phase 5 to 4Start rx document - compression 2Start rx page CFR: 84HDLC underflow in state 5Post trainabilityChanged from phase 4 to 5Fast carrier upCoarse carrier frequency 1700.10 (66)Training error 4.295272Training succeeded (constellation mismatch 7.705514)Fast carrier trainedFast carrier downFax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 0 (got 3198, expected 1728).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 1 (got 0, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 4 (got 1729, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 5 (got 2347, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 6 (got 1729, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 7 (got 1989, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 8 (got , expected 1728).Fax3Decode2D: (FakeInput): Uncompressed data (not supported) at scanline 10 (x 4).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 10 (got 4, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 12 (got 2124, expected 1728).Fax3Decode2D: (FakeInput): Bad code word at scanline 13 (x 483).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 13 (got 483, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 14 (got 1789, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 15 (got 2002, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 17 (got 2462, expected 1728).Fax3Decode2D: (FakeInput): Bad code word at scanline 18 (x 0).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 18 (got 0, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 20 (got 3282, expected 1728).Fax3Decode2D: Warning, (FakeInput): Line length mismatch at scanline 21 (got 2632, expected 1728).Fax3Decode2D: (FakeInput): Bad code word at scanline 23 (x 29).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 23 (got 29, expected 1728).Fax3Decode2D: (FakeInput): Bad code word at scanline 24 (x 29).Fax3Decode2D: Warning, (FakeInput): Premature EOL at scanline 24 (got 29, expected
Re: [Asterisk-Users] spandsp rxfax crashes *
On Wednesday 28 April 2004 17:10, Martin Christian Koch wrote: Rxfax answers, makes handshake, and crashes once the page starts to send. It receives a .tif file of 8 bytes. I am *just* starting to play with this. I found out I had libtiff-3.5.7 hanging around on the system, but I had compiled with 3.6.0. Once I got rid of 3.5.7 asterisk stopped crashing, although the fax didn't work anyway. :-) Regards, Andrew -- Starting simple switch on 'Zap/19-1' Jun 4 10:48:24 NOTICE[213006]: chan_zap.c:4773 ss_thread: Got event 2 (Ring/Answered)... -- Executing Answer(Zap/19-1, ) in new stack -- Executing Wait(Zap/19-1, 5) in new stack -- Redirecting Zap/19-1 to fax extension == Spawn extension (fxo, fax, 0) exited non-zero on 'Zap/19-1' -- Executing RxFAX(Zap/19-1, /tmp/faxfile.tiff) in new stack Changed from phase 0 to 1 Slow carrier up Slow carrier down Start receiving document Changed from phase 1 to 4 Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up DCS: 83 00 86 90 00 DCS with final frame tag In state 9 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 5ms Get at 9600 Changed from phase 3 to 5 Fast carrier up Fast carrier down Fast carrier up Coarse carrier frequency 1699.97 (48) Training error 33.829649 Training succeeded (constellation mismatch 32.723859) Fast carrier trained Fast carrier down Trainability test failed - longest run of zeros was 36 FTT: 44 Fast carrier up Training failed (sequence failed) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1700.11 (46) Training error 32.089579 Training succeeded (constellation mismatch 34.342591) Fast carrier trained Fast carrier down Trainability test failed - longest run of zeros was 3538 FTT: 44 Fast carrier up Training failed (sequence failed) Fast carrier training failed Fast carrier down Fast carrier up Coarse carrier frequency 1700.08 (48) Training error 61.060070 Training succeeded (constellation mismatch 47.475559) Fast carrier trained Fast carrier down Trainability test failed - longest run of zeros was 15 FTT: 44 Fast carrier up Training failed (sequence failed) Fast carrier training failed Fast carrier down Fast carrier up Fast carrier down Fast carrier up -- Executing Hangup(Zap/19-1, ) in new stack == Spawn extension (fxo, h, 1) exited non-zero on 'Zap/19-1' -- Hungup 'Zap/19-1' ___ 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] spandsp/rxfax terminates asterisk
Initial handshake sounds fine, but asterisks dies before receive of the fax. Here is the log : Changed from phase 0 to 1 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Start receiving document Changed from phase 1 to 4 Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down Slow carrier up Slow carrier down T4 timeout in state 9 Changed from phase 3 to 4 Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01 T2 timeout Start receiving document Sending ident CSI: 40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 DIS: Preferred octets: 256 Can receive fax Supported data signalling rates: V.27ter and V.29 R8x7.7lines/mm and/or 200x200pels/25.4mm OK 2D coding OK Scan line length: 215mm Recording length: A4 (297mm) Receiver's minimum scan line time: 0ms at 3.85 l/mm: T7.7 = T3.85 R8x15.4lines/mm OK Minimum scan line time for higher resolutions: T15.4 = T7.7 DIS: 80 00 ce f0 80 80 01 HDLC underflow in state 9 Changed from phase 4 to 3 Slow carrier up TSI: 43 30 36 37 37 36 31 36 35 20 35 34 2b 20 20 20 20 20 20 20 20 TSI without final frame tag Remote fax gave TSI as: +45 56167760 DCS: 83 00 46 20 DCS with final frame tag In state 9 DCS: Can receive fax Selected data signalling rate: V.29, 9600bps R8x7.7lines/mm and/or 200x200pels/25.4mm OK Scan line length: 215mm Recording length: A4 (297mm) Minimum scan line time: 10ms Get at 9600 Changed from phase 3 to 5 Fast carrier up Fast carrier down Fast carrier up Coarse carrier frequency 1700.00 (64) Training error 29.095569 Training succeeded (constellation mismatch 25.504344) Fast carrier trained Fast carrier down Changed from phase 5 to 4 Start rx document - compression 1 Start rx page asterisk in realloc(): warning: junk pointer, too high to make sense Oh dear! CFR: 84 HDLC underflow in state 5 Post trainability Changed from phase 4 to 5 Fast carrier up Coarse carrier frequency 1700.04 (64) Training error 26.487284 Training succeeded (constellation mismatch 27.123313) Fast carrier trained Segmentation fault (core dumped) Anyone ? Thanks, Martin Min mail er beskyttet af SPAMfighter 3174 spam mails er blokeret indtil videre.Hent gratis SPAMfighter i dag!