Welcome to my Blog

March 16th, 2009

Dear Visitors,

This is my Blog in English, I also have a Chinese blog here @ http://blog.jacobhere.com . And you are welcome to both.

Jacob Uncategorized

Get your COM/NET/ORG domain for $1.99 for 1st year and $6.99 for the 2nd year

March 31st, 2009

If you are looking for any domain name, make sure you don’t miss such a great offer from Yahoo, which i’s the cheapest offer I’ve seen.

1. You can buy a new domain (.com, .net, .org, .biz, .info, .us)  for $1.99 @ Small Business Yahoo! via this link http://smallbusiness.yahoo.com/domains/

2. Transfer the domain to Godaddy for $6.99 for the next year after 60 days.

Here are some rules for the transfer from Yahoo:

Transferring your domain? Follow these steps.

If you no longer want to manage your domain with Yahoo!, we strongly recommend transferring your domain to another provider before you cancel your Small Business plan. Trust us, following the steps below will save you headaches in the long run!

1Verify that at least 60 days have elapsed since you registered your domain.

In accordance with ICANN rules, you cannot transfer your domain to another provider until 60 days after your domain registration date.

2Unlock your domain.

For your security, locked domains cannot be transferred. To unlock your domain, click the Locked link at the bottom of this page. Important: If you’re not planning to transfer your domain, we recommend keeping your domain locked at all times. Why?

3Confirm your domain administrative contact email address.

Your new provider will send an email to your domain administrative contact to confirm your domain transfer. If you can’t receive the confirmation, you won’t be able to complete the transfer! Note that this email address may not be the same address at which you receive other Yahoo! correspondence.

4Write down your authorization code.

Your unique authorization code is displayed at the bottom of this page. Be sure to print this page or write down your code in a safe place — you’ll need it to transfer your domain to your new provider. Like a password, your authorization code should never be shared with others.

5Contact your new provider.

Now you’re ready to contact your new provider to begin the transfer process. Be sure to keep your authorization code handy, as your new provider will need it to verify the move.
Note: Some web hosting providers cannot manage domain registrations. If you’d like to use your domain with this kind of provider, do not cancel your plan — you’ll need a Yahoo! Domains plan to continue to manage your domain.

6Cancel your plan.

When your transfer is complete, we’ll send you an email confirming the transfer (you can also check this status with your new provider — the transfer should take about nine days). When you receive this confirmation, you’re ready to cancel your plan. Please note that you must actively cancel to stop paying for your service. Yahoo! does not automatically cancel your service when you transfer your domain.

For more information, please visit the help center or contact us anytime.

Jacob Computer Technology ,

Share My Dial Plan with vbuzzer and 0437 using SPA1001

March 30th, 2009

Let me share you my dial plan. I’ve setup 2 services with SPA1001. One is vbuzzer with a USA phone number, while the other is 0437 service from China from which I can have a Jilin phone number.

My vbuzzer dial plan:

(<*1:011861>xxxxxxxxxx|<*0:01186>xxxxxxxxxx.|<:1>[2-9]xxxxxxxxx|011xxxxxxxxxx.)

whit this dial plan, I can dial phone number in China starting with a “*”(Both Cell phone and regular phone). And I can dial US and Canada number without dial “1″. While dial other long distant call by dial “011″ first just like not using VOIP.

My 0437 dial plan:

(<:0516>8xxxxxxx|<:0>1[358]xxxxxxxxx|0xxxxxxxxxx.|<10086:952024>)

with this dial plan, I can dial local number without dial a regional code(0516), the phone numbers in my city are 8 digits, and begin with 8.

and I can dial a cell phone number without dial 0 first, for all cell phone number in China are begin with 13 or 15 or 18.

When I dial other numbers I must dial code first and the number, just like using a regular phone.

Dial 10086 means dial 952024 to check my phone account.

Jacob Computer Technology ,

How to auto adjust time/date setting of SPA-1001

March 30th, 2009

If you use a phone can display calling number and/or calling ID, the phone usually can display the calling time from the telephone line if your ISP provides this service. But if you use a voip adapter, you have no ISP, which means you must get time information from the adapter. But the default setting of most ATAs will give the phones wrong time. How to solve this problem? Please follow me! Take SPA-1001 as an example.

