denisprokopchuk / siphon

Automatically exported from code.google.com/p/siphon
0 stars 0 forks source link

Problem with using Magicjack SIP account with Siphon #245

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

There are many people that have Magicjack & using Their Magicjack SIP 
account in iPhone 3G with Siphon software.
as Magicjack company provide an upgrade for MJ, after the upgrading Siphon 
software can't work with it & show this massage: "Maximum number of stale 
retries exceeded" that means Server reject the account information 
provided by siphone.
I think the Siphon software need a little upgrade,to fix this problem, 
because The magicjack USB device that has not updated, has same issue, but 
after update work fine.

Original issue reported on code.google.com by shahra...@gmail.com on 15 Jun 2009 at 4:23

GoogleCodeExporter commented 9 years ago
Could you enable log level to detailled ?
Launch Siphon, when you have the message, quit.
The log.txt is written in /var/mobile/Library/Siphon.
Could you upload here ?

Generally, this message is displayed when your login/pwd are false/erroneous.
Perhaps, MagicJack has changed his settings. The issue 234 was modified to tell 
proxy
server name changed from proxy1.City.talk4free.com to proxy01.City.talk4free.com

Original comment by samuelv0...@gmail.com on 15 Jun 2009 at 6:45

GoogleCodeExporter commented 9 years ago
I know about changing the proxy setting from proxy1 to proxy01 & also i dump MJ 
setting again & again $ set account info in siphon 2 time like ID & Pass ....., 
but 
the problem still exist, it's happend in iTlak too,like siphone & some friends 
told 
me the had same problem with fring.
I attached the detailed log file of siphon here.

Original comment by shahra...@gmail.com on 15 Jun 2009 at 3:05

Attachments:

GoogleCodeExporter commented 9 years ago
As you know on that log file, i use IP address of my proxy server.
216.234.70.8:5070 insted proxy01.losangeles.talk4free.com .
hope to see somthing great for solving thiss issue.

Original comment by shahra...@gmail.com on 15 Jun 2009 at 5:50

GoogleCodeExporter commented 9 years ago
I am having a similar problem, however it worked for me last night and when I 
tried 
siphon sometime later it did not work I got the message "Maximum number of 
stale 
retries exceeded" please note that I did not change anything. I shall 
appreciate any 
insight into this problem

Original comment by yanlal%t...@gtempaccount.com on 16 Jun 2009 at 1:29

GoogleCodeExporter commented 9 years ago
I am also having the same problem. I changed the proxy setting from proxy1 to
proxy01. It was working for me until about a week ago, and now I am getting 
"Maximum
number of stale retries exceeded". Any help in this matter would be greatly
appreciated. Ryan.gupta@gmail.com

Original comment by ryan.gu...@gmail.com on 16 Jun 2009 at 3:37

GoogleCodeExporter commented 9 years ago
I read in a site that Magicjack co. in the last update add hardware ID cheking 
in 
Authentication Proccess. so, regard it,I think first the hardware ID must be 
Dump & 
then a little part in Siphon must be add for it.

hope this little information be useful for who that work on it like me.

Original comment by shahra...@gmail.com on 16 Jun 2009 at 4:11

GoogleCodeExporter commented 9 years ago
I analyzed your log file and I don't find anything.
Perhaps you can sniff network traffic with USB support, or sw version with 
wireshark
for example.
Or another solution will be ask to Magicjack co. the new specification ;-)

Original comment by samuelv0...@gmail.com on 16 Jun 2009 at 7:21

GoogleCodeExporter commented 9 years ago
I talked with MJ guys, the say nothing, just repeat that providing SIP 
information 
is impossible.
so, i try to capture Net Traffic by wireshark & will send it to you.
But, befor that all, i have to say that your software is great & worke fine, 
this 
issue is from Mj side not your software.
thanks again about great Siphone, i had a lot of fun with it!!!

Original comment by shahra...@gmail.com on 16 Jun 2009 at 7:28

