in that case

PATCHES WELCOME



On Thu, Oct 18, 2012 at 11:30 AM, François Delawarde <fdelawarde@wirelessmundi.com> wrote:
This is to send a NOTIFY right after REGISTER, I'm talking about when a
new message is received (SWITCH_EVENT_MESSAGE_WAITING).

Digging deeper, on function "actual_sofia_presence_mwi_event_handler" of
sofia_presence.c, we can see that a NOTIFY is sent to subscribed devices
(around lines 568-590), but also to registered devices (around lines
592-607).

François.

On Thu, 2012-10-18 at 11:17 -0500, Anthony Minessale wrote:
> send-message-query-on-register=false
> in sofia profile
>
>
> On Thu, Oct 18, 2012 at 10:51 AM, François Delawarde
> <fdelawarde@wirelessmundi.com> wrote:
>         Hi,
>
>         It appears that FS sends MWI ("message_summary") NOTIFYs to
>         registered
>         devices even tho they do not SUBSCRIBE for it.
>
>         Some SIP devices (*cough* ZTE *cough*) just don't like MWI
>         NOTIFYs (leds
>         start blinking like a christmas tree before dying miserably),
>         and my
>         workaround to disable those is to set "MWI-Account" to
>         something invalid
>         like:
>
>         <param name="MWI-Account" value="invalid@invalid.com"/>
>
>         Is there a better way to disable unsolicited MWI NOTIFYs
>         (without
>         disabling presence)?
>
>         Thanks,
>         François.
>
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting@freeswitch.org
>         http://www.freeswitchsolutions.com
>
>         FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>         http://www.cudatel.com
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users@lists.freeswitch.org
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         http://www.freeswitch.org
>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888@conference.freeswitch.org
> googletalk:conf+888@conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900