Sending faxes via VoIP Innovations

Post your configuration issues while installing ictfax

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:29 pm

If you want to configure your DID for ICTFAX, then you don't have to do anything in Freeswitch. Or at most just have to allow IP address of your DID provider in ACL domains. ICTFax is already configured to receive any incoming DID number if it is not blocked by IP address.

In GUI you just have to configure your DID and set its forwarding if you want to receive incoming fax on your email. You should see your DID in ICTFAX menu in Settings -> My Incoming Numbers.
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:31 pm

gopher49 wrote:I've done everything you mentioned... I created a DID and mapped to a users. The log shows this DID coming in and ACL matches/allows it.. But fax never answers. See log below. I replaced the the carrier's IP with 'publicip' and I replaced the number calling and inbound DID... Everything else is straight from my console. What do I need to change?

2012-12-19 20:22:21.681109 [DEBUG] sofia.c:5807 (sofia/internal/numbercalling@publicIP) State Change CS_NEW -> CS_INIT
2012-12-19 20:22:21.681109 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_INIT
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/numbercalling@publicIP) State INIT
2012-12-19 20:22:21.681109 [DEBUG] mod_sofia.c:86 sofia/internal/numbercalling@publicIP SOFIA INIT
2012-12-19 20:22:21.681109 [DEBUG] mod_sofia.c:126 (sofia/internal/numbercalling@publicIP) State Change CS_INIT -> CS_ROUTING
2012-12-19 20:22:21.681109 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/numbercalling@publicIP) State INIT going to sleep
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_ROUTING
2012-12-19 20:22:21.681109 [DEBUG] switch_channel.c:2003 (sofia/internal/numbercalling@publicIP) Callstate Change DOWN -> RINGING
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/numbercalling@publicIP) State ROUTING
2012-12-19 20:22:21.681109 [DEBUG] mod_sofia.c:149 sofia/internal/numbercalling@publicIP SOFIA ROUTING
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:117 sofia/internal/numbercalling@publicIP Standard ROUTING
2012-12-19 20:22:21.681109 [INFO] mod_dialplan_xml.c:498 Processing HOERSIKE CHRIS <+numbercalling>->inboundDID in context public
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->unloop] continue=false
Dialplan: sofia/internal/numbercalling@publicIP Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->outside_call] continue=true
Dialplan: sofia/internal/numbercalling@publicIP Absolute Condition [outside_call]
Dialplan: sofia/internal/numbercalling@publicIP Action set(outside_call=true)
Dialplan: sofia/internal/numbercalling@publicIP Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->call_debug] continue=true
Dialplan: sofia/internal/numbercalling@publicIP Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->plivo_public_did] continue=false
Dialplan: sofia/internal/numbercalling@publicIP Regex (PASS) [plivo_public_did] destination_number(inboundDID) =~ /^(\d+)$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP Action enable_heartbeat(60)
Dialplan: sofia/internal/numbercalling@publicIP Action socket(127.0.0.1:8084 async full)
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/numbercalling@publicIP) State Change CS_ROUTING -> CS_EXECUTE
2012-12-19 20:22:21.681109 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/numbercalling@publicIP) State ROUTING going to sleep
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_EXECUTE
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/numbercalling@publicIP) State EXECUTE
2012-12-19 20:22:21.681109 [DEBUG] mod_sofia.c:242 sofia/internal/numbercalling@publicIP SOFIA EXECUTE
2012-12-19 20:22:21.681109 [DEBUG] switch_core_state_machine.c:209 sofia/internal/numbercalling@publicIP Standard EXECUTE
EXECUTE sofia/internal/numbercalling@publicIP set(outside_call=true)
2012-12-19 20:22:21.681109 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [outside_call]=[true]
EXECUTE sofia/internal/numbercalling@publicIP set(RFC2822_DATE=Wed, 19 Dec 2012 20:22:21 -0600)
2012-12-19 20:22:21.681109 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [RFC2822_DATE]=[Wed, 19 Dec 2012 20:22:21 -0600]
EXECUTE sofia/internal/numbercalling@publicIP enable_heartbeat(60)
2012-12-19 20:22:21.681109 [INFO] switch_core_session.c:1440 sofia/internal/numbercalling@publicIP setting session heartbeat to 60 second(s).
EXECUTE sofia/internal/numbercalling@publicIP socket(127.0.0.1:8084 async full)
2012-12-19 20:22:21.681109 [DEBUG] switch_core_session.c:1110 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:21.681109 [DEBUG] switch_core_session.c:1110 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:21.701490 [DEBUG] switch_ivr.c:612 sofia/internal/numbercalling@publicIP Command Execute set(plivo_app=true)
EXECUTE sofia/internal/numbercalling@publicIP set(plivo_app=true)
2012-12-19 20:22:21.742104 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [plivo_app]=[true]
2012-12-19 20:22:21.742104 [DEBUG] switch_ivr.c:612 sofia/internal/numbercalling@publicIP Command Execute set(hangup_after_bridge=false)
EXECUTE sofia/internal/numbercalling@publicIP set(hangup_after_bridge=false)
2012-12-19 20:22:21.742104 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [hangup_after_bridge]=[false]
2012-12-19 20:22:24.001078 [DEBUG] mod_event_socket.c:2647 (sofia/internal/numbercalling@publicIP) State Change CS_EXECUTE -> CS_RESET
2012-12-19 20:22:24.001078 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.001078 [DEBUG] mod_event_socket.c:499 (sofia/internal/numbercalling@publicIP) State Change CS_RESET -> CS_EXECUTE
2012-12-19 20:22:24.001078 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.001078 [NOTICE] switch_core_state_machine.c:262 sofia/internal/numbercalling@publicIP has executed the last dialplan instruction, hanging up.
2012-12-19 20:22:24.001078 [DEBUG] switch_channel.c:2994 (sofia/internal/numbercalling@publicIP) Callstate Change RINGING -> HANGUP
2012-12-19 20:22:24.001078 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/numbercalling@publicIP [CS_EXECUTE] [NORMAL_CLEARING]
2012-12-19 20:22:24.001078 [DEBUG] switch_channel.c:3017 Send signal sofia/internal/numbercalling@publicIP [KILL]
2012-12-19 20:22:24.001078 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.001078 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/numbercalling@publicIP) State EXECUTE going to sleep
2012-12-19 20:22:24.001078 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_HANGUP
2012-12-19 20:22:24.001078 [DEBUG] switch_core_state_machine.c:667 (sofia/internal/numbercalling@publicIP) State HANGUP
2012-12-19 20:22:24.001078 [DEBUG] mod_sofia.c:503 Channel sofia/internal/numbercalling@publicIP hanging up, cause: NORMAL_CLEARING
2012-12-19 20:22:24.021408 [DEBUG] mod_sofia.c:633 Responding to INVITE with: 480
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:48 sofia/internal/numbercalling@publicIP Standard HANGUP, cause: NORMAL_CLEARING
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:667 (sofia/internal/numbercalling@publicIP) State HANGUP going to sleep
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:446 (sofia/internal/numbercalling@publicIP) State Change CS_HANGUP -> CS_REPORTING
2012-12-19 20:22:24.021408 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_REPORTING
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/numbercalling@publicIP) State REPORTING
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:92 sofia/internal/numbercalling@publicIP Standard REPORTING, cause: NORMAL_CLEARING
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/numbercalling@publicIP) State REPORTING going to sleep
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:440 (sofia/internal/numbercalling@publicIP) State Change CS_REPORTING -> CS_DESTROY
2012-12-19 20:22:24.021408 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.021408 [DEBUG] switch_core_session.c:1488 Session 33 (sofia/internal/numbercalling@publicIP) Locked, Waiting on external entities
2012-12-19 20:22:24.021408 [NOTICE] switch_core_session.c:1506 Session 33 (sofia/internal/numbercalling@publicIP) Ended
2012-12-19 20:22:24.021408 [NOTICE] switch_core_session.c:1510 Close Channel sofia/internal/numbercalling@publicIP [CS_DESTROY]
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:556 (sofia/internal/numbercalling@publicIP) Callstate Change HANGUP -> DOWN
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:559 (sofia/internal/numbercalling@publicIP) Running State Change CS_DESTROY
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/numbercalling@publicIP) State DESTROY
2012-12-19 20:22:24.021408 [DEBUG] mod_sofia.c:396 sofia/internal/numbercalling@publicIP SOFIA DESTROY
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:99 sofia/internal/numbercalling@publicIP Standard DESTROY
2012-12-19 20:22:24.021408 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/numbercalling@publicIP) State DESTROY going to sleep
2012-12-19 20:22:24.761077 [NOTICE] switch_channel.c:968 New Channel sofia/internal/numbercalling@publicIP [178f8892-4a4c-11e2-8305-5df26cbe6510]
2012-12-19 20:22:24.761077 [DEBUG] switch_core_session.c:975 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.761077 [DEBUG] switch_core_session.c:975 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.761077 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_NEW
2012-12-19 20:22:24.761077 [DEBUG] switch_core_state_machine.c:433 (sofia/internal/numbercalling@publicIP) State NEW
2012-12-19 20:22:24.781131 [DEBUG] sofia.c:7674 IP publicIP Approved by acl "domains[]". Access Granted.
2012-12-19 20:22:24.801092 [DEBUG] sofia.c:5599 Channel sofia/internal/numbercalling@publicIP entering state [received][100]
2012-12-19 20:22:24.801092 [DEBUG] sofia.c:5610 Remote SDP:
v=0
o=Sansay-VSXi 188 1 IN IP4 publicIP
s=Session Controller
c=IN IP4 4.55.9.194
t=0 0
m=audio 24476 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:20

