[Freeswitch-users] mod_spandsp hylafax dialplan problem

Tamer Higazi th982a at googlemail.com
Fri Oct 5 13:04:54 MSD 2012


Hi people!
I wanted to set up hylafax with mod_spandsp.

as starting FS, I see FS0 and FS1
2012-10-05 09:42:04.523208 [INFO] mod_spandsp_modem.c:371 Modem
[/dev/FS1]->[/dev/pts/1] Ready
2012-10-05 09:42:04.523208 [INFO] mod_spandsp_modem.c:371 Modem
[/dev/FS0]->[/dev/pts/0]

I did the guide, registering the number of modems, also with "minicom" I
tested if the devices are up and running. It works!

But I still don't understand how to set up the dialplan. What is mean
with x = slot and y = dialed number for incoming faxes.....

<action application="bridge" data="modem/a/a"/>


the other problem I have, after setting up with "faxsetup" the modems,
and started hylafax and freeswitch, I tried to send a file from the
console with sendfax.

running:

sendfax -n -vv -d 1xxxxxxxx /tmp/testX.ps which gives me absolutely no
output on the freeswitch console?! What has happened wrong????


Trying localhost [2] (127.0.0.1) at port 4559...
Connected to localhost.
220 localhost server (HylaFAX (tm) Version 5.5.1) ready.
-> USER root
230 User root logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- success (result postscript, rule "")
Apply DisplayNumber rules to "10613273585121"
--> return result "10613273585121"
-> FORM PS
200 Format set to PS.
-> TYPE I
200 Type set to Image.
SEND compressed data, 36409 bytes
-> EPRT |1|127.0.0.1|55571|
200 EPRT command successful.
-> MODE Z
200 Mode set to ZIP.
-> STOT
150 FILE: /tmp/doc62.ps (Opening new data connection).
SEND 14845 bytes transmitted (2.5x compression)
226 Transfer complete (FILE: /tmp/doc62.ps).
-> JNEW
200 New job created: jobid: 67 groupid: 67.
-> JPARM FROMUSER "root"
213 FROMUSER set to "root".
-> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
-> JPARM MAXDIALS 12
213 MAXDIALS set to 12.
-> JPARM MAXTRIES 3
213 MAXTRIES set to 3.
-> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
-> JPARM DIALSTRING "10613273585121"
213 DIALSTRING set to "10613273585121".
-> JPARM NOTIFYADDR "root at localhost"
213 NOTIFYADDR set to "root at localhost".
-> JPARM VRES 98
213 VRES set to 98.
-> JPARM PAGEWIDTH 215
213 PAGEWIDTH set to 215.
-> JPARM PAGELENGTH 279
213 PAGELENGTH set to 279.
-> JPARM NOTIFY "none"
213 NOTIFY set to "none".
-> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
-> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
-> JPARM DOCUMENT /tmp/doc62.ps
200 Added document /tmp/doc62.ps as docq/doc62.ps.67.
-> JSUBM
200 Job 67 submitted.
request id is 67 (group id 67) for host localhost (1 file)



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list