[Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

Olle E. Johansson oej at edvina.net
Sun Feb 1 02:09:05 MST 2004


Rich Adamson wrote:

>>So, what hardware or use is the SUBSCRIBE method used for in 
>>chan_sip.c?  I asked this question a while ago, and got resounding 
>>silence.  Maybe someone who is better at de-tangling C code than I am 
>>could take a peek.

> Not sure, but seems to me it came in about the time Olle and Snom were 
> talking, and Olle was working on sip-2 or something like that.

There is support for SUBSCRIBE in the SIP channel. I've been spending
time trying to understand this and also asked questions with no answer.

My guess is that you can subscribe to an extensions (not sip device) status
and get notificiations when the status changes. Would be useful for
phones that have line indicators. There's some authorization for doing this,
but no ACL list - who can subscribe to what?

Sorry for an unclear explanation, I haven't been able to test with any
device. Anyone that knows any device that supports SUBCRIBE this way?

BTW, isn't SUBSCRIBE also used for SIMPLE, instant messaging?

/O




More information about the asterisk-users mailing list