1. Login the web manager page of SPA1001, make sure you get the admin permission.  Then access the advantage page.

2. Click System label, find out the Optional Network Configuration part in the bottom of this page.

3. Fill in Primary NTP Server and/or Secondary NTP Server with your NTP server address. I use 210.72.145.44 and it works.

4. Click Regional label, find out the Time Zone option in the bottom of this page and select your time zone. You can setup “Daylight Saving Time Rule” here if you have one.

5. Submit all changes and restart the ATA.

All Done! Please do remember call the ATA from inner or outer line to make sure your phone get the right time and date.

Jacob Computer Technology ,

How to solove post goes past sidebar (IE6) for iNove Theme

March 19th, 2009

Find this file ie6.css, you can find it in the theme folder.

And add these lines below to the end of the file. Save and refresh, you will find it is okay now. It will not affect other web browsers but ie6.

#main{overflow: hidden}
#caption {
	padding:23px 30px 21px !important;
	padding:23px 30px 20px;
}
#title{font-size: 160%;}

Jacob Computer Technology

I’ll go to Nanjing for a cuple of days

March 19th, 2009

I’ll go to Nanjing for a cuple of days, for some personal stuff, will be back for 2-3 days.

A train ticket to Nanjing

A train ticket to Nanjing

Jacob Daily Life

The Differences between Digit Map & Dial Plan

March 17th, 2009

In the last post Choice among Cisco PAP2 v2, Asus VP100, SPA-1001 and DVG-2001S, I mentioned I choose SPA-1001 because it support dial plan rather than digit map. I will explain what the differences between them.

First of all, a dial plan establishes the expected number and pattern of digits for a telephone number. This includes country codes, access codes, area codes and all combinations of digits dialed.

Digit Map is one type of dial plan.  It can only support 6 symbols, listed below.

Digit Map Syntax
To specify a
Enter the following
Result
Digit 0 1 2 3 4 5 6 7 8 9 * Identifies a specific digit (do not use #)
Range [digit-digit] Identifies any digit dialed that is included in the range
Range [digit-digit, digit] Specifies a range as a comma separated list
Wild card x x matches any single digit that is dialed
Wild card . . matches an arbitrary number of digits
Timer T Indicates that an additional time out period of 4 seconds should take place before automatic dialing starts

And here are some examples.

Digit Map Syntax Examples
For calls to
Users dial
Digit Map
Internal Extension a two digit number xx
Local Number 9 (if required for an outside line) and then a seven digit number 9xxxxxxxT
Emergency 911 911
Local Operators 9 (if required for an outside line) then 0 90T
Long Distance 9 (if required), 1, area code and local number 91xxxxxxxxxx
International 9 (if required), 011, any number of additional digits 9011x.T

For Digit Map:

[2-9]11|0T|100|101|011xxx.T|9011xxx.T|1[2-9]xxxxxxxxx|91[2-9]xxxxxxxxx|9[2-9]xxxxxx|*xx|[8]xxxx|[2-7]xxx

It means the following:

* [2-9]11: 911 rule: 211, 311, 411, 511, 611, 711, 811, 911 are dialled immediately
* 0T: Local operator rule: After dialing “0″ the phone waits T seconds and then completes the call automatically
* 100: Auto-attendant default extension
* 101: Voicemail default extension
* 011xxx.T: International rule without prefix
* 9011xxx.T: International rule with prefix
* 1[2-9]xxxxxxxxx: LD rule without prefix
* 91[2-9]xxxxxxxxx: LD rule with prefix
* 9[2-9]xxxxxx: Local call with prefix
* *xx: 2-digit star codes
* [1-7]xx: A regular 3 digit extension that does not start with 9 or 8 is dialed immediately
* [2-7]xx: A regular 3 digit extension that does not start with 9 or 8 or 1 is dialed immediately
* [2-7]xxx: A regular 4 digit extension that does not start with 9 or 8 or 1 is dialed immediately
* [8]xxx: A 3 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxx)
* [8]xxxx: A 4 digit extension prefixed with an 8 (routes calls directly to voicemail of extension xxxx)

