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:2529266@ua2.ipt.xxx.com>;tag=1AB6AFEA-D777BDB3 To: <sip:2943110@ua2.ipt.xxx.com>;tag=as6ac26084 Call-ID: <mailto:7b8f8286-84ed6cd0-8b9ec51@xxx.yyy.142.139> 7b8f8286-84ed6cd0-8b9ec51@xxx.yyy.142.139 CSeq: 2 SUBSCRIBE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:2943110@xxx.yyy.142.204> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061226/a1d80fea/attachment.htm
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:2529266@ua2.ipt.xxx.com>;tag=1AB6AFEA-D777BDB3 To: <sip:2943110@ua2.ipt.xxx.com>;tag=as6ac26084 Call-ID: <mailto:7b8f8286-84ed6cd0-8b9ec51@xxx.yyy.142.139> 7b8f8286-84ed6cd0-8b9ec51@xxx.yyy.142.139 CSeq: 2 SUBSCRIBE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:2943110@xxx.yyy.142.204> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061226/1af603de/attachment.htm
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:jcolp@digium.com] > 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 >
Asterisk, imho, should still accept the subscription request from user A.> -----Original Message----- > From: Peter Bowyer [mailto:peter@bowyer.org] > 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 <dgarstang@oneeighty.com> 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: peter@bowyer.org > _______________________________________________ > --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 >