Friday, October 12, 2012

Hylafax send attachment 0 bytes - Elastix Forums :: Open Source ...

Hi everyone

It's my firt time that i post in this wonderful community and i'm not so good speaking or writing english, it's not my native language.

Please if this it's refers to other post point where it is? i've got 4 days with a awful problem and i dont know how i can solve it.

First details of my packages
rpm -qa | grep elastix
elastix-mysqldbdata-1.0-3
elastix-1.6.2-37
elastix-a2billing-1.3.0-3
elastix-sugarcrm-4.5.0d-3
elastix-asterisk-sounds-1.2.3-1
elastix-vtigercrm-5.0.3-6
hylafax-4.3.9-0rhel5
iaxmodem-1.2.0-1.1
postfix-2.3.3-2.1.el5_2

rpm -qa | grep asterisk
asterisk-sounds-es-1.4.36-0
asterisk-1.4.36-0
asterisk-addons-1.4.11-0
asterisk-perl-0.10-2
asterisk-devel-1.4.36-0
asterisk-sounds-fr-1.4.36-0
elastix-asterisk-sounds-1.2.3-1

and i applied the last update available from default repository.

Well, now my issue is this:
I can not receive the attachments in the email when i receive a fax, i only get a file with 0 bytes, and when i opened fails!!!!!! because it doesn't have any size at all, this is from the fax visor in elastx web interface, BUT..... if i take a look in cli in this path "/var/spool/hylafax/recvq/" i see all my files with the format .tif, so i guess that hylafax is working well, but no elastix why??? no clue.

So, i did the follow, i run the php script from cli that executed the process, i went to this path "/var/spool/hylafax/bin" and run the script faxrcvd-elastix.php like this:

./faxrcvd-elastix.php "../recvq/fax000000006.tif" "ttyIAX1" "000000006" "" "" "" "<NONE>" "s"
PHP Warning: chmod(): No such file or directory in /var/spool/hylafax/bin/includes/functions.php on line 243
Array
(
[remite] => fax@farmaciacarol.com
[remitente] => Fax Elastix
[subject] => Fax attached N? fax000000006
[content] => Fax sent from "8092270096", the phone number is 8092270096.
This email has a fax attached fax000000006.
)
gmarmolejos@iptel.com.doCould not access file: /var/www/faxes/recvd/2012/10/11/8092270096/000000006/fax.pdf

WHY????????
AHH other things, i had to cread the subdirectory /var/www/faxes, because in this elastix's version, it didn't exists, i changes all permission with this value 0666 or 777 but nothing it's the same.

and i had to create the link to ttyIAX1 because if i run with the form iaxmodem-cfg.ttyIAX1 i get this error:
./faxrcvd-elastix.php "../recvq/fax000000006.tif" "iaxmodem-cfg.ttyIAX1" "000000006" "" "" "" "<NONE>" "s"
PHP Warning: chmod(): No such file or directory in /var/spool/hylafax/bin/includes/functions.php on line 243
PHP Fatal error: Call to a member function fetch() on a non-object in /var/spool/hylafax/bin/includes/functions.php on line 35

Please i need some help..... i will pay a reward and it's not joke, thought i know this great community is about learning, fun and hack, but be with me on things, i'm a little newbie.

Source: http://www.elastix.org/index.php/en/component/kunena/38-hylafax/110776-hylafax-send-attachment-0-bytes.html

British Open MC Chris Colorado shooting suspect accuweather Finding Nemo 2 Provigil denver post

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.