RE: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-02 Thread Florian Overkamp
Hi, 

 -Original Message-
 Of course! I configured Windows Messenger to work with my 
 Chan_sip2. It's important
 for messenger that the REALM (configurable in chan_sip2) is 
 the same as the proxy's
 name. When I add a contact, messenger subscribes to it.
 
 And Asterisk answers that anything is online. Florian is 
 online in my server without
 any peer florian and any (at least known by me) extension 
 named florian. If I add
 my FWD account, asterisk accepts subscription on it and 
 merrily answers online without
 checking. A positive attitude, indeed.

Heheheh, well at least it beats answering 'offline' because then MSN will
not allow you to 'call' the contact :-)

Florian

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-01 Thread Olle E. Johansson
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

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-01 Thread Florian Overkamp
Hi,

 -Original Message-
 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.

Hmm, dunno. Could it be used to have your MSN contacts show as available or
no ? :-)

Florian


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-01 Thread Olle E. Johansson
Florian Overkamp wrote:

Hi,


-Original Message-
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.


Hmm, dunno. Could it be used to have your MSN contacts show as available or
no ? :-)
Of course! I configured Windows Messenger to work with my Chan_sip2. It's important
for messenger that the REALM (configurable in chan_sip2) is the same as the proxy's
name. When I add a contact, messenger subscribes to it.
And Asterisk answers that anything is online. Florian is online in my server without
any peer florian and any (at least known by me) extension named florian. If I add
my FWD account, asterisk accepts subscription on it and merrily answers online 
without
checking. A positive attitude, indeed.
Obviously there's a bug here.

/O

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-01 Thread Olle E. Johansson
Florian Overkamp wrote:

Hi,


-Original Message-
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.


Hmm, dunno. Could it be used to have your MSN contacts show as available or
no ? :-)
After a bit more experimenting, I found that my context for the user included
a match-all, so everything was ok. If I tried another context, it answers OK.
For my installation, I need a separate context per peer for SIP users if I'm
going to support SUBSCRIBE.
/O

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-02-01 Thread Clif Jones
I haven't taken the time to reverse engineer this on * but subscribe is 
used in SIP for serveral things:
1. Message Waiting Indicator (MWI).  Asterisk seems to send out a NOTIFY 
even with no SUBSCRIBE
   though. :)
2. SIMPLE (SIP Instant Message  Presence Leverage Extensions).  The 
SUBSCRIBE/NOTIFY is
  used for the presence portion of this.  The Windows Messenger and 
MSN Messenger 4.6/4.7 support
  a pseudo-standard form of this.  We use this our development for 
phone presence/status and for
  attendant console.  It is pretty cool but there are scalability issues.

Olle E. Johansson wrote:

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

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-01-31 Thread John Todd
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.

JT
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] SUBSCRIBE in chan_sip - anyone?

2004-01-31 Thread Rich Adamson
 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.

John,

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.

Rich


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users