<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 9/28/12 1:11 PM, Tayeb Meftah wrote:<br>
    </div>
    <blockquote
cite="mid:CAE1B-ryoNbJFn_uNeshE2oY3X=x2w+SEPPS-CTP=NENoSX==oQ@mail.gmail.com"
      type="cite">
      <pre wrap="">hello
we're using Kamailio / freeswitch
freeswitch is the Voicemail server now.
please how to forward MWI bethwan kamailio and Freeswitch?
if user 1000 have a vm i want kamailio to fetch it from FS and
advertise it to the subscriber
thank you

</pre>
    </blockquote>
    you can check if the subscribe request is for <br>
    <br>
          Event: message-summary<br>
    <br>
    and then forward to freeswitch. Like:<br>
    <br>
    if(is_method("SUBSCRIBE") &amp;&amp; $hdr(Event) =~
    "message-summary") {<br>
       $rd = "FREESWITCH_IP";<br>
       t_relay();<br>
       exit;<br>
    }<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a></pre>
  </body>
</html>