ictfax icon indicating copy to clipboard operation
ictfax copied to clipboard

No Connection to 3cx pbx possible

Open mr2017x opened this issue 4 years ago • 8 comments

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!

mr2017x avatar Oct 04 '20 22:10 mr2017x

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.

fizaict avatar Oct 05 '20 05:10 fizaict

@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.

plochu avatar Oct 05 '20 06:10 plochu

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?

mr2017x avatar Oct 05 '20 07:10 mr2017x

@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?

motherboard1999 avatar Sep 21 '21 11:09 motherboard1999

Please share the Freeswitch log

fizaict avatar Sep 21 '21 11:09 fizaict

out.log

motherboard1999 avatar Sep 21 '21 11:09 motherboard1999

Send the log while the fax is being sent.

fizaict avatar Sep 21 '21 11:09 fizaict

@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

motherboard1999 avatar Sep 21 '21 12:09 motherboard1999