Author |
Post |
|
#1 Fri Jul 02, 2010 19:09, 175 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
|
From topic New version 3.1.7beta6 is released: keke wrote With this version phonecalls feature can use +CLIP Calling line identification report, required with devices which do not support handling of a phonebook. Take a look at the version history for details. As usual, any feedback and test results are valuable. Write bug reports here, if any bugs found...
nm11 wrote phonecalls = 2 worked!!! good
but sometimes event is missed, someteimes two events on one call are generated « Last edit by keke on Sat Jul 03, 2010 07:36, 175 months ago. »
|
|
#2 Sat Jul 03, 2010 07:50, 175 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
edo wrote but sometimes event is missed, someteimes two events on one call are generated
When +CLIP is received as an unexpected input, before a command is sent to the modem, the event is handled. But if +CLIP is received together with an answer, like +CPMS: ... +CLIP: ..., it is not handled. I think that I can change this in the next version 3.1.12, which is almost finalized currently. The smsd cannot know what +CLIP reports belongs to the same phonecall. There is no unique identifier in the report and smsd cannot have any internal database for phonecalls. Therefore, any +CLIP report will create an event, and eventhandler should decide what to to for the phonecall. It can have some database, and decide what is the same call and what is a different call. If your modem sends also RING, and you use hangup_incoming_call, it may help little bit.
|
|
#3 Sat Jul 03, 2010 09:12, 175 months ago.
|
Member
Registered: May 2010
Location: Russian Federation
Topic owner
|
keke wrote I think that I can change this in the next version 3.1.12, which is almost finalized currently.
great. Hidden private text. Quote If your modem sends also RING, and you use hangup_incoming_call, it may help little bit.
yes, I use hangup_incoming_call, but somethimes i get two CALL events. i think smstool can hangup call after generation of CALL event (or after receiving '+CLIP' report) and ignore 'RING' report. this changes will make CALL event generation more stable for configuration with 'phonecalls = 2'.
|
|
#4 Sat Jul 03, 2010 11:14, 175 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Hidden private text. edo wrote Quote If your modem sends also RING, and you use hangup_incoming_call, it may help little bit.
yes, I use hangup_incoming_call, but somethimes i get two CALL events. i think smstool can hangup call after generation of CALL event (or after receiving '+CLIP' report) and ignore 'RING' report. this changes will make CALL event generation more stable for configuration with 'phonecalls = 2'.
I have to think about this. Probably (with phonecalls = 2) hangup right after +CLIP works better, and RING could be ignored, as you suggested.
|