Hello,

i now changed the $${domain} of the server to the domain name the
phones register with.
Now messaging (MWI, notify) works. Thanks to all for your support.

Best regards
Peter

Peter P GMX schrieb:
> Hello Anthony,
>
> I did some checks today
> Here is how the phones are registered:
>
> mysql> select sip_host, presence_hosts, server_user,server_host,
> hostname, sip_realm, mwi_user,mwi_host from sip_registrations limit 1;
> +-------------------+-------------------+-------------+-------------+--------------------+-------------------+----------+-------------------+
> | sip_host          | presence_hosts    | server_user | server_host |
> hostname           | sip_realm         | mwi_user | mwi_host          |
> +-------------------+-------------------+-------------+-------------+--------------------+-------------------+----------+-------------------+
> | sip1.mydomain.com | sip1.mydomain.com | 136         | 10.11.12.2  |
> sip11.mydomain.com | sip1.mydomain.com | 136      | sip1.mydomain.com |
> +-------------------+-------------------+-------------+-------------+--------------------+-------------------+----------+-------------------+
> IPs are:
> 10.11.12.1 sip1.mydomain.com (common cluster IP)
> 10.11.12.2 sip11.mydomain.com
> 10.11.12.3 sip12.mydomain.com (not used at this point)
>
> XML-Curl for the directory is:
> <document type="freeswitch/xml">
> <section name="directory">
> <domain name="sip1.mydomain.com">
> <user id="100">
> <params>
> <param name="password" value="pass"/>
> <param name="vm-password" value="pass"/>
> <param name="vm-email-all-messages" value="true"/>
> <param name="vm-attach-file" value="true"/>
> <param name="vm-mailto" value="em...@domain.net"/>
> <param name="dial-string"
> value="{presence_id=${dialed_us...@${dialed_domain},transfer_fallback_extension=${dialed_user}}${sofia_contact(${dialed_us...@${dialed_domain})}"/>
> <param name="http-allowed-api" value="voicemail"/>
> </params>
> <variables>
> <variable name="accountcode" value="800"/>
> <variable name="user_context" value="default"/>
> <variable name="effective_caller_id_name" value="Extension 100"/>
> <variable name="effective_caller_id_number" value="100"/>
> </variables>
> </user>
> </domain>
> </section>
> </document>
>
>
> The internal profile has the following alias:
> <profile name="internal" domain="$${domain}">
> <aliases>
> <alias name="$${domain}"/>
> <alias name="sip1.mydomain.com"/>
> <alias name="default"/>
> </aliases>
> With $${domain} being sip11.mydomain.com
>
> Phones are registering to sip1.mydomain.com, Voicemail works, but MWI
> does not. Any hint what I should change to make this work?
>
> Best regards
> Peter
>
> Anthony Minessale schrieb:
>   
>> based on your example past
>>
>> sip1.mydomain.com <http://sip1.mydomain.com> is the domain in the
>> packet and thus the profile should have an alias for this.
>> Then the user must reside in your sip db with the user 200 and domain
>> sip1.mydomain.com <http://sip1.mydomain.com>
>>
>> if you dont have this consider the force-register-domain and
>> force-register-db-domain to normalize the host names.
>>
>>
>> On Fri, Nov 27, 2009 at 3:11 PM, Anthony Minessale
>> <anthony.miness...@gmail.com <mailto:anthony.miness...@gmail.com>> wrote:
>>
>>     Did you check the 2 replies that told you you need aliases in your
>>     sofia profile to translate the domain found in your
>>     message_waiting to the right profile?  Both Brian and Mike
>>     answered you.
>>
>>
>>
>>
>>
>>     On Thu, Nov 26, 2009 at 5:55 PM, Peter P GMX
>>     <prometheus...@gmx.net <mailto:prometheus...@gmx.net>> wrote:
>>
>>         I tried now with phones directly attached to the freeswitch
>>         (without an
>>         OpenSIPS in between). I also added the alias. But the
>>         behaviour is as
>>         before:
>>         No notify message from freeswitch, neither after register nor
>>         after a
>>         voicemail is recorded.
>>
>>         Best regards
>>         Peter
>>         Brian West schrieb:
>>         > Yes an alias will be required for every domain you run on
>>         the profile
>>         > so it can find it.
>>         >
>>         > /b
>>         >
>>         > On Nov 25, 2009, at 11:39 AM, Michael Jerris wrote:
>>         >
>>         >
>>         >> Try an alias on the sip profile.
>>         >>
>>         >> Mike
>>         >>
>>         >
>>         >
>>         > _______________________________________________
>>         > FreeSWITCH-users mailing list
>>         > FreeSWITCH-users@lists.freeswitch.org
>>         <mailto: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
>>         >
>>         >
>>
>>         _______________________________________________
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users@lists.freeswitch.org
>>         <mailto: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_miness...@hotmail.com
>>     <mailto:msn%3aanthony_miness...@hotmail.com>
>>     GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
>>     <mailto:paypal%3aanthony.miness...@gmail.com>
>>     IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>>
>>
>>     FreeSWITCH Developer Conference
>>     sip:8...@conference.freeswitch.org
>>     <mailto:sip%3a...@conference.freeswitch.org>
>>     iax:gu...@conference.freeswitch.org/888
>>     <http://iax:gu...@conference.freeswitch.org/888>
>>     googletalk:conf+...@conference.freeswitch.org
>>     <mailto:googletalk%3aconf%2b...@conference.freeswitch.org>
>>     pstn:213-799-1400
>>
>>
>>
>>
>> -- 
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> Twitter: http://twitter.com/FreeSWITCH_wire
>>
>> AIM: anthm
>> MSN:anthony_miness...@hotmail.com
>> <mailto:msn%3aanthony_miness...@hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
>> <mailto:paypal%3aanthony.miness...@gmail.com>
>> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:8...@conference.freeswitch.org
>> <mailto:sip%3a...@conference.freeswitch.org>
>> iax:gu...@conference.freeswitch.org/888
>> <http://iax:gu...@conference.freeswitch.org/888>
>> googletalk:conf+...@conference.freeswitch.org
>> <mailto:googletalk%3aconf%2b...@conference.freeswitch.org>
>> pstn:213-799-1400
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>   
>>     
>
>   


_______________________________________________
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

Reply via email to