Asterisk help
Moderators: Bill Smith, Pilot
Asterisk help
Ok I am pulling my hair out over this one, its an asterisk problem so if anyone has any pointers it would be greatly appreciated. Well I have come into a digium asterisk appliance AA50. The front end that they use for the device is very easy to use and change all the settings. But you still have the ability to change settings traditionally I have tried both ways. I guess I will get to the problem already. It seems that the only thing that is going wrong is that the device is pushing the wrong format register string out. When I SSH to the box and type “asterisk -r” to view the “asterisk*CLI>” command line. I can see that the format of the registration string format that it keeps trying to use is [email protected] . But the register sting format that I have in my sip.config under general is EXXXXXXXXXX01:[email protected]:5070/XXXXXXXXXX But its still sending the wrong request no matter what I do....so if anyone has any tips on how or were to change that damn string
-
crackerjack
- Dan Should Pay Me
- Posts: 784
- Joined: Fri Nov 16, 2007 9:32 pm
Re: Asterisk help
What does your whole sip.conf look like? Sanitize it and post hereneo2121 wrote:Ok I am pulling my hair out over this one, its an asterisk problem so if anyone has any pointers it would be greatly appreciated. Well I have come into a digium asterisk appliance AA50. The front end that they use for the device is very easy to use and change all the settings. But you still have the ability to change settings traditionally I have tried both ways. I guess I will get to the problem already. It seems that the only thing that is going wrong is that the device is pushing the wrong format register string out. When I SSH to the box and type “asterisk -r” to view the “asterisk*CLI>” command line. I can see that the format of the registration string format that it keeps trying to use is [email protected] . But the register sting format that I have in my sip.config under general is EXXXXXXXXXX01:[email protected]:5070/XXXXXXXXXX But its still sending the wrong request no matter what I do....so if anyone has any tips on how or were to change that damn string
Good Luck
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
CrackerJack
MagicJack Customer #73
MagicJack user since May 2007
MagicJack abuser since June 2007
"I gots mo' numbers than a Lotto machine!!!"
register = EXXXXXXXXXX01:[email protected]:5070/XXXXXXXXXX
[magicjack]
context=incoming
username=EXXXXXXXXXX01
type=friend
secret=XXXXXpasswordXXXXX
port=5070
nat=yes
insecure=very
host=216.234.78.8
fromuser=EXXXXXXXXXX01
dtmfmode=inband
qualify=2000
[magicjack]
context=incoming
username=EXXXXXXXXXX01
type=friend
secret=XXXXXpasswordXXXXX
port=5070
nat=yes
insecure=very
host=216.234.78.8
fromuser=EXXXXXXXXXX01
dtmfmode=inband
qualify=2000
Your Asterisk seems to be behaving properly. The Register transaction is different from what you encode into Asterisk. What you put into sip.conf is designed to be understood by a human - you. Asterisk then parses the information and formats it into a SIP REGISTER request. Your password will no longer be adjacent to your user name in the packet sent to MJ.
Now, how about telling us your problem and see if we can diagnose that? What is it about your Asterisk that is not working properly? Also, what version are you running ('show version' or 'core show version')?
Now, how about telling us your problem and see if we can diagnose that? What is it about your Asterisk that is not working properly? Also, what version are you running ('show version' or 'core show version')?
That is not a valid Asterisk version number. You should look for a number like 1.2.x or 1.4.x or 1.6.x in a string that looks something like "Asterisk 1.2.5 built by root @ sip.thisisanasterisk.net on a i586 running Linux on 2007-07-03 15:34:07 UTC". There are some commands that differ between the major releases, so it is difficult to probe further without knowing what the environment is.
On the other hand, I might have spotted the problem. It seems that you are only engaging MJ's SIP Server and not their Proxy Server (or vice versa). Try changing your register= line to this:
I might not have gotten this string perfectly correct, so you ought to Search for asterisk here if this string doesn't work.
On the other hand, I might have spotted the problem. It seems that you are only engaging MJ's SIP Server and not their Proxy Server (or vice versa). Try changing your register= line to this:
Code: Select all
[email protected]:password:[email protected]:5070/XXXXXXXXXX-
reelbigfish
- MagicJack Newbie
- Posts: 6
- Joined: Tue Aug 11, 2009 11:16 am
Magic Jack as my PSTN for an Asterisk test server
I have a MJ and a working Astrisk server with some sip phones. I'd like to use the MJ account as PSTN provider for my Asterisk test box.
I've captured a Sniff of MJ but I'm not sure what I need and how to find it.
Any help will be greatly appreciated. Thanks
I've captured a Sniff of MJ but I'm not sure what I need and how to find it.
Any help will be greatly appreciated. Thanks
-
completetech
- magicJack Apprentice
- Posts: 16
- Joined: Sun Jul 26, 2009 1:11 am
Re: Magic Jack as my PSTN for an Asterisk test server
how?reelbigfish wrote:I have a MJ and a working Astrisk server with some sip phones. I'd like to use the MJ account as PSTN provider for my Asterisk test box.
I've captured a Sniff of MJ but I'm not sure what I need and how to find it.
Any help will be greatly appreciated. Thanks
i have a FreePBX asterisk box running and seem to not be able to get them to register to allow any calls in or out!
-
grillovillegas
- magicJack Apprentice
- Posts: 25
- Joined: Mon May 11, 2009 5:38 pm
Asterisk
need help
I have MJ runing on my pap2 for over a couple of months
withou any mjmd5 or anything
i just put the credentials and its working
and i want to setup as a trunk on asterisk
Any help will be very appreciated.
Thanks
I have MJ runing on my pap2 for over a couple of months
withou any mjmd5 or anything
i just put the credentials and its working
and i want to setup as a trunk on asterisk
Any help will be very appreciated.
Thanks
Grillo Villegas