A quick guide to a common paypal echeque problem that occurs when you try and make a payment using a paypal echeque and it keeps prompting you for updated card details or insists that you add a new card.
An easy solution is to go out and yourself a GIFT CARD Credit Card with a 50 dollar credit on it and use it to make instant payments from your bank account.
Click on My Account - Profile - Add or Edit Credit Card
Once you are in this window make sure you remove any credit cards that have been stored in paypal that may be expired and affecting your paypal echeque payment method.
Supernetting is a core skill needed for the Cisco CCNA certification and basically involves taking two IP addresses and combining them into a minimized network and subnet to make network management easier as well as making it easier for routing protocols and troubleshooting network problems.
An example of IP supernetting
we have a network 172.24.0.0 ___128___64___32____16____8____4____2_____1________ | 24| 31|
Here we have to networks in different subnet mask that can be combined using supernetting 172.24.0.0 /24 and 172.24.0.0 /31 The first thing we need to do is draw a simple table so that we can convert the /31 and /24 network into binary so we can break it down
We then look at the binary sequences and draw a line when they are no longer the same
Everything that doesn't match will be converted to zero
This walk through goes through the steps to setup enumlookup on the latest version of Asterisk with FREEPBX
The First Step is to Create the ENUM TRUNK
Then ADD an ENUM TRUNK
Click Submit Changes, and Apply Configuration Changes, make sure to save and apply changes whenever you add a trunk or change settings
Note: No changes need to be made on this page unless you want to customize it especially. The next step is to setup your outbound routes in FreePBX
ENUM Outbound Routes in FreePBX
Open up the outbound route 0 9_outisde, here we will specify how outgoing calls will be routed.
Check the Trunk Sequence
Here I have the trunk sequence set as ENUM first and if an enumlookup fails it will fall back to SIP Trunk which will send calls to the PSTN. Apply changes once you have changed your trunk sequence.
Setting up Dial Patterns for ENUM - Here we setup what numbers will be sent to the enum function for example , you may want to setup your FreePBX to only send numbers dialed starting with 9 to enum and all other to the PSTN.
The picture below shows the Dial Patterns for enumlookup
X = any number from 0 - 9 .X_ = match any number , any digit any length (easy option)
ENUMLOOKUP - FREEPBX changing ENUM registry's to lookup default (e164.org)
FreePBX by default looks up e164.org for enum records, you can change which domains to lookup on by accessing the file /var/lib/asterisk/agi-bin/enumlookup.agi
Open up SSH client, e.g Putty and login to the server
Open up the enumlookup.agi script and add the enum domains you wish to lookup.
And that's pretty much it for the walkthrough if you have problems usually its due to incorrect settings with your extensions or the reciever of the call not accepting incoming calls.
To allow others to call you VIA ENUM - Allow Anonymous SIP CALLS or route based on DID number e.g
The enumlookup function can be setup in Asterisk 1.4 simply by editing the extensions.conf file , the enum.conf file does not need to be used and I think its pretty much obsolete now.
First thing you want to do if identify which phones or services will be allowed to perform an enumlookup. e.g include localphones , your local extensions will be able to perform enumlookup's. lot of people forget to include the phone or service for example to add localphones and internal
exten => _X.,22,NoOp("No valid entries in e164.org for ${EXTEN} - sending out via Zap")
exten => _X.,23,Dial(Zap/g1/${EXTEN})
;
; end example 3
Simply pasting this into your extensions.conf will work as long as you have specified who to include at the very beginning.
for the dialing pattern, here we use .X_ which specifies anything starting with the digit 0-9 and anything after that will be matched. So anything really.
For anyone that is interested in enum technology and setting up a professional enum registry service for there customers may have stumbled across FRED the free registry of enum and domains. Its basically an open source project that comes with all the packages and software needed to create a central enum registry. (fred.nic.cz)
- allows registrars to join
- input domain names
- service invoices and much more
Installing the FRED system can be painful using the manuals but there is a FRED script that will install and let you run all the components very easily the only trouble being installing all the correct packages for it to execute trouble free. I had FRED working and I will go through the basic steps
Download the Appropriate Packages (sudo su) must be in root mode
note: there may be some duplicates in there but I haven't removed them, just ensure that you have all the above packages. Tested on ubuntu 8.04, 8.10. Note ubuntu 9.04 has some IPV6 Omniorb-nameserver clashes which may be a pain to get around (reloading the kernel or disabling ipv6)
Here we download the fred-manager script to any directory , ppl recommend /usr/src , or /usr/yourusername
we modify the priveldges for the fred-manager script
download the neccessary files for FRED, install and then start
and there you have it , FRED , Free registry of enum and domains should be up and running you can reach it using fred client located at
./root/bing/fred-client
or reach the http gui at http://serverip:/22344 , 23445
This post will go through the steps for setting up a simple ENUM (Electronic Number Mapping) server on ubuntu linux operating system.
The basic idea behind ENUM is to map your regular E.164 telephone numbers to domain zone files for example your number 98997867 may become 7.6.8.7.9.9.8.9.e164.arpa. Each enum number is given its own zone file which contains a variety of contact methods available for that number. These records are referred to as NAPTR records.
Financial Savings of ENUM
The main reason ENUM exists is to try and connect the IP networks with the telephone networks, with the main objective of avoiding the PSTN (public switch telephone network) and the high costs associated with using these services and termination fee's.
Bind9 DNS Records in Ubuntu
This quick tutorial will go through setting up a simple bind9 enum server capable of hosting an number of records for enum numbers. If your planning on setting up a proper enum server I will cover this topic later on, and how you can hook it up to your Asterisk PBX.
Install Bind9
First ensure you are in root mode using "sudo su" apt-get -y install bind9
Once bind9 is installed all files and information for bind9 will be found in the directory /etc/bind
once you are in the directory "cd /etc/bind"
you are ready to modify and create the zone files for your enum domain in this example the domain being e164.org
The file contains information for the zone e164.org on the private enum server.
at the very bottom of the zone file contains the enum zone files and naptr contact methods associated with the zones.
The first one is E2U or e164 to URI type of NAPTR record which returns a sip uri of info@example.com, this is the URI that will later be used by your Asterisk PBX.
TESTING AND TROUBLESHOOTING
Remember whenever changes are made to zone files the naming service needs to restarted to apply the changes using
/etc/init.d/bind9 restart
To test an ENUM record use the DIG tool
dig @ 8.1.2.7.5.9.3.3.1.6.1.e164.org -t NAPTR
this will return an answer section containing the sip URI 16133957218@example.com
Note: Any problems you may have such as bind9 not restarting correctly or returning a fail are usually due to incorrect format being used or missing zone files.
always check your /var/log/syslog for errors when troubleshooting
Hope people find this useful, in my next posts I will talk about hosting a private domain name to serve enum records within a private network (I-ENUM private) , as well as testing enumlookup using Asterisk 1.4, 1.6.
I may also cover how to setup a more efficient DNS server using powerdns or similar tools which use databases instead of individual files to store zone records.