Spandsp FAX Driver Q?

Community-based Support for users of Free Fax For Asterisk

Spandsp FAX Driver Q?

Postby izrodix » Sun Feb 15, 2015 11:07 am

Hello Guys,
Can you please explain me what does this error mean?

"Selected FAX technology module (Spandsp FAX Driver) does not support reserving sessions."

Running software versions:
- FreeBSD OS
- asterisk18-
- spandsp-0.0.6

[Feb 15 17:24:13] VERBOSE[-1] pbx.c: -- Executing [s@fax-to-email:5] ReceiveFAX("SIP/trunk-VOS-00000004", "/var/spool/asterisk/fax/024341506-20150215-1724-1981602597.tiff
[Feb 15 17:24:13] VERBOSE[-1] res_fax.c: -- Channel 'SIP/trunk-VOS-00000004' receiving FAX '/var/spool/asterisk/fax/024341506-20150215-1724-1981602597.tiff'
[Feb 15 17:24:13] DEBUG[-1] res_fax.c: Selected FAX technology module (Spandsp FAX Driver) does not support reserving sessions.

exten => s,1,Set(FAXFROM=${IF($[${LEN(${CALLERID(num)})} > 0]?${CALLERID(num)}: Unknown)})
exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${FAXFROM}-${STRFTIME(,,%Y%m%d-%H%M)}-${RAND(1)}.tiff)
exten => s,n,ReceiveFAX(${FAXFILE})
exten => s,n,Hangup()

asterisk -vvvvrx 'module show like fax'
Module Description Use Count Generic FAX Applications 1 Spandsp G.711 and T.38 FAX Technologies 0
2 modules loaded
Posts: 1
Joined: Sun Feb 15, 2015 10:47 am

Re: Spandsp FAX Driver Q?

Postby david55 » Sat Feb 28, 2015 9:25 am

Comment from the source code:

Code: Select all
/*! \brief Reserve a fax session.
* \param details the fax session details
* \param token a pointer to a place to store a token to be passed to fax_session_new() later
* This function reserves a fax session for use later. If the selected fax
* technology does not support reserving sessions a session will still be
* returned but token will not be set.
* \note The reference returned by this function does not get consumed by
* fax_session_new() and must always be dereferenced separately.
* \return NULL or an uninitialized and possibly reserved session

I presume you have tried to use a feature only supported by Fax for Asterisk., However, this forum does not support anything but Fax for Asterisk!
Moves Like Spencer
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest