DaveSW 15 Master Poster

Settings to connect a Cisco 7960 handset running SIP firmware to SIPGATE UK

Moderators: I actually came on here to post these settings on the blog I used to have on here but which seems to have disappeared, so I'm dropping this in here in the hope these settings will be useful to someone else, or more likely me in 6 months time when I've forgotten how I did it! If it's not appropriate here please let me know where to put it!

The Cisco 7960 is one of the nicest looking phones, supporting 6 lines when configured with SIP firmware. This is available from Cisco or from selected mirrors.

I found jtech.net and wiki.elchtest.eu useful very useful. ;)
I am using SIP firmware P0S3-07-4-00 as you can see from the default file.

Please note all the settings are configured to the 2nd button :) switch it to the first if you wish. I did find a slight lag in the conversation but a little tweaking or a faster internet speed might help with this.

The SIPDefault.cnf file

# SIP Default Generic Configuration File 
 
# Image Version
image_version: P0S3-07-4-00

# Proxy Server
proxy1_address: ""		; Can be dotted IP or FQDN 
proxy2_address: "sipgate.co.uk"		; Can be dotted IP or FQDN
proxy3_address: ""		; Can be dotted IP or FQDN
proxy4_address: ""		; Can be dotted IP or FQDN
proxy5_address: ""		; Can be dotted IP or FQDN
proxy6_address: ""		; …
DaveSW 15 Master Poster

I've spent days tearing my hair out and searching the web! Why? Simply because google checkout has little regard for UK VAT...

After much searching I reached the stage where I could display the line '(VAT included £0.00)' on the sandbox checkout page, but I couldn't change the amount!

The answer is simple. Complete the integration to the full checkout, and the number will be calculated... It appears they just couldn't be bothered to do the maths in the sandbox version!

So, if you're having trouble with Google Checkout and VAT, don't worry about it, just set up the proper account and go with it.

Here's the code I used:

<input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.name" value="Courier">
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.price" value="5"> 
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.price.currency" value="GBP"> 
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allowed-areas.postal-area-1.country-code" value="GB"> 
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.shipping-methods.flat-rate-shipping-1.shipping-restrictions.allowed-areas.postal-area-2.country-code" value="IE"> 
 
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.tax-tables.default-tax-table.tax-rules.default-tax-rule-1.rate" value="0.175"> 
    <input type="hidden" name="checkout-flow-support.merchant-checkout-flow-support.tax-tables.default-tax-table.tax-rules.default-tax-rule-1.tax-area.postal-area.country-code" value="GB">
 
    <input type="hidden" name="_charset_"/>

http://checkout.google.com/support/sell/bin/answer.py?answer=71391

Hopefully this entry will appear in google soon to save people like myself going prematurely bald...

Dave

DaveSW 15 Master Poster

quote from jwenting
But you can't blame Microsoft for that as they give customers the mechanism to automate that process, an mechanism many people refuse to use for some unfounded fear that Microsoft uses it to "spy on them" or something.

Considering all the updates I've been getting recently titled 'Windows Genuine Advantage validation tool' I think some of those fears might be quite well founded.
I know my copy of windows is legal. I don't need to download monthly checks to find out if it's suddenly changed.

DaveSW 15 Master Poster

Most of my wifi installations are in student digs, where you never know what the people in the next rooms get up to, so I guess that influences my outlook lol.

Wifi is essential in those situations because most owners don't want holes drilled in their walls.

I'd say that if you're in a quiet town or village where you know your neighbours, wep is all you need.

If your in a city, large town, rental accomodation etc, you need something a bit more secure like WPA, just in case.

WEP cracking utilities are far too freely available for my liking. Still, at least only some wifi adaptors are supported - otherwise every kid would have a go!

DaveSW 15 Master Poster

Please be aware that none of the techniques you've described will prevent a hacker entering your network.

SSIDs can be sniffed easily, whether they're broadcasted or not. Because the packets are still flying throught the air, a passive sniffer will collect and identify the ssid within minutes.

The WEP encryption algorithm is fundamentally flawed, and can be broken in approx 3 minutes, as demonstrated by the FBI and now used by most hackers.
WPA is far stronger, particularly if you use a secure password. If you're setting up a new wireless network it's worth looking for hardware that supports WPA.

MAC addresses are broadcasted in every packet, so sniffing software will again enable anyone who really wants to get in to spoof your mac address and make the router think they are you.

