Unofficial magicJack Forum

Unofficial magicJack Forum

Your Unofficial magicJack and magicJack Plus phone service information resource
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
7 Digit Local Calling

 
Post new topic   Reply to topic    Unofficial magicJack Forum -> Magic Jack Technical Support
View previous topic :: View next topic  
Author Message
jackiehsu97
MagicJack Contributor


Joined: 17 Jan 2010
Posts: 66
Location: Florida

PostPosted: Sun Mar 21, 2010 10:19 am    Post subject: 7 Digit Local Calling

Hello all! I was recently reviewing the "A Way So you Don't Have to Dial your Own Area Code" post earlier, LOCATED HERE: "http://www.phoneservicesupport.com/a-way-so-you-don-t-have-to-dial-your-own-area-code-each-time-t7085-15.html". I was using 'insertdisk''s code, with no problems at all...

BUT, I recently purchased some international minutes, and realized that international calls DO NOT WORK!!! I start by dialing '011886' and then the phone number of the person I'm trying to call, but the call fails. I later checked the softphone to discover that the AUTOit Script was STILL adding my home area code... I checked the code (though I have absolutely no knowledge of stuff like this), and there doesn't seem like there should be a problem....

MY REQUEST is, if some very cool smart programmey person could SO kindly modify this code so that everything works, I would APRECIATE it so veyr much!!! Thanks so much in advance, and for reading my post.
(Sorry for reposting, but the original was in the wrong section... and I on't know how to remove it. Can someone teach me?)

NOTE: HEREIS THECODE I'm USING

++++CODE STARTS++++
$NewCall = True
While WinExists("magicJack")
Sleep(100)
$var = ControlGetText("magicJack", "", "Edit1")
if $NewCall And String($var) = 0 Then
$var = "" & $var
ElseIf $NewCall And String($var) = 1 Then
$var = "" & $var
EndIf
$CheckAreaCode = StringLeft($var,3)
if $NewCall And (StringLen($var) > 3 AND StringLeft($var,1) <> "1") AND StringLeft($var,1) <> "*" Then
Select
Case $CheckAreaCode = "Area Code"
Case Else
$var = "Area Code" & $var
ControlSetText("magicJack", "", "Edit1", $var )
Send("{End 1}")
EndSelect
EndIf

If StringLen($var) > 6 Then
Sleep(500)
$NewCall = False
Else
$NewCall = True
EndIf

Wend


-=-=-=-=-=-=-Jackie-=
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Unofficial magicJack Forum -> Magic Jack Technical Support All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB Ultra Turbo Extended Edition Live © 2001-9999, phpBB Group
magicJack and magicJack Plus are trademarks of magicJack LLP. This website is in no way affiliated, endorsed, or sponsored by magicJack LLP, and is an unofficial forum for consumers to openly communicate regarding their experiences with the magicJack products.