2012-12-19 20:22:24.801092 [DEBUG] sofia.c:5807 (sofia/internal/numbercalling@publicIP) State Change CS_NEW -> CS_INIT
2012-12-19 20:22:24.801092 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_INIT
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/numbercalling@publicIP) State INIT
2012-12-19 20:22:24.801092 [DEBUG] mod_sofia.c:86 sofia/internal/numbercalling@publicIP SOFIA INIT
2012-12-19 20:22:24.801092 [DEBUG] mod_sofia.c:126 (sofia/internal/numbercalling@publicIP) State Change CS_INIT -> CS_ROUTING
2012-12-19 20:22:24.801092 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/numbercalling@publicIP) State INIT going to sleep
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_ROUTING
2012-12-19 20:22:24.801092 [DEBUG] switch_channel.c:2003 (sofia/internal/numbercalling@publicIP) Callstate Change DOWN -> RINGING
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/numbercalling@publicIP) State ROUTING
2012-12-19 20:22:24.801092 [DEBUG] mod_sofia.c:149 sofia/internal/numbercalling@publicIP SOFIA ROUTING
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:117 sofia/internal/numbercalling@publicIP Standard ROUTING
2012-12-19 20:22:24.801092 [INFO] mod_dialplan_xml.c:498 Processing numbercalling <+numbercalling>->inboundDID in context public
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->unloop] continue=false
Dialplan: sofia/internal/numbercalling@publicIP Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->outside_call] continue=true
Dialplan: sofia/internal/numbercalling@publicIP Absolute Condition [outside_call]
Dialplan: sofia/internal/numbercalling@publicIP Action set(outside_call=true)
Dialplan: sofia/internal/numbercalling@publicIP Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->call_debug] continue=true
Dialplan: sofia/internal/numbercalling@publicIP Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/numbercalling@publicIP parsing [public->plivo_public_did] continue=false
Dialplan: sofia/internal/numbercalling@publicIP Regex (PASS) [plivo_public_did] destination_number(inboundDID) =~ /^(\d+)$/ break=on-false
Dialplan: sofia/internal/numbercalling@publicIP Action enable_heartbeat(60)
Dialplan: sofia/internal/numbercalling@publicIP Action socket(127.0.0.1:8084 async full)
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/numbercalling@publicIP) State Change CS_ROUTING -> CS_EXECUTE
2012-12-19 20:22:24.801092 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/numbercalling@publicIP) State ROUTING going to sleep
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_EXECUTE
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/numbercalling@publicIP) State EXECUTE
2012-12-19 20:22:24.801092 [DEBUG] mod_sofia.c:242 sofia/internal/numbercalling@publicIP SOFIA EXECUTE
2012-12-19 20:22:24.801092 [DEBUG] switch_core_state_machine.c:209 sofia/internal/numbercalling@publicIP Standard EXECUTE
EXECUTE sofia/internal/numbercalling@publicIP set(outside_call=true)
2012-12-19 20:22:24.801092 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [outside_call]=[true]
EXECUTE sofia/internal/numbercalling@publicIP set(RFC2822_DATE=Wed, 19 Dec 2012 20:22:24 -0600)
2012-12-19 20:22:24.801092 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [RFC2822_DATE]=[Wed, 19 Dec 2012 20:22:24 -0600]
EXECUTE sofia/internal/numbercalling@publicIP enable_heartbeat(60)
2012-12-19 20:22:24.801092 [INFO] switch_core_session.c:1440 sofia/internal/numbercalling@publicIP setting session heartbeat to 60 second(s).
EXECUTE sofia/internal/numbercalling@publicIP socket(127.0.0.1:8084 async full)
2012-12-19 20:22:24.801092 [DEBUG] switch_core_session.c:1110 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.821946 [DEBUG] switch_core_session.c:1110 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:24.821946 [DEBUG] switch_ivr.c:612 sofia/internal/numbercalling@publicIP Command Execute set(plivo_app=true)
EXECUTE sofia/internal/numbercalling@publicIP set(plivo_app=true)
2012-12-19 20:22:24.821946 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [plivo_app]=[true]
2012-12-19 20:22:24.821946 [DEBUG] switch_ivr.c:612 sofia/internal/numbercalling@publicIP Command Execute set(hangup_after_bridge=false)
EXECUTE sofia/internal/numbercalling@publicIP set(hangup_after_bridge=false)
2012-12-19 20:22:24.821946 [DEBUG] mod_dptools.c:1344 sofia/internal/numbercalling@publicIP SET [hangup_after_bridge]=[false]
2012-12-19 20:22:27.121084 [DEBUG] mod_event_socket.c:2647 (sofia/internal/numbercalling@publicIP) State Change CS_EXECUTE -> CS_RESET
2012-12-19 20:22:27.121084 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:27.141086 [DEBUG] mod_event_socket.c:499 (sofia/internal/numbercalling@publicIP) State Change CS_RESET -> CS_EXECUTE
2012-12-19 20:22:27.141086 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:27.141086 [NOTICE] switch_core_state_machine.c:262 sofia/internal/numbercalling@publicIP has executed the last dialplan instruction, hanging up.
2012-12-19 20:22:27.141086 [DEBUG] switch_channel.c:2994 (sofia/internal/numbercalling@publicIP) Callstate Change RINGING -> HANGUP
2012-12-19 20:22:27.141086 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/numbercalling@publicIP [CS_EXECUTE] [NORMAL_CLEARING]
2012-12-19 20:22:27.141086 [DEBUG] switch_channel.c:3017 Send signal sofia/internal/numbercalling@publicIP [KILL]
2012-12-19 20:22:27.141086 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/numbercalling@publicIP) State EXECUTE going to sleep
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_HANGUP
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:667 (sofia/internal/numbercalling@publicIP) State HANGUP
2012-12-19 20:22:27.141086 [DEBUG] mod_sofia.c:503 Channel sofia/internal/numbercalling@publicIP hanging up, cause: NORMAL_CLEARING
2012-12-19 20:22:27.141086 [DEBUG] mod_sofia.c:633 Responding to INVITE with: 480
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:48 sofia/internal/numbercalling@publicIP Standard HANGUP, cause: NORMAL_CLEARING
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:667 (sofia/internal/numbercalling@publicIP) State HANGUP going to sleep
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:446 (sofia/internal/numbercalling@publicIP) State Change CS_HANGUP -> CS_REPORTING
2012-12-19 20:22:27.141086 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/numbercalling@publicIP) Running State Change CS_REPORTING
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/numbercalling@publicIP) State REPORTING
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:92 sofia/internal/numbercalling@publicIP Standard REPORTING, cause: NORMAL_CLEARING
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:749 (sofia/internal/numbercalling@publicIP) State REPORTING going to sleep
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:440 (sofia/internal/numbercalling@publicIP) State Change CS_REPORTING -> CS_DESTROY
2012-12-19 20:22:27.141086 [DEBUG] switch_core_session.c:1283 Send signal sofia/internal/numbercalling@publicIP [BREAK]
2012-12-19 20:22:27.141086 [DEBUG] switch_core_session.c:1488 Session 34 (sofia/internal/numbercalling@publicIP) Locked, Waiting on external entities
2012-12-19 20:22:27.141086 [NOTICE] switch_core_session.c:1506 Session 34 (sofia/internal/numbercalling@publicIP) Ended
2012-12-19 20:22:27.141086 [NOTICE] switch_core_session.c:1510 Close Channel sofia/internal/numbercalling@publicIP [CS_DESTROY]
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:556 (sofia/internal/numbercalling@publicIP) Callstate Change HANGUP -> DOWN
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:559 (sofia/internal/numbercalling@publicIP) Running State Change CS_DESTROY
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/numbercalling@publicIP) State DESTROY
2012-12-19 20:22:27.141086 [DEBUG] mod_sofia.c:396 sofia/internal/numbercalling@publicIP SOFIA DESTROY
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:99 sofia/internal/numbercalling@publicIP Standard DESTROY
2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/numbercalling@publicIP) State DESTROY going to sleep
freeswitch@internal>



