Webservices - International Phone Numbers

Hello,
We have a customer who is implementing a web form on their website that with a call back number currently when web services creates the contact it populates with a +1 at the start of the phone number. I realise that this is driven off the ID making the web service call but is there any way that we can have the phone number drive off the contact country without having to hard code all the countries and their internal dialling codes into the coding.
Any help would be appricated :-)

Hello,
Theres no other way arround it.
When you will read phone numbers you will get something like +-_99(999)999-9999 you can take ")" as an offset and read the numbers after that
MainPhone.subString(indexOf(")") + 1, MainPhone.length());
This will skip the country and city codes for landlines but for cell phones the digits between "(999)" will be the telco.
Regards,
Abeer @ Sakonent
Edited by: sakonent.com on Sep 30, 2010 12:03 PM

Similar Messages

  • Outlook Sync - International phone numbers

    The phone numbers in my Outlook address book are in standard national format. Is it possible to internationalize them on the fly during synchronization with my N82 (using Nokia's PC suite or another software)?
    Andreas

    Hy. I had the same problem with the address book entries, when on holiday in Portugal (using an iPhone). I found a pretty easy solution to it. First, you export the address book into a group vCard. The resulting file can be edited with TextEdit. Second, in TextEdit you replace ":00" with ":+" using the Find-Dialogue. Then you have already all country codes in their international spelling. Third, you replace "" with ":+49 ", so you have all german area codes in their international spelling. It works, because in the vCard-file all address book entries are tagged using double dots (":"). Normally there is no tag-information beginning with a zero ("0"), except for telephone numbers, so the find and replace function can be used. Anyway, before proceeding, you should back up your address book.

  • International phone numbers

    Hi, my address book is full with addresses. Unfortunately I haven't safed the phone numbers with the international number and now I have to move to greece. My problem: I want to change all telephone numbers of my contact to the international format, I already safed the country within address book. Is there a tool or script to change the telephone numbers?

    Hy. I had the same problem with the address book entries, when on holiday in Portugal (using an iPhone). I found a pretty easy solution to it. First, you export the address book into a group vCard. The resulting file can be edited with TextEdit. Second, in TextEdit you replace ":00" with ":+" using the Find-Dialogue. Then you have already all country codes in their international spelling. Third, you replace "" with ":+49 ", so you have all german area codes in their international spelling. It works, because in the vCard-file all address book entries are tagged using double dots (":"). Normally there is no tag-information beginning with a zero ("0"), except for telephone numbers, so the find and replace function can be used. Anyway, before proceeding, you should back up your address book.

  • Entering International Phone Numbers

    I have contacts around the world and want to ensure the iPhone can correctly dial numbers whether in the USA or the local country. How should I enter their phone numbers into contacts?
    For example, a contact in the UK would be +44(0)1484-662882. From the US iPhone should dial 011 44 1484 662882, from the UK iPhone should dial 01484 662882. However, you can't enter "(" or ")" into a phone number.
    Also, how does international assist know a phone number is a US number?
      Windows XP Pro  

    Yeah, I've had that problem before, but the only way I got around it was to have two numbers in the contact, one for dialing from the US, and one for dialing when I'm in the UK.
    Also, international assist will know it's a US number if you enter your US numbers as +1 xxx xxx xxxx. I've been doing that as I add contacts for the last year or so, and virtually all of mine now are in that form.

  • Removing hyphens/spaces from phone numbers

    Hi there,
    Is it possible to remove hyphens and spaces that are automatically and incorrectly inserted to iphone numbers when storing them or is this a feature that Apple think everyone MUST have?
    Having many international phone numbers on my phone, the incorrect spaces and hyphens are a nuisance. It would be easier if the feature can be disabled or if the iphone checks the format for each international number prefixes. Not that difficult really!!! i.e. + 44 for the UK and if it's a mobile prefix, insert a space/hyphen after the 07xx bit or whatever, and then the city codes followed by a space/hyphen. That's it!
    M

    Hi Meg,
    Thanks for your reply and the mention that Apple do take notice.
    However, my post is not one of complaint. It was/is a query. If I wanted to complain, I would go straight to Apple and do that! I have the relevant email addresses of Apple in the US and I have got effective replies when I have complained about things in the past.
    It is not my intention to complain in this post but to ask!
    As I mentioned in the initial post "Is it possible to remove hyphens and spaces that are automatically and incorrectly inserted to iphone numbers when storing them or is this a feature that Apple think everyone MUST have?"
    However, I thank you for your info, Meg.
    KR,
    Maz

  • I am setting up a new 5c - but all the phone numbers in VM are written in the international format.  How can I change them to read like a US phone number.

    Please tell me how I can change the format of the telephone numbers on my visual VM.  The numbers are reading like international numbers (with a + at the beginning) rather than the format of the US phone numbers.

    Hi AntonionC: 
    Thanks so much for trying to help me on this problem.  I have done what you suggested - don't know why I hadn't seen that before.  I had been looking through the settings for every possibility.
    I am not yet sure if it did the trick because I haven't had anyone call and leave a message.  I tried calling myself from the home land line; but because my home number is in my contacts it just listed "Home" as the caller and didn't write out the number.  So I must get some friend to call me and leave a message.  But I think it may have worked because now it lists the caller - "Home" - whereas on the 4 other numbers that were transferred from my old phone it only listed the numbers in Int'l format.
    I really do appreciate your taking time to respond to my question.  As soon as I find out if it's the ultimate cure, I will let you know.
    Gmarose
    Rosalie Arnold

  • International Addresses and Phone Numbers

    How do people typically deal with International Addresses and Phone Numbers? Do you use special attributes for these?

    I know how to create attributes, the issue is how to create the right set of attributes that can be used for all given international telephone and addresses?
    I would think there would be some sort of predefined standard for doing this but if you have to create your own custom attributes just to do this, then that's not really a great thing.
    Oracle or the ldap standards people whomever they are should include all the object classes and attributes for International Telephone numbers and addresses so all you need to do is add the objectclass to your users and use them!
    Sorry it just doesn't make sense to have everyone create these...

  • How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account an

    How can I get the phone numbers in contacts to appear with dashes between the first 3 numbers, the next 3 numbers, and the last 4 numbers?  Until very recently
    it did so.  Contacts on my macbook pro does show up this way.  I do have a mobile me account and in the past syncing was no problem.  What setting has changed?

    The phone number format as well as the date language and format and the time format are controlled by the Region Format setting. Go to Settings > General >International > Region Format.  When you change a region format, you can go back one page (to International) and see an example of the date/time/phone number format that your selected region format will produce.

  • How do I get my contact phone numbers to format properly?

    I just upgraded to an iPhone 4S on Verizon.  The majority of my contact phone numbers are now in the format: 1234567890.  On my old iPhone 4 (AT&T) they were displayed as (123) 456-7890.
    This is causing several problems.
    When I try to dial from contacts, Verizon keeps insisting the numbers are international, and I don't have international service.
    When a call from a contact comes in, it shows the number, not the name (it cannot correlate the caller ID number with the name in my contact list).  The same with text messages.
    I cannot get Siri to dial any of these contacts.
    I am syncing via iCloud, and was on my last phone.  In Address Book on my Macintosh the numbers are formatted properly, and show as US numbers.
    I've searched through settings, but I don't see any way to change how Contacts on the iPhone displays numbers.
    Is there some way to convince my phone that these are US numbers, format them correctly, and stop giving me trouble dialing them please?

    I had this problem also and did the same thing. I dialed *228, chose option 1 and it worked. My question is that my phone, which is a 4S and on Verizon, is the only iPhone I've ever had. The format of my numbers just changed. I didn't realize it until I noticed that I was getting calls from people on my contact list and the number, not the name, was coming up. Is there a reason that this happened? I'd like to know in case it was something I did so I can be sure not to do it again.

  • Is there a FM imbedded link used for phone numbers that in a pdf file activates the number on a smart phone?

    When I use the URL hypertext function and type in mailto:<email address> and save it as a pdf. When bringing the pdf up in a smart phone and tapping on the link, it will bring up email to that person. Is there a FrameMaker version that also does this for a phone number and what is the text that needs to be typed in? Any assistance would be greatly appreciated!!!

    What happens when you use Marker Type: [Hypertext]
    and a URI of form:
    message URL tel:1234567890
    In a quick test, this survives to PDF as hypertext, gets handed to my default browser, which (being a desktop machine) throws a dialog saying, in effect "Just what am I supposed to do with this? I'm not a phone you know." My phone, on the other hand has two PDF readers (Kindle and some shovelware office ap), neither of which appear to even notice the URL (which I take to be not FM's fault).
    The hand-off to email is not something that FM (or Acrobat) does per se. As far as I know PDF readers merely hand the URI to the host operating system. If the host knows what a "tel:" scheme name is supposed to do, it gets done. For a more or less complete list of scheme names, see the wiki page.
    Be sure to use fully qualified international dialing numbers.
    And be sure to avoid mistake 0 of FM hypertext markers: in addition to inserting the marker, it has to be within the scope of a unique Character Format applied to the text string to be made active. This tag doesn't even have to apply any visible effects, but it does have to be there, as it's how FM determines the boundaries of the hyper region. A Character Format set to Family:Default ¶ Format (and all else blank or As-Is), named "URI", would suffice.

  • Contact bug : contact phone numbers in edit mode are not shown in "dial" mode

    Contacts can have seemingly unlimited phone numbers as seen in the contact edit mode, though very few are shown in the corresponding non-edit mode. Of course, Dialing is not supported in the edit mode.
    I have found that contacts that include pause characters or block characters are not properly displayed in the contact "dial mode".  If you every try a conference call service, this is important to you.
    At&t uses the comma as a pause, and Verizon uses the letter "t" as a pause.  *82 temporarily blocks your caller id.  Somehow the WebOS software that chooses which items to allow me to dial has bugs and worse, there is no clear way to prioritize so I am completely at the whim of the software.

    I have tested entering 12 phone numbers on my own Pre Plus and all the numbers display in the normal contact field. How many phone numbers are you trying to to display?
    The dialing options on the Palm Pre Plus are as follows:
    To insert a two-second pause in the dialing sequence, enter a T where you want the pause to appear. To add a + symbol in the dialing sequence for international dialing, press and hold 0 (zero) in the location where you want the + symbol to appear. To insert a stop in the dialing sequence, enter a P where you want the stop to appear; to dial the next set of numbers after the stop, tap the screen.
    As far as 3rd party special dialing character entry you would need to check with the 3rd party on how to enter this information into you device for your conference calling service.

  • My contact names have been replaced with their phone numbers. How do I change their numbers back to their names?

    Hi,
    I just returned from an international trip yesterday. I noticed that all my i cloud contacts were erased when I arrived in England. I am very certain that they were all working fine on my phone before I left for the trip. When I go into my messages, only the phone numbers of my contacts exist, not the names of the people. I'm guessing this problem was caused by travelling overseas. How do I get my contacts back. Someone please help!

    This happened to me too, and my pictures dissapeared.  If you click the number, a drop down menu will appear and you can choose add to exisitig or create new contact. 50% of the time I am able to see the contact in my list the other %50 I have to create a new contact. When you do either of these the name will show versus the number. I think this is a bug with the latest update.

  • Phone numbers not properly formatted

    I just upgraded to the 4S and most of my phone numbers can't be dialed by SIRI because they are not properly formatted. The numbers that can be dialed are of the form +1-617-nnn-nnnn.  The numbers that cannot be dialed are of the form nnnnnnnnnn.  I have hundreds of numbers in this format.  Any ideas?

    Have you tried Settings > General > International to make sure your phone is not set to some incorrect region which might give it trouble interpreting the numbers?

  • How to change country code in phone numbers

    I am using iPhone ios4.1.I am living in India how I want to change my country code in phone numbers it is showing +1 infront of every phone number how to change it

    Settings>General>International>Region Format.

  • Blocking international call numbers

    Christina,
        I am also having the same issues with international texts and I am being charged for them. I am getting messages from two numbers:
    (numbers removed)
    I have asked them to stop and they continue to call and text me. Is there any way you can help me to block these numbers or stop it somehow since I have been charged for the texts they have been sending me.
    Thank you,
      Taylor
    Phone numbers removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

    spiney wrote:
    I'm getting spammed by some international number and verizon's call block only accepts 10-digit numbers. where are the options for blocking call outside of the country?  there is a guide i found but it's out of date and broken.
     International incoming calls cannot be blocked. Outgoing calls can only be made if an International Dialing feature is added to your account.

Maybe you are looking for

  • Help needed with Adobe Photoshop CC

    I have installed Adobe Photoshop CC. All went well. Now, when I open a file, I get the following message - When I try to re-install Adobe Photoshop CC the Adobe Applications Manager refuses and says my App is Updated. I can use Photoshop CC, but have

  • FTP Connection Time-Out Issue

    *THE PROBLEM:* OS X specific FTP clients time-out intermittently when I try to upload files to any given server directory. *TROUBLESHOOTING FAILURES:* * Tried uploading the files to the same directory using different FTP clients (listed below). * Tri

  • Failed to Install C4580 on LiveBox router

    I got this wireless network test report:  MAC address filterin may be enabled on your wireless router. This can prevent your HP printer from connecting to your wireless network during setup. Temporarily disable MAC address filtering on your wireless

  • 3TB drive only showing up as 746.5 gb on mac osx 10.5.8

    Trying to add Segate Barracuda 7200 3TB 64MB SATA drive. Drive is used in a USB dock. Mac Pro Dual 1.8GHz PowerPC G5 Any suggestions?

  • Enabling KMS stops Fn brightness keys from being interpreted

    (I'm using 2.6.31-rc2 from git) When I turn on KMS for i915, Fn-Up/Down don't work. Like, at ALL. If KMS is off, they work fine. I can adjust the brightness just fine via the /proc or /sys interfaces both ways. xev doesn't even acknowledge the keys b