Unlimited international PSTN(including Cell Phone) Calls with VOIP
What we are going to do here we try to use our cell phone to make calls through VOIP service.
The advantages are:
1. If you are in US, you have VOIP service at home(Not something like vonage). You want to have more flexibility so that you can also use VOIP when you are not home using your cell phone.
2. If we want our families in those areas or countries without internet to use VOIP with us. (We need get a DID number in that area or country to avoid long distance rate.)
3. It’s not PSTN callback. PSTN service in the market are comparatively expensive.
4. People can also do it with sip cpe FX300 or celliax. With those, it could be free to call the access number using Tmobile to Tmobile. But that will cost monthly fee for another sim card and T-to-T unlimited call.
5. More as you like.
Solution: We need set up asterisk@home. We have an access set up in the asterisk server. When we call this number with a PSTN phone, we are prompted for a password. We put in the password and are allowed to dial the destination number.
Let’s say I’m using voipstunt to make calls. And I’m using stanaphone voip-in number as the access number.
So in sip.conf:
[general]
nat=yes
externip=my asterisk server ip
;externip=200.201.202.203
localnet=192.168.0.0/255.255.0.0 ; Also RFC1919
register => stananumber:stanapassword@sip.stanaphone.com
;It’s the username and password for the website. We need login stanaphone and go to account information to get the configuration information.
[stanaphone]
type=friend
insecure=very
canreinvite=no
context=disa
username=stana number
host=sip.stanaphone.com
secret=stana password
nat = yes
disallow=all
allow=alaw
allow=ulaw
dtmfmode=RFC2833
in extensions.conf:
[disa]
exten => s(or stana number),1,Answer
exten => s(or stana number),2,DigitTimeout(5)
exten => s(or stana number),3,ResponseTimeout(20)
exten => s(or stana number),4,Authenticate(XXX)
;XXXX is the password you set up
exten => s(or stana number),5,DISA(no-password|voipdiscount)
[voipdiscount]
exten => _91NXXNXXXXXX,1,StripMSD,1
exten => _1NXXNXXXXXX,2,Dial(sip/sipout/${EXTEN})
According to my test, freedigits has DTMF problem. The system will not correctly get the numbers I dial. And there must be externip for stanaphone, otherwise it can not register.
Now, we can call international with voipstunt by cell phone anywhere anytime, even without a callback connection fee.
Basically, this is a calling card sytem. We can also set up a password for different users. If we can get a DID from another country, our people in that country call call the access number with long distance fee, then dial an international number with 9 first.
by Alen
Sphere: Related Content