Your log seems fine. It clearly shows that Freeswitch has forwarded the call to Plivo

2012-12-19 20:22:21.701490 [DEBUG] switch_ivr.c:612 sofia/internal/numbercalling@publicIP Command Execute set(plivo_app=true)
EXECUTE sofia/internal/numbercalling@publicIP set(plivo_app=true)


However, below in your log, It says Normal_Clearing. If call is forwareded to Plivo then Plivo will always send call to ICTFax (if in plivo configuration INCOMING_URL is set). And ICTFax has a condition that will hangup any incoming call if that DID is not assigned to any valid user AND also it must be forwarded to some email address of that user. If this not the case, ICTFax will simple hangup the call.

2012-12-19 20:22:27.141086 [DEBUG] switch_core_state_machine.c:667 (sofia/internal/numbercalling@publicIP) State HANGUP
2012-12-19 20:22:27.141086 [DEBUG] mod_sofia.c:503 Channel sofia/internal/numbercalling@publicIP hanging up, cause: NORMAL_CLEARING


If you have done everything right so far what I have said. Then there is one last thing that could be causing problem.
In source file ictpbx/ictfax/ictfax.module before line 1133, add the following two lines:
$ictpbx_user['free_bundle'] = 1;
$ictpbx_user['reserve_free_bundle'] = 0;
This is a known bug that will be removed in the future versions of ICTFax.