If you really want to secure your network, then you need WPA with a secure password - see the secure password generator at https://www.grc.com/passwords

However if all you want to do is stop your next door neighbour accidentally using your access point, I guess WEP, MAC address filtering or not broadcasting your SSID will do the trick.

DaveSW 15 Master Poster
DaveSW 15 Master Poster

I just can't believe they've ignored it right from day dot...
Says a lot about them as a company.

DaveSW 15 Master Poster

This vulnerability apparently affects the way windows itself handles wmf files, so using firefox doesn't protect you.

DaveSW 15 Master Poster

The article isn't very clear, but it sounds like the .WMF exploit.
See the top announcement on GRC.com
http://grc.com/default.htm

You can get a temporary patch on
http://www.grc.com/sn/notes-020.htm
That page (scroll down) also lists all the background etc.

The official update is hoped for on the 10th of this month.

DaveSW 15 Master Poster

Any idea how many people share that line?

DaveSW 15 Master Poster

I was just thinking that the product idea sounded familiar...

DaveSW 15 Master Poster

Reese
This script requires PHP support on your server to work.
If you have PHP enabled, you copy and paste the script above into the page where you want it.
You will probably need to be in 'code view' or whatever the equivalent is in the software you are using.
You then have to rename the script to have a .php extension instead of a .htm or .html
Be aware that any other links to this page will need to be updated to reflect the name change.
Hope this helps you out
Dave

DaveSW 15 Master Poster

Very bad ;-)
Some browsers may actually listen to you and not bother to expand it, so I would suggest you simply set the size of your input element instead...

<INPUT TYPE="file" NAME="photo" style="width: 50px;">

Then you won't have to worry about setting the cell width or what size the upload element will be!

Regards
Dave

SergioQ commented: Helpful, without the snootiness that comes on a lot of newsgroups. Which is why I am growing to like DaniWeb +1
DaveSW 15 Master Poster

You really need a server side language to process forms.
If your server supports php you could use the attached mailer script by Ryan Brill of Infinity Web Design.

You then just set your form action to be the name of the php mail script file, and set the method to post.

DaveSW 15 Master Poster

Not sure what you're asking, but this link might help:
http://www.1976design.com/blog/archive/2003/11/14/shadows/

DaveSW 15 Master Poster

do you own the computers that will be using the domain?
As in, could you install software on them which forces the user to accept the terms and conditions before accessing the internet?

Or is it an 'open access' type arrangement?

DaveSW 15 Master Poster

Can you not use it in excel format?
Just link to somefile.xls and most people have excel and should be able to view it fine. There is a free viewer available from microsoft if you want to link to that.

DaveSW 15 Master Poster

There's a lot of questions in there...
% is related to the size of it's container, em relates to the font size.
To apply a background to all html files you need this in your stylesheet:
body { background: #fff url("image.gif") 0% 0% repeat-y;

There are innumerable variations of this - you can leave out the color, leave out the repeat to have it tile both ways, switch the 0% 0% to center, left, right, top, bottom...

I'm afraid the question in your second post has quite lost me...

DaveSW 15 Master Poster

Or go to start -> programs -> accessories -> notepad
Paste in your html code.
Save as java.html - remember to select 'all files and folders' in the file type below the filename box
Open in your browser.

You could also consider downloading html kit
http://www.chami.com/html-kit/

DaveSW 15 Master Poster
<?php
  $UA = $_SERVER['HTTP_USER_AGENT'];
  if ((!preg_match('#(opera)#si', $UA)) && (!preg_match('#(firefox)#si', $UA)) && (!preg_match('#(safari)#si', $UA)))
  {
  # IE stuff
?>

Missing } ?? or is that because of your edit?


Which mode is Opera in? Opera has an 'identify as IE mode' - on the quick preferences options.

DaveSW 15 Master Poster

>All they do is have a banner which grows and shrinks depending on the resolution. I think DaveSW was telling me this some time ago. Design in CSS also helps.

Me? would I tell anyone something like that? Well possibly... lol

You can specify the dimensions of your images as a %, which might help you to resize that middle graphic.

DaveSW 15 Master Poster

If the items inside your table cells are of fixed width then you need to ensure they're small enough to allow the table to shrink - I think some of your graphics are your limiting factor.

DaveSW 15 Master Poster

A lack of character encoding shouldn't cause your alert not to display, but try using

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

on your html page instead.

Can you post some code for us to see?

DaveSW 15 Master Poster

No problem ;)