GoogleCodeExporter commented 9 years ago
Perhaps in this blog you could find information

http://www.gruups.com/magicjack/

Original comment by samuelv0...@gmail.com on 16 Jun 2009 at 8:54

GoogleCodeExporter commented 9 years ago
thanks, will try, if fine something new, will inform....

Original comment by shahra...@gmail.com on 16 Jun 2009 at 8:58

GoogleCodeExporter commented 9 years ago
Hi, I have the same problem with of "Maximum number of stale 
retries exceeded" if I find a solution I let you know and otherwise. Thanks :-)

Original comment by prap...@gmail.com on 17 Jun 2009 at 3:39

GoogleCodeExporter commented 9 years ago
same problem here: "Maximum number of stale retries exceeded" :|

Original comment by sonphan...@gmail.com on 18 Jun 2009 at 12:09

GoogleCodeExporter commented 9 years ago
Dear samuelv0304 
I checked that blog, that was good, but the method was old, there is no serial 
number in the captured traffic. i did it more than 5 time with wireshark.
if you think it can help you to solve this problem, i can send the captured 
traffiic 
for you.

Original comment by shahra...@gmail.com on 18 Jun 2009 at 1:01

GoogleCodeExporter commented 9 years ago
Yes If you can, perhaps We can see something.
Could you send me your iphone UDID, like that I will generate specific version 
to
test different configuration.

Original comment by samuelv0...@gmail.com on 18 Jun 2009 at 7:41

GoogleCodeExporter commented 9 years ago
Here is my MJ TCP/IP traffic. hope 2 be useful.
what's does it mean, UDID?

Original comment by shahra...@gmail.com on 18 Jun 2009 at 7:05

Attachments:

GoogleCodeExporter commented 9 years ago
Dear samuelv0304

If you ahve any new news about siphone problem with MJ, i'll be so happy if you 
let 
me know about it.

Original comment by shahra...@gmail.com on 23 Jun 2009 at 11:32

GoogleCodeExporter commented 9 years ago
Dear samuelv0304

If you ahve any new news about siphone problem with MJ, i'll be so happy if you 
let 
me know about it.

Original comment by shahra...@gmail.com on 23 Jun 2009 at 11:32

