[asterisk-dev] disable client side hangup after dialing 911on SIP Dial

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Mar 9 13:24:47 MST 2007


On Friday 09 March 2007 13:58, Kevin P. Fleming wrote:
> Admin DeryTelecom wrote:
> > I am talking about a SIP Dial and not a Zap Dial, it seems that
> > this option is available on Zap Dial.
>
> Then this will be the responsibility of the SIP endpoint, not
> Asterisk.

It cannot.  It is a violation of the SIP specification for a UAS to act
in this way, and therefore, the UAC has no requirement to work that way,
either.  See RFC 3261, section 15.1.2:

   A UAS core receiving a BYE request for an existing dialog MUST follow
   the procedures of Section 12.2.2 to process the request.  Once done,
   the UAS SHOULD terminate the session (and therefore stop sending and
   listening for media).  The only case where it can elect not to are
   multicast sessions, where participation is possible even if the other
   participant in the dialog has terminated its involvement in the
   session.  Whether or not it ends its participation on the session,
   the UAS core MUST generate a 2xx response to the BYE, and MUST pass
   that to the server transaction for transmission.

In other words, the server is not permitted to deny the BYE if it is
properly formatted and within an existing dialog.

-- 
Tilghman


More information about the asterisk-dev mailing list