Coder Social home page Coder Social logo

ictinnovations / ictfax Goto Github PK

View Code? Open in Web Editor NEW
159.0 23.0 57.0 30.44 MB

Open Source Fax Server Software supporting inbound and outbound faxing. ICTFAX can be used in following faxing scenarios Web to fax, Fax to Web or Online Fax Email to fax and fax to email ATA / Extensions to send and receive faxes via Fax machine using internet REST based Fax API’s to integrate with third party applications and automate business process G.711 based Fax Origination / Termination / Gateway T.38 based Fax Origination / Termination PSTN based Fax Origination / Termination / Gateway

Home Page: http://www.ictfax.org

License: GNU General Public License v3.0

JavaScript 0.48% HTML 28.23% TypeScript 65.80% SCSS 5.48%
fax-to-email t38 foip email-to-fax fax-api fax-server fax-software fax-origination opensource-fax fax-server-software

ictfax's People

Contributors

dsilvag avatar fizaict avatar ict-mujahid avatar ictkashif avatar kamranict avatar nasirbest avatar tahiralmas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ictfax's Issues

Demo credentials invalid

both admin and user credentials returns

Oh snap!

    Login/Email combination is not correct, please try again.

Upon restart of Freeswitch: sofia.c:3146 Error Creating SIP UA for profile

After having configured a provider in ictfax and restarting freeswitch, freeswitch reports upon startup:

`2019-06-20 12:40:57.387645 [ERR] sofia.c:3146 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2019-06-20 12:40:57.387645 [ERR] sofia.c:3146 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
2019-06-20 12:41:02.407612 [ERR] sofia.c:3146 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
2019-06-20 12:41:02.407612 [ERR] sofia.c:3156 Error Creating SIP UA for profile: external-ipv6 (sip:mod_sofia@[::1]:5080;transport=udp,tcp)
The likely causes for this are:

  1. Another application is already listening on the specified address.
  2. The IP the profile is attempting to bind to is not local to this system.
    2019-06-20 12:41:02.407612 [ERR] sofia.c:3146 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp) ATTEMPT 3 (RETRY IN 5 SEC)
    2019-06-20 12:41:02.407612 [ERR] sofia.c:3156 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1]:5060;transport=udp,tcp)
    The likely causes for this are:
  3. Another application is already listening on the specified address.`

Besides, I also received the following errors during startup:
2019-06-20 12:40:53.885229 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_rtc.so **/usr/lib64/freeswitch/mod/mod_rtc.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:53.885283 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_verto.so **/usr/lib64/freeswitch/mod/mod_verto.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:54.507221 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_dialplan_asterisk.so **/usr/lib64/freeswitch/mod/mod_dialplan_asterisk.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:54.533554 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_b64.so **/usr/lib64/freeswitch/mod/mod_b64.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:54.533611 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_opus.so **/usr/lib64/freeswitch/mod/mod_opus.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:54.535465 [INFO] mod_sndfile.c:388 2019-06-20 12:40:54.537589 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_png.so **/usr/lib64/freeswitch/mod/mod_png.so: cannot open shared object file: No such file or directory** 2019-06-20 12:40:54.586700 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib64/freeswitch/mod/mod_flite.so **/usr/lib64/libflite.so.1: undefined symbol: snd_pcm_hw_params_any**

All in all, the result is that registrations to my SIP provider do not work.

Email not receiving while fax is receiving

I have successfully configured DID for receiving fax in ICTfax. I can see and download received faxes from ICTfax dashboard but I am not receiving any emails for fax.

Following are the ictcore logs in which fax is successfully processed but email sending has issues.

Please suggest at your earliest?

