ReceiveFAX - The call dropped prematurely

Community-based Support for users of Free Fax For Asterisk

ReceiveFAX - The call dropped prematurely

Postby asilem87 » Fri Sep 04, 2015 1:20 am

Hi guys,

I am stuck with this problem for a few days and I really need help,advice, insight, anything...I am using Centos 6.5, Asterisk 11.13.0 and FreePBX 2.5. Through the FreePBX interface I installed one fax free license and I want to test it in order to know should I buy it. My fax components are:

FAX For Asterisk Components:
Applications: 11.18.0
Spandsp FAX Driver: 20110122 075024

Using the .call file I was able to send faxes without any problems. However I can not receive more than one page of fax.Every time I got the error "The call dropped prematurely". I am not sure why asterisk stops to receive other pages. Here is my log :

Code: Select all
-- Executing [101@ext-fax:1] Set("SIP/myprovider-trunk-0000005e", "FAX_FOR=Robert (101)") in new stack
    -- Executing [101@ext-fax:2] NoOp("SIP/myprovider-trunk-0000005e", "Receiving Fax for: Robert (101), From: "12345678910" <12345678910>") in new stack
    -- Executing [101@ext-fax:3] Goto("SIP/myprovider-trunk-0000005e", "s,receivefax") in new stack
    -- Goto (ext-fax,s,4)
    -- Executing [s@ext-fax:4] StopPlayTones("SIP/myprovider-trunk-0000005e", "") in new stack
    -- Executing [s@ext-fax:5] NoOp("SIP/myprovider-trunk-0000005e", "**** FAX RECEIVE ****") in new stack
    -- Executing [s@ext-fax:6] Set("SIP/myprovider-trunk-0000005e", "GLOBAL(LASTFAXCALLERNUM)=12345678910") in new stack
  == Setting global variable 'LASTFAXCALLERNUM' to '12345678910'
    -- Executing [s@ext-fax:7] Set("SIP/myprovider-trunk-0000005e", "GLOBAL(LASTFAXCALLERNAME)=12345678910") in new stack
  == Setting global variable 'LASTFAXCALLERNAME' to '12345678910'
    -- Executing [s@ext-fax:8] NoOp("SIP/myprovider-trunk-0000005e", "**** SETTING FAXOPT ****") in new stack
    -- Executing [s@ext-fax:9] Set("SIP/myprovider-trunk-0000005e", "FAXOPT(ecm)=yes") in new stack
    -- Executing [s@ext-fax:10] Set("SIP/myprovider-trunk-0000005e", "FAXOPT(headerinfo)=MYFAX RX") in new stack
    -- Executing [s@ext-fax:11] Set("SIP/myprovider-trunk-0000005e", "FAXOPT(localstationid)=01987654321") in new stack
    -- Executing [s@ext-fax:12] Set("SIP/myprovider-trunk-0000005e", "FAXOPT(maxrate)=9600") in new stack
    -- Executing [s@ext-fax:13] Set("SIP/myprovider-trunk-0000005e", "FAXOPT(minrate)=2400") in new stack
    -- Executing [s@ext-fax:14] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(ecm): yes") in new stack
    -- Executing [s@ext-fax:15] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(headerinfo): MYFAX RX") in new stack
    -- Executing [s@ext-fax:16] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(localstationid): 01987654321") in new stack
    -- Executing [s@ext-fax:17] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(maxrate): 9600") in new stack
    -- Executing [s@ext-fax:18] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(minrate): 2400") in new stack
    -- Executing [s@ext-fax:19] NoOp("SIP/myprovider-trunk-0000005e", "**** RECEIVING FAX :  ****") in new stack
    -- Executing [s@ext-fax:20] ReceiveFAX("SIP/myprovider-trunk-0000005e", "/var/spool/asterisk/fax/1441356815.158.tif,f") in new stack
    -- Channel 'SIP/myprovider-trunk-0000005e' receiving FAX '/var/spool/asterisk/fax/1441356815.158.tif'
       >  -- Probation passed - setting RTP source address to
  == Using UDPTL TOS bits 184
  == Using UDPTL CoS mark 5
  == Spawn extension (ext-fax, s, 20) exited non-zero on 'SIP/myprovider-trunk-0000005e'
    -- Executing [h@ext-fax:1] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(ecm): yes") in new stack
    -- Executing [h@ext-fax:2] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(headerinfo): MYFAX RX") in new stack
    -- Executing [h@ext-fax:3] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(localstationid): 01987654321") in new stack
    -- Executing [h@ext-fax:4] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(maxrate): 9600") in new stack
    -- Executing [h@ext-fax:5] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(minrate): 2400") in new stack
    -- Executing [h@ext-fax:6] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(pages): 1") in new stack
    -- Executing [h@ext-fax:7] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(rate): 14400") in new stack
    -- Executing [h@ext-fax:8] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(remotestationid): +49 911 2179076") in new stack
    -- Executing [h@ext-fax:9] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(resolution): 8031x7700") in new stack
    -- Executing [h@ext-fax:10] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(status): FAILED") in new stack
    -- Executing [h@ext-fax:11] NoOp("SIP/myprovider-trunk-0000005e", "FAXOPT(statusstr): The call dropped prematurely") in new stack



I wanted to attach part of the call flow but for some reason I could not. You can take a look from the txt below:

Code: Select all

sender    receiver

      CFR
<--------------
   no signal
<--------------
V17-14000-short
-------------->
FCD Frm num :0
-------------->
FCD Frm num :1
-------------->
FCD Frm num :2
-------------->
FCD Frm num :3
-------------->
FCD Frm num :4
-------------->
FCD Frm num :5
-------------->
FCD Frm num :6
-------------->
FCD Frm num :7
-------------->
FCD Frm num :8
-------------->
     RCP
-------------->
     RCP
-------------->
     RCP
-------------->
   no signal
-------------->
v21-preample
-------------->
PPS PC:0 BC:0 FC:8
-------------->
   no signal
-------------->
v21-preample
<--------------
     MCF
<--------------
   no signal
<--------------
v21-preample
-------------->
     DCN
-------------->
   no signal
-------------->
     BYE
-------------->
     200 OK
<--------------


I would appreciate any kind of help.

Kind regards
asilem87
Newsterisk
 
Posts: 7
Joined: Wed Jul 29, 2015 1:46 am

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 3 guests