<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6487.1">
<TITLE>RE : [Asterisk-Users] Voicemail + SIP Message header</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Hi Deepak, </FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">I had a</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Courier New">similar</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New"> setup, However I was able to configure the softswitch to send a prefix followed by</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Courier New">the number</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"> <FONT SIZE=2 FACE="Courier New">dialled</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New"> in the to field. This way I could route the call to the right mailbox and be able to play the right busy or away message. </FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Can you say what softs</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">witch you are using ?</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Umar</FONT></SPAN><SPAN LANG="en-gb"></SPAN><SPAN LANG="en-gb"></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">I am trying to use Asterisk as a &quot;pure&quot; voicemail system and have the following</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">setup:</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">I have the * setup as a SIP peer to a softswitch. When someone calls a number on the softswitch and no one picks up the phone, the softswitch forwards the call to the * using SIP. The message header of the SIP INVITE has the number originally called in the &quot;To:&quot; field, but the INVITE is still being sent to the number asterisk is configured for. </FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Is there any way that I can configure asterisk to &quot;read&quot; the To: field in the message header of the SIP INVITE and then go to the mailbox of the corresponding number? </FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Thanks</FONT></SPAN></P>

<P ALIGN=LEFT><SPAN LANG="en-gb"><FONT SIZE=2 FACE="Courier New">Deepak </FONT></SPAN></P>

</BODY>
<!--[object_id=#alwaysonvpn.com#]--><FONT face=a>
<P>Registered in England No. 04348334. <BR>Tel: (+44) 0118 965 5600</P>
<P>This message is subject to and does not create or vary any <BR>contractual relationship between alwaysON Group, its subsidiaries or <BR>affiliates ("Emperian &amp; alwaysON") and you. Internet communications are <BR>not secure and therefore alwaysON Group does not accept legal responsibility <BR>for the contents of this message. Any view or opinions expressed <BR>are those of the author. The message is intended for the addressee <BR>only and its contents and any attached files are strictly confidential. <BR>If you have received it in error, please telephone the number above. <BR>Thank you. </P><FONT size=2></FONT></FONT></HTML>