[SR-Users] FreeSWITCH | Kamailio MWI forwarding
Daniel-Constantin Mierla
miconda at gmail.com
Wed Oct 3 12:59:38 CEST 2012
Hello,
On 9/28/12 1:11 PM, Tayeb Meftah wrote:
> 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
>
you can check if the subscribe request is for
Event: message-summary
and then forward to freeswitch. Like:
if(is_method("SUBSCRIBE") && $hdr(Event) =~ "message-summary") {
$rd = "FREESWITCH_IP";
t_relay();
exit;
}
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121003/99f6a992/attachment-0001.htm>
More information about the sr-users
mailing list