[Freeswitch-users] Having problem sending and receiving faxes

Pete Kay petedao at gmail.com
Sat Apr 26 09:37:34 PDT 2008


Hi,

I am unable to get FS to send and receive faxes and I hope someone can give
me a hand.

When sending the fax, I get the following error from sock2me:

Sending Fax filename: [/home/anne/abcd.tiff] from 127.0.0.1:9015 ->
127.0.0.1:9016
Phase B handler on session 0 - (0x80) DIS
Phase E handler on session 0 - (14) TIFF/F file cannot be opened
Phase E: bit rate 9600
Phase E: ECM on
Phase E: pages transferred 0
Phase E: image size 0 x 0
Phase E: image resolution 0 x 0
Phase E: bad rows 0
Phase E: longest bad row run 0
Phase E: coding method ???
Phase E: image size 0 bytes
Phase E: local ident 'Socket 2 ME'
Phase E: remote ident ''
Phase E: Remote was made in 'Japan'
Phase E: Remote was made by 'Sharp/Olivetti'
Done

There should not be problem with permission, as I can do the following:
ser:/usr/local/freeswitch# ls -al /home/anne/abc.tiff
-rw-r--r-- 1 anne anne 15344 2008-04-26 22:06 /home/anne/abc.tiff

When attempting to send from FS, there is no response from sock2me.  In the
console, I get the following:

2008-04-27 08:41:30 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing
1006->fax at all
2008-04-27 08:41:30 [DEBUG] mod_dialplan_xml.c:107 parse_exten() test
conditions destination_number(fax) =~ /^fax$/
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:96
switch_core_standard_on_ring() sofia/default/1006 at 192.168.1.104:5060 State
Change CS_RING -> CS_EXECUTE
2008-04-27 08:41:30 [DEBUG] switch_core_session.c:670
switch_core_session_signal_state_change() Kill sofia/default/
1006 at 192.168.1.104:5060 [BREAK]
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:460
switch_core_session_run() (sofia/default/1006 at 192.168.1.104:5060) State RING
going to sleep
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:406
switch_core_session_run() sofia/default/1006 at 192.168.1.104:5060 Running
State Change CS_EXECUTE
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:470
switch_core_session_run() (sofia/default/1006 at 192.168.1.104:5060) State
EXECUTE
2008-04-27 08:41:30 [DEBUG] mod_sofia.c:156 sofia_on_execute()
sofia/default/1006 at 192.168.1.104:5060 SOFIA EXECUTE
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:129
switch_core_standard_on_execute() Standard EXECUTE
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:142
switch_core_standard_on_execute()
sofia/default/1006 at 192.168.1.104:5060Execute answer()
2008-04-27 08:41:30 [DEBUG] switch_core_state_machine.c:142
switch_core_standard_on_execute()
sofia/default/1006 at 192.168.1.104:5060Execute echo(get a
fax=======================>)
2008-04-27 08:41:30 [DEBUG] switch_core_io.c:347
switch_core_session_read_frame() Engaging Read Buffer at 480 bytes
2008-04-27 08:41:58 [DEBUG] sofia.c:219 sofia_event_callback() event
[nua_i_outbound] status [102][NAT binding changed] session: n/a
2008-04-27 08:41:58 [DEBUG] sofia.c:345 sofia_event_callback()
nua_i_outbound: unknown event 8: 102 NAT binding changed
2008-04-27 08:41:58 [DEBUG] sofia_reg.c:87 sofia_reg_check_gateway()
registered callwithus
2008-04-27 08:42:01 [DEBUG] sofia.c:1565 sofia_handle_sip_i_state() Channel
sofia/default/1006 at 192.168.1.104:5060 entering state [terminated]
2008-04-27 08:42:01 [NOTICE] sofia.c:1962 sofia_handle_sip_i_state() Hangup
sofia/default/1006 at 192.168.1.104:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2008-04-27 08:42:01 [DEBUG] switch_channel.c:1355
switch_channel_perform_hangup() Kill sofia/default/1006 at 192.168.1.104:5060[KILL]
2008-04-27 08:42:01 [DEBUG] switch_core_session.c:670
switch_core_session_signal_state_change() Kill sofia/default/
1006 at 192.168.1.104:5060 [BREAK]
2008-04-27 08:42:01 [DEBUG] switch_core_state_machine.c:470
switch_core_session_run() (sofia/default/1006 at 192.168.1.104:5060) State
EXECUTE going to sleep
2008-04-27 08:42:01 [DEBUG] switch_core_state_machine.c:406
switch_core_session_run() sofia/default/1006 at 192.168.1.104:5060 Running
State Change CS_HANGUP
2008-04-27 08:42:01 [DEBUG] switch_core_state_machine.c:434
switch_core_session_run() (sofia/default/1006 at 192.168.1.104:5060) State
HANGUP
2008-04-27 08:42:01 [DEBUG] mod_sofia.c:255 sofia_on_hangup() Channel
sofia/default/1006 at 192.168.1.104:5060 hanging up, cause: NORMAL_CLEARING
2008-04-27 08:42:01 [DEBUG] switch_core_state_machine.c:46
switch_core_standard_on_hangup() Standard HANGUP sofia/default/
1006 at 192.168.1.104:5060, cause: NORMAL_CLEARING
2008-04-27 08:42:01 [DEBUG] switch_core_state_machine.c:434
switch_core_session_run() (sofia/default/1006 at 192.168.1.104:5060) State
HANGUP going to sleep
2008-04-27 08:42:01 [DEBUG] switch_core_session.c:730
switch_core_session_thread() Session 160 (sofia/default/
1006 at 192.168.1.104:5060) Locked, Waiting on external entities
2008-04-27 08:42:01 [NOTICE] switch_core_session.c:748
switch_core_session_thread() Session 160 (sofia/default/
1006 at 192.168.1.104:5060) Ended
2008-04-27 08:42:01 [NOTICE] switch_core_session.c:750
switch_core_session_thread() Close Channel sofia/default/
1006 at 192.168.1.104:5060 [CS_HANGUP]
2008-04-27 08:42:01 [DEBUG] switch_core_media_bug.c:284
switch_core_media_bug_remove_all() Removing BUG from sofia/default/
1006 at 192.168.1.104:5060


Can someone please kindly tell me what the problem could be and how can I
fix it?

Thanks alot for all you kind input.

Best Regards,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080427/98905b26/attachment-0002.html 


More information about the FreeSWITCH-users mailing list