Class: OverSIP::SIP::Ack2xxForwarder
- Inherits:
-
ClientTransaction
- Object
- ClientTransaction
- OverSIP::SIP::Ack2xxForwarder
- Defined in:
- lib/oversip/sip/client_transaction.rb
Instance Attribute Summary
Attributes inherited from ClientTransaction
#connection, #core, #request, #state
Instance Method Summary collapse
- #connection_failed ⇒ Object
-
#initialize(core, request, transaction_conf, transport, ip = nil, ip_type = nil, port = nil) ⇒ Ack2xxForwarder
constructor
A new instance of Ack2xxForwarder.
- #send_request ⇒ Object
- #tls_validation_failed ⇒ Object
Methods inherited from ClientTransaction
Methods included from Logger
close, fg_system_msg2str, init_logger_mq, load_methods, #log_id, syslog_system_msg2str, syslog_user_msg2str
Constructor Details
#initialize(core, request, transaction_conf, transport, ip = nil, ip_type = nil, port = nil) ⇒ Ack2xxForwarder
Returns a new instance of Ack2xxForwarder.
561 562 563 564 |
# File 'lib/oversip/sip/client_transaction.rb', line 561 def initialize core, request, transaction_conf, transport, ip=nil, ip_type=nil, port=nil super @log_id = "ICT #{@transaction_id}" end |
Instance Method Details
#connection_failed ⇒ Object
572 573 574 |
# File 'lib/oversip/sip/client_transaction.rb', line 572 def connection_failed # Do nothing. end |
#send_request ⇒ Object
566 567 568 569 570 |
# File 'lib/oversip/sip/client_transaction.rb', line 566 def send_request @request.insert_header "Via", "#{@server_klass.via_core};branch=z9hG4bK#{@transaction_id}" @connection.send_sip_msg @request.to_s, @ip, @port end |
#tls_validation_failed ⇒ Object
576 577 578 |
# File 'lib/oversip/sip/client_transaction.rb', line 576 def tls_validation_failed # Do nothing. end |