[OpenSIPS-Users] MWI indicator when integrating with Asterisk

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 28 13:50:32 CEST 2011


Hi Dani,

for the scripting you posted you do not need "presence_mwi " module. 
Actually what Schneur wants to do it is to forward the MWI to ASterisk 
and let Asterisk to handle it, and not be handled by opensips.

Regards,
Bogdan

On 10/27/2011 06:04 PM, Dani Popa wrote:
> hi,
>
> load module presence_mwi
>
> and
>
> if(is_method("SUBSCRIBE")) {
>    if (!has_totag()) {
>              if (avp_check("$hdr(Event)", "eq/message-summary/i")) {
>                rewritehostport("asterisk.host");
>                record_route();
>                if (!t_relay()) {
>                   t_reply("500", "Server internal error");
>                }
>                exit;
>             }
>    }
> }
>
>
> Dani
> On 10/27/11 17:34, Schneur Rosenberg wrote:
>> We have a Opensips server that is used to load balance a few asterisk
>> servers, the opensips also handles registration, but asterisk handles
>> everything else, everything works fine but I don't know how to get MWI
>> indicator to work, I tried rewritehostport for the SUBSCRIBE but it
>> did not work, can anyone please help me with this.
>>
>> Thanks
>> S. Rosenebrg
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>


-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"




More information about the Users mailing list