GoogleCodeExporter commented 9 years ago
Sorry, I wrote my answer but I think I forgot to send it :-(
I read Siphon log file and MJ-net log file :
   - In Siphon use 5070 port and in MJ-net 57675 (but I don't think it's the problem)
   - User Agent
      + User-Agent: MagicJack/1.80.484a (SJ Labs)
      + User-Agent: Siphon PjSip v1.0.2-trunk/arm-apple-darwin9
   - MagicJack support (Supported: path) rfc 3327

You can try to change port, after you can send me your UDID
(http://code.google.com/p/siphon/wiki/ManualInstallationForBetaTest ), I will
generate a specific version.

Original comment by samuelv0...@gmail.com on 25 Jun 2009 at 8:42

GoogleCodeExporter commented 9 years ago
Dear samuelv0304

I will test it & let you know the result & UDID.
but i read in some site that MJ site add the Agent check to authentication 
process, 
How can i set it in siphone? is there any way (manual or in some menu)?

Original comment by shahra...@gmail.com on 25 Jun 2009 at 9:03

GoogleCodeExporter commented 9 years ago
Dear Samuelv0304

My UDID is: 9173153a59881d2a63eed6aeb3fee9bbf420606c

Hope with this info, finaly siphon works fine again.

Original comment by shahra...@gmail.com on 26 Jun 2009 at 4:12

GoogleCodeExporter commented 9 years ago
I could not understand any thing you discussed. My siphon was working fine 
untill 3 
weeks ago. the day i saw the Max no of stale stats error i tried to check in 
this 
blog. The prob was not fixed. Now you guys says it is working fine.

can you explan me how to fix it in details.

Thanks in Advance.

Original comment by santoshv...@gmail.com on 26 Jun 2009 at 4:27

GoogleCodeExporter commented 9 years ago
I suppose shahramzm would write "... siphon will works..." ;-)

Original comment by samuelv0...@gmail.com on 26 Jun 2009 at 6:09

GoogleCodeExporter commented 9 years ago
Dear santoshvella

I never said it's work. if read older post carefuly, you will that we are 
working on 
it.
as you said, it was stop working 3 weeks ago. with same message that you said.
as soon as samuelv0304 find the solution for it, you all will know about it, 
here.

Original comment by shahra...@gmail.com on 26 Jun 2009 at 6:16

GoogleCodeExporter commented 9 years ago
In other blog page I read that if you change the phone number this could work 
until MJ 
server ban your number. I try with another MJ that I have and it doesn't work 
too. I 
try to change ports and nothing. 

Original comment by prap...@gmail.com on 27 Jun 2009 at 9:13

GoogleCodeExporter commented 9 years ago
Yes, changing the number not working. Wait for finding a solution.

Original comment by shahra...@gmail.com on 28 Jun 2009 at 12:35

GoogleCodeExporter commented 9 years ago
Thanks you shahramzm. Will Check this blog regularly ..for Update on this.

will wait for samuelv0304 solution. Thank you once again for updating me .

Original comment by santoshv...@gmail.com on 29 Jun 2009 at 2:24

GoogleCodeExporter commented 9 years ago
I think that it may work if we change the User-Agent and re-compile it again; 
Perhaps
MagicJack validates the User-Agent to make sure it comes from their USB. Here 
is a
file I found on the Source code of Siphon that may help in the modification of 
the
User-Agent:

This is the Output of Siphon:
User-Agent: Siphon PjSip v1.0.1/darwin

It is produced by this code:
  /* Initialize default config */
  pjsua_config_default(&(app_config->cfg));
  pj_ansi_snprintf(tmp, 80, "Siphon PjSip v%s/%s", pj_get_version(), PJ_OS_NAME);
  pj_strdup2_with_null(app_config->pool, &(app_config->cfg.user_agent), tmp);

Found on:

http://www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#NbMozNl6zdg/trunk/Sipho
n2/Other/call.m&q=user%20agent%20package:http://siphon\.googlecode\.com&l=296

Hope this get fixed soon...

Original comment by alexavie...@gmail.com on 11 Jul 2009 at 7:20

GoogleCodeExporter commented 9 years ago
Thanks I already tested this solution without success, look comment 18 ;-)

Original comment by samuelv0...@gmail.com on 11 Jul 2009 at 7:47

GoogleCodeExporter commented 9 years ago
I have two magicJack phone numbers, for one magicJack the SIP credentials work 
on 
siphon and for the other it does not. The one for which SIP credentials work 
has 
been generated on an XP machine and the one for which it does not work has been 
generated on Vista. 

Could it be that the proxy password generated on XP and Vista machines would be 
different and hence the other is not working? Or could there be any other 
reason?

I would try to generate it on XP and see if the second works fine (does it 
generate 
a seperate password?)

I am sure there are many who already know the reasons why some magicjack works 
and 
some do not. Appreciate help in this regard.

Original comment by dharnidh...@gmail.com on 16 Jul 2009 at 9:16

GoogleCodeExporter commented 9 years ago
I tried this out, but even on XP it returns the same password and does not 
work. Any 
clues?

Original comment by dharnidh...@gmail.com on 16 Jul 2009 at 11:43

GoogleCodeExporter commented 9 years ago
Hmmmm; it can be possible that at the time you connect the MagicJack on the 
Vista
machine, it tells MagicJack's server (talk4free.com) that you are using Vista, 
and so
the MagicJack is updated on the thing and the server to provide with better
connection or fix some issues with Vista. If my theory is right, connect the 
number
that works on the Vista machine and see if once you update, it works on Siphon. 
If
this is not the problem, well, I have no clue... I need to find out what's 
wrong.

Original comment by alexavie...@gmail.com on 17 Jul 2009 at 4:26

