Friedom-Tech Posted May 17, 2009 Report Share Posted May 17, 2009 HI; i need to know if there is any way that the sysem can be setup to recognize and authenticate the user with the last 7 digits of the phones number. ie if my number is 978-1234567 i should be able to enter just 1234567 into the cell redirection page and my number should be allowed to use disa/calling card without further authentication. this is necessary for calling card users who are calling from abroad and different carriers send different number of digits. please advise asap. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 17, 2009 Report Share Posted May 17, 2009 i need to know if there is any way that the sysem can be setup to recognize and authenticate the user with the last 7 digits of the phones number. ie if my number is 978-1234567 i should be able to enter just 1234567 into the cell redirection page and my number should be allowed to use disa/calling card without further authentication. this is necessary for calling card users who are calling from abroad and different carriers send different number of digits. First of all, all that can only work if you enter the area code in the domain. I assume that has been done. I believe the JavaScript is currently too dumb to perform this job. But internally the number should be stored in the right format (check the xml file in the extensions directory, check the last one written). I just checked it and it did it this way. Quote Link to comment Share on other sites More sharing options...
Friedom-Tech Posted May 17, 2009 Author Report Share Posted May 17, 2009 First of all, all that can only work if you enter the area code in the domain. I assume that has been done. I believe the JavaScript is currently too dumb to perform this job. But internally the number should be stored in the right format (check the xml file in the extensions directory, check the last one written). I just checked it and it did it this way. no this is for multiple area codes. basically the client is planning on using the system as a calling card platform. he needs the system to only look for the last seven digits of the call so that way when the carrier only sends through 1234567 of phone number 978 1234567 the system should still recognize it as an internal number. is this not possible? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted May 18, 2009 Report Share Posted May 18, 2009 no this is for multiple area codes. Eh... Multiple area codes per domain? Then you must leave the area code field empty; and that also means you loose the value of that field. basically the client is planning on using the system as a calling card platform. he needs the system to only look for the last seven digits of the call so that way when the carrier only sends through 1234567 of phone number 978 1234567 the system should still recognize it as an internal number. You can strip the last seven digits out of the Request-URI or To-header of the request in the trunk. For example, when you put something like "!([0-9]{7}$)!\1" into the setting "Send call to extension" of the trunk, then the other digits are ignored on inbound calls. Check the XML files in the user_alias directory if they have the right alias name. It will work if you don't use the country code; it might also work if you don't put in an area code while creating new accounts. Quote Link to comment Share on other sites More sharing options...
Friedom-Tech Posted May 18, 2009 Author Report Share Posted May 18, 2009 Eh... Multiple area codes per domain? Then you must leave the area code field empty; and that also means you loose the value of that field. You can strip the last seven digits out of the Request-URI or To-header of the request in the trunk. For example, when you put something like "!([0-9]{7}$)!\1" into the setting "Send call to extension" of the trunk, then the other digits are ignored on inbound calls. Check the XML files in the user_alias directory if they have the right alias name. It will work if you don't use the country code; it might also work if you don't put in an area code while creating new accounts. right now when i enter 1234567 into the cell field and call in from phone number 9781234567 it does not authenticate using my number. if i put in the string you listed above in the "send call to extension" field then how will the call know which extension to go to? i am not looking to direct calls directly to users extensions i just need for the system to recognise the number so that to make an outbound call using disa does not require entering a pin. please advise. Quote Link to comment Share on other sites More sharing options...
pbx support Posted May 18, 2009 Report Share Posted May 18, 2009 right now when i enter 1234567 into the cell field and call in from phone number 9781234567 it does not authenticate using my number.if i put in the string you listed above in the "send call to extension" field then how will the call know which extension to go to? i am not looking to direct calls directly to users extensions i just need for the system to recognise the number so that to make an outbound call using disa does not require entering a pin. please advise. Why can't you put exactly the same thing that you would receive from the carrier? If the carrier sends 7 digits, then put 7 digits on the cell field. If they send 10 digits then put 10 digits. AFAIK, carriers won't change this (7 or 10 digits) on every call. Quote Link to comment Share on other sites More sharing options...
Friedom-Tech Posted May 18, 2009 Author Report Share Posted May 18, 2009 Why can't you put exactly the same thing that you would receive from the carrier? If the carrier sends 7 digits, then put 7 digits on the cell field. If they send 10 digits then put 10 digits. AFAIK, carriers won't change this (7 or 10 digits) on every call. but the problme is that different carriers send different numbers of digits! that is why iam wondering if there is a way to always make it just look at the last 7 digits because from every carrier they for sure send the last 7 digits. Quote Link to comment Share on other sites More sharing options...
pbx support Posted May 19, 2009 Report Share Posted May 19, 2009 but the problme is that different carriers send different numbers of digits! that is why iam wondering if there is a way to always make it just look at the last 7 digits because from every carrier they for sure send the last 7 digits. We do a exact match today. But we can update the software to make use of country code and area code to match either 7/10/11 digits (US) Quote Link to comment Share on other sites More sharing options...
Friedom-Tech Posted May 19, 2009 Author Report Share Posted May 19, 2009 We do a exact match today. But we can update the software to make use of country code and area code to match either 7/10/11 digits (US) Just to confirm, you can mak it that the cell redirection page will only look for the last 7 digits in the phone number so that no matter what prefix the carrier sends through the caller will always be able to autheticate with caller id? also what is timeframe to get this done? the client will sign conditional agreement but they need this done asap. please advise and confirm. Quote Link to comment Share on other sites More sharing options...
pbx support Posted May 20, 2009 Report Share Posted May 20, 2009 Just to confirm, you can mak it that the cell redirection page will only look for the last 7 digits in the phone number so that no matter what prefix the carrier sends through the caller will always be able to autheticate with caller id? also what is timeframe to get this done? the client will sign conditional agreement but they need this done asap. please advise and confirm. Please PM to support@pbxnsip.com if you need a Win32 version Quote Link to comment Share on other sites More sharing options...
Friedom-Tech Posted May 25, 2009 Author Report Share Posted May 25, 2009 Please PM to support@pbxnsip.com if you need a Win32 version Just wanted to thank you for the update! it now works perfectly. Quote Link to comment Share on other sites More sharing options...
pbx support Posted May 26, 2009 Report Share Posted May 26, 2009 Just wanted to thank you for the update! it now works perfectly. Thanks for the update! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.