| View previous topic :: View next topic |
| Author |
Message |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
|
| Back to top |
|
 |
Google AdSense

|
Posted: 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
|
Posted: Mon Jul 13, 2009 4:40 pm Post subject: |
|
|
| 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  |
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 |
|
 |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
Posted: Mon Jul 13, 2009 4:42 pm Post subject: |
|
|
| Make sure you have right coding for the outbound call. |
|
| Back to top |
|
 |
zixy_tris MagicJack User
Joined: 16 Jun 2008 Posts: 32
|
Posted: Mon Jul 13, 2009 4:45 pm Post subject: |
|
|
| INCOMING WORKING. OUT GOING NOT. SAYS MISSING DIAL PLAN IN CID |
|
| Back to top |
|
 |
laserjobs Dan Should Pay Me
Joined: 12 Nov 2007 Posts: 636
|
Posted: Mon Jul 13, 2009 4:45 pm Post subject: |
|
|
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 |
|
 |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
Posted: Mon Jul 13, 2009 4:52 pm Post subject: |
|
|
| When you have in Out Dial Plan, it will always gives you False result then it will run the command after else. will give you True result when you use that command in In Dial Plan. |
|
| Back to top |
|
 |
laserjobs Dan Should Pay Me
Joined: 12 Nov 2007 Posts: 636
|
Posted: Mon Jul 13, 2009 4:56 pm Post subject: |
|
|
| richardtaur wrote: | | When you have in Out Dial Plan, it will always gives you False result then it will run the command after else. 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 |
|
 |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
Posted: Mon Jul 13, 2009 5:03 pm Post subject: |
|
|
| That wizard only works for the MSS. Not designed for SS. |
|
| Back to top |
|
 |
MJuser403 magicJack Apprentice
Joined: 24 Jan 2009 Posts: 26
|
Posted: Mon Jul 13, 2009 5:22 pm Post subject: |
|
|
| 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 |
|
 |
synchron Dan isn't smart enough to hire me
Joined: 15 May 2008 Posts: 229
|
Posted: Mon Jul 13, 2009 5:37 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
Posted: Mon Jul 13, 2009 5:40 pm Post subject: |
|
|
| 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 |
|
 |
wondabwoy magicJack Apprentice
Joined: 08 May 2009 Posts: 16
|
Posted: Mon Jul 13, 2009 6:06 pm Post subject: Dial Plan setup |
|
|
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 |
|
 |
MJuser403 magicJack Apprentice
Joined: 24 Jan 2009 Posts: 26
|
Posted: Mon Jul 13, 2009 6:28 pm Post subject: |
|
|
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 |
|
 |
synchron Dan isn't smart enough to hire me
Joined: 15 May 2008 Posts: 229
|
Posted: Mon Jul 13, 2009 7:18 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
richardtaur Dan isn't smart enough to hire me
Joined: 17 Mar 2008 Posts: 123
|
Posted: Mon Jul 13, 2009 7:43 pm Post subject: |
|
|
| 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 |
|
 |
|