[Freeswitch-users] MWI sent without subscriptions (SIP)

Anthony Minessale anthony.minessale at gmail.com
Thu Oct 18 23:33:12 MSD 2012


in that case

PATCHES WELCOME



On Thu, Oct 18, 2012 at 11:30 AM, François Delawarde <
fdelawarde at 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 at 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 at invalid.com"/>
> >
> >         Is there a better way to disable unsolicited MWI NOTIFYs
> >         (without
> >         disabling presence)?
> >
> >         Thanks,
> >         François.
> >
> >
> >
> _________________________________________________________________________
> >         Professional FreeSWITCH Consulting Services:
> >         consulting at freeswitch.org
> >         http://www.freeswitchsolutions.com
> >
> >         
> >         
> >
> >         Official FreeSWITCH Sites
> >         http://www.freeswitch.org
> >         http://wiki.freeswitch.org
> >         http://www.cluecon.com
> >
> >         FreeSWITCH-users mailing list
> >         FreeSWITCH-users at 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 at hotmail.com
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org
> > googletalk:conf+888 at conference.freeswitch.org
> > pstn:+19193869900
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121018/8277d465/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list