[Home]

Summary:ASTERISK-03960: subscriptions do not work any more
Reporter:Frank Sautter (xylome)Labels:
Date Opened:2005-04-20 08:59:04Date Closed:2011-06-07 14:10:41
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) subscribe.log.txt
( 1) subscribe-patch-v1.diff
( 2) subscribe-patch-v2.diff
Description:somehow the SIP clients can't are rejected when trying to use the subscribe/notify mechanism.
Comments:By: Frank Sautter (xylome) 2005-04-20 08:59:34

disclaimer is on file

By: Mark Spencer (markster) 2005-04-20 09:47:56

This patch essentially undoes the changes that make the mailbox stuff work again.  Ergo.  Need oej's input here.

By: Olle Johansson (oej) 2005-04-21 13:33:24

xylome: I do not understand your patch. Please tell us more about how it's broken and attach config and SIP debug output so I can understand what you are trying to fix.

By: Frank Sautter (xylome) 2005-04-22 03:04:21

oej: first of all we have the problem with snom phones (190,220,360). i don't know if it applies to other devices.
the subscription fails, because asterisk rejects a user subscription in 'check_user_full' (called from 'handle_request_subscribe') when the parameter 'mailbox' is not null.
attached is a logfile of a snom360 firmware 3.57t (with extension 182) trying to subscribing to voicemail MWI (extension 999) which fails, then registering itself successfully, then again trying to subscribe to voicemail (999) and failing, then trying to subscribe for extension 181 and 183 and failing.
the phones are within our nat, the voip server is on a public ip.

By: Olle Johansson (oej) 2005-04-22 18:28:08

Need to see your sip.conf, please.

By: philipp2 (philipp2) 2005-04-22 19:34:43

Did you include subscribecontext= in sip.conf for the sip user that is supposed to monitor the other channel?

edited on: 04-22-05 20:28

By: Frank Sautter (xylome) 2005-04-28 02:54:41

false alarm: i think this bug should be closed
i'm using realtime sip but did not set "rtcachefriends=yes". our snom phones are nated and the asterisk server has a public ip-address.
all this together made this problem occurr.

By: Olle Johansson (oej) 2005-04-28 10:44:17

Closed by reporters request. Thank you!