magicJack and MagicJack Plus Support, Reviews, FAQs and Hacks Forum Index magicJack and MagicJack Plus Support, Reviews, FAQs and Hacks
magicJack and magicJack Plus Unofficial Technical Support. Your Magic Jack and Magic Jack 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 
ATAs working again using sipsorcery.com
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    magicJack and MagicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks
View previous topic :: View next topic  
Author Message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 4:38 pm    Post subject: Reply with quote

Here is a simple outbound call dial plan....

http://www.mysipswitch.com/forum/viewtopic.php?t=1477
Back to top
View user's profile Send private message
Google
AdSense





PostPosted: Mon Jul 13, 2009 4:38 pm    Post subject: Magicjack support, tips, tricks, and hacks


Back to top
MJuser403
magicJack Apprentice


Joined: 24 Jan 2009
Posts: 26

PostPosted: Mon Jul 13, 2009 4:40 pm    Post subject: Reply with quote

synchron wrote:
ditto (wondabwoy).

ATA Registers.

Dialing out gives fast busy.

Incoming works!


For those that say it works, r u sure that OUTGOING works as well??

Synchron Cool


Everything is looking healthy, except that I also get a fast busy on dialing out. I set everything up per the first post. I think maybe the "SIP port" in the ATA needs a different setting? I tried 5070 and 5060, but still fast busy on dial out.

We're close.
Back to top
View user's profile Send private message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 4:42 pm    Post subject: Reply with quote

Make sure you have right coding for the outbound call.
Back to top
View user's profile Send private message
zixy_tris
MagicJack User


Joined: 16 Jun 2008
Posts: 32

PostPosted: Mon Jul 13, 2009 4:45 pm    Post subject: Reply with quote

INCOMING WORKING. OUT GOING NOT. SAYS MISSING DIAL PLAN IN CID
Back to top
View user's profile Send private message
laserjobs
Dan Should Pay Me


Joined: 12 Nov 2007
Posts: 636

PostPosted: Mon Jul 13, 2009 4:45 pm    Post subject: Reply with quote

What happens if you add the following dial plan and apply it to your Dial Out Plan on your SIP Account?

Code:
#Ruby
# Dial Plan Generated by Rubyzard v0.1
# If you need help, please post in our forum
# http://www.mysipswitch.com

# SIP tracing : true or false
sys.Trace = false

sys.Log("call from #{req.Header.From.FromURI.ToString()} to #{req.URI.User}.")

if sys.In
 # Do your INCOMING call processing customisations here.
 
else
  # Do your OUTGOING call processing customisations here.
  sys.Dial("Magicjack")
 
end


Edit: removed "then" as Richard pointed out.


Last edited by laserjobs on Mon Jul 13, 2009 5:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 4:52 pm    Post subject: Reply with quote

When you have
Code:
if sys.In then
in Out Dial Plan, it will always gives you False result then it will run the command after else.
Code:
If sys.In
will give you True result when you use that command in In Dial Plan.
Back to top
View user's profile Send private message
laserjobs
Dan Should Pay Me


Joined: 12 Nov 2007
Posts: 636

PostPosted: Mon Jul 13, 2009 4:56 pm    Post subject: Reply with quote

richardtaur wrote:
When you have
Code:
if sys.In then
in Out Dial Plan, it will always gives you False result then it will run the command after else.
Code:
If sys.In
will give you True result when you use that command in In Dial Plan.


I just used Rubyzard to generate the dial plan. Is it not correct?
http://www.mysipswitch.com/rubyzard.aspx
Back to top
View user's profile Send private message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 5:03 pm    Post subject: Reply with quote

That wizard only works for the MSS. Not designed for SS.
Back to top
View user's profile Send private message
MJuser403
magicJack Apprentice


Joined: 24 Jan 2009
Posts: 26

PostPosted: Mon Jul 13, 2009 5:22 pm    Post subject: Reply with quote

MJuser403 wrote:


Everything is looking healthy, except that I also get a fast busy on dialing out. I set everything up per the first post. I think maybe the "SIP port" in the ATA needs a different setting? I tried 5070 and 5060, but still fast busy on dial out.

We're close.


It was the outgoing dial plan. Thanks Richard! You posted at the same time I did.
Back to top
View user's profile Send private message
synchron
Dan isn't smart enough to hire me


Joined: 15 May 2008
Posts: 229

PostPosted: Mon Jul 13, 2009 5:37 pm    Post subject: Reply with quote