[2020-04-22 12:03:42] [43690] [FLOW] =================> processing response <=================
[2020-04-22 12:03:42] [43690] [FLOW] Processing status of application : inbound
[2020-04-22 12:03:42] [43690] [FLOW] No transmission found, searching for dialplan
[2020-04-22 12:03:42] [43690] [INFO] looking for available dialplan
[2020-04-22 12:03:42] [43690] [FLOW] Trying with dialplan id : 1
[2020-04-22 12:03:42] [43690] [FLOW] Successfully authenticated for program : faxtoemail
[2020-04-22 12:03:42] [43690] [FLOW] Processing with program : faxtoemail(1)
[2020-04-22 12:03:42] [43690] [FLOW] Processing application : inbound(1)
[2020-04-22 12:03:42] [43690] [FLOW] Application processing completed with result: success
[2020-04-22 12:03:42] [43690] [FLOW] Executing application : connect(2)
[2020-04-22 12:03:42] [43690] [WARNING] DB:update error table: spool_result error: Unknown column 'inbound' in 'field list'
[2020-04-22 12:03:42] [43690] [FLOW] Final spool status : connected
[2020-04-22 12:03:42] [43690] [FLOW] Final transmission status : processing
[2020-04-22 12:03:42] [43690] [FLOW] -----------------> transaction ended <-----------------
[2020-04-22 12:03:42] [43690] [FLOW] Request processing completed
[2020-04-22 12:03:42] [44583] [FLOW] =================> processing response <=================
[2020-04-22 12:03:42] [44583] [FLOW] Processing status of application : 2
[2020-04-22 12:03:42] [44583] [FLOW] Existing transmission requested with id : 25
[2020-04-22 12:03:42] [44583] [FLOW] Processing with program : faxtoemail(1)
[2020-04-22 12:03:42] [44583] [FLOW] Processing application : connect(2)
[2020-04-22 12:03:42] [44583] [FLOW] Application processing completed with result: success
[2020-04-22 12:03:42] [44583] [FLOW] Executing application : fax_receive(3)
[2020-04-22 12:03:42] [44583] [FLOW] Final spool status : connected
[2020-04-22 12:03:42] [44583] [FLOW] Final transmission status : processing
[2020-04-22 12:03:42] [44583] [FLOW] -----------------> transaction ended <-----------------
[2020-04-22 12:03:42] [44583] [FLOW] Request processing completed
[2020-04-22 12:04:18] [43691] [FLOW] =================> processing response <=================
[2020-04-22 12:04:18] [43691] [FLOW] Processing status of application : 3
[2020-04-22 12:04:18] [43691] [FLOW] Existing transmission requested with id : 25
[2020-04-22 12:04:18] [43691] [FLOW] Processing with program : faxtoemail(1)
[2020-04-22 12:04:18] [43691] [FLOW] Processing application : fax_receive(3)
[2020-04-22 12:04:18] [43691] [FLOW] Application processing completed with result: success
[2020-04-22 12:04:18] [43691] [FLOW] Executing application : disconnect(4)
[2020-04-22 12:04:18] [43691] [FLOW] Final spool status : connected
[2020-04-22 12:04:18] [43691] [FLOW] Final transmission status : processing
[2020-04-22 12:04:18] [43691] [FLOW] -----------------> transaction ended <-----------------
[2020-04-22 12:04:18] [43691] [FLOW] Request processing completed
[2020-04-22 12:04:18] [43689] [FLOW] =================> processing response <=================
[2020-04-22 12:04:18] [43689] [FLOW] Processing status of application : 4
[2020-04-22 12:04:18] [43689] [FLOW] Existing transmission requested with id : 25
[2020-04-22 12:04:18] [43689] [FLOW] Processing with program : faxtoemail(1)
[2020-04-22 12:04:18] [43689] [FLOW] Processing application : disconnect(4)
[2020-04-22 12:04:18] [43689] [FLOW] Application processing completed with result: success
[2020-04-22 12:04:18] [43689] [FLOW] Final spool status : completed
[2020-04-22 12:04:18] [43689] [FLOW] Final transmission status : completed
[2020-04-22 12:04:18] [43689] [FLOW] -----------------> transaction ended <-----------------
[2020-04-22 12:04:18] [43689] [FLOW] Request processing completed
[2020-04-22 12:05:01] [28198] [FLOW] New thread started for: ICT\Core\Thread\Task
[2020-04-22 12:05:01] [28198] [FLOW] processing task:19
[2020-04-22 12:05:01] [28198] [FLOW] =================> transmission execution <=================
[2020-04-22 12:05:01] [28198] [FLOW] Executing transmission with id : 26
[2020-04-22 12:05:01] [28198] [FLOW] Attempting with spool_id : 35
[2020-04-22 12:05:01] [28198] [FLOW] Executing program : sendemail(15)
[2020-04-22 12:05:01] [28198] [FLOW] Executing application : email_send(30)
[2020-04-22 12:05:01] [28198] [ERROR] No provider available
[2020-04-22 12:05:01] [28198] [NOTICE] No provider available
[2020-04-22 12:05:01] [28198] [NOTICE] Using localhost as email gateway
[2020-04-22 12:05:01] [28198] [WARNING] stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /usr/ictcore/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 275
[2020-04-22 12:05:01] [28198] [WARNING] stream_socket_client(): unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /usr/ictcore/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 275
[2020-04-22 12:05:01] [28198] [ERROR] Connection could not be established with host  [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]
[2020-04-22 12:05:01] [28198] [ERROR] error while sending email
[2020-04-22 12:05:01] [28198] [ERROR] error while sending email
[2020-04-22 12:05:01] [28198] [ERROR] Unable to process transmission task

