[Freeswitch-users] MWI not sent

Michael Jerris mike at jerris.com
Wed Dec 20 16:30:21 UTC 2017


Do you have multiple sip profiles that something at that domain is registered to?

> On Dec 20, 2017, at 4:20 AM, Peter Steinbach <lists at telefaks.de> wrote:
> 
> Without that settings it takes upto hours to update the MWI information
> on the phone (even if I set registration time to 1 min).
> 
> Best regards
> Peter
> 
> 
> 
> On 12/19/17 16:37, Michael Jerris wrote:
>> without that setting, when sending a voicemail to the user right after they register?
>> 
>>> On Dec 19, 2017, at 10:26 AM, Peter Steinbach <lists at telefaks.de> wrote:
>>> 
>>> Hello Michael,
>>> 
>>> with parameter “send-message-query-on-register“ in internal sofia profile it works during registration, without this parameter is does not.
>>> 
>>> Best regards
>>> Peter
>>> 
>>> 
>>> 
>>> On 12/19/17 16:09, Michael Jerris wrote:
>>>> if you do a voicemail to the user very soon after it registers (within seconds) does it work?
>>>> 
>>>>> On Dec 19, 2017, at 6:49 AM, Peter Steinbach <lists at telefaks.de> wrote:
>>>>> 
>>>>> I have a Yealink T46G registered at our Freeswitch machine. MWI is
>>>>> enabled on the Yealink Phone, I see a "message-summary" entry in
>>>>> sip_subscriptions. So I think, presence is setup fine
>>>>> 
>>>>> Content of the sip_subscriptions table:
>>>>> "proto" "sip_user" "sip_host" "sub_to_user" "sub_to_host"
>>>>> "presence_hosts" "event" "contact" "call_id" "full_from" "full_via"
>>>>> "expires" "user_agent" "accept" "profile_name" "hostname" "network_port"
>>>>> "network_ip" "version" "orig_proto" "full_to" "id"
>>>>> "sip" "200" "fs00.my.domain" "200" "fs00.my.domain" "" "message-summary"
>>>>> """Peter3 Buero"" <sip:200 at 192.168.1.72:5060>"
>>>>> "0_3056780279 at 192.168.1.72" """Peter3 Buero""
>>>>> <sip:200 at fs00.my.domain:5060>;tag=1082071637" "SIP/2.0/UDP
>>>>> 192.168.1.72:5060;branch=z9hG4bK2245575863" "1513683832" "Yealink
>>>>> SIP-T46G 28.80.0.130" "application/simple-message-summary " "internal"
>>>>> "fs01.my.domain" "5060" "192.168.1.72" "-1" ""
>>>>> "<sip:200 at fs00.my.domain:5060>;tag=WdayfEpssASN" "2821206"
>>>>> 
>>>>> Events are enabled on the freeswitch console
>>>>> /events MESSAGE_QUERY MESSAGE_WAITING
>>>>> 
>>>>> When a voicemail is recorded, I see a number of recurring events on the
>>>>> console (see below), but no NOTIFY message is sent to the phone.
>>>>> However, after a while (after 10min or even after hours) the phone
>>>>> receives its message.
>>>>> When I delete all VM messages, the MWI is never sent to the phone,
>>>>> although messages are prepared (MWI-Messages-Waiting: no), as I can see
>>>>> them on the console.
>>>>> 
>>>>> If I set the parameter “send-message-query-on-register“ in internal
>>>>> sofia profile, then MWI is updated with every register to the phone.
>>>>> Alos on every restart of the phone. But as we cannot use short intervals
>>>>> intervals due to some reason, this is not the solution.
>>>>> 
>>>>> Anybody has a hint, how to solve this?
>>>>> 
>>>>> 
>>>>> Example messages:
>>>>> RECV EVENT
>>>>> Event-Name: MESSAGE_QUERY
>>>>> Core-UUID: 1ec11171-65e9-49e5-a043-379951acfef1
>>>>> FreeSWITCH-Hostname: fs01.my.domain
>>>>> FreeSWITCH-Switchname: fs01.my.domain
>>>>> FreeSWITCH-IPv4: 192.168.1.9
>>>>> FreeSWITCH-IPv6: ::1
>>>>> Event-Date-Local: 2017-12-19 12:27:40
>>>>> Event-Date-GMT: Tue, 19 Dec 2017 11:27:40 GMT
>>>>> Event-Date-Timestamp: 1513682860739342
>>>>> Event-Calling-File: sofia_presence.c
>>>>> Event-Calling-Function: sofia_presence_sub_reg_callback
>>>>> Event-Calling-Line-Number: 1736
>>>>> Event-Sequence: 16929
>>>>> Message-Account: sip:200 at fs00.my.domain
>>>>> VM-Sofia-Profile: internal
>>>>> VM-sub-call-id: 0_3056780279 at 192.168.1.72
>>>>> 
>>>>> 
>>>>> RECV EVENT
>>>>> Event-Name: MESSAGE_WAITING
>>>>> Core-UUID: 1ec11171-65e9-49e5-a043-379951acfef1
>>>>> FreeSWITCH-Hostname: fs01.my.domain
>>>>> FreeSWITCH-Switchname: fs01.my.domain
>>>>> FreeSWITCH-IPv4: 192.168.1.9
>>>>> FreeSWITCH-IPv6: ::1
>>>>> Event-Date-Local: 2017-12-19 12:27:40
>>>>> Event-Date-GMT: Tue, 19 Dec 2017 11:27:40 GMT
>>>>> Event-Date-Timestamp: 1513682860899354
>>>>> Event-Calling-File: mod_voicemail.c
>>>>> Event-Calling-Function: actual_message_query_handler
>>>>> Event-Calling-Line-Number: 4036
>>>>> Event-Sequence: 16931
>>>>> MWI-Messages-Waiting: yes
>>>>> MWI-Message-Account: sip:200 at fs00.my.domain
>>>>> MWI-Voice-Message: 1/0 (0/0)
>>>>> Sofia-Profile: internal
>>>>> sub-call-id: 0_3056780279 at 192.168.1.72
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
> 
> 
> -- 
> With kind regards
> Peter Steinbach 
> 
> Telefaks Services GmbH
> mailto:lists (att) telefaks.de
> Internet: www.telefaks.de
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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




More information about the FreeSWITCH-users mailing list