DaveSW 15 Master Poster

there's a cross browser script for doing this which I've used on http://www.williamsons-oldham.co.uk/ - the front page

DaveSW 15 Master Poster

Does that mean you've spotted your style should be a class?

We all have those moments...

DaveSW 15 Master Poster

Anytime ;)

DaveSW 15 Master Poster

how complicated is your map? Simple stuff doesn't need much, but if you're doing something like http://www.cssplay.co.uk/menu/image_map.html then you need good software.

DaveSW 15 Master Poster

there's loads of stuff on google for it
http://www.google.co.uk/search?hl=en&q=freeware+image+map+creation&meta=
but I've no idea how good any of it is.

DaveSW 15 Master Poster

I think it'll be the browser version, not the version of windows, which is causing you problems. That is, IE5 or 5.5 on the 98 machine, and 6 on the XP machine?

There's no real reason why it should stop working.
What code are you using with it, and what do you intend it to look like?

DaveSW 15 Master Poster

Yes. You can apply color and other formatting, even within code blocks.

How exactly? I just tried the BB tags and it printed them as they were.

<td>[B]Bold bit in here[/B] </td>
DaveSW 15 Master Poster

Taking the last few lines of your page:

<map id="buscardtj" name="buscardtj">
<area shape="rect" alt="" coords="1,5,223,359" href="tjs.htm" title="" target="TJ's Business Card" onMouseOver="TJ's Business Card" onMouseOut="TJ's Business Card" onClick="TJ's Business Card" />
<area shape="default" nohref="nohref" alt="" />
</map>
</div>
</body>
</html>

There's a target in there!

Can I suggest using ordinary hyperlinks instead of image maps?

Just replace

<map id="buscardtj" name="buscardtj">
<area shape="rect" alt="" coords="1,5,223,359" href="tjs.htm" title="" [b]target="TJ's Business Card"[/b] onMouseOver="TJ's Business Card" onMouseOut="TJ's Business Card" onClick="TJ's Business Card" />
<area shape="default" nohref="nohref" alt="" />
</map>

and

<td align="center"><img src="buscardtj.gif" height="362" width="225" usemap="#buscardtj" style="border-style:none"></td>

with

<td align="center"><a href="tjs.htm"><img src="buscardtj.gif" height="362" width="225" alt="tj's business card" style="border:none"></a></td>

It's shorter to code, and easier to see what's wrong with it.

