cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3096
Views
0
Helpful
19
Replies

CUPS 8.5 & calendaring with Exchange 2010 (EWS)

kamil.bockay
Level 1
Level 1

Hi,

I'm trying to set up calendaring on CUPS 8.5. I did everything according to cisco guides and system is not reporting any failure. but the calendar status is not shown.

In PE trace I can see that there are a couple of redirect messages always to the same location:

https://<EXCHANGE.SERVER>/owa/username@mydomain.com/calendar

and it ends with the error:

17:33:11.328 |system.pe.pa.owa.backend 2138454 ERROR -->CalendarSubscription::initiateRecovery: username@mydomain.com SUBSCRIBE 302 Redirect

Also, when I put the url:

https://<EXCHANGE.SERVER>/owa/username@mydomain.com/calendar

to the browser, I get 403 forbidden error (no credentials asked)

Does anybody know, what can be wrong, or what else should I check?

Thanks

Kamil

1 Accepted Solution

Accepted Solutions

Try run this command on Exchange server and see what you got

Get-MailboxPermission johndoe -user cupsexch | Format-Table -autosize

Where "johndoe" is the end user ID and cupsexch is the integration account.

Michael

View solution in original post

19 Replies 19

Hi Kamil,

I had the same problem when i integrated CUPS with exch 2007.

You may need to check the exchange account privileges for the user account

which you specify in CUPS ---Presence Gateway ---- Account.

You should be able to successfully login to the url exchange/OWA/useraccount/calendar

with the username and password of the account mentioned under your persence GW settings.

Until i made this working the calender persence never showed up for me

htluo
Level 9
Level 9

Can you set the trace level to debug for "Presence Engine"?  Then restart Presence Engine.  Wait for it to stabilize.  Try to login to CUPC.  Get Presence Engine logs from the time of restart to the point when CUPC logged in.

Thanks!

Michael

http://htluo.blogspot.com

Hi,

Here it is. You can look for kamil.bockay@soitron.com.

Thanks in advance.

Kamil

I guess you forgot the attachment? 

Michael

2nd shot

Can you see the attachment when you refresh the page?  I couldn't see it for some reasons.

Michael

I don't know, what's going on. The attachment is there for a while in QUEUING status and then it disappears.

a

Michael,

I was not able to attach it here, so I've sent it to you mail.

I hope you don't mind.

Kamil

It looks like the OWA server kept redirecting the traffic to "cbts01exc.soitron.as", which means the OWA server cannot handle the subscription for the users (e.g. "Peter.Javnicky@soitron.com").

What's the architecture of Exchange servers?  ie. which one was OWA, which one was Mailbox?

Michael

It might not be an exact answer as I'm not an exchange person here.

cbts01exch is a cluster name. Beyond that there are servers with CAS and OWA (sbtsexch01/02) and servers with mailboxes (sbtsembx01/02).

Kamil

Did you configure cbts01exch on CUPS?

Hate to say that, but there's not too much we can tune on CUPS side.  If Exchange server for some reason didn't like the subscription, we'll need a Exchange person to tell us why it didn't like it.

You may try this:

1) Go to CUCM > User Management > End User.

2) Pick a test user and blank out the "Mail ID" field.

If the "Mail ID" was blank, CUPS will try to subscribe with the user ID only.  This would save you some hassle if you have different domain names for email alias and servers (e.g. ".as" vs ".com").

If it doesn't work, repeat same procedure to get PE logs.

Michael

Hi,

I was blind. I had an old gateway type selected (webDAV) from previous integration.


But now I'm receiving 401 Unauthorized. See attach.

I have double checked the settings according the guide. The authentication should be set to basic(send password in clear text).

Any ideas

Kamil

Try run this command on Exchange server and see what you got

Get-MailboxPermission johndoe -user cupsexch | Format-Table -autosize

Where "johndoe" is the end user ID and cupsexch is the integration account.

Michael