Mailinglist Archive: opensuse-isdn-de (4 mails)

< Previous Next >
[opensuse-isdn-de] Fehler in Capisuite/Faxgate Packages 11.2
  • From: Achim Theobald <ath.mailman@xxxxxxxxx>
  • Date: Mon, 28 Dec 2009 20:45:00 +0100
  • Message-id: <4B390ABC.3000208@xxxxxxxxx>
Hallo Ingo,

besteht die Möglichkeit das in Deinen Capisuite/Faxgate Packages aus
Deinem openSUSE 11.2 Repository (sowie dem *.src.rpm) ein Fehler drin
ist, der die Rufannahme verhindert?

Verwendetes Packages: capisuite-0.5.cvs-67.1.x86_64.rpm für OSS 11.2

Fehlerbild: Nimmt keine Anrufe an (bisher nur Voice getestet). Capi
Cause 34a9

Auszug aus dem capisuite.log:

Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: *
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: <CONNECT_IND PLCI 0x101 CIP 0x10
Mon Dec 28 20:14:02 2009 Connection 0x8bc210: Connection object created
for incoming call PLCI 101 from 0178xxxxxxx to 6816xxxxx CIP 0x10
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: **
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: *
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: <INFO_IND: Controller/PLCI
0x101, InfoNumber 1e (ignoring)
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: >INFO_RESP ApplId 0x2, MsgNr
0x1b, Address 0x101
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: info: 0
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: **
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: PythonScript
created.
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Connection
0x8bc210 created IncomingScript
Mon Dec 28 20:14:02 2009 Connection 0x8bc210: call from 0178xxxxxx to
6816xxxxxx for Achim.Theobald connecting with voice
Mon Dec 28 20:14:02 2009 Connection 0x8bc210: Python: deleting
connection object
Mon Dec 28 20:14:02 2009 Connection 0x8bc210: rejecting with cause 34a9
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: >CONNECT_RESP ApplId 0x2, msgNum
0x1a, PLCI 0x101, Reject 0x34a9, B1proto 0x0, B2proto 0x0, B3proto 0x0
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: info: 0
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: *
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: <DISCONNECT_IND PLCI 0x101
Reason 0x0
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: >DISCONNECT_RESP ApplId 0x2
MsgNum 0x1d PLCI 0x101
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: info: 0
Mon Dec 28 20:14:02 2009 Capi 0x7a20d0: **


Auszug aus capisuite.error

Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: A python error
occured. See traceback below.
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback: Traceback (most recent call last):
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback: File "/usr/lib64/capisuite/incoming.py", line 87, in
callIncoming
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback:
config_faxgate=cs_helpers.readConfig(cs_helpers.configfile_faxgate)
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback: File "/usr/lib64/python2.6/site-packages/cs_helpers.py",
line 49, in readConfig
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback: config.readfp(open(file))
Mon Dec 28 20:14:02 2009 Pythonscript
/usr/lib64/capisuite/incoming.py,callIncoming,0x892450: Python
traceback: IOError: [Errno 2] No such file or directory:
'@srvsysconfdir@/faxgate.conf'
Mon Dec 28 20:14:02 2009 Connection 0x8bc210: Warning: Connection still
established in capisuitemodule_desctruct_conn(). Disconnecting.



Problem: In der cs_helpers.py findet sich die Variable @srvsysconfdir@.
Diese gibt es scheinbar nicht. Ersetzt man diese durch den ganzen Pfad
der faxgate.conf, also /etc/faxgate/faxgate.conf, dann funktioniert auch
die Rufannahme wieder.

# the name of the config file read by the scripts; see there for options and
# descriptions
configfile_fax="/etc/capisuite/fax.conf"
configfile_voice="/etc/capisuite/answering_machine.conf"
#configfile_faxgate="@srvsysconfdir@/faxgate.conf"
configfile_faxgate="/etc/faxgate/faxgate.conf"


Cu

Achim
--
To unsubscribe, e-mail: opensuse-isdn-de+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-isdn-de+help@xxxxxxxxxxxx

< Previous Next >
List Navigation