[sip-comm] SIP presence with Asterisk


#1

Hello,

I am trying to get presence working against my asterisk box. It seems to work, in that I can see the subscriptions on the asterisk console. What does not seem to work is the sip communicator side: the presence indicators are always just grey.

Before I dig into this more via packet traces etc: Is this supposed to work on the current nightly build?
Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD


#2

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Cheers
damencho

···

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell <malcolm.caldwell@cdu.edu.au> wrote:

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#3

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Yes.

As I said presence seems find on the asterisk side, I can even see the subscriptions when I do "sip show subscriptions". When a call comes in, the asterisk console (with -vvv) show that it is sending out the messages.

eg:
mine*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
1.2.3.4 abcdef 36eb4ed3212226b -- <none> mwi 6111 001800
1.2.3.4 abcdef d1e180c1801fbef 52@pstnout Idle pidf+xml <none> 001800
1.2.3.4 abcdef 1da3ffea35ae80a 51@pstnout Idle pidf+xml <none> 001800
3 active SIP subscriptions

core show hints
mine*CLI>
    -= Registered Asterisk Dial Plan Hints =-
                     55@pstnout : SIP/abcdef State:Idle Watchers 0
                     54@pstnout : SIP/xxxxxxxxxx State:Unavailable Watchers 0
                     53@pstnout : SIP/xxxxxxxxx State:Unavailable Watchers 0
                     52@pstnout : SIP/phone1 State:Idle Watchers 1
                     51@pstnout : SIP/phone2 State:Idle Watchers 1

This corresponds: my sip communicator has a contact for both 51 and 52.

Maybe it is complicated by different names due to NAT. eg from my sip communicator I register as abcdef@my.router.dns.name, while the asterisk box knows itself as "mine". The router port forwards 5060 to "mine".

Registration and calls seem to work fine.

Asterisk is 1.6.1.17.

Cheers
damencho

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

···

On 20/12/2010, at 5:10 PM, Damian Minkov wrote:

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell > <malcolm.caldwell@cdu.edu.au> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#4

Hey Malcolm,

I don't see any NOTIFY requests in the dumps you sent me (other than the
MWI one). Your server seems to be accepting our subscriptions but then
doesn't send any presence updates.

I am not sure why this happens but my suggestion would be that there's
something wrong with the asterisk configuration.

Cheers,
Emil

На 20.12.10 09:57, Malcolm Caldwell написа:

···

On 20/12/2010, at 5:10 PM, Damian Minkov wrote:

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Yes.

As I said presence seems find on the asterisk side, I can even see the subscriptions when I do "sip show subscriptions". When a call comes in, the asterisk console (with -vvv) show that it is sending out the messages.

eg:
mine*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
1.2.3.4 abcdef 36eb4ed3212226b -- <none> mwi 6111 001800
1.2.3.4 abcdef d1e180c1801fbef 52@pstnout Idle pidf+xml <none> 001800
1.2.3.4 abcdef 1da3ffea35ae80a 51@pstnout Idle pidf+xml <none> 001800
3 active SIP subscriptions

core show hints
mine*CLI>
    -= Registered Asterisk Dial Plan Hints =-
                     55@pstnout : SIP/abcdef State:Idle Watchers 0
                     54@pstnout : SIP/xxxxxxxxxx State:Unavailable Watchers 0
                     53@pstnout : SIP/xxxxxxxxx State:Unavailable Watchers 0
                     52@pstnout : SIP/phone1 State:Idle Watchers 1
                     51@pstnout : SIP/phone2 State:Idle Watchers 1

This corresponds: my sip communicator has a contact for both 51 and 52.

Maybe it is complicated by different names due to NAT. eg from my sip communicator I register as abcdef@my.router.dns.name, while the asterisk box knows itself as "mine". The router port forwards 5060 to "mine".

Registration and calls seem to work fine.

Asterisk is 1.6.1.17.

Cheers
damencho

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell >> <malcolm.caldwell@cdu.edu.au> wrote:

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#5

