[Freeswitch-users] Fax 2 Email issue
devang nathwani
devang.nathwani31589 at gmail.com
Tue Dec 6 11:28:50 MSK 2016
Dialplan: sofia/default/789456123 at 192.168.1.71 parsing [default->customfax]
continue=false
Dialplan: sofia/default/789456123 at 192.168.1.71 Regex (PASS) [customfax]
destination_number(789456123) =~ /^789456123$/ break=on-false
Dialplan: sofia/default/789456123 at 192.168.1.71 Action
set(fax_enable_t38_request=true)
Dialplan: sofia/default/789456123 at 192.168.1.71 Action
set(fax_enable_t38=true)
Dialplan: sofia/default/789456123 at 192.168.1.71 Action
export(t38_passthru=true)
Dialplan: sofia/default/789456123 at 192.168.1.71 Action
set(session_in_hangup_hook=true)
Dialplan: sofia/default/789456123 at 192.168.1.71 Action
set(rtp_append_audio_sdp=a=fmtp:18 annexb=no)
Dialplan: sofia/default/789456123 at 192.168.1.71 Action answer()
Dialplan: sofia/default/789456123 at 192.168.1.71 Action rxfax(*chmod 666
/tmp/${uuid}-FAX.tif*)
Dialplan: sofia/default/789456123 at 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 at inextrix.com
/tmp/${uuid}-FAX.tif )
Dialplan: sofia/default/789456123 at 192.168.1.71 Action hangup()
On Mon, Dec 5, 2016 at 6:52 PM, Brian West <brian at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/343f4232/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list