Hope that might solve the problem.
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:33 pm

It's good to see that your fax has been received. Now you can see your fax file at following location:

Code: Select all
/usr/ictfax/sites/default/files/ictfax/inbox/4.tif


There should also be a pdf version of this file at this location as well. A pdf version of this file is usually emailed at the account.

There is another known bug in the View option of Inbox. So that might need a fix.

As far as the email is concerned, I wonder your email function hasn't been called. As you posted your log, there must be an email function to be called "after fax application run" as stated in the log below.

ictpbx_id 3
if condition success myemailaddress
/usr/ictfax/sites/default/files/ictfax/inbox/4.tif
after fax application run


You could check the path of your application in the ictpbx/ictfax/ictfax.module file at line 1153. Current line of code is following:

$application_root = variable_get('ictfax_root', 'http://127.0.0.1/ictfax/index.php');


Check that is the path in this line is same as your application is installed. If not then adjust it accordingly.

This might possibly be another update in ictfax version. This path must be set from the GUI. Currently there is no option on the GUI.

Hope this might solve your issues.
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:35 pm

Well, this is interesting :-)

I also checked my path and it's correct. It's not on the same line number but it's correct. If I replace '127.0.0.1' with my public IP in my browser I can access that site via the path... Below is the code that pertains to converting .tif to .pdf and emailing the pdf. Something I think is wrong with this code.

