summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-17voicecall: Add emergency propertyJohn Mathew1-0/+37
2010-12-16voicecall: Use cnap validity in get_propertiesDenis Kenzior1-5/+2
2010-12-16voicecall: Use clip_validity in get_propertiesDenis Kenzior1-1/+6
2010-12-16voicecall: Minor style fixesDenis Kenzior1-6/+5
2010-12-16voicecall: add support for CNAPGustavo F. Padovan1-0/+53
Enable oFono to get a info about the Calling Name.
2010-12-03voicecall: fix dial result handlingPekka Pessi1-3/+16
The existing call will be automatically put on hold if there is an existing active call when dialing. On some modems the dial request returns only after the dialed call is active and the existing call has been put on hold. However, on isimodem driver the dial request returns immediately before the existing call has changed its status. With isimodem driver the dial_handle_result() selected the existing call from the list when it should have created a new one. The dial result handling now guards againt returning a previously dialed active call as result.
2010-11-29core: explicitly compare pointers to NULLLucas De Marchi1-41/+35
This patch was generated by the following semantic patch (http://coccinelle.lip6.fr/) // <smpl> @fix disable is_null,isnt_null1@ expression *E; @@ - !E + E == NULL // </smpl>
2010-11-26core: Remove stray newlines in messages sent to logRémi Denis-Courmont1-2/+2
2010-11-22src: coding style fixes - rule M6Jeevaka Badrappan1-5/+5
2010-10-25voicecall: Limit tone string length per request.Andrzej Zaborowski1-7/+10
Also change to avoid memcpying into a buffer.
2010-10-22voicecall: __ofono_voicecall_tone_send internal apiAndrzej Zaborowski1-32/+237
This provides a way for other atoms to send DTMF tones during a call. It is assumed that vc->driver->send_tone returns only after the tones have finished being emitted. In this version Dbus DTMF requests are in the same queue as STK requests.
2010-10-10voicecall: check g_try_new0 return valuePekka Pessi1-0/+3
2010-10-10voicecall: remove dial_request_finish() cb paramPekka Pessi1-9/+9
There is no need for callback param anymore.
2010-10-10voicecall: Check dial requests in voicecall_is_busyPekka Pessi1-7/+2
Return true if a call is being dialed by stk. Use __ofono_voicecall_is_busy() in __ofono_voicecall_dial().
2010-09-28voicecall: Set single_call correctlyDenis Kenzior1-1/+1
2010-09-21Fix multi-line comment style issuesJeevaka Badrappan1-11/+22
2010-09-09voicecall: Simplify logicDenis Kenzior1-1/+1
2010-09-09stk: Fix User Cancel response to Set Up CallAndrzej Zaborowski1-0/+14
One of the clean-up commits changed the semantics of the dial request callback's parameter (NULL if call setup failed, non-NULL if success or user cancelled).
2010-09-01voicecall: Remove unusued MULTI_RELEASE flagDenis Kenzior1-8/+0
2010-08-30sim: Turn around the order of argumentsDenis Kenzior1-2/+2
The void *user argument was first. It should be last instead to be consistent with the other watch functions.
2010-08-30voicecall: Fix crash during cleanupDenis Kenzior1-1/+2
2010-08-27voicecall: Cleanup dial request when removing atomDenis Kenzior1-0/+2
2010-08-27voicecall: Refactor ofono_voicecall_busyDenis Kenzior1-36/+43
2010-08-27voicecall: Switch to unsignedDenis Kenzior1-6/+6
2010-08-27voicecall: Cleanup dial request init / finishDenis Kenzior1-88/+66
2010-08-27voicecall: add __ofono_voicecall_dial internal apiAndrzej Zaborowski1-50/+278
The callback is only invoked when the call is CONNECTED (becomes active). Cancel ensures that the callback will not be called and does nothing more in this version, it's an open question if we want to release the call.
2010-08-20voicecall: Remove unused variableMarcel Holtmann1-1/+0
2010-08-20voicecall: Fix memory leakDenis Kenzior1-0/+2
2010-08-20voicecall: Remove Calls propertyDenis Kenzior1-7/+0
2010-08-20voicecall: emit CallAdded and CallRemoved signalsDenis Kenzior1-41/+51
2010-08-20voicecall: Add GetCalls methodDenis Kenzior1-0/+53
2010-08-20voicecall: Fix up some style issuesDenis Kenzior1-28/+28
2010-08-20voicecall: Break out voicecall_append_propertiesDenis Kenzior1-22/+27
2010-08-20voicecall: Get rid of MultipartyCalls attributeDenis Kenzior1-46/+59
Replaced by Multiparty attribute on the Voicecall object
2010-08-13voicecall: Make hangup_all work for 911 callsDenis Kenzior1-7/+18
2010-08-12voicecall: Relax restriction for hangup_activeDenis Kenzior1-1/+2
If hangup_active is present, then a single active call in a 3-way situation is hung up using hangup_active.
2010-08-12voicecall: Move some stuff aroundDenis Kenzior1-37/+37
2010-08-12voicecall: Don't hangup waiting callsDenis Kenzior1-1/+8
During hangup_all operation. For multiparty hangups, waiting calls are not part of the mpty call.
2010-08-12voicecall: Make logic bit cleanerDenis Kenzior1-4/+4
2010-08-12voicecall: Minor style issuesDenis Kenzior1-3/+2
2010-08-12voicecall: Reflow the logic of voicecall_hangupDenis Kenzior1-33/+38
2010-08-12voicecall: Add support for function hangup_allSjur Brændeland1-13/+43
This patch fixes problem for modems that cannot terminate DIALING/ALERTING calls with CHUP=1X. The main change is that voicecall driver's hangup function is split into the functions hangup_all and hangup_active. Changes: - In cases where hangup previously was used, hangup_all is used if implemented otherwise hangup_active is used. - Call in state DIALING/ALERTING is released with hangup_active if implemented. - manager_hangup_all will simply call hangup_all if implemented. - manager_hangup_all will release calls in state ALERTING/DIALING/INCOMING using hangup_active otherwise release_specific.
2010-07-08style: No initialization needed hereDenis Kenzior1-1/+1
2010-04-15Refactor: Store the sim object inside voicecallsDenis Kenzior1-35/+26
Makes the logic a bit easier to follow. Also use a switch/case inside the sim state watcher.
2010-04-15Style: Proper indentationDenis Kenzior1-1/+2
2010-04-15Handle EFen list when SIM inserted / removedAndrzej Zaborowski1-7/+58
2010-03-22Move voicecall interface definitions to dbus.hDenis Kenzior1-28/+24
2010-02-10Style: if statementDenis Kenzior1-2/+3
2010-02-08Fix: Don't use ofono_debug directly in the coreDenis Kenzior1-9/+9
Use DBG macro which is integrated with the new debug framework.
2010-01-01Update copyright informationMarcel Holtmann1-1/+1