Following are the versions installed for ICTfax

Name        : ictcore
Arch        : noarch
Version     : 0.9.5.4a0615d
Release     : main.el7
Size        : 14 M
Repo        : installed
From repo   : ict
Summary     : library for fax and email related services provided API interface
URL         : https://ictcore.org/
License     : MPLv2
Description : ICTCore is backend library for voice, fax, sms and email related services, it provide API interface to interact with other applications
Name        : ictfax
Arch        : noarch
Version     : 4.3.0.3
Release     : beta.el7
Size        : 26 M
Repo        : installed
From repo   : ict
Summary     : Web based management interface for ICTFax
URL         : https://ictfax.org/
License     : MPLv2
Description : ICTCore GUI is web based interface which act as client to ICTCore REST APIs and expose Voice, Fax, SMS and Email related services over web

Email2fax using Subject for Destination number

Hello,
What should I change in the code to use the subject of the email as a destination for email2fax.
I want to use a single email address as destination and send the number in the subject. Something like [email protected] and in the Subject of the mail to insert the number. Could this be done?

Inbound Faxes Not Showing Up In My Inbox

Hello,

I am hoping someone might be able to help me with the issue that I am running into. I am currently able to send faxes without any issues. When I call my fax number I get a fax tone. If I fax into myself I get a confirmation that my fax was received but they don't show up in my inbox or in the administrators inbox. I have walked through the steps outlined in the installation guide with no luck.

Is there anyways you might be able to tell me if I need to configure something further in Freeswitch or is this all done using the Web Interface? If I need to configure Freeswitch to write the .tif image I can do that just need to know where I should have those dropped in order for them to appear in the inbox or do the images write to the database?

I think if I understood where the image are pulled from in order for them to show correctly in the inbox it would help.

I am super sure that this is going to be a super simple fix just need to get a better understanding why ICTFAX works. Were are all the images for outbound faxes stored as well as inbound faxes. So if I wanted to delete fax images to avoid my hard drive building up what is the best process for this?

Thank you,

Can't log with the new user

Hello,

I can finally access to the admin panel, then I create a user (from User management)
When i log out with the admin and try to log with the new user, the authentification page is always showing, i can't access to the fax page.
It's weird because it's like the user can login but can't access to the menu, always stick in the authentification page.

Can you help me out ? Thank you for the job :)

Sincerely,

Marco

How to isolate users and DIDs from each other

I'm testing this out because of it's claimed 'service provider' solution, but I'm having trouble seeing how to isolate users from each other.

It seems that all users can see all DIDs on the system.

Problem with ictinnovation repository

Hello,

I am trying to install ictfax on centos 6. I receive the following error when trying to add ictinnovation repository with command rpm -Uvh 'http://service.ictinnovations.com/repo/6/ict-release-6-2.noarch.rpm'

Retrieving http://service.ictinnovations.com/repo/6/ict-release-6-2.noarch.rpm
error: /var/tmp/rpm-tmp.T9d13p: not an rpm package (or package manifest):

On a centos 7 server the https://service.ictinnovations.com/repo/7/ict-release-7-4.el7.centos.noarch.rpm gives me a 404 - Not Found error.

How can I install ictinnovations repos?

Thanks

Forum Site Down

I just learned about ictfax and trying to get it configured. The forum.ictfax.org site is not working and I am trying to get my system up and running.

Dead links in Readme.md

The links to the installation, administration, and users guides are all dead. When clicking it, we end up on "Page Not Found"

Not Receiving attachment on inbound fax

Hi, I've installed ICTFAX and it's working perfect for outbound. When I appoint a DID for inbound I receive an email that I've received fax but there is nothing in attachment. Please advise.

Can we attach word or excel doc

Hope everyone is doing well. I know ICTFAX support only tif, pdf, jpg, png, gif or txt file while faxing out. Is there a way we can enable word or excel doc?

Issue with script

I'm trying to run the script and I keep getting the following error:

`PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28

Stack trace:

#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()

#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')

#2 /usr/ictcore/bin/sendmail/email_to_fax(18): include_once('/usr/ictcore/co...')

#3 {main}
thrown in /usr/ictcore/core/lib/DB.php on line 28

`

I'm not sure if i can ignore this or if this is an issue. This is my first time trying out this software.

Not able to receive incoming fax.

Hi Team

Need help for incoming fax to work.

I have assigned a did to one user. and also white listed the domain from their the fax were going to come.

But when troubleshooting ,below are the errror which i am getting

