I have looked around to find something that could help me receive notification in my app when the device is receiving a phone call.
I found this: QTelephonyCallInfo
But the that one doesn't seem to exist any more.
Can anyone help me out here?
Thanks in advance!
I am using QDesktopServices for calling a number:
QDesktopServices::openUrl(QUrl("tel:*number*"));
However, it does not dial automatically. The user must confirm the phone call first.
Can't be done in using Qt classes yet.You will have to use native classes to achieve this.
For symbian you might be interested in CTelephony Class
Related
I have a use case where I need to get the last x incoming/outgoing calls to the mobile.
Is there a direct way to do it? (I would imagine that will require permissions)
And if not, how would I start on this?
Note that I prefer a way to do it on Forms instead of platform specific code if possible as I need it for both Android and iPhone devices.
Thank you for your help.
im developing dialplan using asterisk and PAGI (PHP asterisk gateway interface)
but i cant find a way to create node which can have dynamic number of annoucements depends on result from database.
I found a way to do this by adding annoucements in loop in method called executeAfterRun
but when Im trying to interrupt node by pressing anything it interrupts only current annoucement and going to playing next one.
I want this whole node to be interruptable not just current annoucement.
can anyone help me with this problem ?
thanks in advance for any help
best regards
You have create in your php code string like
announce1&announce2&announce3
using loop. After that you can use that string for Playback command, it will work like one large file.
I hope someone could give me a quick example how to configure the BTLE-Device correctly without the huge BLE-Manager library. Simply a litte GAP Authetication and one GATT-Service would be enough to start. I've managed to create my own GATT-Service and characteristics without the need for BLE-Manager but thanks to several defines, typedefs etc. I can't figure out how to do this for GAP and how to register my callbacks for it. Maybe someone has used these modules before and can give me a quick example how it's done?
Since you mentioned One GATT-Service with Authentication Atmel-BAS [Battery Service] example is easy one. To better understand you can download the getting started guide see the architecture. In-order to register the callbacks you need to check the order of callbacks in function ble_event_manager in ble_manager.c file.
I'm wondering if anyone has any form of solution for this? I've been googling for some time now and can't seem to find a solution.
Is there a way to either remove Hubot from Slacks default #general channel or have him so he mutes himself and doesn't respond to commands in the channel directly, perhaps instead private messages the person? I want to implement my bot into my organization but I want to avoid situation where he floods general chat by responding to a command.
Did you try to "/kick hubot" command on the #general channel?
It should work like for any other users
I want to make a call using Asterisk 13 ARI from my mobile number to another mobile number.
I have tried different calls but all return "Allocation failed" response:
endpoint:my_mobile_number,extension:other_mobile_number,context:from-trunk
endpoint:SIP/my_mobile_number,extension:other_mobile_number,context:from-trunk
endpoint:SIP/my_mobile_number,extension:other_mobile_number,context:from-external
endpoint:my_mobile_number,extension:other_mobile_number,context:from-external
etc.
How can I initiate a call from my mobile phone to another mobile phone using ARI?
EDIT
arheops answer helped me find the working code:
endpoint:Local/my_mobile_number#from-internal,extension:other_mobile_number,context:from-internal,priority:1
Thank you!
Unfortanly you can't use ARI without understanding asterisk internals. You need read some book for beginners.
endpoint:Local/my_mobile_number#out_context,extension:other_mobile_number,context:out_context,priority:1
endpoint:SIP/my_mobile_number#myprovider_sip,extension:other_mobile_number,context:out_context,priority:1
both variant have be working