Need help to put password on International Calls
-
- Active Poster
- Posts: 101
- Joined: 04/03/2013
Need help to put password on International Calls
hi guys,
i spend months, still i could not get success to put password on INTERNATIONAL CALLS, so can any body help me out, which settings i have to disable in my PAP2T, so that any body should dialing International call then it has to ask for PASSWORD.
please help me in this situation, i appricate for your help.
Thanks
i spend months, still i could not get success to put password on INTERNATIONAL CALLS, so can any body help me out, which settings i have to disable in my PAP2T, so that any body should dialing International call then it has to ask for PASSWORD.
please help me in this situation, i appricate for your help.
Thanks
-
- Technical Support
- Posts: 2837
- Joined: 10/18/2009
Re: Need help to put password on International Calls
I don't think you are going to be able to do this on a standalone PAP2T, you are going to need to use 3rd party software.
Although I have never used it, on my PBX I have running here I can set a password on certain outgoing calls that make a person enter a password before the call will go though. This will however mean you setting up a PBX on a computer which may be more than you want to get involved with.
Another option, again I have never personally used this, is to set up a PBXES.org account. You would then register your FPL line through them, and register your PAP2T to them. You shouldn't see too much difference with what you have at home, but it will be using a 3rd party. I just did a quick check and on their outbound call routing you can also set up a password. Again, this might also be more trouble than it is worth but the good thing is you can play around with it without it costing you anything. There are a few people here that use pbxes that might be able to give you some pointers if you get stuck, and they also have a forum.
With either suggestion the general idea of what you will be setting up is one outbound route that will match all your local calls and not requiring a password. Then another route that will match against international calls that will need a password.
Fongo, this could actually be a good thing to add back end. We could have a box to tick online that would require a password to be entered if credits on the calling card are to be used. Kids do love to play tunes with the numbers on the keypads!
EDIT* I actually just tried this and it works perfectly on the outgoing route I use to make calls back tot he UK on. I think I will leave it there. So it will work fine if you want to set up a PBX (I use Elastix but there are a lot of others just as good if not better), but it will mean setting it up on an old computer and having it running all the time. Some people don't like that, but I use mine for other stuff as well, plus I just like to be able to play with a PBX and see what other free calls I can get
Although I have never used it, on my PBX I have running here I can set a password on certain outgoing calls that make a person enter a password before the call will go though. This will however mean you setting up a PBX on a computer which may be more than you want to get involved with.
Another option, again I have never personally used this, is to set up a PBXES.org account. You would then register your FPL line through them, and register your PAP2T to them. You shouldn't see too much difference with what you have at home, but it will be using a 3rd party. I just did a quick check and on their outbound call routing you can also set up a password. Again, this might also be more trouble than it is worth but the good thing is you can play around with it without it costing you anything. There are a few people here that use pbxes that might be able to give you some pointers if you get stuck, and they also have a forum.
With either suggestion the general idea of what you will be setting up is one outbound route that will match all your local calls and not requiring a password. Then another route that will match against international calls that will need a password.
Fongo, this could actually be a good thing to add back end. We could have a box to tick online that would require a password to be entered if credits on the calling card are to be used. Kids do love to play tunes with the numbers on the keypads!
EDIT* I actually just tried this and it works perfectly on the outgoing route I use to make calls back tot he UK on. I think I will leave it there. So it will work fine if you want to set up a PBX (I use Elastix but there are a lot of others just as good if not better), but it will mean setting it up on an old computer and having it running all the time. Some people don't like that, but I use mine for other stuff as well, plus I just like to be able to play with a PBX and see what other free calls I can get