U 115.114.207.243:5060 -> 10.7.2.170:5060
INVITE sip:[email protected]:5060 SIP/2.0..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK08B1149e637ca9646a5..From: sip:[email protected];tag=gK0803295a..To: sip:[email protected]: 1162386098_1
[email protected]: 926779 INVITE..Max-Forwards: 70..Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH..Accept: application/sdp, application/isup, application/dtmf, ap
plication/dtmf-relay, multipart/mixed..Contact: sip:[email protected]:5060..P-Preferred-Identity: sip:[email protected]:5060..Supported: timer,100rel,precondition,replaces..Session-Expires: 1800..Min-SE: 90..
Content-Length: 268..Content-Disposition: session; handling=required..Content-Type: application/sdp....v=0..o=Sonus_UAC 495835 414182 IN IP4 115.114.207.243..s=SIP Media Capabilities..c=IN IP4 115.114.207.242..t=0 0..m=audio 16608
RTP/AVP 0 8 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv..a=maxptime:20..

U 10.7.2.170:5060 -> 115.114.207.243:5060
SIP/2.0 100 Trying..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK08B1149e637ca9646a5..From: sip:[email protected];tag=gK0803295a..To: sip:[email protected]: [email protected]
eq: 926779 INVITE..User-Agent: FreeSWITCH-mod_sofia/1.4.26~64bit..Content-Length: 0....

U 10.7.2.170:5060 -> 115.114.207.243:5060
SIP/2.0 480 Temporarily Unavailable..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK08B1149e637ca9646a5..Max-Forwards: 70..From: sip:[email protected];tag=gK0803295a..To: sip:[email protected];tag=6rSQ6gDQj61
5g..Call-ID: [email protected]: 926779 INVITE..User-Agent: FreeSWITCH-mod_sofia/1.4.26~64bit..Accept: application/sdp..Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
, PUBLISH, SUBSCRIBE..Supported: timer, path, replaces..Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer..Reaso
n: Q.850;cause=16;text="NORMAL_CLEARING"..Content-Length: 0..P-Asserted-Identity: "16312301470" sip:[email protected]....

U 115.114.207.243:5060 -> 10.7.2.170:5060
ACK sip:[email protected]:5060 SIP/2.0..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK08B1149e637ca9646a5..From: sip:[email protected];tag=gK0803295a..To: sip:[email protected];tag=6rSQ6gDQj615g..Call-I
D: [email protected]: 926779 ACK..Max-Forwards: 70..Content-Length: 0....

U 115.114.207.243:5060 -> 10.7.2.170:5060
INVITE sip:[email protected]:5060 SIP/2.0..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK04B04dd1659b3d54c88..From: sip:[email protected];tag=gK045d5579..To: sip:[email protected]: 1160001556_3
[email protected]: 966742 INVITE..Max-Forwards: 70..Allow: INVITE,ACK,CANCEL,BYE,REGISTER,REFER,INFO,SUBSCRIBE,NOTIFY,PRACK,UPDATE,OPTIONS,MESSAGE,PUBLISH..Accept: application/sdp, application/isup, application/dtmf, app
lication/dtmf-relay, multipart/mixed..Contact: sip:[email protected]:5060..P-Preferred-Identity: sip:[email protected]:5060..Supported: timer,100rel,precondition,replaces..Session-Expires: 1800..Min-SE: 90..C
ontent-Length: 268..Content-Disposition: session; handling=required..Content-Type: application/sdp....v=0..o=Sonus_UAC 570627 324425 IN IP4 115.114.207.243..s=SIP Media Capabilities..c=IN IP4 115.114.207.241..t=0 0..m=audio 37704
RTP/AVP 0 8 101..a=rtpmap:0 PCMU/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=sendrecv..a=maxptime:20..

U 10.7.2.170:5060 -> 115.114.207.243:5060
SIP/2.0 100 Trying..Via: SIP/2.0/UDP 115.114.207.243:5060;branch=z9hG4bK04B04dd1659b3d54c88..From: sip:[email protected];tag=gK045d5579..To: sip:[email protected]: [email protected]
q: 966742 INVITE..User-Agent: FreeSWITCH-mod_sofia/1.4.26~64bit..Content-Length: 0....

Freeswitch not starting

Hello,

With the provided installation guide, Freeswitch is not starting. I tried googling this problem and I couldn't find any solution. Can you please help me out on this? Here-below is the screenshot on the error that I'm getting from Freeswitch
freeswitch not starting

Error while adding / updating / deleting Provider

Hi Guys!
I wanted to try out your solution but i have some difficulties.

  1. Installed fresh CentOS 7
  2. Followed your guide: http://ictfax.org/content/ictfax-installation-guide (points 1, 2 and 3)
  3. There were no problems during installation
  4. I logged into ICTfax dashboard

