root/trunk/UPGRADE

Revision 81, 19.8 kB (checked in by root, 6 months ago)

Update docs

Line 
1 Notes on upgrading from an older release
2 ========================================
3
4 o Upgrading from version .28 to .29:
5
6     No special features, just bugfixing and serving the policy file
7     from op_server.pl for newer flash clients.
8
9 o Upgrading from version .27 to .28:
10
11     New parameters in op_buttons.cfg
12
13         SpyExt=100@spy
14             It lets you specify an extension@context to triger a chanspy
15             action for that call when dropping your phone over the Arrow
16
17         no_label_counter=1
18             To not show increment counter when specifying multiple
19             positions for a button.
20
21     New experimental button type [DID/5555555]
22         It will try to match Freepbx FROM_DID incoming calls
23
24
25         New paramter "passvars" in op_server.cfg to pass extra values to
26     popups. It will pass the variable that is set to the channel via Set
27     in the dialplan before dialing to it in the GET request on the popup.
28
29 o Upgrading from version .26 to .27:
30
31     ASTDB checks were changes. Now you have to enable it per button using
32     "astdbkey". Just add that parameter to the button you want to make the
33     check with the appropiate key to check for, eg:
34
35         [SIP/10]
36                 Position=1
37         Astdbkey=10
38         ...     
39
40     You can specify the callerid name in clid_format under op_server.cfg
41     so you can choose to display the name, number or both, like:
42
43         clid_format=${CLIDNAME} XXX-XXX-XXXX
44
45     New parameter in op_buttons.cfg
46
47         groupcount
48             If set to 1, will show number of channels in use for
49             the button instead of the last callerid. Useful for
50             trunk buttons.
51
52     New button type
53
54         [IMAGE]
55             To draw a jpg image anywhere on the screen, see op_buttons.cfg
56             for an example
57
58
59     New parameter in op_style.cfg
60
61         clid_centered
62             If set to 1, it will try to center the clid display
63
64         nomail_alpha
65             Amount of alpha to apply to MWI when there is no voicemail
66
67         show_borders
68             Enable or disable border to button legend (useful for debuging
69             layout config)
70
71         label_extent_x
72         label_extent_y
73             If the label does not fit horizontally or vertically, increase
74             these numbers
75
76
77 o Upgrading from version .25 to .26:
78
79     New DTHML client. The directory structure on the tarball has changed
80     to accommodate the new DHTML client. The former html subdirectory was
81     renamed to flash, and the new client is inside the dhtml subdirectory.
82    
83     The new DHTLM client works in a similar way to the flash client, it has
84     a couple of scripts that read the same config files than the flash
85     version to draw the buttons. It is not yet complete but it mostly works.
86
87     New parameter in op_style.cfg:
88
89         shake_pixels
90             Sets the number of pixels to shake the icon when ringing
91
92         dimm_noregister_by
93             Ammount of alpha dimm to apply when channel is not registred
94
95         dimm_lagged_by
96             Ammount of alpha dimm to apply when channel is lagged
97
98     New parameters in op_buttons.cfg:
99
100         VoiceMailExt
101             To set the extension@context to use when transferring directly
102             to voicemail
103
104         Background
105             To specify a jpg image to use as button background. You have to
106             set No_rectangle=true on that button for the background to become
107             active. The .jpg file should be of the same size as the button width
108             and height as specified in op_style.cfg
109
110         Privacy
111             If set to true, it won't display caller id or dialed number info
112             for that button.
113
114 o Upgrading from version .24 to .25:
115
116     Queue buttons now must be defined as:
117
118         [QUEUE/SUPPORT]
119
120       With this new syntax, queue names with numbers
121       only as used in AMP will work without collisions.
122
123       You have to rename all queue buttons in your config
124       file to use the new syntax or they won't work.
125
126     Added some attributes to LEGENDS in op_buttons.cfg:
127
128        URL       
129        TARGET
130        NO_BASE64
131
132        If set, the legend will become an hyperlink to URL@TARGET
133        If NO_BASE64 is set, the text won't be encoded
134
135     Added attributes to any button in op_buttons.cfg:
136
137         URL
138         TARGET
139        
140         If set, it will add an hyperlink to the button label pointing
141         to that URL and opening it inside TARGET.
142
143     Added enable_label_background to op_style.cfg
144
145         This parameter will set the background color to the button label
146         to the same colors as the led. You can use it together with
147         "no_rectangle" in the buttons and Icon=0 and a small width, height
148         and font to fit hundreds of buttons on one screen. I was able to
149         fit 630 buttons (but only for monitoring as you don't have the led
150         or icon to transfer or hangup calls)
151
152     Added dimm (alpha) for noregistered and lagged buttons to op_style.cfg
153
154         dimm_noregister_by=20
155         dimm_lagged_by=60
156
157     Added listen_addr keyword
158       If you want op_server.pl to bind to only one IP address instead of
159       all avaialbe addresses.
160
161     Added manager_port keyword
162
163       If your manager is not running on the default port, you
164       can specify the port now for each connection with this
165       option. Example:
166
167          manager_port  = 5039
168
169     Added support for astmanproxy
170
171       In op_server.cfg you have to defined the astmanproxy host & port
172       (the ip address where astmanproxy is listening) & server (the
173       same ip or name you use in astmanproxy.conf). If you
174       monitor more than one asterisk server trough astmanproxy, you
175       will have to enumerate them using the astmanproxy_server keyword.
176       Example:
177
178         astmanproxy_host   = 127.0.0.1
179         astmanproxy_port   = 1234
180         astmanproxy_server = 192.168.10.1
181         astmanproxy_server = 192.168.10.2
182
183     Added buttons for MEETME participants. Just specify more
184     than one position for a meetme button and they will show
185     meetme participants indiviually as they join or leave the
186     conference.
187
188     Added [QUEUEAGENT] buttons. They will be taken by static
189     or dynamic queue members automatically.
190
191     Added buttons for QUEUE positions. Just specify more than
192     one position for the button and they will show each queue
193     position instead of a queue summary
194  
195
196 o Upgrading from version .23 to .24:
197
198     Nothing new, just a bug fix release in op_server.pl
199
200 o Upgrading from version .22 to .23:
201
202     Client and server must be upgraded or it will not work well.
203
204     Internationalization support:
205
206        Parameter ADDED to op_server.cfg:
207
208            language
209
210        To set the language to use in the general section
211        and optionally in every panel context defined.
212
213        The language files are named op_lang_XX.cfg where XX is the
214        language to use defined in the language option.  Each panel
215        context might have  a distinct language. The default language
216        is 'en' (english).
217
218        You can create your own language file. If you do, please
219        send it back to me so I can include it in the tarball.
220        Some strings include variables, they are represented as
221        $1 and $2. You can ommit the variables or use them as you
222        see fit.
223
224        The help file is now called help-XX.html. Be sure to add that file
225        or rename the one you have. Please contribute with translations or
226        beautifying them if you can.
227
228     Parameters REMOVED from op_style.cfg (they were moved to the language
229     configuration file):
230
231         clid_label
232         detail_title
233         detail_from
234         detail_to
235         detail_duration
236
237     Parameters ADDED to op_style.cfg (to set the button label color, the
238     button label shadow color, and the clid text color):
239
240         label_font_color = 000000
241         label_shadow_color = FFFFFF
242         clid_font_color = 00DD00
243         timer_font_color = 200070
244
245     New option for LEGENDS in op_buttons.cfg
246
247         font_color = 102030
248
249     Support for command line options. Run op_server.pl with --help to
250     see the available options
251
252
253 o Upgrading from version .21 to .22:
254
255     Just replace op_server.pl that has minor bugfixes
256
257 o Upgrading from version .20 to .21:
258     New configuration file: op_astdb.cfg used to monitor asterisk
259     db values and change states for a button based on them.
260
261     New option: voicemail_extension parameter in op_server.cfg.
262     If set, FOP will originate a call to that extension when
263     double clicking on the MWI icon.
264
265     The PARK buttons are now specified as PARK/XXX
266     instead of PARKXXX to make it more consistent with
267     channel naming conventions. The old name will still
268     work.
269
270     To enable agent_status (displays agent idle
271     time and refresh queue status after each
272     call). In op_server.cfg:
273
274         agent_status=1
275
276
277     If there is a background.jpg image in the same
278     directory as the swf file, it will be used as
279     the background for the panel. Resolution: 996x600
280
281     The syntax for wildcard buttons has changed, if
282     you have [SIP/*] change it to [_SIP/.*]
283     The new matching routine allows full regexps to
284     be used. To use regexps buttons start them with
285     an underscore followed by your expression.
286
287     To disable the security code, leave it blank. In
288      op_server.cfg:
289         security_code = ""
290
291     To enable timeout on transfers, you have to set the
292     transfer_timeout paramenter to op_server.cfg
293
294     You can set the reload button to perform an asterisk
295     restart if you set enable_restart to 1 in op_server.cfg
296
297 o Upgrading from version .19 to .20:
298
299     You can define the server number of a button in op_buttons.cfg
300     using the 'server' directive. If you leave it empty, it will
301     default to Server=1
302
303     To monitor more than one asterisk box, just repeat the sequence of
304     connection parameters in op_server.cfg
305
306          ; Server 1
307          manager_host=1.2.3.4
308          manager_user=john
309          manager_secret=doe
310
311          ; Server 2
312          manager_host=1.2.3.5
313          manager_user=mary
314          manager_secret=poppins
315
316     To add text legends, the format is:
317
318         [LEGEND]
319         x=535
320         y=50
321         text=Conferences
322         font_size=32
323         font_family=Arial
324         use_embed_fonts=1
325
326     To add park slot buttons, the format is:
327
328         [PARK701]
329         Position=17
330         Icon=3
331         Extension=700
332         Label="Park 701"
333
334     You can specify the mailbox for a button with the mailbox parameter:
335
336         [SIP/100]
337         Position=1
338         Mailbox=100@default
339         ...
340
341     The 'old way' still works, by using the combination of Extension and
342     Voicemail_Context. I recommend you to use the new format as it is more
343     flexible (you can monitor a mailbox independant from the extension of
344     that button).
345
346
347     New directives in op_server.cfg
348
349        rename_label_wildcard
350       barge_muted
351       clid_privacy
352       show_ip
353
354 o Upgrading from version .18 to .19:
355
356     In op_style.cfg there is a new paramter to confgure the
357     highlighting color for the buttons:
358
359       btn_highlight_color=ff0000
360
361 o Upgrading from version .17 to .18:
362
363     The default .swf client is now the ming port. The new features
364     are available only in the ming port. The flash .swf is included
365     but it was not tested.
366
367     In op_style.cfg there are new parameters (to configure led colors):
368
369       ledcolor_ready
370       ledcolor_busy
371       ledcolor_agent
372
373     The parameter led_color is not used anymore. (It is used by the
374     flash client only, not the default ming client)
375
376     In op_server.cfg there are new options too (all commented in
377     op_server.cfg itsef):
378
379       rename_label_agentlogin
380       rename_label_callbacklogin
381       rename_to_agent_name
382       rename_queue_member
383       change_led_agent   
384       clicktodial_insecure
385
386     It is possible now to draw rectangles, see op_buttons.cfg for
387     an example.
388
389     If you use click-to-dial, the button used to originate the call
390     must be specified when invoking the .swf file. The parameter used
391     is 'dial'. See index-clicktodial.html for an example.
392
393 o Upgrading from version .16 to .17:
394
395     Just replace op_server.pl and your favorite .swf client. Its
396     mostly a bug fix release. The new features do not require
397     configuration changes.
398
399 o Upgrading from version .15 to .16:
400
401     The help window is now a browser windows that loads help.html
402     (instead of being a flash window that loads the help.txt file)
403     So you need to put a help.html page in the same location as the
404     .swf file.
405
406     There are a couple of new parameters. In op_server.cfg
407
408        poll_voicemail
409
410          Will check for voicemail status every poll_interval seconds.
411          Remeber that poll_interval will also check for sip peers.
412
413        rename_label_agentlogin
414        rename_label_callbacklogin
415
416          Both parameters acomplish the same goal: to rename a button
417          label when an Agent logs in. One of them works with the regular
418          AgentLogin application. The other one with AgentCallbackLogin.
419          For the later, you need to have a button with the same extension
420          and context for the callback for it to work.
421
422     There is also a new parameter in op_style.cfg
423
424         enable_crypto (1 for enable, 0 for disable)
425
426           If you want to encrypt server to client messages, turn this on.
427
428 o Upgrading from version .14 to .15:
429
430     The format of the configuration file is different. You have to
431     run ./convert_config_pre_14.pl in order to convert your old
432     configuration files to the new format. The conversion utility
433     must reside in the same directory as the old configuration files:
434
435        op_server.cfg
436        op_style.cfg
437        op_buttons.cfg
438
439     When you run the conversion routine, it will backup your old
440     configuration files and do its thing. Just in case, backup the
441     files yourself. The conversion program does not have extensive
442     error checking.
443
444     The barge-in functionality has changed also. You no longer need
445     an auto_conference_extension in your dialplan. The panel will
446     keep track of the conferences itself. You *do* need to add the
447     conference room numbers that must be used for barge-in. The
448     conversion routine adds the parameter, you have to modify it to
449     suit your needs. The new parameter (in op_server.cfg) is:
450
451         barge_rooms
452
453     It must have at least two rooms defined, with the format:
454     "minor-major". Those rooms must be defined in your extensions.conf
455     under the context defined by conference_context. The extension
456     number must match the meetme room number. See op_server.cfg for
457     an example.
458
459     To authenticate using MD5 to Asterisk Manager you can add the parameter
460     auth_md5=1 in op_server.cfg. It is enabled by default.
461
462     There are new parameter in op_style.cfg:
463
464         enable_animation: it will animate the phone icons when ringing.
465
466         use_embed_font: lets you choose between embed fonts or system fonts.
467
468         (1 for enable, 0 for disable)
469    
470
471 o Upgrading from version .13 to .14:
472    
473     In Asterisk RC1, the IAX naming convention has changed. There are
474     no more brackets in IAX2 channel names. If you run RC1 (try it!)
475     you will have to name your IAX2 channels like:
476
477       IAX2/user
478
479     You will have to rename your op_buttons.cfg if you use IAX2 channels.
480
481     The code for handling the previous naming convention is still there
482     but I have not tested it. It might or might not work.
483
484     There are new elements in op_style that affects the button style:
485
486        arrow_scale
487        arrow_margin_top
488        arrow_margin_left
489
490        The above parameters indicate the size and position of a little
491        arrow that shows the 'direction' of the call.
492
493        detail_title=Last call details
494        detail_from=From:
495        detail_to=To:
496        detail_duration=Duration:
497
498        These four parameters are for setting the text displayed in the
499        detail box when you double click on the little arrow after a call
500        is made.
501
502        led_color
503
504        The color scheme for the available/busy led.
505          0 for leds green/red. (default)
506          1 for leds grey/green
507
508        label_shadow
509
510        You can add a shadow to the text label
511          0 for disabling the shadow (default)
512          1 for enabling the shadow
513
514
515     There is a new parameter in op_server.cfg:
516
517       clid_format
518
519         This mask will apply to the callerid field to format the
520         number as you see fit. Every 'x' will be replaced by a number
521         from right to left. Any other char will be preserved. Ex:
522     (xxx) xxx-xxxx
523
524 o Upgrading from version .12 to .13:
525
526     For the timer to work, you need to add four new parameters to
527     op_style.cfg
528
529        timer_font_size
530        timer_font_family
531        timer_margin_top
532        timer_margin_left
533
534 o Upgrading from version .11 to .12:
535
536     There are 4 new parameters in op_style.cfg for the caller id
537     display on each button.
538
539         clid_font_size
540         clid_font_family
541         clid_margin_top
542         clid_margin_left
543
544 o Upgrading from version .10 to .11:
545
546     There are no new parameters in the configuration files. Your .10
547     configuration should work fine with version .11
548
549     The debug level bitmap is now different:
550
551        1   Show Manager Events Received
552        2   Show Commands set to Manager
553        4   Show Flash events Received
554        8   Show events sent to Flash Clients
555        16  1st level Debug on op_server.pl
556        32  2nd level Debug on op_server.pl
557        64  3rd level Debug on op_server.pl
558
559 o Upgrading from version .09 to .10:
560
561     There are 2 new parameters in op_style.cfg for a new element
562     in the toolbar (a reload button)
563
564     btn_reload_label
565     show_btn_reload
566
567
568 o Upgrading from version .08 to .09:
569
570     The debug level (op_server.cfg) is now a bitmap. Now you have more
571     control of the output produced by debug. The possible values are:
572
573        1   Show Manager Events Received
574        2   Show Commands set to Manager
575        4   1st level debug on op_server.pl
576        8   2nd level debug on op_server.pl
577        16  3rd level debug on op_server.pl
578
579     If you want full debug, set the value to 31 in op_server.cfg
580     If you want to see just the events received and sent, set it to 3 (1+2)
581
582     The fade matrix for the buttons is slightly different. Its the first
583     step towards a visual button layout configurator.
584
585 o Upgrading from version .07 to .08:
586
587     The offset and size of the icons have changed. You will need to adjust
588     your op_style.cfg. Now all the icons are aproximatly the same size and
589     have the same center offset, so the margins and scale parameters will
590     match from icon to icon. New layout configurations should be simpler.
591
592     There are several new parameters in op_style.cfg, related to the 
593     configurability of the toolbar. You have to add them in your current
594     configuration, if you don't do it you will not see any toolbar. The
595     parameters to add are:
596
597         clid_label=Extra Info:
598         security_label=Security Code:
599         btn_help_label=Help
600         btn_log_label=Debug
601         show_security_code=1
602         show_clid_info=2
603         show_status=3
604         show_btn_help=4
605         show_btn_debug=5
606
607     The number in show_xxx represents the order in which it is rendered. If
608     you want to hide an element of the toolbar, set it to 0.
609
610 o Upgrading from version .06 to .07:
611
612     There are two new parameters in op_server.cfg:
613
614         auto_conference_extension = 900   
615         conference_context = conferences
616
617     Add them to your existing configuration file. In op_server.cfg there are
618     also examples of asterisk configuration files to use the 3way auto
619     conferences.
620
621 o Upgrading from previous versions:
622
623     There are three new parameters in op_sytle.cfg and a new one in
624     op_buttons.cfg. See CHANGES. Just add those parameters to your current
625     config files, and replace op_server.pl with the new one. The fixed 24
626     buttons flash movie does not support voicemail notifications. There is a
627     new index.html that scales the applet to the size of the browser window.
628     Try it and use the one you like more.
Note: See TracBrowser for help on using the browser.