ictinnovations / ictfax

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
http://www.ictfax.org
GNU General Public License v3.0
169 stars 60 forks source link

No Connection to 3cx pbx possible #52

Open mr2017x opened 4 years ago

mr2017x commented 4 years ago

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!

fizaict commented 4 years ago

Yes, you need to set up the trunk so your faxes can be delivered.

Currently, there is no interface in the GUI to assign an extension to the user.

On demo.ictfax.org ICTFax SP Edition is installed which has more features than the Open Source version.

plochu commented 4 years ago

@mr2017x the easiest way is to register ICTFax as Extension in 3CX. But as ICTFax Freeswitch is not configured well you need to remember about important thing on 3CX side. Extension Number and Authentication ID needs to be the same. This will deal with outgoing faxes.

Reciving is more complicated because ICTFax uses separate trunks to send and recieve faxes.

mr2017x commented 4 years ago

thank you both!

Yes, you need to set up the trunk so your faxes can be delivered.

Currently, there is no interface in the GUI to assign an extension to the user.

On demo.ictfax.org ICTFax SP Edition is installed which has more features than the Open Source version.

ok ,set up, put in ext id = auth id + password, nothing happens, no registration issued as i can see on pbx' side.

is there a cli command i didn't see for that?

ok, so another code basis, where is the open source approach? and furthermore, is there a "hidden" installation source which is running smooth?

@mr2017x the easiest way is to register ICTFax as Extension in 3CX. But as ICTFax Freeswitch is not configured well you need to remember about important thing on 3CX side. Extension Number and Authentication ID needs to be the same. This will deal with outgoing faxes.

Reciving is more complicated because ICTFax uses separate trunks to send and recieve faxes.

i guess so, i am in that business with pbx since several years didn't hazzle with it, also ext id, auth id (if differ) and so on is no problem, but here it seems - it's also no problem - as it doesn't issue a registration from ictfax towards pbx, but it also doesn't seem to log anything so far...?

Did i miss some log or is this version just buggy (in reference to freeswitch error i had to fix and so on?)

furthermore let me ask, is ictfax still being developed?

motherboard1999 commented 3 years ago

@plochu @mr2017x any updates? I created in 3CX a new fax extension. Then I add a new SIP Trunk in ICTFax. The username and password is the same as in 3CX. As host I took the 3CX IP and as port I tried 5060. The other fields are empty. Now if I try to send a fax, it stuck at "processing". How you guys resolved this?

fizaict commented 3 years ago

Please share the Freeswitch log

motherboard1999 commented 3 years ago

out.log

fizaict commented 3 years ago

Send the log while the fax is being sent.

motherboard1999 commented 3 years ago

@fizaict Where can I find this logs or how can I enable it? I only see the log in /var/log/freeswitch/freeswitch.log and if I send a fax, no information will show. In /usr/ictcore/log/ictcore.log I see

[2021-09-21 12:33:51] [2314] [WARNING] Session write failed [2021-09-21 12:33:58] [10739] [WARNING] Session write failed [2021-09-21 12:33:58] [1628] [WARNING] Session write failed [2021-09-21 12:33:58] [10739] [WARNING] Session write failed [2021-09-21 12:33:58] [10739] [FLOW] =================> transmission execution <================= [2021-09-21 12:33:58] [10739] [FLOW] Executing transmission with id : 6 [2021-09-21 12:33:58] [10739] [FLOW] Attempting with spool_id : 6 [2021-09-21 12:33:58] [10739] [FLOW] Executing program : sendfax(6) [2021-09-21 12:33:58] [10739] [FLOW] Executing application : originate(16) [2021-09-21 12:33:58] [1904] [WARNING] Session write failed [2021-09-21 12:33:58] [4556] [WARNING] Session write failed [2021-09-21 12:33:58] [12170] [WARNING] Session write failed [2021-09-21 12:33:58] [1628] [WARNING] Session write failed [2021-09-21 12:33:58] [4619] [WARNING] Session write failed [2021-09-21 12:33:58] [2314] [WARNING] Session write failed [2021-09-21 12:33:58] [1904] [WARNING] Session write failed