And now. When I tried to add Provider / Trunk after filling all fields and clicking Submit I got screen with:
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
[TAKE ME HOME]".

Now. Funny thing is that Provider was added but when I will try to update settings I will get the same error screen - but changes will be stored.
The same thing will happen when I will try to delete Provider - I will have error screen but Provider will remain.

I'm sure that trunk is not registering, I can see it on my test VoIP platform.

Any idea what can cause this problem?

Regards,

emailto2fax

I am able to send fax from a web portal but sending email to fax-number@mydomain is not working.
The message lands in ictcore mailbox and crontab executes the script, the log however shows ;

[2019-09-03 21:12:01] [1554] [FLOW] =================> processing response <=================
[2019-09-03 21:12:01] [1554] [FLOW] Processing status of application : email_receive
[2019-09-03 21:12:01] [1554] [FLOW] No transmission found, searching for dialplan
[2019-09-03 21:12:01] [1554] [INFO] looking for available dialplan
[2019-09-03 21:12:01] [1554] [FLOW] Trying with dialplan id : 1
[2019-09-03 21:12:01] [1554] [ERROR] Request: ICT\Core\Request Object
(
[gateway_flag] => 4
[context] => internal
[spool_id] =>
[application_id] => email_receive
[application_data] => Array
(
[subject] => log test
[body] =>
[body_alt] =>
[attachment] => /usr/ictcore/cache/ictcore_U2fsFYtestfax-document.pdf
[status] => completed
[response] =>
[result] => success
)

[source] => [email protected]
[destination] => [email protected]

)

[2019-09-03 21:12:01] [1554] [ERROR] No recipient found
[2019-09-03 21:12:01] [1554] [ERROR] Unable to locate appropriate dialplan
[2019-09-03 21:12:01] [1554] [WARNING] Skipping current email: Unable to locate appropriate dialplan

dialplan table has 1 entry:
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+
| dialplan_id | gateway_flag | source | destination | context | weight | program_id | application_id | filter_flag |
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+
| 1 | 4 | % | % | internal | 0 | 1 | email_receive | 31 |
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+

Any advise?

Email to fax and fax to email not working

Hello,
I installed from scratch on centos 7 , disabled selinux, applied the database patch from the Provider Not available #16 ticket. I configured a DID to send received fax via email, but when I get a fax
on that DID number nothing happens. Please advise. Thank you.

Install Issue on executing "./email_to_fax"

Hello,

I have a problem by completing the install process on the step, where I have to execute
the ./email_to_fax file.
It replys the following error:

PHP Fatal error: Can't use function return value in write context in /usr/ictcore/core/Program/Emailtofax.php on line 205

I have tried to use the Software anyway but Email2Fax is not working.
Sending fax via Webinterface is working.

Hope you can help.

Thanks.

settings.php writable detection bug in install.core.inc

We're really not sure if this is a bug or our misunderstanding. Either way. When looking at line 1701 in install.core.inc, there is this code:

$writable = drupal_verify_install_file($settings_file, FILE_READABLE|FILE_WRITABLE);
= false

Which for us was returning false everytime. We knew 100% that the file was indeed writable. So adjusting the code to this these options worked:

$writable = drupal_verify_install_file($settings_file, FILE_READABLE||FILE_WRITABLE);
=true
$writable = drupal_verify_install_file($settings_file, FILE_READABLE&&FILE_WRITABLE);
=true

So we adjusted the code and continued our install. No issues.

I also looked at the source code of drupal_verify_install_file() which appears to be expecting an array for the mask. Is FILE_READABLE|FILE_WRITABLE shorthand for an array? If not, maybe that is the issue?

Anyways just wanted to point this out in case this is truly a bug or limited to our environment.

apache after installation not correctly configured?

Helo
i installed on Centos 7 the actualy Ictfax version with the online documentation
when i do Point 3 with yum install ictfax
the installation will be finished and i restart the httpd service the Apache default Page with http://x.x.x.x will running
but the ictfax site http://x.x.x.x/ictfax will show a blue site without any information

is here something to edit in the httpd conf?

thanks

webif issue

Hello , i try to edit or delete any records on users,contacts,providers, and not response without any error msg . Is any issue with angularjs ?

clear outbound log?

I can see a way to delete the outbound fax items. I have a list of failed faxes from testing that I can't get to go away.

Inbound Faxes Do Not Show Up In My Inbox

Hello,

I am hoping someone might be able to help me with the issue that I am running into. I am currently able to send faxes without any issues. When I call my fax number I get a fax tone. If I fax into myself I get a confirmation that my fax was received but they don't show up in my inbox or in the administrators inbox. I have walked through the steps outlined in the installation guide with no luck.

