The Following User Says Thank You to rcastberg For This Useful Post: | ||
|
2010-06-05
, 19:06
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#362
|
HI,
I was still having some problems with Callnotify and noticed that there was a problem with a chmod command, on line 74 i had to insert a space after 766 to make it :
Additionally callnotify wouldn't notify me of missed calls, and looking through the code it seems that the event type for calls is not correct and i had to change the code to 2:Code:os.system("chmod 766 " + self.configDir+self.configFile)
And i am not sure that the outgoing = 0 is of any use for calls as its the incoming calls that we are missing (although it looks like its not being set by nokia event manager.Code:select count(id) from Events where event_type_id = 2
And with regard to the voting, the py2deb seems to have a problem, on the page you linked to, py2deb, it mentions the following under installation:
1 march 2010 Py2deb is broken. It creates an incorrect bug tracker link for your package in extras.
You can solve the bugtracker issue easily by editing /usr/lib/python2.5/site-packages/py2deb.py line 382 changing it from: bugtrackerstr = "XSBC-Bugtracker: %s" % ( self.xsbc_bugtracker ) into bugtrackerstr = self.xsbc_bugtracker
Rene
|
2010-06-05
, 20:14
|
Posts: 119 |
Thanked: 19 times |
Joined on Jan 2010
|
#363
|
|
2010-06-05
, 20:24
|
Posts: 20 |
Thanked: 16 times |
Joined on Jan 2010
@ Norway
|
#364
|
sqlite> select * from EventTypes; 1|RTCOM_EL_EVENTTYPE_CALL|1|Call 2|RTCOM_EL_EVENTTYPE_CALL_MISSED|1|Missed call 3|RTCOM_EL_EVENTTYPE_CALL_VOICEMAIL|1|Voicemail message 4|RTCOM_EL_EVENTTYPE_CHAT_MESSAGE|2|Normal message 5|RTCOM_EL_EVENTTYPE_CHAT_NOTICE|2|Notice 6|RTCOM_EL_EVENTTYPE_CHAT_ACTION|2|Action message 7|RTCOM_EL_EVENTTYPE_CHAT_AUTOREPLY|2|Autoreply message 8|RTCOM_EL_EVENTTYPE_CHAT_JOIN|2|Groupchat join 9|RTCOM_EL_EVENTTYPE_CHAT_LEAVE|2|Groupchat leave 10|RTCOM_EL_EVENTTYPE_CHAT_TOPIC|2|Topic change 11|RTCOM_EL_EVENTTYPE_SMS_MESSAGE|3|RTCOM_EL_EVENTTYPE_SMS_MESSAGE
select id from EventTypes where desc="Missed call"
The Following User Says Thank You to rcastberg For This Useful Post: | ||
|
2010-06-05
, 20:25
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#365
|
|
2010-06-05
, 20:28
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#366
|
Yes, i am using the european version of pr1.2. What might have caused this difference is that i did a complete wipe (such that i didn't have el-v1.db).
What might be nessacary is to do a lookup in the events type in the database.
Starting sqlite3 with the database, i get:
Which might be solved by calling a sqlquery on initialisation:Code:sqlite> select * from EventTypes; 1|RTCOM_EL_EVENTTYPE_CALL|1|Call 2|RTCOM_EL_EVENTTYPE_CALL_MISSED|1|Missed call 3|RTCOM_EL_EVENTTYPE_CALL_VOICEMAIL|1|Voicemail message 4|RTCOM_EL_EVENTTYPE_CHAT_MESSAGE|2|Normal message 5|RTCOM_EL_EVENTTYPE_CHAT_NOTICE|2|Notice 6|RTCOM_EL_EVENTTYPE_CHAT_ACTION|2|Action message 7|RTCOM_EL_EVENTTYPE_CHAT_AUTOREPLY|2|Autoreply message 8|RTCOM_EL_EVENTTYPE_CHAT_JOIN|2|Groupchat join 9|RTCOM_EL_EVENTTYPE_CHAT_LEAVE|2|Groupchat leave 10|RTCOM_EL_EVENTTYPE_CHAT_TOPIC|2|Topic change 11|RTCOM_EL_EVENTTYPE_SMS_MESSAGE|3|RTCOM_EL_EVENTTYPE_SMS_MESSAGE
Code:select id from EventTypes where desc="Missed call"
|
2010-06-05
, 21:47
|
Posts: 119 |
Thanked: 19 times |
Joined on Jan 2010
|
#367
|
I see. Well, that's good, but my intention was to check if it can play properly in your N900, not your PC...
|
2010-06-06
, 05:40
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#368
|
I have checked now through Xterm... The file is working using mplayer command line.
|
2010-06-06
, 07:17
|
Posts: 119 |
Thanked: 19 times |
Joined on Jan 2010
|
#369
|
Although I'm still not sure that checking with mplayer is the same as the method I'm using to play the file, I'll have to assume that if you don't experience any other problems with sound, it's something with CallNotify.
One idea I have about what can be checked is the configuration file - maybe the settings menu won't save it correctly.
Please post the output of:
cat /home/user/.config/CallNotify/conf.txt
|
2010-06-06
, 08:25
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#370
|
However, i have no problem with sound at all..
The post from command cat /home/user/.config/CallNotify/conf.txt
"u;n;y;1.0"
I was still having some problems with Callnotify and noticed that there was a problem with a chmod command, on line 74 i had to insert a space after 766 to make it :
And with regard to the voting, the py2deb seems to have a problem, on the page you linked to, py2deb, it mentions the following under installation:
1 march 2010 Py2deb is broken. It creates an incorrect bug tracker link for your package in extras.
You can solve the bugtracker issue easily by editing /usr/lib/python2.5/site-packages/py2deb.py line 382 changing it from: bugtrackerstr = "XSBC-Bugtracker: %s" % ( self.xsbc_bugtracker ) into bugtrackerstr = self.xsbc_bugtracker
Rene