Google Voice integration with FS works fine. but sending fax seems not working. 12068235374 is a K7 number, If I dial it , I can hear fax machine answering sound.
In fact, people has used GV to send fax via fax machine. (http://www.magicjacksupport.com/faxing-via-google-voice-t7412.html)
Is this problem related with mod_dingaling?
please take a look!
thanks
itch@internal> originate dingaling/xmppc/+12068235374@voice.google.com &txfax(/tmp/test.tiff)
+OK c20e3fc4-4784-11e0-8d1d-eda21484fd55
2011-03-05 16:00:33.808039 [NOTICE] switch_channel.c:808 New Channel dingaling/xmppc/+12068235374@voice.google.com [c20e3fc4-4784-11e0-8d1d-eda21484fd55]
freeswitch@internal> 2011-03-05 16:00:33.809595 [DEBUG] mod_dingaling.c:1824 (dingaling/xmppc/+12068235374@voice.google.com) State Change CS_NEW -> CS_INIT
2011-03-05 16:00:33.809595 [DEBUG] switch_core_session.c:1116 Send signal dingaling/xmppc/+12068235374@voice.google.com [BREAK]
2011-03-05 16:00:33.809595 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:33.810718 [DEBUG] switch_core_state_machine.c:320 (dingaling/xmppc/+12068235374@voice.google.com) Running State Change CS_INIT
2011-03-05 16:00:33.810718 [DEBUG] switch_core_state_machine.c:356 (dingaling/xmppc/+12068235374@voice.google.com) State INIT
2011-03-05 16:00:33.810718 [NOTICE] mod_dingaling.c:1110 Ring-Ready dingaling/xmppc/+12068235374@voice.google.com!
2011-03-05 16:00:33.811202 [DEBUG] mod_dingaling.c:1063 Don't have my codec yet here's one
2011-03-05 16:00:33.811202 [DEBUG] mod_dingaling.c:1083 Send Describe [PCMU@8000]
2011-03-05 16:00:34.000304 [DEBUG] mod_dingaling.c:2941 using Existing session for 6100480476
2011-03-05 16:00:34.000304 [DEBUG] mod_dingaling.c:1083 Send Describe [PCMU@8000]
2011-03-05 16:00:34.311385 [DEBUG] mod_dingaling.c:2941 using Existing session for 6100480476
2011-03-05 16:00:34.311385 [DEBUG] mod_dingaling.c:1008 Send Candidate 192.168.1.146:17960 [9CsLT8VWsB1yDqnv]
2011-03-05 16:00:34.707433 [DEBUG] mod_dingaling.c:2941 using Existing session for 6100480476
2011-03-05 16:00:34.707433 [DEBUG] mod_dingaling.c:3279 3 candidates
2011-03-05 16:00:34.707433 [DEBUG] mod_dingaling.c:3299 candidate 74.125.53.126:19295 PASS ACL wan.auto
2011-03-05 16:00:34.707433 [DEBUG] mod_dingaling.c:3351 Acceptable Candidate 74.125.53.126:19295
2011-03-05 16:00:40.334509 [DEBUG] mod_dingaling.c:2941 using Existing session for 6100480476
2011-03-05 16:00:40.334509 [DEBUG] mod_dingaling.c:3193 Already decided on a codec
2011-03-05 16:00:40.336590 [DEBUG] mod_dingaling.c:865 Set Read Codec to PCMU@8000
2011-03-05 16:00:40.336590 [DEBUG] mod_dingaling.c:880 Set Write Codec to PCMU@8000
2011-03-05 16:00:40.337483 [DEBUG] mod_dingaling.c:892 SETUP RTP 192.168.1.146:17960 -> 74.125.53.126:19295
2011-03-05 16:00:40.337483 [DEBUG] switch_rtp.c:1429 Starting timer [soft] 160 bytes per 20ms
2011-03-05 16:00:40.339652 [DEBUG] switch_rtp.c:3775 Activate VAD codec PCMU 20ms
2011-03-05 16:00:40.340311 [DEBUG] switch_channel.c:2782 (dingaling/xmppc/+12068235374@voice.google.com) Callstate Change DOWN -> ACTIVE
2011-03-05 16:00:40.340311 [NOTICE] mod_dingaling.c:1202 Channel [dingaling/xmppc/+12068235374@voice.google.com] has been answered
2011-03-05 16:00:40.340311 [DEBUG] mod_dingaling.c:1205 (dingaling/xmppc/+12068235374@voice.google.com) State Change CS_INIT -> CS_ROUTING
2011-03-05 16:00:40.340311 [DEBUG] switch_core_session.c:1116 Send signal dingaling/xmppc/+12068235374@voice.google.com [BREAK]
2011-03-05 16:00:40.340311 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:40.340311 [DEBUG] switch_core_state_machine.c:356 (dingaling/xmppc/+12068235374@voice.google.com) State INIT going to sleep
2011-03-05 16:00:40.340311 [DEBUG] switch_core_state_machine.c:320 (dingaling/xmppc/+12068235374@voice.google.com) Running State Change CS_ROUTING
2011-03-05 16:00:40.340311 [DEBUG] switch_channel.c:1657 (dingaling/xmppc/+12068235374@voice.google.com) Callstate Change ACTIVE -> RINGING
2011-03-05 16:00:40.340311 [DEBUG] switch_core_state_machine.c:359 (dingaling/xmppc/+12068235374@voice.google.com) State ROUTING
2011-03-05 16:00:40.340311 [DEBUG] mod_dingaling.c:1219 dingaling/xmppc/+12068235374@voice.google.com CHANNEL ROUTING
2011-03-05 16:00:40.340311 [DEBUG] switch_ivr_originate.c:66 (dingaling/xmppc/+12068235374@voice.google.com) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2011-03-05 16:00:40.340311 [DEBUG] switch_core_session.c:1116 Send signal dingaling/xmppc/+12068235374@voice.google.com [BREAK]
2011-03-05 16:00:40.340311 [DEBUG] switch_ivr_originate.c:3388 Originate Resulted in Success: [dingaling/xmppc/+12068235374@voice.google.com]
2011-03-05 16:00:40.340311 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:40.340311 [DEBUG] mod_commands.c:3194 (dingaling/xmppc/+12068235374@voice.google.com) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
2011-03-05 16:00:40.340311 [DEBUG] switch_core_session.c:1116 Send signal dingaling/xmppc/+12068235374@voice.google.com [BREAK]
2011-03-05 16:00:40.340311 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:40.340311 [DEBUG] switch_core_state_machine.c:359 (dingaling/xmppc/+12068235374@voice.google.com) State ROUTING going to sleep
2011-03-05 16:00:40.340311 [DEBUG] switch_core_state_machine.c:320 (dingaling/xmppc/+12068235374@voice.google.com) Running State Change CS_EXECUTE
2011-03-05 16:00:40.340311 [DEBUG] switch_channel.c:1659 (dingaling/xmppc/+12068235374@voice.google.com) Callstate Change RINGING -> ACTIVE
2011-03-05 16:00:40.342729 [DEBUG] switch_core_state_machine.c:366 (dingaling/xmppc/+12068235374@voice.google.com) State EXECUTE
2011-03-05 16:00:40.342729 [DEBUG] mod_dingaling.c:1236 dingaling/xmppc/+12068235374@voice.google.com CHANNEL EXECUTE
2011-03-05 16:00:40.342729 [DEBUG] switch_core_state_machine.c:157 dingaling/xmppc/+12068235374@voice.google.com Standard EXECUTE
EXECUTE dingaling/xmppc/+12068235374@voice.google.com txfax(/tmp/test.tiff)
2011-03-05 16:00:40.344059 [DEBUG] mod_spandsp_fax.c:1092 Raw read codec activation Success L16 20000
2011-03-05 16:00:40.344059 [DEBUG] switch_core_codec.c:116 dingaling/xmppc/+12068235374@voice.google.com Push codec L16:10
2011-03-05 16:00:40.344059 [DEBUG] mod_spandsp_fax.c:1108 Raw write codec activation Success L16
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:2941 using Existing session for 6100480476
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:3411 hungup dingaling/xmppc/+12068235374@voice.google.com
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:710 Terminate called from line 3412 state=CS_EXECUTE
2011-03-05 16:00:42.649258 [DEBUG] switch_channel.c:2535 (dingaling/xmppc/+12068235374@voice.google.com) Callstate Change ACTIVE -> HANGUP
2011-03-05 16:00:42.649258 [NOTICE] mod_dingaling.c:731 Hangup dingaling/xmppc/+12068235374@voice.google.com [CS_EXECUTE] [NORMAL_CLEARING]
2011-03-05 16:00:42.649258 [DEBUG] switch_channel.c:2551 Send signal dingaling/xmppc/+12068235374@voice.google.com [KILL]
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:42.649258 [DEBUG] switch_core_session.c:1116 Send signal dingaling/xmppc/+12068235374@voice.google.com [BREAK]
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:1348 dingaling/xmppc/+12068235374@voice.google.com CHANNEL KILL
2011-03-05 16:00:42.649258 [DEBUG] mod_dingaling.c:3413 End Call
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:335 Fax processing not successful - result (49) The call dropped prematurely.
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:340 Remote station id:
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:341 Local station id: SpanDSP Fax Ident
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:342 Pages transferred: 0
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:344 Total fax pages: 0
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:345 Image resolution: 0x0
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:346 Transfer Rate: 14400
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:348 ECM status off
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:349 remote country:
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:350 remote vendor:
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:351 remote model:
2011-03-05 16:00:42.658379 [DEBUG] mod_spandsp_fax.c:353 ==============================================================================
2011-03-05 16:00:42.658379 [DEBUG] switch_core_codec.c:141 dingaling/xmppc/+12068235374@voice.google.com Restore previous codec PCMU:0.
2011-03-05 16:00:42.658379 [DEBUG] switch_core_session.c:2045 dingaling/xmppc/+12068235374@voice.google.com skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2011-03-05 16:00:42.658379 [DEBUG] switch_core_state_machine.c:366 (dingaling/xmppc/+12068235374@voice.google.com) State EXECUTE going to sleep
2011-03-05 16:00:42.658379 [DEBUG] switch_core_state_machine.c:320 (dingaling/xmppc/+12068235374@voice.google.com) Running State Change CS_HANGUP
2011-03-05 16:00:42.659331 [DEBUG] switch_core_state_machine.c:557 (dingaling/xmppc/+12068235374@voice.google.com) State HANGUP
2011-03-05 16:00:42.659331 [DEBUG] mod_dingaling.c:1317 dingaling/xmppc/+12068235374@voice.google.com CHANNEL HANGUP