fax_id=5
did=inboundDID
user_name=myusername
mail_to=myemailaddress
Executing ictfax_sendmail_received
SMTP library success


The last line above "SMTP library success" is the last check before sending a email. This tells the system to user SMTP library for sending email. This is optional though. We'll try to force the system to use Sendmail server that already is successfully sending emails as you described.

What you can do for this, go to line 1388 (or around) in ictpbx/ictfax/ictfax.module and look for the following line:
[codeif (!(variable_get('smtp_library', '') && file_exists(variable_get('smtp_library', '')))) {][/code]

Now replace above line with the following line:

Code: Select all
    if (FALSE) {


This is although very ugly way to fix the problem but I hope this will work in your case if the problem is of STMP library.

Waiting for your feedback.
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:35 pm

This not a big deal. It is actually the email that should be sent whether using SMTP library, using sendmail or using Mime.

But just keep checking the mytest.txt log and look for the "Executing ictfax_sendmail_received" line in the log. If you find this line for every fax receive then the rest is fine. Only focus on the email sending part.

I hope you get through this
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am

Re: Sending faxes via VoIP Innovations

Postby falak » Fri Apr 26, 2013 12:37 pm

Good to hear that. Please create another thread for the new issue.
falak
Site Admin
 
Posts: 166
Joined: Tue Jan 17, 2012 7:33 am


Return to Configuration

Who is online

Users browsing this forum: No registered users and 2 guests

cron