-
- Technical Support
- Posts: 210
- Joined: 04/12/2012
- SIP Device Name: Grandstream HT-286
- Firmware Version: 1.1.0.45
- ISP Name: Bell Fibe 300/300
- Computer OS: Windows 7 Pro 64 bits
- Router: Bell hub 1000
- Smartphone Model: Moto E
- Android Version: Android 6.0
- Location: Montreal (QC)
Re: Need help to put password on International Calls
I tried another workaround to block the access to international calls outside North America. There is a "Dial Plan Prefix" option in the Grandstream ATA advanced configuration panel. I put "1" as a prefix. Calls to Canada (and US) will be dialed successfully even if they are local and the overseas ("011") will not go through.
You may find a similar "Dial Plan PRefix" for your ATA.
However, keep in mind that the "Star feature" option will not work unless you remove the "1" from the "Dial Plan Prefix".
You may find a similar "Dial Plan PRefix" for your ATA.
However, keep in mind that the "Star feature" option will not work unless you remove the "1" from the "Dial Plan Prefix".
-
- Active Poster
- Posts: 117
- Joined: 07/23/2010
- SIP Device Name: PAP2T
- Firmware Version: 5.1.6 (LS)
- ISP Name: CarryTel 25/10 DSL
- Router: pfSense i5-3470
- Location: GTA
Re: Need help to put password on International Calls
I'm sorry for you spending months. Haven't you heard or read about google, ask, bing or even duckduckgo?tester2 wrote:hi guys,
i spend months, still i could not get success to put password on INTERNATIONAL CALLS, so can any body help me out, which settings i have to disable in my PAP2T, so that any body should dialing International call then it has to ask for PASSWORD.
please help me in this situation, i appricate for your help.
Thanks

On a PAP2T, the simplest way is using the substitution feature of the dial plan. Put the following at the start of your plan:
<n1:011>xxxxxxxxxx.|011!|
where n1 is your numeric password for international calls (only a fool will use 011 as password).
The 011! immediately after the first plan will block attempts to dial international calls using the traditional 011 prefix.
How it works:
Sample Password: 5683
Sample number to call: 011639176543210 (the Philippines)
Number sequence to dial: 5683639176543210
Your PAP2T will dial 011639176543210 substituting the 5683 that you dialed with 011.
Dialing 011639176543210 will give a busy signal, unless a fool used 011 as password.
Therefore, only those who know the password can dial international calls.

