[asterisk-users] How to check if a SIP phone isforwardedwithout ringing it ?
Steve Langstaff
steve.langstaff at citel.com
Tue Jan 8 09:00:47 CST 2008
Section 11.2 of RFC 3261 details the "Processing of OPTIONS Request"
The response to an OPTIONS is constructed using the standard rules
for a SIP response as discussed in Section 8.2.6. The response code
chosen MUST be the same that would have been chosen had the request
been an INVITE. That is, a 200 (OK) would be returned if the UAS is
ready to accept a call, a 486 (Busy Here) would be returned if the
UAS is busy, etc. This allows an OPTIONS request to be used to
determine the basic state of a UAS, which can be an indication of
whether the UAS will accept an INVITE request.
Section 21.3.3 of RFC3261 details the "302 Moved Temporarily" response
code.
Looks to me like those two things should interwork just fine.
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier
Sent: 08 January 2008 14:32
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] How to check if a SIP phone
isforwardedwithout ringing it ?
2008/1/8, Steve Langstaff <steve.langstaff at citel.com>:
That's going to be pretty phone-specific. How about
asking your phone supplier to fix their phone so that it responds to
OPTIONS correctly?
Yes, you're right but RFC3261 doesn't specify such 302 replies.
So I'm very pessimistic about my phone supplier answer.
________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier
Sent: 08 January 2008 12:50
To: Asterisk Users Mailing List - Non-Commercial
Discussion
Subject: Re: [asterisk-users] How to check if a
SIP phone is forwardedwithout ringing it ?
2008/1/7, Kevin P. Fleming
<kpfleming at digium.com>:
Olivier wrote:
> Is there way for an Asterisk server to
check if a sip phone is forwarded
> without bothering phone's user ?
No.
> I was thinking of some Alert-Info
option that would let the phone reply
> with a 302 Moved Temporarily or 182
Queued message and not let the phone
> ring or display anything on its
screen.
According to the SIP RFC, a SIP endpoint
is supposed to respond to an
OPTIONS message the same way that it
would respond to an INVITE message
with the identical destination, but I've
never seen a phone respond to
an OPTIONS message with anything but
'200 OK', even when a redirect
(forward) is in place.
So, the alternative option is to play with html
and use phone embedded html server to get this redirection data.
Cheers
--
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk
Experience" (TM)
_______________________________________________
--Bandwidth and Colocation Provided by
http://www.api-digital.com--
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/20080108/da7dcda4/attachment.htm
More information about the asterisk-users
mailing list