File iaxmodem-config.patch of Package iaxmodem

Index: b/config.ttyIAX
===================================================================
--- a/config.ttyIAX
+++ b/config.ttyIAX
@@ -1,3 +1,8 @@
+#
+# IAXmodem softmodem config for HylaFax,
+# which uses the spandsp soft-DSP library
+#
+
 CountryCode:		1
 AreaCode:		800
 FAXNumber:		+1.800.555.1212
@@ -16,7 +21,7 @@ LocalIdentifier:	"IAXmodem"
 TagLineFont:		etc/lutRS18.pcf
 TagLineFormat:		"From %%l|%c|Page %%P of %%T"
 MaxRecvPages:		200
-#
+
 #
 # Modem-related stuff: should reflect modem command interface
 # and hardware connection/cabling (e.g. flow control).
Index: b/iaxmodem-cfg.ttyIAX
===================================================================
--- a/iaxmodem-cfg.ttyIAX
+++ b/iaxmodem-cfg.ttyIAX
@@ -1,11 +1,22 @@
-device		/dev/ttyIAX
+; IAXmodem device
+device		/dev/ttyIAX0
 owner		uucp:uucp
 mode		660
 port		4570
 refresh		300
 server		127.0.0.1
-peername	iaxmodem
+peername	iaxmodem0
 secret		password
 cidname		John Doe
 cidnumber	8005551212
 codec		slinear
+nojitterbuffer
+; Debug options
+; record creates /tmp/$peername-dsp.raw and /tmp/$peername-iax.raw
+; convert to playable wav with:
+; sox -e signed-integer -b 16 -r 8000 -c 1 $peername-iax.raw $peername-iax.wav
+; sox -e signed-integer -b 16 -r 8000 -c 1 $peername-dsp.raw $peername-dsp.wav
+;record
+;dspdebug
+;iax2debug
+
openSUSE Build Service is sponsored by