Class SIP::Transaction::InviteServerTransaction
In: sipper/transaction/invite_server_transaction.rb
Parent: SIP::Transaction::BaseTransaction

Methods

Included Modules

SipLogger SipperUtil

Attributes

cancel_stxn  [RW]  to be used for accessing msg for printing/recording
msg_sent  [RW]  to be used for accessing msg for printing/recording

Public Class methods

The transport to use, transport flags, remote ip and port the block is to be used to override the T1, T2, even TimerG etc. timer value. The block can for example have { self.t1 = 200; self.tg=100 } to override the T1, A on a transaction by transcation basis, otherwise the default is taken from SipperConfigurator or SIP::Transaction::BaseTransaction::T1 in that order. Usage: TU creates transaction and starts invoking "Invocation Action" methods. Also for requests received, checks whether to consume them or not based on consume? method return value. There are three call backs into TU from IST and they are notification on transport error and transaction timeout. There are 3 TU callbacks.

  (a) transaction_transport_err() gets called should IST get a transport failure
  (b) transaction_timeout() gets called on timeout of transaction
  (c) transaction_transaction_cleanup() gets called on transaction termination.
  (d) transaction_wrong_state() if the transaction transition is tried in a wrong state
      i.e a message is either received or being tried to send out in a state where it is
      illegal to do so.

Public Instance methods

The IST receives requests INVITE and ACK/3xx-6xx only

[Validate]