[Freeswitch-users] MWI doubt

François Delawarde fdelawarde at wirelessmundi.com
Wed Aug 25 10:03:30 PDT 2010


On Wed, 2010-08-25 at 11:01 -0500, Brian West wrote:
> The issue is you want the generic MWI to figure out which profile to
> send the notify out... it can't what you want is a feature request.
> You can NOT have the same domain on multiple profiles not doable.

Then it's a bug, because MWI works beautifully across profiles with the
previous trick (did you try?).

I believe it's because FreeSwitch uses the "profile_name" stored in
database to do whatever its work is. If database is shared between all
profiles, then having a bogus profile with all domains aliased to it is
enough for Freeswitch to find the database and once the "select" is
done, it just uses the db field.

At least that's how sofia_contact does the trick, the profile passed in
parameter is not used to build the reply, only the "profile_name" field
in "sip_registrations".

Best bug ever, please don't repair it!

François.




More information about the FreeSWITCH-users mailing list