Is there anyways you might be able to tell me if I need to configure something further in Freeswitch or is this all done using the Web Interface? If I need to configure Freeswitch to write the .tif image I can do that just need to know where I should have those dropped in order for them to appear in the inbox or do the images write to the database?

I think if I understood where the image are pulled from in order for them to show correctly in the inbox it would help.

I am super sure that this is going to be a super simple fix just need to get a better understanding why ICTFAX works. Were are all the images for outbound faxes stored as well as inbound faxes. So if I wanted to delete fax images to avoid my hard drive building up what is the best process for this?

I also checked the ICTCore Log : /usr/ictcore/log/ictcore.log and dont see anything in there for the inbound test call send today. On my end I get a confirmation that my fax was received and in the fs_cli I see that call transaction. Let me know if there is any logs I can capture for review.

Thank you,

yum install ictfax

Hello,

With the new version of ICTFAX 4.0

When i try to type :
yum install ictfax

i got
Error downloading packages:
ictcore-sms-0.8.4.4-release.el7.noarch: [Errno 256] No more mirrors to try.
ictcore-voice-0.8.4.4-release.el7.noarch: [Errno 256] No more mirrors to try.

Yum clean all does nothing.
I don't think it's a cache problem, i can't download the GUI then so i can't access to "IP_SERVER/ictfax"

Thanks for helping,

Marco

Regex (FAIL) destination_number

When a fax arrives at ictfax, we have a regex error ->
Regex (FAIL) [application_input] destination_number (provider username) = ~ / ^ \ +? (\ D +) $ /

and consequently we have NO_ROUTE_DESTINATION

I have sought help to configure the SIP provider and indicate the destination, but I have not found anything

Auto Installation Script failed

Hi,
I used Auto Installation Script from your website.
Installation on VPS with fresh Centos 7 - updated with yum update to latest versions of packages.

  1. I logged to VPS using user account (with sudo privileges)
  2. I switched to root using sudo su
  3. I downloaded installation script using generated link curl -JO http://ictfax.org/__auto/download.php?id=****
  4. I started installation script bash install.sh

In the end console shows:

####################################################
#   ICTFAX INSTALLATION COMPLETED SUCCESSFULLY     #
####################################################
Please visit xxx.xxx.xxx.xxx
and using following information to access ICTFax web interface

email: [email protected]
password: xxxxxx

When I try to open webpage in browser I just see "Testing 123...", Apache default test page.

I found in console that just before installation finish there were some errors:

ERROR 1046 (3D000) at line 1: No database selected
PHP Fatal error:  Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28
Stack trace:
#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()
#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')
#2 /usr/ictcore/bin/sendmail/email_to_fax(18): include_once('/usr/ictcore/co...')
#3 {main}
  thrown in /usr/ictcore/core/lib/DB.php on line 28
install.sh: line 34: /bin/wget: No such file or directory

Any idea how to fix this?

Email to Fax outbound not working

I followed the installation instructions line by line. I have no problems with any part of the process.

When sending a fax from my email address to the server I receive the following errors:

[2019-08-04 19:34:01] [31454] [FLOW] =================> processing response <=================
[2019-08-04 19:34:01] [31454] [FLOW] Processing status of application : email_receive
[2019-08-04 19:34:01] [31454] [FLOW] No transmission found, searching for dialplan
[2019-08-04 19:34:01] [31454] [INFO] looking for available dialplan
[2019-08-04 19:34:01] [31454] [FLOW] Trying with dialplan id : 1
[2019-08-04 19:34:01] [31454] [ERROR] Request: ICT\Core\Request Object
(
[gateway_flag] => 4
[context] => internal
[spool_id] =>
[application_id] => email_receive
[application_data] => Array
(
[subject] => Test
[body] =>
[body_alt] =>
[attachment] => /usr/ictcore/cache/ictcore_fe48FXPriceList.pdf
[status] => completed
[response] =>
[result] => success
)

[source] => [email protected]
[destination] => [email protected]

)

[2019-08-04 19:34:01] [31454] [ERROR] No recipient found
[2019-08-04 19:34:01] [31454] [ERROR] Unable to locate appropriate dialplan
[2019-08-04 19:34:01] [31454] [WARNING] Skipping current email: Unable to locate appropriate dialplan

I created a user named "[email protected]". The login is "[email protected]" and the email in the "User address" section of the profile uses the same email address.

This is the contents of my dialplan table:

MariaDB [(none)]> select * from ictfax.dialplan;
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+
| dialplan_id | gateway_flag | source | destination | context | weight | program_id | application_id | filter_flag |
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+
| 1 | 4 | % | % | internal | 0 | 1 | email_receive | 31 |
+-------------+--------------+--------+-------------+----------+--------+------------+----------------+-------------+
1 row in set (0.00 sec)

