This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Josh Solution | |
<style> | |
ul { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
} | |
a { | |
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lab-voip1*CLI> core show codecs | |
Disclaimer: this command is for informational purposes only. | |
It does not indicate anything about your configuration. | |
ID TYPE NAME FORMAT DESCRIPTION | |
------------------------------------------------------------------------------------------------ | |
31 image png png (PNG Image) | |
6 audio g726 g726 (G.726 RFC3551) | |
4 audio alaw alaw (G.711 a-law) | |
2 audio g723 g723 (G.723.1) | |
20 audio speex speex (SpeeX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Setting global variable 'SIPDOMAIN' to 'lab-voip1.oneif.net' | |
-- Executing [1101@oneif_pbxin:1] Answer("PJSIP/1110-00000031", "") in new stack | |
> 0x7f9f8002c4c0 -- Strict RTP learning after remote address set to: 192.168.66.34:2226 | |
> 0x7f9f8002c4c0 -- Strict RTP switching to RTP target address 192.168.66.34:2226 as source | |
-- Executing [1101@oneif_pbxin:2] Dial("PJSIP/1110-00000031", "PJSIP/1101/,20,tT") in new stack | |
-- Called PJSIP/1101/ | |
[Feb 15 17:38:37] WARNING[107159]: res_pjsip_sdp_rtp.c:1504 create_outgoing_sdp_stream: Unable to get rtp codec payload code for codec2 | |
[Feb 15 17:38:37] WARNING[107159]: res_pjsip_sdp_rtp.c:1504 create_outgoing_sdp_stream: Unable to get rtp codec payload code for testlaw | |
[Feb 15 17:38:37] WARNING[107159]: res_pjsip_sdp_rtp.c:1504 create_outgoing_sdp_stream: Unable to get rtp codec payload code for silk | |
[Feb 15 17:38:37] WARNING[107159]: res_pjsip_sdp_rtp.c:1504 create_outgoing_sdp_stream: Unable to get rtp codec payload code for silk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Jan 16 08:59:25] ERROR[16782]: translate.c:1329 ast_translator_best_choice: Cannot determine best translation path since one capability supports no formats | |
[Jan 16 08:59:25] WARNING[16782]: channel.c:5495 set_format: Unable to find a codec translation path: (ulaw|alaw|g729) -> (none) | |
[Jan 16 08:59:25] ERROR[16782]: translate.c:1329 ast_translator_best_choice: Cannot determine best translation path since one capability supports no formats | |
[Jan 16 08:59:25] WARNING[16782]: channel.c:5495 set_format: Unable to find a codec translation path: (none) -> (ulaw|alaw|g729) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/clients/4/edit" for 127.0.0.1 at 2017-10-10 00:01:31 -0700 | |
Processing by ClientsController#edit as HTML | |
Parameters: {"id"=>"4"} | |
Client Load (1.0ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] | |
Rendering clients/edit.html.erb within layouts/application | |
Rendered clients/_form.html.erb (66.7ms) | |
Rendered clients/edit.html.erb within layouts/application (74.0ms) | |
Rendered shared/_header.html.erb (3.0ms) | |
Rendered shared/_footer.html.erb (12.7ms) | |
Rendered shared/_sidebar.html.erb (2.5ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Client controller | |
before_action :set_client, only: [:show, :edit, :update, :destroy] | |
def destroy | |
@client.destroy | |
respond_to do |format| | |
format.html { redirect_to clients_url, notice: 'Client was successfully destroyed.' } | |
format.json { head :no_content } | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
************************************************************** | |
*** *** | |
*** ---> IMPORTANT INFORMATION ABOUT format_mp3 <--- *** | |
*** *** | |
*** format_mp3 has been selected to be installed, but the *** | |
*** MP3 decoder library has not yet been downloaded into *** | |
*** the source tree. To do so, please run the following *** | |
*** command: *** | |
*** *** | |
*** $ contrib/scripts/get_mp3_source.sh *** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CC] utils.c -> utils.o | |
[CC] uuid.c -> uuid.o | |
[CC] version.c -> version.o | |
[CC] xml.c -> xml.o | |
[CC] xmldoc.c -> xmldoc.o | |
[CC] libasteriskssl.c -> libasteriskssl.o | |
libasteriskssl.c:76:5: warning: no previous prototype for ‘SSL_library_init’ [-Wmissing-prototypes] | |
int SSL_library_init(void) | |
^ | |
libasteriskssl.c:86:6: warning: no previous prototype for ‘SSL_load_error_strings’ [-Wmissing-prototypes] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FixDHCP | |
attr_reader :line, | |
:old_server, | |
:new_server | |
def initialize(line, opts) | |
@line = line | |
@old_server = opts[:old_server] | |
@new_server = opts[:new_server] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tylers-MacBook-Pro-3:voip tyler$ ruby bin/swcut.rb | |
From: /Users/tyler/Desktop/hjuhsd_netwk/prj/voip/bin/swcut.rb @ line 19 : | |
14: # # t.cmd 'exit' | |
15: # # t.cmd 'exit' | |
16: | |
17: session = Net::SSH.start('172.22.142.1','myuser', password: 'mypass') | |
18: t = Net::SSH::Telnet.new("Session" => session, "Prompt" => /> /) | |
=> 19: binding.pry |
NewerOlder