Re: [Asterisk-Users] Asterisk - Spandsp: fax header
On May 18, 2005 08:04 am, Jean-Yves Avenard wrote: You can get the info and stamp it into the image yourself with some third party TIFF manipulation tools, I bet. I wouldn't mind doing so if I knew where this Fax ID information is stored or how to retrieve it, or if it's even possible. That would be the ${REMOTESTATIONID} extension variable. RxFax sets it, among other variables, upon fax reception completion. Show Application RxFax for more information. -A. ___ 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] Asterisk - Spandsp: fax header
HelloOn 20/05/2005, at 6:41 AM, Andrew Kohlsmith wrote:That would be the ${REMOTESTATIONID} extension variable. RxFax sets it, among other variables, upon fax reception completion. "Show Application RxFax" for more information. Great.. Exactly what I was looking for... Thank you for that.Jean-Yves --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
On Wed, 18 May 2005, Steve Underwood wrote: The header is always in the received image. The TIFF file contains exactly the same image that a receiving FAX machine would print out. I think he is refering to the remote fax id to be presented, not the header. I.e. the 20 digit user selectable number on the remote fax. The one often seen on the lcd of the receiving fax and so on. Peter ___ 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] Asterisk - Spandsp: fax header
HelloOn 18/05/2005, at 4:09 PM, Peter Svensson wrote:I think he is refering to the remote fax id to be presented, not the header. I.e. the 20 digit user selectable number on the remote fax. The one often seen on the lcd of the receiving fax and so on. Yes that's exactly what I'm referring to.Most fax machines I've used print this information on the top left corner or top right corner on any fax received.Is it possible to do this with SpanDSP?Jean-Yves --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
On May 18, 2005 07:22 am, Jean-Yves Avenard wrote: Yes that's exactly what I'm referring to. Most fax machines I've used print this information on the top left corner or top right corner on any fax received. Is it possible to do this with SpanDSP? You can get the info and stamp it into the image yourself with some third party TIFF manipulation tools, I bet. rxfax is a simple fax reception app; if you need more than what it offers you you have several options, but they all involve work. :-) I think Steve's been very clear about what rxfax can and can't do. -A. ___ 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] Asterisk - Spandsp: fax header
HiOn 18/05/2005, at 9:35 PM, Andrew Kohlsmith wrote:You can get the info and stamp it into the image yourself with some third party TIFF manipulation tools, I bet. I wouldn't mind doing so if I knew where this Fax ID information is stored or how to retrieve it, or if it's even possible.JY --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
Jean-Yves Avenard wrote: Hello On 18/05/2005, at 4:09 PM, Peter Svensson wrote: I think he is refering to the remote fax id to be presented, not the header. I.e. the 20 digit user selectable number on the remote fax. The one often seen on the lcd of the receiving fax and so on. Yes that's exactly what I'm referring to. Most fax machines I've used print this information on the top left corner or top right corner on any fax received. Is it possible to do this with SpanDSP? Jean-Yves It is only there because the sending machine put it there in the image. Spandsp is not different from how any FAX machine I have ever used behaves. As well as sending the 20 digit number as text, the sending machine puts in the header. Regards, Steve ___ 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] Asterisk - Spandsp: fax header
Hi PeterOn 18/05/2005, at 10:05 PM, Steve Underwood wrote:It is only there because the sending machine put it there in the image. Spandsp is not different from how any FAX machine I have ever used behaves. As well as sending the 20 digit number as text, the sending machine puts in the header. This is not what I'm referring to... I know what is being put by the remote fax !On my Brother's fax machine (MFC-8820D) today, I've received 3 faxes: all of them at the top showed the caller Fax identity.I received 2 faxes on Asterisk with spandsp, one from the same sender as earlier on the brother: there's nothing at the top.I wouldn't ask if it was obvious the data was inside the image, give me some credits for God's sake !Typically, when somebody is sending a fax on the Brother unit, once the connection has been established the identity of the fax caller is then displayed on the Brother's LCD (and this has nothing to do with PSTN CallerID), what is displayed on the LCD will be printed at the top of each pages. This is this behavior I'm trying to reproduce with Asterisk/Spandsp.JY --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
Jean-Yves Avenard wrote: Hi Peter On 18/05/2005, at 10:05 PM, Steve Underwood wrote: It is only there because the sending machine put it there in the image. Spandsp is not different from how any FAX machine I have ever used behaves. As well as sending the 20 digit number as text, the sending machine puts in the header. This is not what I'm referring to... I know what is being put by the remote fax ! On my Brother's fax machine (MFC-8820D) today, I've received 3 faxes: all of them at the top showed the caller Fax identity. I received 2 faxes on Asterisk with spandsp, one from the same sender as earlier on the brother: there's nothing at the top. I wouldn't ask if it was obvious the data was inside the image, give me some credits for God's sake ! What you are describing is something I have never seen a FAX machine do. Typically, when somebody is sending a fax on the Brother unit, once the connection has been established the identity of the fax caller is then displayed on the Brother's LCD (and this has nothing to do with PSTN CallerID), what is displayed on the LCD will be printed at the top of each pages. This is this behavior I'm trying to reproduce with Asterisk/Spandsp. So you get the calling machine's number shown twice at the top of each page? Once in this extra header, and once in the normal header sent as part of the image? Weird. FAX machines don't normally do that. Does this extra header overlay a part of the page, or does it make the page one line longer? Spandsp puts the calling machine's number in one of the tag fields in the TIFF headers. It puts several things in those tags - the name of the software which generated the file (spandsp), the hostname of the receiving computer, the far machine's ident, the far machine's maker and model (if they can be identified). Programs like tiffdump will show that information. Some image viewers also allow you to see it (don't ask me which ones off hand). Regards, Steve ___ 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] Asterisk - Spandsp: fax header
HiOn 19/05/2005, at 1:41 AM, Steve Underwood wrote:So you get the calling machine's number shown twice at the top of each page? Once in this extra header, and once in the normal header sent as part of the image? Weird. FAX machines don't normally do that. Does this extra header overlay a part of the page, or does it make the page one line longer? It is printed in very faint characters very close to the top edge of a page. Spandsp puts the calling machine's number in one of the tag fields in the TIFF headers. It puts several things in those tags - the name of the software which generated the file (spandsp), the hostname of the receiving computer, the far machine's ident, the far machine's maker and model (if they can be identified). Programs like tiffdump will show that information. Some image viewers also allow you to see it (don't ask me which ones off hand). I just ran tiffdump on some of the tifff files received, and I can't see the Fax ID in those :(In the fax I sent to myself there is a "ImageDescription (270) ASCII (2) 13" which then contain the entry i entered in the fax settings .Thanks for the hint.Jean-Yves --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
On Wed, 18 May 2005, Steve Underwood wrote: Jean-Yves Avenard wrote: On my Brother's fax machine (MFC-8820D) today, I've received 3 faxes: all of them at the top showed the caller Fax identity. I received 2 faxes on Asterisk with spandsp, one from the same sender as earlier on the brother: there's nothing at the top. I wouldn't ask if it was obvious the data was inside the image, give me some credits for God's sake ! What you are describing is something I have never seen a FAX machine do. Typically, when somebody is sending a fax on the Brother unit, once the connection has been established the identity of the fax caller is then displayed on the Brother's LCD (and this has nothing to do with PSTN CallerID), what is displayed on the LCD will be printed at the top of each pages. This is this behavior I'm trying to reproduce with Asterisk/Spandsp. So you get the calling machine's number shown twice at the top of each page? Once in this extra header, and once in the normal header sent as part of the image? Weird. FAX machines don't normally do that. Does this extra header overlay a part of the page, or does it make the page one line longer? Both the fax machines at work have a setting to add a header on received faxes. The information it adds is the page number, the sending machine id, name (if the sending machine id is in the speed dial list), and date+time. The original poster is not alone in having machines work this way. Spandsp puts the calling machine's number in one of the tag fields in the TIFF headers. It puts several things in those tags - the name of the software which generated the file (spandsp), the hostname of the receiving computer, the far machine's ident, the far machine's maker and model (if they can be identified). Programs like tiffdump will show that information. Some image viewers also allow you to see it (don't ask me which ones off hand). Well, this should solve the original poster's problem. Peter ___ 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] Asterisk - Spandsp: fax header
Hello Steve.On 17/05/2005, at 10:54 PM, Steve Underwood wrote:When a fax is received the header you see is part of the image. As such, it ends up in the TIFF file as part of the image. It is not available as text anywhere. The only way to make it available as text would be to implement OCR. That is complex and messy, and I have no intention to try. The only information sent between the FAX machines as text is the "identifier" - a 20 character string, which the standard says should be digits, and which is usually set to the telephone number of the FAX machine.That's exactly what I was referring to. Is there any way to display that in the image received?As I wrote previously I usually don't get the sender's callerID, but I do get the phone number printed when receiving with a usual fax machine. It would be nice to get this information with spandsp tooTo send a fax I'm still using our Brother fax unit, works well...Sorry for not using a new threads before... I thought about it, but the title was correct :)JY --- Jean-Yves Avenard Hydrix Pty Ltd - Embedding the net www.hydrix.com | fax +61 3 95722686 | office +61 3 8573 5299 | direct +61 3 8573 5200 ___ 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] Asterisk - Spandsp: fax header
Jean-Yves Avenard wrote: Hello Steve. On 17/05/2005, at 10:54 PM, Steve Underwood wrote: When a fax is received the header you see is part of the image. As such, it ends up in the TIFF file as part of the image. It is not available as text anywhere. The only way to make it available as text would be to implement OCR. That is complex and messy, and I have no intention to try. The only information sent between the FAX machines as text is the identifier - a 20 character string, which the standard says should be digits, and which is usually set to the telephone number of the FAX machine. That's exactly what I was referring to. Is there any way to display that in the image received? As I wrote previously I usually don't get the sender's callerID, but I do get the phone number printed when receiving with a usual fax machine. It would be nice to get this information with spandsp too To send a fax I'm still using our Brother fax unit, works well... Sorry for not using a new threads before... I thought about it, but the title was correct :) The header is always in the received image. The TIFF file contains exactly the same image that a receiving FAX machine would print out. Regards, Steve ___ 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