MariaDB [(none)]>

What other information can I provide that may be helpful?

Thank you.

Email2fax issues

Hi,
I need some help.
ictfax installed on vmware.

sip server : 192.168.11.4
mail server : 192.168.11.20 (mail.ugur.com)
my mail adress : ugur@different_mail_server.com (mails coming this adress)
ictfax : 192.168.11.5

When i try to send fax from fax machine to ictfax, i received 3 mail.
Fist one came from [email protected] and it says "we have received a request .... )

Second one came from [email protected] and it says "we have tried to send your fax ... Error: fax transmission:error:data"

Third one came from 8211@localhost.localdomain "you have received a fax ... " and my fax pdf is in there.

Also;
cat try.txt | sendmail [email protected]
I received mail from root@localhost.localdomain

I added "smtp" in provider list. "smtp - [email protected] - mail.ugur.com - 587/25"

Where is the problem ?

Add Retry option on faxes send trough email.

Hello Team,

We are noted that some of our fax send through email “Failed” whiteout retry at least one but when we send just immediately through our portal and selected the “Retry” option almost all of them successfully pass and get “Completed” without changing anything else, just complete in the second or third retry. Or concern is if we can add or implement something on our system that has our fax through email retry once the first option Failed as well we have on our web interface. We are using ictcore 1.0.3.17 and ictfax 4.3.1.46 with Freeswitch last version 1.10.5 on Centos 7.7

Any help will be much appreciated. Thanks in advance!

"The call dropped prematurely" & "Fax send error" when sending fax in web portal

I'm using a FlowRoute sip trunk. I have installed the latest build.
I've tried "enable-t38" in spandsp autoload, with the same result.
I also tried different outbound fax numbers including 1 analog and 3cx PBX via flowroute.
I've tried other combinations of settings including ecm off and on etc..

Annotation 2019-10-15 024247

The call completes properly. in FreeSWITCH, It looks like the call waits for a response twice. doesn't get one and says bye. In 3cx I can't make out what is happening. but it looks like the same thing just cant pinpoint the cause.
3cxLog.txt

Also, I had to run setenforce 0 again on restart or else the faxes stay as processing (Maybe related to another ticket) . I changed in the config the following time.

Any idea where I should look next?

File field.info.class.inc is missing

When attempting to follow the installation guide, I noticed an error in Drupal, where a required file was not found: file.info.class.inc in modules/field/.

After searching for the file online, I found the source here and copied that file into my installation which enabled me to complete the setup.

Email to fax not working

Hi

I installed ictfax on a new server.
I am able to send a fax using the web interface.
I would like to be able to use the email to fax feature.
I have followed the guide but am still unable to send a fax when sending an email.
Please could you help me troubleshoot

Thanks!

Freeswitch can't start

Freeswitch can't start:

gen 25 01:20:34 localhost.localdomain systemd[1]: Started FreeSWITCH.
gen 25 01:20:35 localhost.localdomain freeswitch[1107]: Cannot Initialize [[error near line 8161]: unexpected closing tag ]
gen 25 01:20:35 localhost.localdomain systemd[1]: freeswitch.service: main process exited, code=exited, status=255/n/a
gen 25 01:20:35 localhost.localdomain systemd[1]: Unit freeswitch.service entered failed state.
gen 25 01:20:35 localhost.localdomain systemd[1]: freeswitch.service failed.

entrys under admin section not change or delete

hi,
i got the error in ictcore

2019-03-11 15:11:01] [15528] [WARNING] mysql_error() expects parameter 1 to be resource, boolean given in /usr/ictcore/core/lib/DB.php on line 28
[2019-03-11 15:11:01] [15528] [ERROR] Unable to connect database server error:
[2019-03-11 15:11:37] [15251] [WARNING] Session read found zero rows
[2019-03-11 15:12:14] [15265] [WARNING] Session write failed

and in httpd

