<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Op 12-06-11 15:38, Anders Fudali schreef:
<blockquote cite="mid:CA1A8978.B10C%25anders.fudali@jajja.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Hi again,</div>
<div><br>
</div>
<div>In my environment, I have my phones configured with the same
username as the ActiveDirectory login and in order to map an
incoming call to a username, I simply do a SQL query against a
user and phone provisioning system that I've built.</div>
<div>Therefor selecting the right user is "easy" in my case, I
guess some sort of extension function would suffice for me. But
I suppose that a "better" way would be to collect and store all
user specific settings in a common place, such as in the sip
configuration file.</div>
<div><br>
</div>
<div>If possible, why not add both methods? Then you would
probably have covered everyones needs.</div>
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Anders Fudali</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align:
left; color: black; border-width: 1pt medium medium;
border-style: solid none none; border-color: rgb(181, 196,
223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in
0in;"><span style="font-weight: bold;">From: </span> Michel
Verbraak <<a moz-do-not-send="true"
href="mailto:michel@verbraak.org">michel@verbraak.org</a>><br>
<span style="font-weight: bold;">Date: </span> Sun, 12 Jun
2011 14:59:02 +0200<br>
<span style="font-weight: bold;">To: </span> Anders Fudali
<<a moz-do-not-send="true"
href="mailto:anders.fudali@jajja.com">anders.fudali@jajja.com</a>><br>
<span style="font-weight: bold;">Subject: </span> Re:
[asterisk-users] Request: please test modification to EWS
calendar functionality<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#ffffff" text="#000000"> Op 12-06-11 13:05,
Anders Fudali schreef:
<blockquote
cite="mid:CA1A6A29.B105%25anders.fudali@jajja.com"
type="cite">
<div>Hi Michel,</div>
<div><br>
</div>
<div>I have a question regarding your recent added patch
to the EWS calendar function.</div>
<div><br>
</div>
<div>Would it be possible from the dialplan to specify
which users calendar that I'd like to query? I'm looking
for a way to query my users calendars on incoming calls
for "out of office" or "busy" events without having to
specify each user in the calendar configuration file.</div>
<div><br>
</div>
<div>Let me know if this is possible, thanks in advance.</div>
<div><br>
</div>
<div>Best regards</div>
<div><br>
</div>
<div>Anders Fudali</div>
</blockquote>
Anders,<br>
<br>
Currently this is not possible. I have the same question on
my to-do list from my Boss but it has low priority for now.
<br>
<br>
For your question: How would you select the right user
calendar in the dialplan? Do you want an extension ->
exchangeuser table? Or extra field in sip accounts?<br>
<br>
Regards,<br>
<br>
Michel<br>
<br>
</div>
</div>
</span></blockquote>
Anders,<br>
<br>
Please do not top post for readability. I also included the list
again because the previous post was send to me directly.<br>
<br>
I was thinking of creating a new function call, from the dialplan,
where you can specify a calendar from the calendar.conf file for the
url+user+secret and as extra arguments the two new fields folderbase
and folderpath.<br>
<br>
Something like
Set(status=${GET_CURRENT_CALENDAR_STATUS(calname,folderbase,folderpath)})<br>
<br>
This extension to the calendar module will be a seperate patch and
for that to work the current one on the reviewboard needs to be
included into the main trunk of asterisk.<br>
<br>
Are you able to test the current upload on the reviewboard and post
your results back to the board?<br>
<br>
Regards,<br>
<br>
Michel.<br>
<br>
</body>
</html>