Also you could replace the style tag in each one with a single declaration in your head section.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Business Cards</title>
<style type="text/css"><!--
body { background: #0033ff; color: #ffffff; font-family: arial, sans-serif; font-size: 125%; text-align: center; }
h1 { font-size: 150% }
a { color: white; font-weight: bold; }
a:hover { color: #99ccff; }
td img { border: none; }
td { text-align: center; vertical-align:middle; }
--></style>
</head>
<body>
<div><h1>Business Card Design Services</h1>
<a href="index.html">Home</a>&nbsp;&nbsp;
<a  href="port.html">Portfolio</a></div>
<div><i>Click on a business card for a larger view</i></div>

<table>
<tr>
<td><a href="anns.htm"><img src="newbuscard2.jpg" height="203" width="355" alt="Ann's Business Card"></a></td>

<td><a href="freds.htm"><img src="SSLogo2.jpg" height="201" width="302" alt="Fred's Business Card"></a></td>
</tr>

<tr>
<td><a href="dads.htm"><img src="aebuscard.jpg" height="203" width="355" alt="John's Business Card"></a></td>

<td><a href="tjs.htm"><img src="buscardtj.gif" height="362" width="225" …
DaveSW 15 Master Poster

Some sample code without doctype: (coding in notepad on a uni computer, so missing all my usual assists!)

<html>
<head>
<title>hello</title>
<style type="text/css"><!--
ul ul { width: 100px; height: 4em; overflow: auto; }
--></style>
</head>
<body>
<ul>
<li>Hello <ul>
	<li>subitem1</li>
	<li>subitem2</li>
	<li>subitem3</li>
	<li>subitem4</li>
	<li>subitem5</li>
	<li>subitem6</li>
</ul></li>
</ul>

</body>
DaveSW 15 Master Poster

in the second level menu put a height and overflow:auto in. that should work, though I haven't tested it. You might need an extra div, but I'm not sure how that would validate...

DaveSW 15 Master Poster

you could try suckerfish drop down menus.
http://www.htmldog.com/articles/suckerfish/dropdowns/
but I guess you need to be familiar with the bar html to work with them.
You could just try searching google for javascript drop down menu. Putting the word free in helps too.

They are dhtml is javascript mixed with css, so yes to both.
You can have pure javascript ones, pure css ones (not much browser support) or a hybrid like the one I've linked to above.

DaveSW 15 Master Poster

Page breaks in html... not good...
Could you export to pdf? php can be used to create pdfs.

DaveSW 15 Master Poster

I know what it's going to look like in Firefox, so I concentrate on old IE...

DaveSW 15 Master Poster

and then will it accept the part I need bolded?

DaveSW 15 Master Poster

also on the second line you are missing a '>'.

<html> <head>

DaveSW 15 Master Poster

In the source code of this page: http://www.bestgraphicsbydesign.com/port.html
There is a target attribute in your image map on the tri-fold brochure.

Open the page in notepad, (open notepad then go file -> open, or right click and open with from the explorer window)

Then delete the bit I've bolded.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">

<html <head>

<title>Portfolio</title>

</head>
<body bgcolor="#0033FF" TEXT="white" LINK="white" VLINK="white">
<div align="center"><font face="arial">
<b><a href="index.html">Home</a>
</b>
<br><br>
<img src="portfolio.gif" usemap="#portfolio" style="border-style:none">

</div>
<div>
<map id="portfolio" name="portfolio">
<area shape="rect" alt="" coords="164,143,517,191" href="trifold.html" title="" target="Tri-Fold Brochure" onMouseOver="Tri-Fold Brochure" onMouseOut="Tri-Fold Brochure" onClick="Tri-Fold Brochure" />

<area shape="rect" alt="Business Cards" coords="168,58,483,105" href="buscard.html" title="Business Cards" onMouseOver="Business Cards" onMouseOut="Business Cards" onClick="Business Cards" />

<area shape="rect" alt="Marketing Brochure" coords="167,105,532,139" href="slide1.html" title="Marketing Brochure" onMouseOver="Marketing Brochure" onMouseOut="Marketing Brochure" onClick="Marketing Brochure" />

<area shape="rect" alt="Knights of Columbus" coords="164,191,517,231" href="kofc.html" title="Knights of Columbus" onMouseOver="Knights of Columbus" onMouseOut="Knights of Columbus" onClick="Knights of Columbus" />
<area shape="default" nohref="nohref" alt="" />
</map>
</div>
</body>

</html>

Alternatively you could open it with whatever you used to create the file, and delete whatever is in the target attribute from there.

The target attribute is used with framests, to open a link in another frame.

Are there any other specific links that you have a problem with?

DaveSW 15 Master Poster

Do you have the url available so we can take a look for ourselves?

DaveSW 15 Master Poster

I've seen a few solutions, but none particularly viable:

http://www.codeave.com/javascript/code.asp?u_log=7069
- you have to alt-ctrl-del to close it...

http://www.javascript-page.com/open2full.html
- not maximised, but not quite full screen either... IE only

Is there any particular reason why...

DaveSW 15 Master Poster

You might like to browse through the google results for a search for .3gp converter

http://www.google.co.uk/search?q=.3gp+converter

I think I saw 1 or 2 freebies in there.

DaveSW 15 Master Poster

I build my layout in IE5.5. Then I test in Moz and sometimes update. Then I add content and do a last minute testing round in Moz, Opera and IE6.

DaveSW 15 Master Poster

Would it be correct to say that you are asking us to answer your homework?

DaveSW 15 Master Poster

Whatever works for you... some people can proof read very quickly!

DaveSW 15 Master Poster

First off I can tell you your query has nothing to do with html...
This is a menu generated entirely by javascript, and without knowing what the variables stand for it would be difficult to recreate a new menu.

That said, some of the code looks as if it might have come from http://www.sothink.com/product/dhtmlmenu/
So you could head over there and download the demo...

DaveSW 15 Master Poster

Yeah - it's kind of tough to take a working machine and say "well it might not work when I've finished with it..."

DaveSW 15 Master Poster

Thanks Stretch28 - those look interesting.

DaveSW 15 Master Poster

I might put it up on ebay - there seems to be one or two on there now and again.