Hi,

I remember that once I had such problems cause I didn't set properly
the option subscribecontext in sip.conf.

Cheers
damencho

···

On Mon, Dec 20, 2010 at 11:02 AM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hey Malcolm,

I don't see any NOTIFY requests in the dumps you sent me (other than the
MWI one). Your server seems to be accepting our subscriptions but then
doesn't send any presence updates.

I am not sure why this happens but my suggestion would be that there's
something wrong with the asterisk configuration.

Cheers,
Emil

На 20.12.10 09:57, Malcolm Caldwell написа:

On 20/12/2010, at 5:10 PM, Damian Minkov wrote:

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Yes.

As I said presence seems find on the asterisk side, I can even see the subscriptions when I do "sip show subscriptions". When a call comes in, the asterisk console (with -vvv) show that it is sending out the messages.

eg:
mine*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
1.2.3.4 abcdef 36eb4ed3212226b -- <none> mwi 6111 001800
1.2.3.4 abcdef d1e180c1801fbef 52@pstnout Idle pidf+xml <none> 001800
1.2.3.4 abcdef 1da3ffea35ae80a 51@pstnout Idle pidf+xml <none> 001800
3 active SIP subscriptions

core show hints
mine*CLI>
-= Registered Asterisk Dial Plan Hints =-
55@pstnout : SIP/abcdef State:Idle Watchers 0
54@pstnout : SIP/xxxxxxxxxx State:Unavailable Watchers 0
53@pstnout : SIP/xxxxxxxxx State:Unavailable Watchers 0
52@pstnout : SIP/phone1 State:Idle Watchers 1
51@pstnout : SIP/phone2 State:Idle Watchers 1

This corresponds: my sip communicator has a contact for both 51 and 52.

Maybe it is complicated by different names due to NAT. eg from my sip communicator I register as abcdef@my.router.dns.name, while the asterisk box knows itself as "mine". The router port forwards 5060 to "mine".

Registration and calls seem to work fine.

Asterisk is 1.6.1.17.

Cheers
damencho

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell >>> <malcolm.caldwell@cdu.edu.au> wrote:

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#6

Hi All,

The strange thing is I can see the notify packages leaving my asterisk box. I just cannot see them reach my client box. So, perhaps something is blocking these packets (but not others) in between.

I will try again but this time on the same physical network.

Hey Malcolm,

I don't see any NOTIFY requests in the dumps you sent me (other than the
MWI one). Your server seems to be accepting our subscriptions but then
doesn't send any presence updates.

I am not sure why this happens but my suggestion would be that there's
something wrong with the asterisk configuration.

Cheers,
Emil

На 20.12.10 09:57, Malcolm Caldwell написа:

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Yes.

As I said presence seems find on the asterisk side, I can even see the subscriptions when I do "sip show subscriptions". When a call comes in, the asterisk console (with -vvv) show that it is sending out the messages.

eg:
mine*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
1.2.3.4 abcdef 36eb4ed3212226b -- <none> mwi 6111 001800
1.2.3.4 abcdef d1e180c1801fbef 52@pstnout Idle pidf+xml <none> 001800
1.2.3.4 abcdef 1da3ffea35ae80a 51@pstnout Idle pidf+xml <none> 001800
3 active SIP subscriptions

core show hints
mine*CLI>
   -= Registered Asterisk Dial Plan Hints =-
                    55@pstnout : SIP/abcdef State:Idle Watchers 0
                    54@pstnout : SIP/xxxxxxxxxx State:Unavailable Watchers 0
                    53@pstnout : SIP/xxxxxxxxx State:Unavailable Watchers 0
                    52@pstnout : SIP/phone1 State:Idle Watchers 1
                    51@pstnout : SIP/phone2 State:Idle Watchers 1

This corresponds: my sip communicator has a contact for both 51 and 52.

Maybe it is complicated by different names due to NAT. eg from my sip communicator I register as abcdef@my.router.dns.name, while the asterisk box knows itself as "mine". The router port forwards 5060 to "mine".

