Quantcast
Channel: Dialogic PowerMedia HMP GlobalCall and R4 API - Recent Threads
Viewing all articles
Browse latest Browse all 336

fx_sendfax HMP linux

$
0
0

Hi,

I am facing a problem sometimes when using fx_sendfax in SIP enviroment . 

Usualy it works fine ,  i conect ipt and fax device when the call is connected and issues fx_sendfax    (g711 fax ) . 

Sometimes i get this error  in log:

ssp_x86Linux_boot: QERROR_WARNING(2) qkernerr.h  41400 qkernerr.h  41003
ssp_x86Linux_boot: QERROR_WARNING(2) qkernerr.h  41400 qkernerr.h  41003
ssp_x86Linux_boot:
Fssp_x86Linux_boot:
ssp_x86Linux_boot: #011Error Level : WARNING
ssp_x86Linux_boot: #011Error Level : WARNING
ssp_x86Linux_boot: #011Location Tag:  41400, Location File: qkernerr.h
ssp_x86Linux_boot: #011Location Tag:  41400, Location File: qkernerr.h
ssp_x86Linux_boot: #011Cause-Tag   :  41003, Error File  :qkernerr.h
ssp_x86Linux_boot: #011Cause-Tag   :  41003, Error File  :qkernerr.h
ssp_x86Linux_boot:
ssp_x86Linux_boot:
ssp_x86Linux_boot: GSTRM_Open[24]: qGStreamOpen returned 2 errno 0x41003
ssp_x86Linux_boot: GSTRM_Open[24]: qGStreamOpen returned 2 errno 0x41003
ssp_x86Linux_boot: CFile::Open: ERROR: GSTRM_Open(read)
ssp_x86Linux_boot: CFile::Open: ERROR: GSTRM_Open(read)
ssp_x86Linux_boot: CStrmCache::Open: ERROR: FILE_Open()
ssp_x86Linux_boot: CStrmCache::Open: ERROR: FILE_Open()
ssp_x86Linux_boot: [24]T30::ExecFromHostIdleState: PAGE_Open error
ssp_x86Linux_boot: [24]T30::ExecFromHostIdleState: PAGE_Open error
ssp_x86Linux_boot: QFC3[24]: processQFC2Msg(SESSION_STARTING_CHILD): Got QFC2_MsgSessionCmplt, changing QFC3 state to Allocated
ssp_x86Linux_boot: QFC3[24]: processQFC2Msg(SESSION_STARTING_CHILD): Got QFC2_MsgSessionCmplt, changing QFC3 state to Allocated

I have no idea what this means .

None of the fax functions returned any error and tiff exists on its location .

 /* I connected ipt and fax channels .  */


        value = DFC_AUTO;
        ret = fx_setparm(pfax->Faxdev, FC_SENDCONT, (void *)&value);

        if ((fhandle = open(filename, O_RDONLY)) == -1) {
        return -1 ;
        }

   idx=0;

    memset( df_iott[idx], 0, sizeof( DF_IOTT ) );

    fx_setiott(df_iott[idx], fhandle, DF_TIFF, DFC_AUTO);

  df_iott[ idx ].io_type |= IO_CONT;
  df_iott[ idx ].io_type |= IO_EOT;

   /* Set initial state of fax channel */
   if(fx_initstat(pfax->Faxdev, DF_TX) == -1) {
  return -1 ;
    }
   if(fx_sendfax(pfax->Faxdev, pfax->df_iott, EV_ASYNC|DF_PHASEB|DF_PHASED) == -1) {
  return -1 ;
   }

I always send one tiff file sometimes it has one and sometimes multiple pages 




Viewing all articles
Browse latest Browse all 336

Trending Articles