GoogleCodeExporter commented 9 years ago
Look at this: http://www.gruups.com/magicjack/

Original comment by alexavie...@gmail.com on 17 Jul 2009 at 7:41

GoogleCodeExporter commented 9 years ago
Alexavier,

I have generated SIP credentials for 6 magic jack phones using MagicJack 
Utilities 
(1.6 and 1.5) on XP and Vista. The SIP details returned thru all these 
combinations 
are same for all these numbers (ProxyUserName and ProxyUserPassword). Hence I 
do not 
think that machine related details are being passed to MagicJack server.

Only 1 SIP credential work on different applications like SIPHON, Siax, iTalk 
(on 
iPhone 2g and iPhone 3g). Rest of them do not work. They return either 'Request 
Timeout' or 'Maximum number of stale'. I do not think the issue is with SIPHON, 
but 
should be with Magic Jack. Hope this information can give you some idea for you 
to 
make further enquiry. Let me know if you need any more information in this 
regard. 
Nice to hear a reply.

Original comment by dharnidh...@gmail.com on 17 Jul 2009 at 8:54

GoogleCodeExporter commented 9 years ago
I found this on another forum (it may be helpful)...

----------------------------------------------------
Hi to everybody

As you all know it's about 3 weeks that MJ sip info not work anymore with 
iPhone or
ther softphone or VOIP hardware.
now, i found something new. MJ change the authentication way from simple 
Username &
Password for proxy login to Digest access Authentication.

you can find complete info in this link:
en.wikipedia.org/wiki/Digest_access_authentication
so, if you are a profesional in it (i'm not), yopu can find a way to have MJ on 
our
softphone or VOIP hardware again.

Good luck

Original comment by alexavie...@gmail.com on 17 Jul 2009 at 11:02

GoogleCodeExporter commented 9 years ago
I was getting the same error but truthfully, this is the first time I tried to
configure Siphon and MagicJack.  Here's how I got the inbound calls working and 
the
stupid "Maximum number of stale retries exceeded" message to go away.  I'm still
working on outbound calls though.

Username E916xxxxxxx01
Password xxxxxxxx
Server talk4free.com

Advanced Settings:
  Reg. Timeout 3600
  Proxy Server proxy01.sacramento.talk4free.com:5070
  Enable NAT Off
  Auth. Username E916xxxxxxx01
  Contact

Network Settings:
  Local Port 60685
  STUN Server
  STUN Domain
  Keep Alive Interval 15
  RTP Port 5070
  Enable ICE Off

Original comment by cr...@3christianguys.com on 19 Jul 2009 at 7:09

GoogleCodeExporter commented 9 years ago
Oh, I also had to kill the process running on my Windows XP.  Otherwise, I get 
the
ugly message of "Maximum number of state retries exceeded 
(PJSIP_EAUTHSTALECOUNT)"
message.

Original comment by cr...@3christianguys.com on 19 Jul 2009 at 7:14

GoogleCodeExporter commented 9 years ago
Ok, I changed setting. It is supposed to show "Bad Request"; is the 916 after 
the E part of your number, or 
we should add it?

Thanks

Original comment by alexavie...@gmail.com on 19 Jul 2009 at 8:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
916 is his area code, you do not need to add it. Incoming also does not work 
with my 
number even when I changed the Local Port from 5070 to 60685.

Original comment by dharnidh...@gmail.com on 19 Jul 2009 at 10:04

GoogleCodeExporter commented 9 years ago
Dear Samuelv0304

Ilook around for This MJ problem with Siphon and at the end, i found that MJ 
guys 
change the authentication way, in the past they use simple Username and 
password for 
proxy, but now, they got smart, they are using Digest authentication!!
So, if some change to some constant in this way, add to siphone setting and add 
the 
this new authentication to siphon source code,Bingo, Mj again will work with it.
 You can find some good thing about it in these links:
http://en.wikipedia.org/wiki/Session_Initiation_Protocol
http://en.wikipedia.org/wiki/Digest_access_authentication
http://www.ietf.org/rfc/rfc3261.txt (best source for all about SIP Digest 
Authentication)

