Surprisingly enough I actually had found the csd-call.conf file and tried adding the Cellular credential. It didn't work when I first tried and then I found a document on the harmattan-sdk web site that stated something like: access to Cellular is restricted to applications where the source is com.nokia.maemo. <br>
<br>Also, because the error message was somewhat misleading I assumed "Cellular" hadn't worked. After your email I checked with "accli" my application on the device and Cellular was not included. This is just speculation but I think that to update aegis for a package you may need to first remove the previous package or there is some issue with Qt creator packaging or deployment when just the aegis file was changed (of course, it may also have been something I did wrong or didn't do :) )<br>
<br>I deleted the debian folder on my project, rebuilt everything, removed the package from the device, uploaded a new one and installed it using dpkg and now it works.<br><br>Thanks, <br>Felipe<br><br><div class="gmail_quote">
On Sun, Nov 6, 2011 at 3:09 AM, <span dir="ltr"><<a href="mailto:Ext-Markku.Savela@nokia.com">Ext-Markku.Savela@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">From error message, it looks you are trying to use com.nokia.csd.Call interface, so taking<br>
a look at /etc/dbus-1/system.d/aegis.csd-call.conf [1], by quick look it seems it only needs<br>
"Cellular", so you just need to add the line<br>
<br>
<credential name="Cellular" /><br>
<br>
in the manifest request section.<br>
<br>
[1] The prefix "aegis." in DBus policy configuration just tells that this policy is automatically<br>
generated from the manifest of csd-call. It uses a new keyword "cred", which is just a generic<br>
way to reference any credential in the linux credentials set (not just "user" and "group",<br>
like standard DBus daemon).<br>
<br>
<br>
<div style="font-family:Times New Roman;color:rgb(0, 0, 0);font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> <a href="mailto:maemo-developers-bounces@maemo.org" target="_blank">maemo-developers-bounces@maemo.org</a> [<a href="mailto:maemo-developers-bounces@maemo.org" target="_blank">maemo-developers-bounces@maemo.org</a>] on behalf of ext Felipe Crochik [<a href="mailto:felipe@crochik.com" target="_blank">felipe@crochik.com</a>]<br>
<b>Sent:</b> Saturday, November 05, 2011 10:23 PM<br>
<b>To:</b> <a href="mailto:maemo-developers@maemo.org" target="_blank">maemo-developers@maemo.org</a><br>
<b>Subject:</b> Aegis/Harmattan - how to add permission?<br>
</font><br>
</div><div><div></div><div class="h5">
<div></div>
<div>I am trying to get my application to start a call using the good old dbus com.nokia.csd.Call.CreateWidth method but, of course, can't get aegis to grant me access to it.<br>
<br>
When I start it from QtCreator it works just fine. When I try to start the application on the phone I get:<br>
<br>
QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.AccessDenied", error message="Rejected send message, 2 matched rules; type="method_call", sender=":1.2976" (uid=29999 pid=9857 comm="/opt/callout/bin/callout ") interface="com.nokia.csd.Call"
member="CreateWith" error name="(unset)" requested_reply=0 destination="com.nokia.csd.Call" (uid=30000 pid=634 comm="/usr/sbin/csd -z -p call autorej=0,autoans=0,ecall"))", signature="", contents=() )<br>
<br>
Qt creator was "nice enough" to create the aegis file for my package and even include the credentials to allow my app to access the address books using the mobility contacts but, as far as the dbus goes, it only tells me: <!--<span style="color:rgb(192, 192, 192)">
</span>Application<span style="color:rgb(192, 192, 192)"> </span>accesses<span style="color:rgb(192, 192, 192)">
</span>DBus<span style="color:rgb(192, 192, 192)"> </span>libraries<span style="color:rgb(192, 192, 192)">
</span>directly.<span style="color:rgb(192, 192, 192)"> </span>--> go figure out! :)<br>
<br>
Any hints?<br>
<br>
Thanks, <br>
Felipe<br>
<br>
<br>
</div>
</div></div></div>
</div>
</div>
</blockquote></div><br>