Olli Heiskanen
2014-Jul-15 08:16 UTC
[asterisk-users] Extra REGISTER messages sent by Asterisk when subscribe for MWI is defined in zoiper
Hello all, I have an Asterisk installation with Kamailio using realtime integration. I have gotten my clients to register, but there is something odd about the sip message flow with some of my clients. My clients are Zoiper and Asterisk is 11.10.2. When I set 'Subscribe to MWI' value to 'both', after a normal, successful registration Asterisk begins to send REGISTER messages to Kamailio every 105 seconds. Kamailio responds with 200 OK. If I set the value to 'disabled', Asterisk does not send these frequent REGISTER messages. Probably due to these REGISTERs Kamailio sees 2 AORs for the account for those clients whose 'Subscribe to MWI' setting is defined as 'both'. I know this is mostly not an Asterisk problem, but I'd like to understand better what exactly makes Asterisk to react this way? I didn't find any differences in the SIP messages during registration (I could be just blind though...), or in the way the clients are set up in the Realtime db. On the 'Subscribe to MWI' setting the Zoiper documentation states: "this tag specifies when Zoiper is going to subscribe for Message Waiting Indication(MWI) for this account". In addition to values 'both' and 'disabled' there are values 'before registration (Asterisk)' and 'after registration'. To me it seems strange to use REGISTER messages for subscribing to something related to voicemail messages. So far I haven't learned about the way Asterisk handles voicemail stuff but if You guys have some clarification on why I'm getting these results I'd appreciate it! cheers, Olli -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140715/a5e1fa50/attachment.html>
Joshua Colp
2014-Jul-15 12:40 UTC
[asterisk-users] Extra REGISTER messages sent by Asterisk when subscribe for MWI is defined in zoiper
Olli Heiskanen wrote:> > Hello all,Bonjour,> I have an Asterisk installation with Kamailio using realtime > integration. I have gotten my clients to register, but there is > something odd about the sip message flow with some of my clients. My > clients are Zoiper and Asterisk is 11.10.2. > > When I set 'Subscribe to MWI' value to 'both', after a normal, > successful registration Asterisk begins to send REGISTER messages to > Kamailio every 105 seconds. Kamailio responds with 200 OK. If I set the > value to 'disabled', Asterisk does not send these frequent REGISTER > messages. Probably due to these REGISTERs Kamailio sees 2 AORs for the > account for those clients whose 'Subscribe to MWI' setting is defined as > 'both'.Can you provide a link to a sip debug log of this occurring? It sounds extremely weird and I'm not really sure how chan_sip would be doing such a thing... Cheers, -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Apparently Analagous Threads
- Rejecting secure audio stream without encryption details - when using ws clients and Kamailio integration
- Letting rtp profiles be handled by rtpengine instead of Asterisk
- Question regarding custom announcements used by several Asterisk servers
- Realtime integration: Unregistered clients showing as registered?
- From and To headers contain same account in INVITEs