I hope you still have my MJ TCP/IP traffic by Wireshark. if look at that, you 
will 
see that they are using exactly this way.they are using nonce, realm & respond 
with 
MD5 algorithm & as you will find they did a great mistake, because, they use 
fix 
nonce & realm for each MJ device, so if you have these 2 with your old Username 
& 
password, you can use MJ again on any ATA device or iPhone with Siphon again.
Hope to have some good news for us after that all.

Best Regards
SHahram Z.M

Original comment by shahra...@gmail.com on 23 Jul 2009 at 4:37

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, my comment earlier about the inbound calls working was true.  UNTIL, I 
messed
around with more settings and then reset them to just before testing.  Is there 
a bug
that leaves some kind of configuration data behind causing it to fail?  And, 
why did
some people report that the older version worked fine until they upgraded?  Can 
we
downgrade to that version?  And last, if Shahramzm is correct, this would only 
make
sense if my MagicJack software has been updated on Windows XP.  But, I'm pretty 
sure
that it hasn't been as I leave the computer on for months at a time without 
rebooting
and have not seen the "Lucky you, upgrading" message.

So, what next then?

Original comment by my.perso...@gmail.com on 25 Jul 2009 at 6:41

GoogleCodeExporter commented 9 years ago
I just ran Stroths MagicJack Utilities Suite to see which version of MagicJack
software is installed on my computer and it returned:

1.80.484.1 Dated 4/10/2009

So, again, I believe this could not be a recent change that caused all of the
MagicJack voip users to stop having support.  Has anyone made any new grounds?

Original comment by my.perso...@gmail.com on 30 Jul 2009 at 3:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I see more updated version 1.80.499.2 - Dated 08/01/2009. 

Original comment by dharnidh...@gmail.com on 3 Aug 2009 at 4:09

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Look at the post on 
http://www.magicjacksupport.com/stroths-mj-utilities-1-6-sip-
info-more-8-2-update-t4230-225.html for more information.

From FalconV
Same here, "No SIP Data Found. Please try again" 

I haven't tried before, so I don't know if it would have worked. I let MJ do 
it's 
update, so I'm also on version 1.80.499.2, and I'm running the 1.6b1 SIPInfo, 
I've 
tried 1, 2, 3 and 4 second delays (integers only), multiple times for each, and 
no 
luck. 

I thought it was because I'm running it on a really old, slow laptop (600MHz 
P3), 
but after seeing others with the same problem I wonder if MJ anti-hacked their 
device again.

Original comment by dharnidh...@gmail.com on 4 Aug 2009 at 4:42

GoogleCodeExporter commented 9 years ago
same problem here: "Maximum number of stale retries exceeded" :|

Original comment by NoellasP...@gmail.com on 1 Oct 2009 at 5:49

GoogleCodeExporter commented 9 years ago
MagicJack changed the authentication to non-standard.  The standard uses
username/password/realm/uri/nonce to generate the response hash value (you can 
check
the wiki page) but MagjcJack added 6 hex-digits to the nonce to generate the 
hash
value.  You can check this by running sniffer to capture the authentication 
packets
and compare the response hash value from the real MJ vs the hash generated by
standard SIP clients.

Original comment by huangcha...@gmail.com on 7 Oct 2009 at 11:29

GoogleCodeExporter commented 9 years ago
Is there a MajicJack Utility fix that is already out that now works?

Original comment by dharnidh...@gmail.com on 12 Oct 2009 at 4:25

GoogleCodeExporter commented 9 years ago
Has anyone gotten this to work yet?  This is one of the most annoying little
problems.  It is cool that it can work without the dongle, but I'd still like 
to suck
the SIP infor into Fringe or Nimbuzz.

Original comment by AlienAme...@gmail.com on 25 Dec 2009 at 3:09