============================================================

I found a post here to explain how dial plan works on PAP v1, it is the same as it works on SPA-1001. I copy some useful information in this post.

What is a Dial Plan?

A Dial Plan is a string of characters that governs the way your PAP2 processes inputs received from your telephone keypad. In North America for example, direct-dial long distance calls made from the Public Switch Telephone Network (PSTN – conventional land lines) are generally made in the following order:
1. ‘1′
2.’Area Code’
3. ‘Number’

On the other hand, if you happen to reside in Australia things are a little different. To call another long-distance location within Australia, you’d dial in the following format:
1.’0′
2.’Area Code’
3.’Number’

Now, let’s for argument sake say that you live in Australia, yet your VoIP service provider is based in North America (a very real scenario given the nature of the Internet!). Even though you’d normally dial ‘0′ + the ‘Area code’ and ‘number’ for your call to another destination within Australia, your VoIP service provider is expecting you to dial in the same fashion as you would had you been living in North America (e.g., to call a number in Australia, you’d dial ‘011′ (the international prefix) followed by ‘61′ (the country code for Australia) followed by the Area code and number. Herein lies the beauty of a dial plan – your PAP2 can be programmed to translate the local dialing and feature settings to which you’re accustomed to the format that your VoIP service provider is expecting to terminate the call. In other words, you can craft a dial plan that will enable you to dial local numbers on your VoIP connected phone in the same fashion as you would had you been dialing from a PSTN connected telephone, regardless of who or where your VoIP Service Provider is located.

Here’s an example dial plan that I use. Don’t be too concerned about what all the characters mean at this point – I’ll break it down shortly.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)

Most Session Internet Protocol (SIP) VoIP ATAs provide means for users to modify their dial plans. Whilst dial plans for Linksys/Sipura SIP ATAs will differ from say Leadtek devices, there are some commonalities between VoIP devices from differing manufacturers. Probably the best way to explain the basics of VoIP dial plans is to decipher a reasonably common one that you can adapt to suit your needs. I recommend that you follow along with a piece of paper and writing implement so that you can craft a custom dial plan string as you read. On that note, let’s revisit the example dial plan that I touched on briefly:
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)

There are three things that you need to know before we begin. Firstly, in the above example both my VoIP Provider and I are located in North America. Secondly, I live in Northern Alberta, Canada where the local area code is ‘780′. Third and finally, your PAP2 will interpret the dial plan in the order that it’s written (i.e., from left to right). In other words, if you dial a sequence of numbers that could ‘fit’ more than one section of the dial plan, the PAP2 will use the first numerical sequence that ‘fits’ in order to process your key inputs.

