[asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Douglas Garstang
Well, this is weird.
After receiving a sip subscribe message from peer 2529266, here's what Asterisk 
responds with:
 
-- (14 headers 0 lines)---
Found user '2529266'
Looking for 2943110 in bell_CallStart (domain ua2.ipt.xxx.com)
Dec 26 10:19:34 NOTICE[27345]: pbx.c:1741 pbx_extension_helper: Cannot find 
extension context 'bell_CallStart'
Transmitting (no NAT) to xxx.yyy.142.139:5060:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 
xxx.yyy.142.139;branch=z9hG4bKd22096a5A22CE654;received=xxx.yyy.142.139
From: Foo Law sip:[EMAIL PROTECTED];tag=1AB6AFEA-D777BDB3
To: sip:[EMAIL PROTECTED];tag=as6ac26084
Call-ID:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
CSeq: 2 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0
 
This is mighty strange, given this:
 
hermes*CLI sip show peer 2529266
hermes*CLI 
 
  * Name   : 2529266
  Secret   : Set
  MD5Secret: Not set
  Context  : bell_CallStart
  Subscr.Cont. : bell_WatchBLF
  Language : en
  Accountcode  : 2529266

Asterisk is saying that bell_CallStart doesn't exist (which it doesn't), but 
because of that decides to not accept the SIP subscription. The two are not 
realated to one another.
 
I'm wondering what Asterisk has been smoking over the last few days while I was 
away...
 
Doug.
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Douglas Garstang
Well there's ya problem.
 
If 2943110 doesn't have a match in the dialplan anywhere, Asterisk pukes. 
What's up with that? I don't see why that is necessary.
 
Doug.

-Original Message-
From: Douglas Garstang 
Sent: Tuesday, December 26, 2006 10:25 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] SIP Subscription Bug?


Well, this is weird.
After receiving a sip subscribe message from peer 2529266, here's what Asterisk 
responds with:
 
-- (14 headers 0 lines)---
Found user '2529266'
Looking for 2943110 in bell_CallStart (domain ua2.ipt.xxx.com)
Dec 26 10:19:34 NOTICE[27345]: pbx.c:1741 pbx_extension_helper: Cannot find 
extension context 'bell_CallStart'
Transmitting (no NAT) to xxx.yyy.142.139:5060:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 
xxx.yyy.142.139;branch=z9hG4bKd22096a5A22CE654;received=xxx.yyy.142.139
From: Foo Law sip:[EMAIL PROTECTED];tag=1AB6AFEA-D777BDB3
To: sip:[EMAIL PROTECTED];tag=as6ac26084
Call-ID:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
CSeq: 2 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:[EMAIL PROTECTED]
Content-Length: 0
 
This is mighty strange, given this:
 
hermes*CLI sip show peer 2529266
hermes*CLI 
 
  * Name   : 2529266
  Secret   : Set
  MD5Secret: Not set
  Context  : bell_CallStart
  Subscr.Cont. : bell_WatchBLF
  Language : en
  Accountcode  : 2529266

Asterisk is saying that bell_CallStart doesn't exist (which it doesn't), but 
because of that decides to not accept the SIP subscription. The two are not 
realated to one another.
 
I'm wondering what Asterisk has been smoking over the last few days while I was 
away...
 
Doug.
 

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Joshua Colp

Douglas Garstang wrote:


Well there's ya problem.
 
If 2943110 doesn't have a match in the dialplan anywhere, Asterisk 
pukes. What's up with that? I don't see why that is necessary.
 
Doug.




I'm slightly confused by what you mean... can you elaborate more?

--
Joshua Colp
Software Developer
Digium, Inc.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Douglas Garstang
To put it generically, if user A subscribes to the status of user B, and there 
is no dialplan match for user B, then Asterisk will return 404 Not Found to 
user A. 


 -Original Message-
 From: Joshua Colp [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 26, 2006 10:56 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] SIP Subscription Bug?
 
 
 Douglas Garstang wrote:
  
  Well there's ya problem.
   
  If 2943110 doesn't have a match in the dialplan anywhere, Asterisk 
  pukes. What's up with that? I don't see why that is necessary.
   
  Doug.
  
 
 I'm slightly confused by what you mean... can you elaborate more?
 
 -- 
 Joshua Colp
 Software Developer
 Digium, Inc.
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Peter Bowyer

On 26/12/06, Douglas Garstang [EMAIL PROTECTED] wrote:

To put it generically, if user A subscribes to the status of user B, and there 
is no dialplan match for user B, then Asterisk will return 404 Not Found to 
user A.


Yes, because the subscribe is against an extension, which is
translated to a SIP (or other technology) user via the 'Hint' entry
for that extension in the dialplan.

Peter


--
Peter Bowyer
Email: [EMAIL PROTECTED]
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Douglas Garstang
Asterisk, imho, should still accept the subscription request from user A.

 -Original Message-
 From: Peter Bowyer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 26, 2006 11:58 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] SIP Subscription Bug?
 
 
 On 26/12/06, Douglas Garstang [EMAIL PROTECTED] wrote:
  To put it generically, if user A subscribes to the status 
 of user B, and there is no dialplan match for user B, then 
 Asterisk will return 404 Not Found to user A.
 
 Yes, because the subscribe is against an extension, which is
 translated to a SIP (or other technology) user via the 'Hint' entry
 for that extension in the dialplan.
 
 Peter
 
 
 -- 
 Peter Bowyer
 Email: [EMAIL PROTECTED]
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] SIP Subscription Bug?

2006-12-26 Thread Peter Bowyer

Why? You're saying 'please update me on the status of extension
'1234'' when there's no such extension. Where's it going to get the
data from?

Better to get a 404, know something's wrong and correct a typo than
let it succeed and just not work.

Peter

On 26/12/06, Douglas Garstang [EMAIL PROTECTED] wrote:

Asterisk, imho, should still accept the subscription request from user A.

 -Original Message-
 From: Peter Bowyer [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 26, 2006 11:58 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] SIP Subscription Bug?


 On 26/12/06, Douglas Garstang [EMAIL PROTECTED] wrote:
  To put it generically, if user A subscribes to the status
 of user B, and there is no dialplan match for user B, then
 Asterisk will return 404 Not Found to user A.

 Yes, because the subscribe is against an extension, which is
 translated to a SIP (or other technology) user via the 'Hint' entry
 for that extension in the dialplan.

 Peter


 --
 Peter Bowyer
 Email: [EMAIL PROTECTED]
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
Peter Bowyer
Email: [EMAIL PROTECTED]
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] sip SUBSCRIPTION bug in 1.0.9

2005-09-02 Thread Philipp von Klitzing
Hi!

Asterisk 1.0.9 (maybe also earlier versions?) contains a bug the 
effectively disables subscriptions for phones with multiple 
regististrations in place. 

When processing a nonce response as a result to an 407 authentication 
request Asterisk with SIP DEBUG reports Found peer YYY even though it 
should look at peer XXX to compare user credentials. Consequently a 
NOTICE is displayed with Failed to authenticate user ... for SUBSCRIBE 
(YYY and XXX share the same IP and port, only the user name differs).

This bug is not present in 1.0.2 (for Asterisk 1.2 beta I cannot make a 
statement).

Cheers, Philipp


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users