Skip to content

Instantly share code, notes, and snippets.

View elcontrastador's full-sized avatar

Tyler Arrigoni elcontrastador

View GitHub Profile
exten => 7998,1,Answer()
same => n,Wait(0.5)
same => n,Read(ROOM,conf-getconfno,,,3,10)
same => n,GotoIf(${DB_EXISTS(ONEIF_NET_CONFROOM/${ROOM})}?yes:no)
same => n(no),Playback(conf-errormenu)
same => n,SayText(Dial star 7 9 9 8 to set up a new conference room)
same => n,Playback(vm-goodbye)
same => n,Hangup()
same => n(yes),Read(CONFPIN,conf-getpin,,,3,10)
same => n,GotoIf($[${DB(ONEIF_NET_CONFROOM/${ROOM})}=${CONFPIN}]?match:nomatch)
[oneif_net_confbridge]
exten => start,1,Answer()
same => n,Wait(0.5)
; same => n,SayText(Conference bridge administrator login)
; same => n,SayText(After the beep. Please enter your administrator PIN followed by the pound sign))
same => n,Playback(beep)
same => n,Read(ADMINPIN,,,,3,5)
same => n,Verbose(ADMINPIN => ${ADMINPIN})
same => n,Verbose(${DB(ONEIF_NET/CONF_ADMIN_PIN/${ADMINPIN})})
same => n,GotoIf($[${DB(ONEIF_NET/CONF_ADMIN_PIN)}=${ADMINPIN}]?valid:invalid)
== Using SIP RTP CoS mark 5
-- Executing [7998@hq_oneif_net_priv:1] Goto("SIP/oneif-tma-bria1-00000288", "oneif_net_confbridge,start,1") in new stack
-- Goto (oneif_net_confbridge,start,1)
-- Executing [start@oneif_net_confbridge:1] Answer("SIP/oneif-tma-bria1-00000288", "") in new stack
-- Executing [start@oneif_net_confbridge:2] Wait("SIP/oneif-tma-bria1-00000288", "0.5") in new stack
-- Executing [start@oneif_net_confbridge:3] SayText("SIP/oneif-tma-bria1-00000288", "Conference bridge administrator login") in new stack
-- <SIP/oneif-tma-bria1-00000288> Playing 'cepstral-cache/7ebcbb8a16762babf62613d36028c206.slin' (language 'SIP/oneif-tma-bria1-00000288')
-- Executing [start@oneif_net_confbridge:4] SayText("SIP/oneif-tma-bria1-00000288", "After the beep. Please enter your administrator PIN followed by the pound sign)") in new stack
-- <SIP/oneif-tma-bria1-00000288> Playing 'cepstral-cache/ff310c1c62741c0c034434c5e26732a6.slin' (language 'SIP/oneif-tma-bria1-00000288')
vlans {
pvlan {
vlan-id 1000;
##
## Warning: statement ignored: unsupported platform (srx240b)
##
no-local-switching;
tyler@oneif-nepho1:~$ virt-viewer -c qemu:///system oneif-dav1
(virt-viewer:21422): Gtk-WARNING **: cannot open display:
begin
raise if RUBY_VERSION.to_f < 1.9
rescue Exception
errmsg =<<-ERRMSG
NetConfig requires ruby 1.9 or greater to run. Please upgrade your ruby
installation.
ERRMSG
exit 1
end
[net_config (Story21505641)]$ cat autotest/discover.rb
Autotest.add_discovery { "rspec2" }
#Autotest.add_discovery { "cucumber" }
[net_config (Story21505641)]$ gem list | grep autotest
autotest (4.4.6)
autotest-fsevent (0.2.7)
autotest-growl (0.2.16)
autotest-rails-pure (4.1.2)
autotest-standalone (4.5.8)
Question 1: Is j-flow ONLY available in flow mode as this doc describes? I believe this is a documentation error?
Question 2: MPLS is stated elsewhere to REQUIRE packet mode operation. Below, it says that flow
mode is effectively a superset of packet mode. Is this a Juniper documentation error?
The following is a snippet from the Juniper doc "APPLICATION NOTE - Branch SrX Series and J Series Selective Packet Services":
Traffic is processed by the packet-based forwarding module providing all of the following services:
• routing
• Quality of service (QoS)
#users file
oneif Cleartext-Password := "oneif"
rad_recv: Access-Request packet from host 172.16.30.240 port 2066, id=3, length=156
User-Name = "b88d123ec628"
User-Password = "b88d123ec628"
NAS-IP-Address = 172.16.30.240
Called-Station-Id = "64-00-F1-16-18-3D:hinds-wlan1"
Calling-Station-Id = "B8-8D-12-3E-C6-28"
NAS-Port-Type = Wireless-802.11
sudo virt-install -v --connect qemu:///system --vnc --vnclisten localhost --noautoconsole --bridge=br0,model=virtio -n hinds-virt1 --hvm --arch=x86_64 --os-type=windows --os-variant=win2k8 --vcpus=2 -r 2048 -c /opt/vm_os/w2k8r2/w2k8r2_ent.iso --disk /opt/vm_os/virtio-win-1.1.16.vfd,device=floppy --disk /opt/vm_os/hinds-virt1.qcow2,size=25,bus=virtio --accelerate --force -v