-
- Active Poster
- Posts: 101
- Joined: 04/03/2013
Re: Need help to put password on International Calls
Guys I am online today & I saw many replies to my thread... So I am very thankfull for all
To -- Bing Kol
I am little confuse, as you said to add your additional plan in my current plan. so please make me correct wether I am doing right or wrong. The below is my assumption.
(911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.) --- this is the FPL plan
<n1:011>xxxxxxxxxx.|011!| ---- This is the additional plan given by you.
Now I modified below, as you suggest :
<5683:011>xxxxxxxxxx.|011!|(911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
Please make me correct, is this right plan I did or not.
Waiting for your reply..
Thanks
To -- Bing Kol
I am little confuse, as you said to add your additional plan in my current plan. so please make me correct wether I am doing right or wrong. The below is my assumption.
(911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.) --- this is the FPL plan
<n1:011>xxxxxxxxxx.|011!| ---- This is the additional plan given by you.
Now I modified below, as you suggest :
<5683:011>xxxxxxxxxx.|011!|(911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
Please make me correct, is this right plan I did or not.
Waiting for your reply..
Thanks
-
- Technical Support
- Posts: 2837
- Joined: 10/18/2009
Re: Need help to put password on International Calls
The suggestion to modify the dial plan is a good one (thanks Bing Kol), you would need to modify it like this though.
(911|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
5683 will be the bit you dial instead of 011, and I moved the 911 bit first.
This will obviously not stop a determined person from finding the code to dial (as they could either look at your dialled numbers on your phone or log into the ATA), but it will stop sticky fingers or kids banging away at numbers.
(911|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
5683 will be the bit you dial instead of 011, and I moved the 911 bit first.
This will obviously not stop a determined person from finding the code to dial (as they could either look at your dialled numbers on your phone or log into the ATA), but it will stop sticky fingers or kids banging away at numbers.
-
- Active Poster
- Posts: 117
- Joined: 07/23/2010
- SIP Device Name: PAP2T
- Firmware Version: 5.1.6 (LS)
- ISP Name: CarryTel 25/10 DSL
- Router: pfSense i5-3470
- Location: GTA
Re: Need help to put password on International Calls
The following dial plan from Jake will work as is.
(911|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
It looks like your original dial plan was provided by FPL. There are a few things to note there:
- The |98*| does not make any sense. That may have been a transposed *98 which meant to dial voice mail.
- Neither does this [6-7]x*xxxxxxxxxxx. make sense. It might have been intended for star codes starting with 6 or 7, but was also transposed.
Now, with the revised dial plan above:
- The |011xxxxxxxxxxxx.| becomes redundant and will never be executed, so you might want to remove it.
If I were to rewrite the above dial plan, it would be like this:
(911S0|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|[*x]x.)
My dial plan though is like this (mappings to local 311 and the pizza delivery were omitted so you can copy and paste if you want):
(911S0|<5683:011>xxxxxxxxxx.|011!|<3683:1>xxxxxxxxxx|1!|[2-9]xxxxxxxxx|[*x]x.)
In my dial plan, all long distance calls need a password. Directly dialing the prefix 011 or 1 will be blocked.
Note that you do not need to dial 1 to call any of FPL's numbers, whether it is a Toronto or Vancouver area code (disclaimer: I have not tested this today). As such, when you need to dial 1, it is without doubt a chargeable long distance number. I have to explicitly block 011 and 1 because the last plan, [*x]x. is a catch-all plan.
(911|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|98*|[6-7]x*xxxxxxxxxxx.)
It looks like your original dial plan was provided by FPL. There are a few things to note there:
- The |98*| does not make any sense. That may have been a transposed *98 which meant to dial voice mail.
- Neither does this [6-7]x*xxxxxxxxxxx. make sense. It might have been intended for star codes starting with 6 or 7, but was also transposed.
Now, with the revised dial plan above:
- The |011xxxxxxxxxxxx.| becomes redundant and will never be executed, so you might want to remove it.
If I were to rewrite the above dial plan, it would be like this:
(911S0|<5683:011>xxxxxxxxxx.|011!|[2-9]xxxxxxxxx|1xxxxxxxxxx|[*x]x.)
My dial plan though is like this (mappings to local 311 and the pizza delivery were omitted so you can copy and paste if you want):
(911S0|<5683:011>xxxxxxxxxx.|011!|<3683:1>xxxxxxxxxx|1!|[2-9]xxxxxxxxx|[*x]x.)
In my dial plan, all long distance calls need a password. Directly dialing the prefix 011 or 1 will be blocked.
Note that you do not need to dial 1 to call any of FPL's numbers, whether it is a Toronto or Vancouver area code (disclaimer: I have not tested this today). As such, when you need to dial 1, it is without doubt a chargeable long distance number. I have to explicitly block 011 and 1 because the last plan, [*x]x. is a catch-all plan.

-
- Active Poster
- Posts: 101
- Joined: 04/03/2013
Re: Need help to put password on International Calls
you guys are real great....thanks for your help.
I am useing the below Dial Plan, which will allow me to received calls from TALKIT numbers, where as FPL plan don't allow me received calls from TALKIT numbers. so plase modify for me two things in my Dial Plan INTERNATIONAL CALLS BLOCK & 911 OPEN.
This is my Dial Plan --- (*xx|#xx.|<:1416>[2-9]xxxxxx|<416:1416>xxxxxxxS0|<905:1905>xxxxxxxS0|<647:1647>xxxxxxxS0|<289:1289>xxxxxxxS0| 1[2-9]xxxxxxxxxS0|011[2-9]x.S0|<00:011>[2-9]x.S0|<911:14168082222>S0|1900x.!)
To Bing kol & Jack : please modify & add for me this ---- 911S0|<5683:011>xxxxxxxxxx.|011!|
so that i can Block INTERNATIONAL CALLS & 911 Open for me.
I appricate your Time & Effort for your great replies.
Thanks
I am useing the below Dial Plan, which will allow me to received calls from TALKIT numbers, where as FPL plan don't allow me received calls from TALKIT numbers. so plase modify for me two things in my Dial Plan INTERNATIONAL CALLS BLOCK & 911 OPEN.
This is my Dial Plan --- (*xx|#xx.|<:1416>[2-9]xxxxxx|<416:1416>xxxxxxxS0|<905:1905>xxxxxxxS0|<647:1647>xxxxxxxS0|<289:1289>xxxxxxxS0| 1[2-9]xxxxxxxxxS0|011[2-9]x.S0|<00:011>[2-9]x.S0|<911:14168082222>S0|1900x.!)
To Bing kol & Jack : please modify & add for me this ---- 911S0|<5683:011>xxxxxxxxxx.|011!|
so that i can Block INTERNATIONAL CALLS & 911 Open for me.
I appricate your Time & Effort for your great replies.
Thanks
-
- Technical Support
- Posts: 2837
- Joined: 10/18/2009
Re: Need help to put password on International Calls
The dial plan will have no effect on calls received, only calls that you place.
FPL allows calls to be made with or without the initial 1, so a lot of that plan is not needed. Also, unless you live in or call those numbers, they are pretty pointless.
FPL supports E911, so you only need to dial 911. Your dial plan changes 911 into 14168082222. Now this is the number for the Toronto Police, which is fine I guess if you need the police AND live in the Toronto area, but you might get a costly delay if you need the fire service or an ambulance. If you don't live in Toronto, then there could be a very big confusion. Personally that bit worries me, and so I will only suggest you use one of the dial plans that Bing Kol or I placed.
To me the dial plan you are using - which may work - looks a bit of a mess and most of it is pointless, IMO, for use on FPL. The 911 number switch worries me, and remember the dial plan does not effect incoming calls. If you are having troubles CALLING other number with the standard dial plan, then I would rather help you adjust that one than change the one you are using
I just would feel comfortable knowing that I could make someone's emergency be delayed in any way.
FPL allows calls to be made with or without the initial 1, so a lot of that plan is not needed. Also, unless you live in or call those numbers, they are pretty pointless.
FPL supports E911, so you only need to dial 911. Your dial plan changes 911 into 14168082222. Now this is the number for the Toronto Police, which is fine I guess if you need the police AND live in the Toronto area, but you might get a costly delay if you need the fire service or an ambulance. If you don't live in Toronto, then there could be a very big confusion. Personally that bit worries me, and so I will only suggest you use one of the dial plans that Bing Kol or I placed.
To me the dial plan you are using - which may work - looks a bit of a mess and most of it is pointless, IMO, for use on FPL. The 911 number switch worries me, and remember the dial plan does not effect incoming calls. If you are having troubles CALLING other number with the standard dial plan, then I would rather help you adjust that one than change the one you are using

-
- Active Poster
- Posts: 74
- Joined: 11/29/2014
- SIP Device Name: Cisco
- ISP Name: DSL
- Router: Linksys
Re: Need help to put password on International Calls
Based on the above postings, I assumed the original dial plan provided by FPL is slightly incorrect.
The correct version should be (911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|*98|*[6-7]xxxxxxxxxxxx.). This is without the modification of international calling (i.e. 011).
What is the suffix "S0" for?
Please confirm. Thanks.
The correct version should be (911|[2-9]xxxxxxxxx|1xxxxxxxxxx|011xxxxxxxxxxxx.|*98|*[6-7]xxxxxxxxxxxx.). This is without the modification of international calling (i.e. 011).
What is the suffix "S0" for?
Please confirm. Thanks.
-
- Technical Support
- Posts: 2837
- Joined: 10/18/2009
Re: Need help to put password on International Calls
S0 makes the call go straight out without trying to qualify any other part of the dial string.
The * seems to go after the numbers, although logic will tell you that it should go in front. I don't enough about dial plans to explain why, but I do know the original dial plan that FPL suggests works perfectly on PAP2Ts and the like.
The * seems to go after the numbers, although logic will tell you that it should go in front. I don't enough about dial plans to explain why, but I do know the original dial plan that FPL suggests works perfectly on PAP2Ts and the like.
-
- Active Poster
- Posts: 74
- Joined: 11/29/2014
- SIP Device Name: Cisco
- ISP Name: DSL
- Router: Linksys
Re: Need help to put password on International Calls
Hi Jake,
The dial plan with either "*98" or "98*" works on SPA122. Based on the user manual, it should be "*xx". I am not the expert in dial plans either.
Thanks for the definition / explanation of S0. I will add the suffix "S0" to 911 as it would speed up the dialing process to 911 during an emergency when we need it.
The dial plan with either "*98" or "98*" works on SPA122. Based on the user manual, it should be "*xx". I am not the expert in dial plans either.

Thanks for the definition / explanation of S0. I will add the suffix "S0" to 911 as it would speed up the dialing process to 911 during an emergency when we need it.
