Asterisk Flash Operator Panel Config

Posted in general with tags , , , , , on June 2, 2008 by deadwait

 

I have just set Flash operator panel for our asterisk box, i tested the same on virtualbox and shifted it on to a spare linux box which acts as a proxy, im using abyss webserver for serving purposes. Foll configs might be useful .

OPSERVER CONFIG

[general]

use_amportal_conf=0;

manager_host=44.44.44.44

manager_port=5038

; user and secret for connecting to * manager

manager_user=deadwait

manager_secret=waitdead

event_mask=call, on, off, 

auth_md5=1

flash_dir=/home/deadwait/abyssws/htdocs/panel

security_code=passw0rd

 

 

OPBUTTON 

 

#[SIP/2220]

#Position=17            ; Position ‘n’ will be the next available

#Label=”khairulla”  ; %0a is the new line character

#Extension=2220

#Context=fromiax

#Icon=1

#Server=0              ; If you omit the Server, it will default to 1

 

[SIP/2213]

Position=3            ; Position ‘n’ will be the next available

Label=”Team 4″  ; %0a is the new line character

Extension=2213

Context=fromiax

Icon=1

Server=0              

 

[SIP/2203]

Position=5            ; Position ‘n’ will be the next available

Label=”Team 3″  ; %0a is the new line character

Extension=2203

Context=fromiax

Icon=1

Server=0  

 

#and so and so forth just notice the position numbers ”   

 

[IMAGE]

src=logo.jpg

x=30

y=30

 

OPSTYLE 

 

[general]

dimm_noregister_by=20

dimm_lagged_by=60

 

enable_animation=1

shake_pixels=2

show_borders=0

enable_label_background=0

enable_crypto=0

use_embed_fonts=1

 

; colors for led states

ledcolor_ready=0x00A000

ledcolor_busy=0xA01020

ledcolor_agent=0xD0d020

ledcolor_paused=0x000000

 

; Settings for the button (rectangle)

btn_width=90

btn_height=50

btn_padding=4

btn_line_width=2

btn_line_color=0x000000

btn_fadecolor_1=ccccff

btn_fadecolor_2=ffffff

btn_round_border=8

btn_highlight_color=ff0000

 

; Settings affecting the button label

label_font_size=8

label_font_family=Verdana  ; only valid when use_embed_fonts is disabled

label_font_color=000000

label_shadow_color=dddddd

label_margin_top=30

label_margin_left=40

label_shadow=1

label_extent_x=15  ; If the label does not fit horizontally, increase this number

label_extent_y=0

 

 

; Settings affecting the button clid

clid_font_color=00dd00

clid_font_size=9

clid_centered=1

clid_font_family=Verdana

clid_margin_top=15

clid_margin_left=25

 

; Settings for the timer

timer_font_color=4000ff

timer_font_size=9

timer_font_family=Courier

timer_margin_top=48

timer_margin_left=4

 

; Settings for the oval led

led_scale=30

led_margin_top=35

led_margin_left=10

 

; Settings for the arrow

arrow_scale=40

arrow_margin_top=8

arrow_margin_left=8

 

; Settings for icons

icon1_margin_top=10

icon1_margin_left=-7

icon1_scale=14

 

; Settings for Status Bar at the top

show_security_code=1

show_clid_info=0

show_btn_help=3

show_btn_debug=0

show_btn_reload=2

show_status=4

 

 

Advertisements

Lambda Tube

Posted in general with tags , , , , , , , , , , on May 26, 2008 by deadwait

As you know i have just started learning programming ( i mean really learning “programming” ) to the best of my abilities, i was searching for some real world programs made with scheme, coz as i was reading the net you get lot of very smart people telling that learng lisp/scheme will open your mind but then its like generally learn this and then use the techniques or methodology to program in some other language.

Now why would i want to do that?

Anyways i found this program Lambda-tube at http://code.google.com/p/lambda-tube/

a youtube browser which is written in PLTScheme, it actually browses youtube for you and then downloads the songs you choose, when i first downloaded and checked it a week back, it had no proxy support, hence i could not check it at work, i raised a issue on the website and the author Abhishek Mishra reverted back stating that he would add the feature in a few days, today i got the mail that the proxy feature is added, i downloaded it once again and reinstalled on top of the earlier version itself, added the proxy server and port and tried but it didnt work , in the sense i could browse but couldnt download , just restarted the program and it started and i have already downloaded around 20 videos — the only bad point about this program now is that it is too easy hence very addictive , i just couldnt stop browsing and downloading.

Anyways once i complete concrete abstractions by Max Hailperin , i hope to browse through the code of Lambda-tude for better understanding.

Learning Scheme Programming

Posted in general with tags , , , , on May 21, 2008 by deadwait

I am finally taking the plunge and learning programming, i am using the book Concrete Abstractions by Max Hailperin , which is available online here —> http://gustavus.edu/+max/concrete-abstractions.html

I had begun with practical common lisp but then diverted to this book.

The reason i want to learn is that i want to sit down and make my own Network Monitoring System,

nothing groundbreaking , just something i would have total control of but i want to add intelligent troubleshooting integrated into it, i can already do a lot of this using Ruby’s Net/telnet library, but then things just work in it, I dont know how and i need to know , im tired of being so kludgy and just copy pasting scripts from here and there to get my work done.

why am i not learning ruby itself ?

well i did start of from there with some online tutorials but it leaves many questions unanswered to me,

now i am not from a computer science background at all, and it is just the last two years that i have been working as a network engineer so maybe it is that’s why , that i just dont ” get ” things, it’s very frustrating especially when even kids find it so easy nowadays .

Im touching 29 now , does anybody even start learning programming at this age ? oh , why oh why, did i waste my youth ? stupid snooker parlours robbed me of a education . oh fuck it , i did enjoy those years though.

whatever, i hope to learn scheme now and then use only scheme , not try it with ruby or something like that.

i want to learn programming now , not learn it just to make a program i think is useful for me.

lets see what happens, will i give it up like everything i give up before ? i hope not .

ill try and post everyday where i stand.

IP MTU

Posted in Cisco on March 25, 2008 by deadwait

Well, this is something i have never really understood but the route-map clear-df did solve a lot of my client issues.

keep this link is mind as it could answer many of your client application issues .

http://www.cisco.com/en/US/tech/tk827/tk369/technologies_white_paper09186a00800d6979.shtml 

nice little rumba piece – hersoveela

Posted in general on February 7, 2008 by deadwait

Take Five – Paul desmond of the Dave brubeck quartet

Posted in general on February 7, 2008 by deadwait

argus network monitor

Posted in general on December 18, 2007 by deadwait

Man, i got tired of trying to install nagios or opennms or zenoss or zabbix or hyperic or groundwork i mean like wtf can installs just be simple for poor idiots like me. But then i found argus available at http://argus.tcp4me.com

Im still going through configuring but its such a relief, all i wanted was s simple ping monitoring software and finally i got it. Im sure i’ll be writing more about it in the days to come.