Module: RubyAsterisk::AMI::Commands::Sip
- Included in:
- RubyAsterisk::AMI::Client
- Defined in:
- lib/ruby-asterisk/ami/commands/sip.rb
Overview
Sip commands
Instance Method Summary collapse
Instance Method Details
#sip_peers ⇒ Object
11 12 13 |
# File 'lib/ruby-asterisk/ami/commands/sip.rb', line 11 def sip_peers execute 'SIPpeers' end |
#sip_show_peer(peer) ⇒ Object
15 16 17 |
# File 'lib/ruby-asterisk/ami/commands/sip.rb', line 15 def sip_show_peer(peer) execute 'SIPshowpeer', { 'Peer' => peer } end |
#sip_show_registry ⇒ Object
19 20 21 |
# File 'lib/ruby-asterisk/ami/commands/sip.rb', line 19 def sip_show_registry execute 'SIPshowregistry' end |