Faxbox Sending SMTP to Fax

265 views
Skip to first unread message

Robert

unread,
Dec 21, 2016, 4:58:47 PM12/21/16
to 2600hz-users
I'm having difficulty setting up smtp to fax. I have successfully setup a Kazoo system with DIDs and can receive Fax to email. I have setup all the necessary settings with postfix to receive emails with TIFF/PDF attachments. I've setup offnet carrier and can send and receive voice calls with a hand set. 

However I can not seem to send a fax from kazoo using smtp -> fax. I have added the "fax" flag to the offnet documents. I get the following error in an email response...


Error : no available resources

Caller ID

XXX5551234   (XXXXXXXXXX)

Callee ID

unknown (originally dialed number)

Call received


Any suggestions would be helpful. I can successfully make voice calls and receive fax to emails. 


Best Regards,

Robert

Luis Azedo

unread,
Dec 21, 2016, 7:20:13 PM12/21/16
to 2600hz...@googlegroups.com
you should check fax app logging for that request

--
You received this message because you are subscribed to the Google Groups "2600hz-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert

unread,
Dec 22, 2016, 11:17:49 AM12/22/16
to 2600hz-users
Thanks for the reply Luis.

How do I view the logging for the fax app? I can see logs for fax_util in the /var/log/kazoo/console.log. 

/var/log/kazoo# cat console.log|grep fax_util
08:36:11.625 [warning] |98bd2331d8cab02026cfeef596e872f1|fax_util:119 (<0.15853.4>) missing fax attachment on fax id 98bd2331d8cab02026cfeef596e872f1
08:39:06.534 [warning] |94ddcd818128f96cc25940649fe7f050|fax_util:119 (<0.16543.4>) missing fax attachment on fax id 94ddcd818128f96cc25940649fe7f050
08:42:51.628 [warning] |2515b3e995b5082f6a18e2bdd36ba67d|fax_util:119 (<0.17362.4>) missing fax attachment on fax id 2515b3e995b5082f6a18e2bdd36ba67d
09:21:49.130 [warning] |91f674ccea82c90a3331be7350c8c0aa|fax_util:119 (<0.24569.4>) missing fax attachment on fax id 91f674ccea82c90a3331be7350c8c0aa

Do I need to enable logging in that app?

Robert
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-users...@googlegroups.com.

Robert

unread,
Dec 27, 2016, 3:01:28 PM12/27/16
to 2600hz-users
Ok, I was able to turn on debug logging and found that the fax_worker is crashing....


14:54:15.455 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:964 (<0.7016.28>) compiling resource rules for offnet / 0972bc6aaa6dff4335963fbddb234831
14:54:15.455 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:982 (<0.7016.28>) compiling resource rules for offnet / 0972bc6aaa6dff4335963fbddb234831
14:54:15.456 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:964 (<0.7016.28>) compiling resource rules for offnet / 95db8907a4a0656c42bb73b6bb08bc45
14:54:15.456 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:982 (<0.7016.28>) compiling resource rules for offnet / 95db8907a4a0656c42bb73b6bb08bc45
14:54:15.457 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:964 (<0.7016.28>) compiling resource rules for offnet / 95db8907a4a0656c42bb73b6bb08dece
14:54:15.457 [info] |f1cca98c7df4a31302fb198a76ef2b45|stepswitch_resources:982 (<0.7016.28>) compiling resource rules for offnet / 95db8907a4a0656c42bb73b6bb08dece
14:54:38.221 [warning] |0e8313c69efc2ca9054ba13fae137639|kazoo_modb:309 (<0.7002.28>) modb <<"9c4ef538490a22b64703bb5e91eef4dd-201612">> is exists, not creating
14:54:38.321 [warning] |0e8313c69efc2ca9054ba13fae137639|kz_couch_util:241 (<0.7002.28>) unformatted error: precondition_failed
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:172 (<0.7002.28>) stacktrace:
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: fax_worker:release_job/3 at (753)
14:54:38.338 [info] |1ee160c3e08e1edd|kz_globals:814 (<0.1144.0>) deleted 1 proxies
14:54:38.338 [error] |0000000000|Undefined:Undefined (<0.30075.21>) gen_server <0.30075.21> terminated with reason: {badmatch,{error,precondition_failed}}
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: fax_worker:handle_cast/2 at (271)
14:54:38.338 [error] |0000000000|Undefined:Undefined (<0.30075.21>) CRASH REPORT Process <0.30075.21> with 0 neighbours exited with reason: no match of right hand value {error,precondition_failed} in gen_server:terminate/7 line 826
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: gen_listener:handle_module_cast/2 at (997)
14:54:38.338 [info] |1ee160c3e08e1edd|kz_globals:814 (<0.1144.0>) deleted 0 proxies
14:54:38.338 [error] |0000000000|Undefined:Undefined (<0.1159.0>) Supervisor kz_global_proxies_sup had child kz_global_proxy started with {kz_global_proxy,start_link,undefined} at <0.30075.21> exit with reason {badmatch,{error,precondition_failed}} in context child_terminated
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: gen_server:try_dispatch/4 at (615)
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: gen_server:handle_msg/5 at (681)
14:54:38.322 [error] |0e8313c69efc2ca9054ba13fae137639|kz_util:179 (<0.7002.28>) st: proc_lib:init_p_do_apply/3 at (240)
14:54:38.328 [warning] |0e8313c69efc2ca9054ba13fae137639|kz_couch_util:241 (<0.7002.28>) unformatted error: precondition_failed
14:54:38.331 [error] |0000000000|Undefined:Undefined (<0.7002.28>) gen_server <<102,97,120,95,111,117,116,98,111,117,110,100,95,55,49,54,53,54,56,50,48,57,49>> terminated with reason: {badmatch,{error,precondition_failed}}
14:54:38.331 [error] |0000000000|Undefined:Undefined (<0.7002.28>) CRASH REPORT Process <0.7002.28> with 0 neighbours exited with reason: no match of right hand value {error,precondition_failed} in gen_server:terminate/7 line 826
14:54:38.332 [error] |0000000000|Undefined:Undefined (<0.1837.0>) Supervisor fax_worker_sup had child fax_worker started with fax_worker:start_link({[{<<"To-Number">>,<<"XXXXXXX2091">>},{<<"Account-ID">>,<<"9c4ef538490a22b64703bb5e91eef4dd">>},...]}) at <0.7002.28> exit with reason {badmatch,{error,precondition_failed}} in context child_terminated
14:54:38.335 [info] |e92cac41d85a9481|kz_globals:814 (<0.1150.0>) deleted 1 proxies
14:54:40.385 [info] |abee462cf1dbf22c|kz_globals:814 (<0.1150.0>) deleted 1 proxies
14:54:40.390 [info] |04cd423d167f3b83|kz_globals:814 (<0.1144.0>) deleted 1 proxies
14:54:40.391 [info] |04cd423d167f3b83|kz_globals:814 (<0.1144.0>) deleted 0 proxies 
Reply all
Reply to author
Forward
0 new messages