Hello, Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ======================================================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help. http://pastebin.com/edTEimae
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan? On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ======================================================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup() On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ======================================================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I don't think it will work like that, you can just use:
rxfax( /tmp/${uuid}-FAX.tif)
Since it is /tmp it will we group and world read/writable On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ======================================================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Mirko
rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*) I would like to know where you read docs that lead up to that solution. /b On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic <mirkobrankovic@gmail.com> wrote:
I don't think it will work like that,
you can just use:
rxfax( /tmp/${uuid}-FAX.tif)
Since it is /tmp it will we group and world read/writable
On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ============================== ========================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Mirko
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' as well, but got the same result so i tired with chmod. @Brian, don't know the exact source from where i got this solution any other suggestion or hunch? On Tue, Dec 6, 2016 at 5:55 PM, Brian West <brian@freeswitch.org> wrote:
rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*)
I would like to know where you read docs that lead up to that solution.
/b
On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic <mirkobrankovic@gmail.com> wrote:
I don't think it will work like that,
you can just use:
rxfax( /tmp/${uuid}-FAX.tif)
Since it is /tmp it will we group and world read/writable
On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ============================== ========================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Mirko
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Then it might not even negotiate with Zoiper. Which version of Zoiper are you using? /b On Tue, Dec 6, 2016 at 7:40 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' as well, but got the same result so i tired with chmod. @Brian, don't know the exact source from where i got this solution any other suggestion or hunch?
On Tue, Dec 6, 2016 at 5:55 PM, Brian West <brian@freeswitch.org> wrote:
rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*)
I would like to know where you read docs that lead up to that solution.
/b
On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic <mirkobrankovic@gmail.com
wrote:
I don't think it will work like that,
you can just use:
rxfax( /tmp/${uuid}-FAX.tif)
Since it is /tmp it will we group and world read/writable
On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Hello,
Trying to develop Fax 2 Email features. I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server
2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ============================== ========================= 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ============================================================ ================== 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened. 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ============================================================ ==================
Can any body help me please to resolve that issue? I have attached my freeswitch logs it may help.
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
-- Regards, Mirko
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Zoiper Biz softphone 2.43 with G729 OS : Windows system On Tue, Dec 6, 2016 at 7:03 PM, Brian West <brian@freeswitch.org> wrote:
Then it might not even negotiate with Zoiper. Which version of Zoiper are you using?
/b
On Tue, Dec 6, 2016 at 7:40 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I have tried using, rxfax(*/tmp/${uuid}-FAX.tif*) without 'chmod 666' as well, but got the same result so i tired with chmod. @Brian, don't know the exact source from where i got this solution any other suggestion or hunch?
On Tue, Dec 6, 2016 at 5:55 PM, Brian West <brian@freeswitch.org> wrote:
rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) -> rxfax(*/tmp/${uuid}-FAX.tif*)
I would like to know where you read docs that lead up to that solution.
/b
On Tue, Dec 6, 2016 at 3:55 AM, Mirko Brankovic < mirkobrankovic@gmail.com> wrote:
I don't think it will work like that,
you can just use:
rxfax( /tmp/${uuid}-FAX.tif)
Since it is /tmp it will we group and world read/writable
On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Dialplan: sofia/default/789456123@192.168.1.71 parsing [default->customfax] continue=false Dialplan: sofia/default/789456123@192.168.1.71 Regex (PASS) [customfax] destination_number(789456123) =~ /^789456123$/ break=on-false Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38_request=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(fax_enable_t38=true) Dialplan: sofia/default/789456123@192.168.1.71 Action export(t38_passthru=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(session_in_hangup_hook=true) Dialplan: sofia/default/789456123@192.168.1.71 Action set(rtp_append_audio_sdp=a=fmtp:18 annexb=no) Dialplan: sofia/default/789456123@192.168.1.71 Action answer() Dialplan: sofia/default/789456123@192.168.1.71 Action rxfax(*chmod 666 /tmp/${uuid}-FAX.tif*) Dialplan: sofia/default/789456123@192.168.1.71 Action set(api_hangup_hook=system /var/www/html/astpp/FAX/scripts/emailfax.sh /tmp/${uuid}-FAX.tif 6 Hardik hardik.patel@inextrix.com /tmp/${uuid}-FAX.tif ) Dialplan: sofia/default/789456123@192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian@freeswitch.org> wrote:
Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?
On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
> Hello, > > Trying to develop Fax 2 Email features. > I am sending fax from the Zoiper for testing and it works perfectly > in my local machine but getting permission related error for receiving fax > on server > > > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === > Negotiation Result ============================== > ========================= > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote > station id: 964737 > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local > station id: SpanDSP Fax Ident > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer > Rate: 12000 > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status > off > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote > country: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote > vendor: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote > model: > 2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 > ============================================================ > ================== > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 > ============================================================ > ================== > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax > processing not successful - result (41) TIFF/F file cannot be opened. > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote > station id: 964737 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local > station id: SpanDSP Fax Ident > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages > transferred: 0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax > pages: 0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image > resolution: 0x0 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer > Rate: 12000 > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status > off > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote > country: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote > vendor: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote > model: > 2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 > ============================================================ > ================== > > Can any body help me please to resolve that issue? > I have attached my freeswitch logs it may help. > > http://pastebin.com/edTEimae > > ____________________________________________________________ > _____________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://confluence.freeswitch.org > http://www.cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free > switch-users > http://www.freeswitch.org >
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
-- Regards, Mirko
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Bipin On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8 https://pastebin.freeswitch.org/view/3cd3c224 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ============================================================================== On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Thanks Bipin
On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You should try 1.6.13, it has a fix specifically to correct a somewhat problematic error in fax handing. Especially t.38. /b On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8
https://pastebin.freeswitch.org/view/3cd3c224
2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ==============================================================================
On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Thanks Bipin
On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *Skype:*briankwest
Try using ECM = true on the remote fax, this helps a lot. Also, lower speed from 14400 to 9600. im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really nice. T. On 14 December 2016 at 16:24, Brian West <brian@freeswitch.org> wrote:
You should try 1.6.13, it has a fix specifically to correct a somewhat problematic error in fax handing. Especially t.38.
/b
On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8
https://pastebin.freeswitch.org/view/3cd3c224
2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ==============================================================================
On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Thanks Bipin
On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Freeswitch upgraded, FreeSWITCH Version 1.6.13~64bit ( 64bit) facing the same issue. On Thu, Dec 15, 2016 at 12:07 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
Try using ECM = true on the remote fax, this helps a lot. Also, lower speed from 14400 to 9600.
im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really nice.
T.
On 14 December 2016 at 16:24, Brian West <brian@freeswitch.org> wrote:
You should try 1.6.13, it has a fix specifically to correct a somewhat problematic error in fax handing. Especially t.38.
/b
On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8
https://pastebin.freeswitch.org/view/3cd3c224
2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ==============================================================================
On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Thanks Bipin
On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
can you try using ECM ? also, try using a real fax machine instead of zoiper. i never tried to send a fax with zoiper, what is it using, T.30 or T.38 ? but, anyhow, what you are trying to do is a basic call flow that works out of the box. if you are using T.30, get a tcpdump/wireshark dump of your fax call, extract the audio from it and try decoding it with fax_decode utility included with spandsp. This will give you more details. T. On 15 December 2016 at 13:04, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Freeswitch upgraded, FreeSWITCH Version 1.6.13~64bit ( 64bit) facing the same issue.
On Thu, Dec 15, 2016 at 12:07 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
Try using ECM = true on the remote fax, this helps a lot. Also, lower speed from 14400 to 9600.
im using T.30 faxing with FreeSWITCH 1.4.7 version and it works really nice.
T.
On 14 December 2016 at 16:24, Brian West <brian@freeswitch.org> wrote:
You should try 1.6.13, it has a fix specifically to correct a somewhat problematic error in fax handing. Especially t.38.
/b
On Wed, Dec 14, 2016 at 5:04 AM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
I am sending fax from the Zoiper for testing and getting this error from server, freeswitch version: FreeSWITCH Version 1.6.12~64bit ( 64bit) OS:Debian GNU/Linux 8
https://pastebin.freeswitch.org/view/3cd3c224
2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:496 ============================================================================== 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (35) Unexpected DCN while waiting for DCS or DIS. 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 14400 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:521 ECM status off 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:522 remote country: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:523 remote vendor: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:524 remote model: 2016-12-14 12:42:12.795416 [DEBUG] mod_spandsp_fax.c:526 ==============================================================================
On Thu, Dec 8, 2016 at 8:19 PM, devang nathwani < devang.nathwani31589@gmail.com> wrote:
Thanks Bipin
On Wed, Dec 7, 2016 at 7:31 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
attached is the script
Regards, Bipin
------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] Fax 2 Email issue From: devang nathwani <devang.nathwani31589@gmail.com> <devang.nathwani31589@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <freeswitch-users@lists.freeswitch.org> Date: 12/7/2016, 3:57:45 PM
@Bipin, Yes please, share your python script
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *Skype:*briankwest
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Bipin Patel
-
Brian West
-
devang nathwani
-
Mirko Brankovic
-
Tihomir Culjaga