We had moderate success with it. Currently I am trying to add OCS 2007 to the 
equation and have little troubles.

You will need Asterisk 1.6 or a TCP supporting box in between Exchange and 
Asterisk, such as Openser and Sipx (both worked fine for me).

Right now, I got Asterisk <-> Sipx <-> Exchange 2007 and Asterisk <-> OpenSer 
<-> OCS 2007

I am trying to get rid of Sipx, but I am stumbled with Openser routing (by no 
means I have any expertise on Openser). Right now if source IP is OCS, it 
relays to * and everything else it routes to OCS.

Current one:

    if (src_ip == 10.x.x.x) {
        xlog("L_INFO", "~~~ OCS -> * ~~~\n");

#       remove misleading CONTACT header line
#       remove_hf("CONTACT");
#        subst("/(CONTACT:).*/\1 <sip:$fu>/ig");     # use from address in 
contact header

#       remove UTF-8 information, as * is not able to process it properly 
(causes RTP problem)
        subst("/^(CONTENT-TYPE:.*);[ ]*charset=utf-8(.*)/\1\2/ig");

#       identify re-INVITEs
        if ((method == INVITE) && (search("^TO.*tag=.*"))) {
#           mark INVITE (hold) for latter modification of the reply "200 OK"
            if (search("a=inactive")) {
                xlog("L_INFO", "$Crx'a=inactive' found in INVITE!$Cxx\n");
                setflag(5);
            }
        }

#       relay request to *
        if (!t_relay("udp:168.x.x.x:5060")) {
            xlog("L_ERR", "~~~ relay to udp:168.x.x.x:5060 failed!\n");
            sl_reply_error();
        }
    }

################################
#   request to OCS from *  #
################################
    else {
        xlog("L_INFO", "~~~ * -> OCS AD1 ~~~\n");

#       relay request to OCS
        if (!t_relay("tcp:10.x.x.x:5060")) {
            xlog("L_ERR", "~~~ relay to tcp:10.x.x.x:5060 failed!\n");
            sl_reply_error();
        }
    }
    exit;
}

In above, I am guessing adding

Else if (src_ip == exchangeip) {} before the else line should do the trick for 
from Exchange to * portion. But I am not too sure on how to do the * to 
Exchange part.



-----Original Message-----
From: Andre Courchesne - Prival [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008 1:56 PM
To: Asterisk User Group
Subject: [on-asterisk] Asterisk - Exchange 2007 UM integartion

Anybody got this thing working?

Found this how-to:

        
http://blog.lithiumblue.com/2007/04/accessing-exchange-2007-unified_29.html


I'm not for it, but some want to push it to customers... Frankly I do not see
the advantages in adding a Micro$oft server in the voice path much less have it
handling the voicemails...

What about Exchange "voice" services, do they really work?


--
Andre Courchesne
Concepteur Logiciel - Software Developer [EMAIL PROTECTED]

PrivalODC Inc.
9955 ave Catania, local 145
Brossard, QC
J4Z 3V5

Web.: http://www.prival.ca
Tel.: (450) 761-9973 poste 635
        1-866-761-9973
Fax.: (450) 761-9842


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to