Registration and calls seem to work fine.

Asterisk is 1.6.1.17.

Cheers
damencho

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

···

On 20/12/2010, at 6:32 PM, Emil Ivov wrote:

On 20/12/2010, at 5:10 PM, Damian Minkov wrote:

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell >>> <malcolm.caldwell@cdu.edu.au> wrote:


#7

Hi All,

The strange thing is I can see the notify packages leaving my asterisk box. I just cannot see them reach my client box. So, perhaps something is blocking these packets (but not others) in between.

I forgot to mention: not only can I see the NOTIFYs going out from my asterisk box I can see them retransmit again and again for each packet.

I will try again but this time on the same physical network.

Hey Malcolm,

I don't see any NOTIFY requests in the dumps you sent me (other than the
MWI one). Your server seems to be accepting our subscriptions but then
doesn't send any presence updates.

I am not sure why this happens but my suggestion would be that there's
something wrong with the asterisk configuration.

Cheers,
Emil

На 20.12.10 09:57, Malcolm Caldwell написа:

Hi,

yes its working, do you have enabled the hint extensions in your
asterisk config?

Yes.

As I said presence seems find on the asterisk side, I can even see the subscriptions when I do "sip show subscriptions". When a call comes in, the asterisk console (with -vvv) show that it is sending out the messages.

eg:
mine*CLI> sip show subscriptions
Peer User Call ID Extension Last state Type Mailbox Expiry
1.2.3.4 abcdef 36eb4ed3212226b -- <none> mwi 6111 001800
1.2.3.4 abcdef d1e180c1801fbef 52@pstnout Idle pidf+xml <none> 001800
1.2.3.4 abcdef 1da3ffea35ae80a 51@pstnout Idle pidf+xml <none> 001800
3 active SIP subscriptions

core show hints
mine*CLI>
  -= Registered Asterisk Dial Plan Hints =-
                   55@pstnout : SIP/abcdef State:Idle Watchers 0
                   54@pstnout : SIP/xxxxxxxxxx State:Unavailable Watchers 0
                   53@pstnout : SIP/xxxxxxxxx State:Unavailable Watchers 0
                   52@pstnout : SIP/phone1 State:Idle Watchers 1
                   51@pstnout : SIP/phone2 State:Idle Watchers 1

This corresponds: my sip communicator has a contact for both 51 and 52.

Maybe it is complicated by different names due to NAT. eg from my sip communicator I register as abcdef@my.router.dns.name, while the asterisk box knows itself as "mine". The router port forwards 5060 to "mine".

Registration and calls seem to work fine.

Asterisk is 1.6.1.17.

Cheers
damencho

Hello,
I am trying to get presence working against my asterisk box. It seems to
work, in that I can see the subscriptions on the asterisk console. What
does not seem to work is the sip communicator side: the presence indicators
are always just grey.
Before I dig into this more via packet traces etc: Is this supposed to work
on the current nightly build?

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT

T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au

CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA

CRICOS Provider No. 00300K | RTO Provider No. 0373

CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

Malcolm Caldwell
Manager Infrastructure Operations
INFORMATION TECHNOLOGY MANAGEMENT AND SUPPORT
T. +61 8 8946 6631
Malcolm.Caldwell@cdu.edu.au
www.cdu.edu.au
CHARLES DARWIN UNIVERSITY
Darwin, Northern Territory 0909 AUSTRALIA
CRICOS Provider No. 00300K | RTO Provider No. 0373
CHANGE YOUR WORLD

···

On 21/12/2010, at 10:02 AM, Malcolm Caldwell wrote:

On 20/12/2010, at 6:32 PM, Emil Ivov wrote:

On 20/12/2010, at 5:10 PM, Damian Minkov wrote:

On Mon, Dec 20, 2010 at 9:29 AM, Malcolm Caldwell >>>> <malcolm.caldwell@cdu.edu.au> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net