OK, let’s break down that previously mentioned dial plan and highlight the features that we’ll talk about in detail.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • (: To begin with, the entire dial plan must be enclosed within a pair of brackets ‘()’. So, go ahead and jot down an open bracket ‘(‘ on a piece of paper to begin.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • <:1780>[2-4]xxxxxxS0: This first component in this string is extremely useful. Let’s have a closer look:

<:1780>

This part of the dial plan is telling the PAP2 to replace any characters within the <> brackets before the :,with what’s written after the :. So in this case, there isn’t anything written before the :, yet 1780 is written after the :. So it’s telling the PAP2 to prefix all numbers that match the remainder of the dial plan string ([2-4]xxxxxxSO) with ‘1780′. Let’s look at the next part:

[2-4]

Anything enclosed within ‘[]‘ brackets represents 1 number. In the above case, it’s a number range allowing either a 2,3 or 4 to fit the dial plan. In other words, if I pick up the phone and dial a ‘3′ as the first character, this fits the first part of the dial plan.

xxxxxx

In PAP2 dial plans, an ‘x’ represents any single number between 0 and 9. In the case of the above (xxxxxx), any six individual numerical digits would match the dial plan. e.g., 123456, 654321, 555555, etc.

S0

S0 (S followed by the number 0) represents ‘Straight Out’. So this part of the dial plan is saying to your PAP2 that should a person dial a sequence of keys that ‘fit’ the above portion of the dial plan, process the call immediately (i.e., without waiting for more digits to be pressed on the keypad).

This first section of the dial plan allows me to dial local numbers within my calling area without dialing the area code and number first. In my city (area code 780), I know that all local calls begin with either a 2,3 or 4 (Hence the [2-4] numerical range for the first digit). Following the first digit, there are 6 more digits to dial for a local number for a total of 7 including the first. So this first part of the dial plan is saying that if I dial a 7 digit number that begins with either a 2,3 or 4, my PAP2 should transparently add ‘1780′ at the beginning of that number and send it ‘Straight Out’. Clear as mud?

Ok, don’t worry if that’s not making perfect sense just yet. Read on and we’ll see if we can alleviate your concerns.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • |: The ‘|’ in a dial plan merely separates each component of that dial plan.
(<:1780>[2-4]xxxxxxS0|*xx |<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • *xx: Okay, this next part of the dial plan allows me to use calling features on my phone such as *69 etc. The * represents the * key on your telephone while the x represents any number from 0 to 9 (as stated previously). So, this tells the PAP2 to allow me to dial the Star key followed by any two sequence of numbers. Note: Even though my dial plan allows for call feature management, my VoIP service provider must also allow for these features in order for them to work.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • |:As stated previously, the ‘|’ in a dial plan merely separates each component of that dial plan.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • <911:17804213333>S0: Ok, this component of the dial plan deals with handling of calls to emergency services (911). In this example, dialing ‘911′ tells the PAP2 to dial ‘17804213333′ transparently and send the call Straight Out (without delay). If you live in Australia, and your VoIP provider was in North America this section of your dial plan may look something like this:

<000:011612131444>

Where ‘000′ represents the emergency calling number in Australia and ‘011612131444′ represents the international dialing prefix ‘011′ (remember, in this example the VoIP provider is in North America and expecting you to dial an international sequence in order to reach someone in Australia – police or otherwise), country code for Australia ‘61′ area code for Sydney (2) and the number for the NSW police service ‘131444′. Note: there are some obvious limitations to using your PAP2 to make calls to emergency services. Firstly, the emergency operator won’t see accurate information regarding your location on his or her computer screen. Secondly, the call won’t necessarily go to an emergency operator in the first place! The number you put behind the colon ‘:’ will govern where calls to the emergency services are routed by your PAP2.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>SO|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • |:As stated previously, the ‘|’ in a dial plan merely separates each component of that dial plan.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • 011[2-9]x.: This part of the dial plan allows for international calls. Let’s break it down a little further.
  • 011: The international dialing prefix for North America

    [2-9]: Any single number from 2 to 9 inclusive (i.e., a 2,3,4,5,6,7,8 or a 9). In this case, the first digit in the country code we’re calling

    x: Any single digit from 0-9 inclusive

    .: the Period at the end of the above sequence represents that the preceding digit can be repeated one or more times. In the above example, the preceding digit is an ‘x’ representing any single number from 0-9 inclusive. Therefore, by placing a period ‘.’ after the ‘x’, the dial plan is allowing for any number to be processed one or more times.

So as an example, dialing 01161292251919 would satisfy the dial plan since it allows for ‘011′ followed by any single digit between 2 and 9 inclusive (in this case, a ‘6′), followed by any combination of numbers ‘x.’. Note: Even though the plan allows for an unlimited number of digits to be dialed given the period after the ‘x’, your VoIP service provider is expecting you to dial a certain number of digits maximum and may not know hot to handle your call if you keep pressing numbers beyond what they’re expecting.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • |:As stated previously, the ‘|’ in a dial plan merely separates each component of that dial plan.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • 1[2-9]xx[2-9]xxxxxx: This part of the dial plan allows for the dialing of North American long distance numbers. Here’s a breakdown again:

    1: The long distance prefix in North America

    [2-9]: Any single number between 2 & 9 inclusive. In this part of the dial plan, this digit represents the first number in the area code of the number we’re calling

    xx: any two numbers (0-9 inclusive)

    [2-9]: Any single number between 2 & 9 inclusive. In this part of the dial plan, this digit represents the first number in the phone number (immediately after the 3 digit area code).

    xxxxxx: Any 6 number combination. These represent the last 6 digits in the phone number we’re calling.

(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • |:As stated previously, the ‘|’ in a dial plan merely separates each component of that dial plan.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>SO|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • 1900xxxxxxx!: This last part of the dial plan is one that blocks access to certain numbers (The ‘!’ denotes ‘block access’ to the preceding sequence of dialed numbers). So in this case, 1900 followed by any 7 digit numerical sequence is not allowed to be dialed using my PAP2 and is hence, blocked.
(<:1780>[2-4]xxxxxxS0|*xx|<911:17804213333>S0|011[2-9]x.|1[2-9]xx[2-9]xxxxxx|1900xxxxxxx!)
  • ): The close bracket ‘)’ denotes the end of the dial plan and must be used at the end of your string.

What if I dial a number not allowed for in the Dial Plan?

If you happen to punch a sequence of numbers and/or characters not allowed for in your dial plan, you’ll most likely hear a fast busy signal in your telephone handset.

How about calls to Directory Assistance, repair and the like (e.g., 411)?

No problem! Just add the following into your dial plan somewhere:

|<411:17805551212>|

Where 17805551212 represents directory assistance for my area code. Simply substitute the 780 (my area code) section with your own area code. Remember? If you dial 411 in the above example, your PAP2 will interpret that in the dial plan and transparently dial 17805551212 for you.

Summary

So there it is! I hope this has given you a basic understanding about how to compose a dial plan for your PAP2 VoIP adapter. If you’re having problems or would like to create more complex dial plans, here are a couple of great resources on the subject:

Jacob Computer Technology , , ,

Choice among Cisco PAP2 v2, Asus VP100, SPA-1001 and DVG-2001S

March 17th, 2009

Recently, I bought several types of voip adapters. They are Cisco PAP2 v2, Asus VP100 (also called SMTA, which is short for Standalone Media Terminal Adapter), Cisco- Linksys SPA-1001, and D-Link DVG-2001S. At last I decided to keep 2 sets of SPA-1001, and sold others, for two reasons:
1. I can use one telephone to access two totally different voip service providers. To change to the second channel, I can press # button before I dial the number. PAP2 also can support 2 service providers, but I must have two phones, while DVG-2001S and VP100 can only support one provider. Please notice that, even though VP100 has two RJ-11 ports, the firmware does not allow users to setup two different proxy addresses, and I cannot find a newer firmware. I already sent an email to asus but they haven’t reply yet.
2. SPA-1001 can support dial plan rather than Digital Map, which is very very inconvenient to dial a local phone call. I will add a new post to explain the differences between digital map and dial plan. PAP v1 and PAP-NA can support dial plan, while I only got a PAP v2, so I cannot test those ones. You can find dial plan in the setup page of VP100, but I think it might be an error. It is digital map.

Jacob Computer Technology ,

USB High-Voltage Programmer – For AVR and 51

March 14th, 2009

Using ATMega16 as main chip, it can support a variety of chips by a single ZIF, without jumper. Using the old version of protocol of zhifeng.

Please note the following:
1. The upload programme can only support Mega8, Mega16/32, Mega8535 currently. And the timing of Mega48/88/168 should be as same as Mega8. It takes into account of the expansion of fuse bit, but without testing.
2. The hard ware can also support the following chips, Tiny2313, Tiny13(and the DIP8 same package definition), Tiny26, AT24C series. But the author did not test these chips.
3. The host computer software is POWERRPG attached.

Update:
1. Can support the chip as follows: Mega8/48/88/168, Mega16/32/8535, Mega8515(DUT), Tiny2313, Tiny26(DUT), S51/52(ISP mode, and cannot achieve the automatic function).
2. Increasing transit mode to support SMD packaging. Please refer to http://www.der-hammer.info/hvprog/index_en.htm for the defination of 20-Pin plug.
3. The reson why havn’t test those chips is the author has no corresponding chip on hand.
4. All the chips and switching modes should be immediate alignment.

Click here to download hvasp.

ourdev_213175

ourdev_213176

ourdev_213177

ourdev_213178

Jacob MCU Technology