Re: [OpenSBC] OpenSBC Gives 420 Bad Extension on SIP Subscribe
Brought to you by:
joegenbaclor
From: Joegen B. <jb...@so...> - 2009-01-22 01:24:29
|
Hi, This is very true and could be really frustrating if you need presense. OpenSBC currently do not process SUBSCRIBE messages and would respond with a bad extension by default. I am planning to work on this for version 1.1.6. The real problem is not really the incapability of OSBC to relay SUBSCRIBEs to upper-reg but the requirement to rewrite SUBSCRIBE messages the same way as its REGISTER counterpart. It's a bit tricky. Joegen -------------------------------------------------- From: "OpenSBC Forum" <ope...@op...> Sent: Thursday, January 22, 2009 8:02 AM To: <ope...@li...> Subject: [OpenSBC] OpenSBC Gives 420 Bad Extension on SIP Subscribe > I have OpenSBC 1.15 RC3 running in B2BUA Upper Reg Mode, sitting in front > of a sipXecs deployment. User registrations and calls are being > successfully routed through OpenSBC -- but I'm having a problem with > SUBSCRIBE events. I'm using X-Lite as my UA, and when X-Lite sends a > SUBSCRIBE to OpenSBC (to gather contact presence information), OpenSBC > sends a "420 Bad Extension" response. I've also seen the same behavior > when I've used Sip Communicator. > > Are there any settings in OpenSBC that could affect its ability to respond > to Sip SUBSCRIBE requests? I've included log entries below to demonstrate > the issue: > > 2009/01/21 09:00:55.997 INF: CID=0x0e8d <<< SUBSCRIBE sip:us...@si...main > SIP/2.0 SRC: 10.0.0.1:46288:UDP enc=0 bytes=673 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d SUBSCRIBE > sip:us...@si...main SIP/2.0 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d From: "usera" > <sip:us...@si...main>;tag=f449fc5d > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d To: "User B" > <sip:us...@si...main> > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Via: SIP/2.0/UDP > 10.0.0.1:46288;branch=z9hG4bK-d8754z-5f50db05221c3b30-1---d8754z- > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d CSeq: 1 SUBSCRIBE > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Call-ID: > YTRkMjc1NGUyNjg5MTBlNDk2ZDQ4OTUwYzU4NmQxZTU. > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Contact: > <sip:usera@10.0.0.1:46288> > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Event: presence > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Subject: > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d User-Agent: X-Lite release > 1100l stamp 47546 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Expires: 300 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Max-Forwards: 70 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Accept: multipart/related, > application/rlmi+xml, application/pidf+xml > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Allow: INVITE, ACK, CANCEL, > OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d Content-Length: 0 > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d > 2009/01/21 09:00:55.997 DBG: CID=0x0e8d > 2009/01/21 09:00:55.998 DTL: CID=0x0e8d NIST(4156922636) *** CREATED > *** - > NIST|YTRkMjc1NGUyNjg5MTBlNDk2ZDQ4OTUwYzU4NmQxZTU.|z9hG4bK-d8754z-5f50db > 05221c3b30-1---d8754z-|SUBSCRIBE > 2009/01/21 09:00:55.998 DTL: CID=0x0e8d NIST(4156922636) > Event(SIPMessage) - SUBSCRIBE sip:us...@si...main SIP/2.0 > 2009/01/21 09:00:55.998 DBG: CID=0x0e8d TRANSACTION: (NIST) SUBSCRIBE > sip:us...@si...main SIP/2.0 State: 0 > 2009/01/21 09:00:55.998 DTL: CID=0x0e8d NIST(4156922636) > StateIdle->StateTrying > 2009/01/21 09:00:55.998 DTL: CID=0x0e8d NIST(4156922636) > Event(SIPMessage) - SIP/2.0 420 Bad Extension > 2009/01/21 09:00:55.998 DBG: CID=0x0e8d TRANSACTION: (NIST) SIP/2.0 420 > Bad Extension State: 1 > 2009/01/21 09:00:55.999 DTL: CID=0x0e8d > NIST(4156922636)HandleStateTrying->StateCompleted > 2009/01/21 09:00:55.999 INF: CID=0x0e8d >>> SIP/2.0 420 Bad Extension DST: > 10.0.0.1:46288:UDP SRC=10.0.0.20:5061 enc=0 bytes=436 > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d SIP/2.0 420 Bad Extension > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d From: "usera" > <sip:us...@si...main>;tag=f449fc5d > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d To: "User B" > <sip:us...@si...main>;tag=ce21c5bc4ae6dd1196cdcd16fb6551b7 > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d Via: SIP/2.0/UDP > 10.0.0.1:46288;branch=z9hG4bK-d8754z-5f50db05221c3b30-1---d8754z-;rport=46288;recei > ved=10.0.0.1 > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d CSeq: 1 SUBSCRIBE > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d Call-ID: > YTRkMjc1NGUyNjg5MTBlNDk2ZDQ4OTUwYzU4NmQxZTU. > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d Server: OpenSBC v1.1.5-42 > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d Content-Length: 0 > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d > 2009/01/21 09:00:55.999 DBG: CID=0x0e8d > |