[Freeswitch-users] MWI does not working anymore?

Tim St. Pierre fs-list at communicatefreely.net
Tue Mar 6 17:41:57 MSK 2012


If I do sofia status, I see all my profiles, and an alias for each 
customer domain to the internal (nat'd) profile.

I did a little experiment, changing my directory script so that it will 
return all domains for each profile as it starts.  I started the 
internal profile first, so all the domains are aliased to it.

Now, I get a notify on registration for any profile, which is what I want.

If a phone is registered to the internal profile, it gets a notify on 
change.

If I register to the nonat profile, I get a notify on register only if 
it didn't already have a registration, but no notify on change.

How did you make yours work without any aliases?   If I take my aliases 
out, I get all these errors about "can't find profile".

-Tim

Yehavi Bourvine wrote:
> In my case the problem was an erratic profile ALIAS. Do F5 and see 
> whether you have aliases shown there. If you do not need them, simply 
> remove them from your SIP profile (this solved my problem). I am now 
> running without any alias.
>  
>                              __Yehavi:
>
> 2012/3/6 Tim St. Pierre <fs-list at communicatefreely.net 
> <mailto:fs-list at communicatefreely.net>>
>
>     I'm having a similar problem.  Can someone explain the mechanics
>     behind MWI?
>
>     I did an upgrade on Friday, and lost most of my MWI functionality
>     (although it fixed all the BLF issues we had).  The version I was
>     using
>     was several months old, so this may not be new.
>
>     We have two profiles - nonat and internal.  nonat is purely private IP
>     space, internal is public IP, with most clients behind NAT.
>
>     Our curl directory scripts will return all domains whenever asked
>     for a
>     generic domain section with no tags.
>
>     In the profiles, I have this little bit at the top:
>
>     <profile name="internal">
>      <aliases>
>      </aliases>
>      <gateways>
>      </gateways>
>
>      <domains>
>        <domain name="all" alias="true" parse="true"/>
>        <domain name="pbx.communicatefreely.net
>     <http://pbx.communicatefreely.net>" alias="true" parse="false"/>
>      </domains>
>
>      <settings>
>
>
>     When I do a sofia status, I see that all our domains are aliased
>     to the
>     internal profile.
>
>     I also have
>
>     <param name="forward-unsolicited-mwi-notify" value="true"/>
>     <param name="send-message-query-on-register" value="true"/>
>
>     In the extension's directory, I have
>     <param name="MWI-Account"'
>     data=mailbox at subdomain.communicatefreely.net
>     <mailto:mailbox at subdomain.communicatefreely.net>'"/>
>
>     Until I upgraded, a phone could register on either profile, and
>     expect a
>     notify on both registration, and any time the message count changed.
>
>
>     I read some of the earlier threads about domains only being mapped to
>     one profile, so I changed the directory script to only return
>     domains to
>     one profile - the one they have more phones on.
>
>     Now, if the phone registers on the mapped profile, changes produce a
>     notify, but no notify comes on a registration.  On the non-mapped
>     profile, I sometimes get a notify when it registers, but never on
>     a change.
>
>     What changed and how should I set this up.  I tried using
>     subscriptions,
>     but this is a problem as the phones we use can't subscribe to
>     something
>     other than what they register as, and that is a problem in our case.
>
>     How do you set a system up so that a domain is accessible from
>     more than
>     one profile.
>
>     Yehavi, what did you do in the alias section that you talked about?
>
>     I don't expect someone to fix this for me, but I can't find enough
>     information to fix it on my own.
>
>     -Tim
>
>
>
>     Anthony Minessale wrote:
>     > alias allows you to map domains to your profile so the domain can be
>     > used to find that profile in place of the profile name.
>     > so in the case of mwi it looks up the domain name and the alias
>     allows
>     > it to resolve the domain to the correct profile.
>     >
>     > similar to dns only for sofia profiles.
>     >
>     > On Fri, Feb 17, 2012 at 8:02 AM, Yehavi Bourvine
>     > <yehavi.bourvine at gmail.com <mailto:yehavi.bourvine at gmail.com>>
>     wrote:
>     >
>     >> I played around with the ALIAS definitions and it seems to
>     solve the
>     >> problem.
>     >>
>     >> I've tried searching the WIKI for a description of ALIAS use
>     and did not
>     >> find. Anyone can explain what does the alias do and what is the
>     correct
>     >> usage when you have more than one profile?
>     >>
>     >>                     Thanks, __Yehavi:
>     >>
>     >>
>     >> 2012/2/17 Yehavi Bourvine <yehavi.bourvine at gmail.com
>     <mailto:yehavi.bourvine at gmail.com>>
>     >>
>     >>> Hello Anthony,
>     >>>
>     >>>   I know, and I've put a comment there that it still does  not
>     work. I am
>     >>> downloading the recent GIT every two days to my test system
>     (the last one
>     >>> was yesterday) and it still behaves the same.
>     >>>
>     >>>
>     >>>                        Thanks, __Yehavi:
>     >>>
>     >>> 2012/2/17 Anthony Minessale <anthony.minessale at gmail.com
>     <mailto:anthony.minessale at gmail.com>>
>     >>>
>     >>>> you opened a jira on it and i fixed it and committed it
>     >>>>
>     >>>>
>     >>>> [FS-3866] MWI is not updated
>     >>>> Reporter: Yehavi Bourvine [yehavi]
>     >>>> Assignee: Anthony Minessale II [anthm]
>     >>>> Status: Resolved
>     >>>> http://jira.freeswitch.org/browse/FS-3866
>     >>>>
>     >>>> commit ff379a97e57a94f11ce75e8894b1ceb79d10a9ed
>     >>>> Author: Anthony Minessale <anthm at freeswitch.org
>     <mailto:anthm at freeswitch.org>>
>     >>>> Date:   Fri Feb 10 11:02:41 2012 -0600
>     >>>>
>     >>>>
>     >>>>
>     >>>> On Thu, Feb 16, 2012 at 2:56 AM, Yehavi Bourvine
>     >>>> <yehavi.bourvine at gmail.com
>     <mailto:yehavi.bourvine at gmail.com>> wrote:
>     >>>>
>     >>>>> Hello,
>     >>>>>
>     >>>>>   I've noticed a problem started in the last two weeks, but
>     I don't see
>     >>>>> anyone else reporting it...
>     >>>>>
>     >>>>> MWI status is not updated anymore. It is only updated at the
>     initial
>     >>>>> boot of
>     >>>>> the phone. Do others that use GIT from the last two weeks
>     notice it?
>     >>>>>
>     >>>>>                                 Thanks, __Yehavi:
>     >>>>>
>     >>>>>
>     >>>>>
>     _________________________________________________________________________
>     >>>>> Professional FreeSWITCH Consulting Services:
>     >>>>> consulting at freeswitch.org <mailto: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
>     <mailto: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
>     <mailto:MSN%3Aanthony_minessale at hotmail.com>
>     >>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>     <mailto:PAYPAL%3Aanthony.minessale at gmail.com>
>     >>>> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>     >>>>
>     >>>> FreeSWITCH Developer Conference
>     >>>> sip:888 at conference.freeswitch.org
>     <mailto:sip%3A888 at conference.freeswitch.org>
>     >>>> googletalk:conf+888 at conference.freeswitch.org
>     <mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
>     >>>> pstn:+19193869900
>     >>>>
>     >>>>
>     _________________________________________________________________________
>     >>>> Professional FreeSWITCH Consulting Services:
>     >>>> consulting at freeswitch.org <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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
>   




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