I'm confused. Where do you specify whether it's an 'in' or 'out' dialing plan? I thought there's only one type of Ruby dialplan and you use if Sys.In and/or if Sys.Out' to tailor it to your desires.

Incoming calls work without a dial plan. I'm not home now (and won't be for several hours) but will this work by itself to handle outgoing mj calls via sipsorcery?:

#Ruby

sys.Log("call from #{req.Header.From.FromURI.ToString()} to #{req.URI.User}.")

if sys.Out() then
sys.Dial("Magicjack") *<-- the provider name you gave

end


Synchron Cool
Back to top
View user's profile Send private message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 5:40 pm    Post subject: Reply with quote

When you log in the SS account, you will see the first tab that is SIP Accounts. When you click on the Account, it will show you a box in the middle of the page, inside that box, there is a Out Dial Plan and In Dial Plan. If you have any dial plans, then you can select the plan you want to use for each one.
Back to top
View user's profile Send private message
wondabwoy
magicJack Apprentice


Joined: 08 May 2009
Posts: 16

PostPosted: Mon Jul 13, 2009 6:06 pm    Post subject: Dial Plan setup Reply with quote

Ok, so can someone show us simpletons how to add the dial plan to each incoming and outgoing, and once again anyone here got this working, could you share screen shots of the sipsorcery settings, with your personal info blacked out, PLEASE?
richardtaur wrote:
When you log in the SS account, you will see the first tab that is SIP Accounts. When you click on the Account, it will show you a box in the middle of the page, inside that box, there is a Out Dial Plan and In Dial Plan. If you have any dial plans, then you can select the plan you want to use for each one.


UPDATE: My incoming is finally working but still NOTHING for outgoing. I did copy and the dial plan code posted above in the big open space under the dial plan tab/link, then made sure to stop my magicjack service from running, and viola, but don't know if the dial plan above makes any difference, PLEASE HELP US GET OUTGOING CALLS WORKING!
Back to top
View user's profile Send private message
MJuser403
magicJack Apprentice


Joined: 24 Jan 2009
Posts: 26

PostPosted: Mon Jul 13, 2009 6:28 pm    Post subject: Reply with quote

richardtaur wrote:
Here is a simple outbound call dial plan....

http://www.mysipswitch.com/forum/viewtopic.php?t=1477


Thanks for the good example of an outbound dial plan. Everything is now working for me with my ATA. This solution is ideal, as I no longer need to run the MJMD5 proxy on my PC. SipSorcery.com now becomes the proxy.

I am slightly uncomfortable with having my MJ username and password on the sipsorcery site, I know the admins can certainly see them. Since MJ is unlimited calling, there really is not much harm that can be done.
Back to top
View user's profile Send private message
synchron
Dan isn't smart enough to hire me


Joined: 15 May 2008
Posts: 229

PostPosted: Mon Jul 13, 2009 7:18 pm    Post subject: Reply with quote

Well, Richard Taur has been highly involved with the MySipSwitch forums and I strongly trust his intentions to the MJ community and that this will work. I also trust Aaron and his MSS/SS service; I just hope it does not get bogged down. The CSharp Noonce/MJMD5 module showing the special MJ hooks makes me to believe that this is a viable solution for those who do not want to shell out $$ for a DDWRT capable router and want their ATA's to work without PC on.

This looks to be a very cool dialplan specific to MJ and since we have one successul user, I have no doubts that this will work when I get home. You can do 7 digit dialing for your local calls as well as 911 emergency and FREE411 that you were able to do with magicjack.

Richard, are we to set up up constants for 'phone1, phone2, .....phonen' in order to not allow certain phone numbers to be dialed (like your significant other calling a XXX line or something?)

BTW, it took me around an hour to get the ATA successfully working right with sipsorcery.com. Apparently, the MJMD5 must have been interfering and it needs to be killed. Closing the window isn't good enough, you need to kill it in windows task manger.

Synchron Cool
Back to top
View user's profile Send private message
richardtaur
Dan isn't smart enough to hire me


Joined: 17 Mar 2008
Posts: 123

PostPosted: Mon Jul 13, 2009 7:43 pm    Post subject: Reply with quote

Aaron fixed a lot of things and help out a lot of people. He helps me since the begging when I was using MJ with MSS back to last year.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    magicJack and MagicJack Plus Support, Reviews, FAQs and Hacks Forum Index -> magicJack Tips, Tricks, and Hacks All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
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 Turbo Extended Edition © 2010, phpBB Group