Linux
2011-Nov-14 05:54 UTC
[asterisk-users] unavailable state not reported to Cisco SPA50X phone
Hello, ? (using trixbox with Asterisk 1.6.0.26) ? I am looking for information about how Asterisk should notify the unavailable (SIP) state of a SIP device. ? I found out that the phone (SPA504G with attendant console) sends a SUBSCRIBE request with an Accept: application/dialog-info+xml. ? The situation is that the BLF leds are green even for phones that are currently not "online". This leads to wrong call transfers from the attendant console into not connected phones by an operator. ? Tracing the activity using both sip debug and tcpdump revealed that Asterisk does not send something like an unavailable state for the device in a NOTIFY. ? I tried to understand the rfc4235 which states the following: "However, using this package to model state for non- session dialog usages is out of the scope of this specification." Does this actually mean that the device state of being "offline" is not part of this standard and as such can not be used to reflect the unavailable state in BLF? ? If it indeed is, I can stop searching for a solution in this direction. ? BTW I tested with Twinkle softphone and this does reflect correctly the unavailable state, but it uses Accept: application/pidf+xml and is a different method. ? Help is much appreciated. ? ? Thanks, ? ? Hans Feringa -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111114/d3d06f82/attachment.htm>
Stefan Schmidt
2011-Nov-14 14:41 UTC
[asterisk-users] unavailable state not reported to Cisco SPA50X phone
Am 14.11.11 06:54, schrieb Linux:> I tried to understand the rfc4235 which states the following: > > > > "However, using this package to model state for non- > session dialog usages is out of the scope of this specification." > > Does this actually mean that the device state of being "offline" is not part of this standard and as such can not be used to reflect the unavailable state in BLF?Hello Hans, Thats exactly the problem you hit. Even the RFC or the phones support something like an "offline" state for not available phones. In asterisk 1.2 this worked but it was changed after this version to be RFC conform. I have solved this problem by using a proxy in front which checkes if a phone is registered and set back a 404 if its not online (registered) but this is not a solution for you. Maybe you can build some solution with an external script and setting custom device states. best regards Stefan
Linux
2011-Nov-14 15:06 UTC
[asterisk-users] unavailable state not reported to Cisco SPA50X phone
Hello Stefan, ? Thank you for your answer. I was already afraid it is not in the standard. I will look into the custom device states. ? thanks, ? Hans ? -----Original message----- To:Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>; From:Stefan Schmidt <sst at sil.at> Sent:Mon 14-11-2011 15:42 Subject:Re: [asterisk-users] unavailable state not reported to Cisco SPA50X phone Am 14.11.11 06:54, schrieb Linux:> I tried to understand the rfc4235 which states the following: > > > > ?"However, using this package to model state for non- > ? ?session dialog usages is out of the scope of this specification." > > Does this actually mean that the device state of being "offline" is not part of this standard and as such can not be used to reflect the unavailable state in BLF?Hello Hans, Thats exactly the problem you hit. Even the RFC or the phones support something like an "offline" state for not available phones. In asterisk 1.2 this worked but it was changed after this version to be RFC conform. I have solved this problem by using a proxy in front which checkes if a phone is registered and set back a 404 if its not online (registered) but this is not a solution for you. Maybe you can build some solution with an external script and setting custom device states. best regards Stefan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: ? ? ? ? ? ? ? http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: ? http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111114/3fee5f02/attachment.htm>
Seemingly Similar Threads
- asterisk 1.4.10 on linux kernel 2.6 needs timing device for trunking
- Asterisk 1.6 and RFC4235
- How to supervise a Voicemail box with a BLF button ? What does "State:Unavailable" exactly means ?
- Hook flash time problem on TDM400/FXS
- IAX2 failed to authenticate; it uses wrong name