Tesco Internet Phone
Background
Out of the box Tesco Internet Phone does not work with Asterisk and therefore does not work with Linux MCE. This is due to Tesco Internet Phone rather than the others. The following is a quote from http://scotsvoiplog.blogspot.com/2006/08/tescos-voip-asterisk.html:
'when asterisk registers itself with Tesco, one of the parameters that gets sent back is the length of time between registration refreshes (which lets Tesco know that I'm still online and listening). If asterisk doesn't recieve that parameter back, it assumes that it should refresh every 60 seconds. However, Tesco send back a value of 0. A side effect of getting sent a refresh value of 0 is that Asterisk never sends out a registration refresh request, so Tesco assumes that we've gone offline.'
The instructions below detail a fix for this.
Manual Setup
The article describes setting up the Tesco Internet Phone from the 'Phone Lines' page of the Web Admin interface.
1. From the pull down menu select 'teliax'
2. Type in the Information requested:
Username: (this is your Tesco Internet Phone Number) Password: (your Password) Phone Number: (Your number, same as your username) Host: gateway.tescointernetphone.com
Then hit 'submit'
3. Hit the 'Deactivate Automatic Configuration' button
4. The prompt says 'Are you sure you want to activate manual phone lines configuration?', hit the yes button
5. The prompt says 'Manual configuration activated. To configure AMP, click click here', hit the 'click here' link
6. Select 'Outbound Routes', on the right hand side click on '0 teliax-out-route'
7. Copy and Paste the following into the 'dial patterns' box:
999 0044|0+. 00ZXXXXXXXXXX 161+XXXXXXX
Replace the 161 with your area code, if you live in an area with a 4 figure area code and a six figure number then lose an X and replace the 161 with your area code without the zero at the front
Caveat: This dial plan should work for most UK users but may need to adjusted, an explanation of what the numbers mean is provided at the bottom.
Hit the 'Submit' button
8. Repeat 6. and 7. for '1 teliax-out-route'
9. Select 'Trunks', then on the right hand side click on 'Trunk IAX2/teliax-out'
10. Type you phone number into the 'Outbound caller ID' box
11. Copy and Paste the following into the 'dial patterns' box:
999 0044|0+. 00ZXXXXXXXXXX 161+XXXXXXX
Replace the 161 with your area code, if you live in an area with a 4 figure area code and a six figure number then lose an X and replace the 161 with your area code without the zero at the front
Caveat: This dial plan should work for most UK users but may need to adjusted, an explanation of what the numbers mean is provided at the bottom.
12. Copy the following into the 'PEER Details' box:
allow=gsm auth=md5 canreinvite=no context=from-pstn disallow=all host=gateway.tescointernetphone.com nat=yes qualify=60&no secret=XXXXXXXXXXXXXXX type=friend username=XXXXXXXXXXX
where the XXXX variables - secret = Password, username = your phone number
Hit the 'Submit' button
13. Hit the 'Apply configuration Changes' button at the top of the page. Accept the prompts to reload.
14. Select 'Phone Lines' from the Left side menu.
15. Click on the 'Activate Automatic Configuration' button. At the prompt 'Are you sure you want to activate automatic configuration?' click on the button 'Yes and Keep my Advanced settings'
Reload the router and the orbiters and you are finished.
Dial Plan Explanation
999 (emergency number UK) 0044|0+. (if the number dialed is 0044 then add a 0 to the area code and disregard the 0044) 00ZXXXXXXXXXX (international numbers are 10 digits with 00 and a non-zero at the start - not sure what hapens here if you tried to dial Germany whcih is 49, so I may need to edit this) 161+XXXXXXX (161 is Manchester, UK, so this would need to be specific to the user)