[root@faxserver httpd]# tail -f error_log
[Mon Mar 11 16:08:12.919126 2019] [:error] [pid 15252] [client 172.17.0.87:52230] PHP Warning: error_log(/usr/ictcore/log/ictcore.log): failed to open stream: Permission denied in /usr/ictcore/core/lib/Corelog.php on line 87, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:12.919374 2019] [:error] [pid 15252] [client 172.17.0.87:52230] PHP Warning: error_log(/usr/ictcore/log/ictcore.log): failed to open stream: Permission denied in /usr/ictcore/core/lib/Corelog.php on line 87, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:12.919435 2019] [:error] [pid 15252] [client 172.17.0.87:52230] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:48.045789 2019] [:error] [pid 15263] [client 172.17.0.87:52236] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:48.667217 2019] [:error] [pid 15264] [client 172.17.0.87:52238] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:49.209623 2019] [:error] [pid 15265] [client 172.17.0.87:52240] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:49.397635 2019] [:error] [pid 15266] [client 172.17.0.87:52242] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:49.576429 2019] [:error] [pid 15249] [client 172.17.0.87:52244] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:49.925601 2019] [:error] [pid 15250] [client 172.17.0.87:52246] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/
[Mon Mar 11 16:08:50.098923 2019] [:error] [pid 15248] [client 172.17.0.87:52248] PHP Fatal error: Uncaught exception 'ICT\Core\CoreException' with message 'Unable to connect database server error:' in /usr/ictcore/core/lib/DB.php:28\nStack trace:\n#0 /usr/ictcore/core/lib/init.php(49): ICT\Core\DB::connect()\n#1 /usr/ictcore/core/Core.php(16): require_once('/usr/ictcore/co...')\n#2 /usr/ictcore/wwwroot/index.php(18): include_once('/usr/ictcore/co...')\n#3 {main}\n thrown in /usr/ictcore/core/lib/DB.php on line 28, referer: http://172.17.0.15/ictfax/

max

No Connection to 3cx pbx possible

I Installed ictfax as shown in manual and added freeswitch bug-fix as told in other issue (is running then fine), but

  1. as i see neither trunk nor

  2. extensions are building up a connection/registration to the pbx and

  3. all sent faxes are stuck at processing.

how to deal with this?

Q: Do i need to set up trunk with user/password (if yes: extension no or auth id with password?
Q: How do i set one extension to one user?
Q: Furthermore why can i see more options on http://demo.ictfax.org/#/pages/did/did than on my installed ictfax implementation?

Thanks in advance!

XML Session Read & Write Failures

I have followed all of the guides, and I have also used the installation script. I have checked all of forums, GITHUB help, and every available help out there. I overcome the bug in the ICTCORE.XML code within the ICTCORE FreeSwitch Dialplan. FreeSwitch service now loads correctly without crashing on this new version.

Also, I was able to fix the MYSQL connections issues to localhost, and it's not throwing any connection errors. I have reinstalled about 7 times using 3 different droplet rebuilds, and I still can't get past this bug. I'm running a DigitalOcean Centos 7.6 droplet using the installation guide with ICTFAX 4.3.0.3 installed via YUM using the installation guide.

Within my ICTCORE Log, any time I try to update any Providers or any other data within the ICTFax Web Interface, I am getting these XML and Session Write Failure errors. But, the Provider XML files are not writing at all to the /usr/ictcore/etc/freeswitch/sip_profiles/provider folder.

[2020-07-02 18:15:24] [967] [WARNING] Session read found zero rows
[2020-07-02 18:15:24] [963] [WARNING] Session read found zero rows
[2020-07-02 18:15:25] [963] [WARNING] Session write failed
[2020-07-02 18:15:35] [969] [WARNING] DOMDocument::loadXML(): xmlParseEntityRef: no name in Entity, line: 4 in /usr/ictcore/core/Gateway/Freeswitch.php on line 200
[2020-07-02 18:15:35] [969] [INFO] Freeswitch saving config for type: sip, name: provider_1
[2020-07-02 18:15:35] [969] [WARNING] Session write failed

Freeswitch is not making any registration attempts, but I do see activity on FS_CLI as soon as I press SAVE in the web interface. It's recognizing the XML file is being re-written, but the XML is lacking any data. Within the provider XML, it's blank. It looks like this.

< ?xml version="1.0"? >

What could cause this? Web permissions? Are there any tests I can run to see what's failing? Should I be installing an older version via GITHUB?

Please let me know ASAP. Thanks for your help.

ICTFAX site will not load after running yum update

Everything seemed to be working ok after installing on centos 7
I then ran yum update, and installed the latest packages.

Now I only get a blue window with an image in the middle that won't load

root still works and I get the APACHE page..

HELP!

timeout on 'processing'

I've done some test faxes to my cell phone. I get a call and a beep, but when I hang up it never seems to fail that fax. Where is this configurable?

If I do the same and put retries at 3, the first attempt never seems to complete and so the retries never happen.

Can we attach multiple Files

Hi, I've one more question. Can we attach multiple files to send faxes out. Right now if I attach 1 pdf file system send faxes but if I attach 2 or more pdf system does not process the request. Please advise.

Provider Not available

Hi Guys,

I've installed new version of ICTFAX. When I try to send fax from "Outbound Fax" it gives me error Provider not found. While I've added a trunk under Provider/Trunks. Please advise

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.