SipSorcery+GV GALX key 出問題

來源: 2013-10-29 20:34:47 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

大家不用改自己的dial plan, 等著Aaron改他的C#程序吧。好像是小問題,改幾個代碼就行了。希望明天一早就修好。Aaron在澳大利亞,比美國早14-16小時。


Re: Could not find GALX key on your Google Voice pre-login p

Postby sw231 » Tue Oct 29, 2013 11:46 pm

Hi Aaron,
I guess in the pre-login page, Google inserted a [type="hidden"] in the
<input name="GALX" value="xxxxxx"> item
the new one looks like
<input name="GALX" type="hidden"
value="xxxxx">

In the method
private string Login(string emailAddress, string password)

you are trying to match name="GALX" value="xxxxxx":
Match galxMatch = Regex.Match(galxResponseFromServer, @"name=""GALX""\s+?value=""(?<galxvalue>.*?)""");
-sw231
sw231
 
Posts: 34
Joined: Sat Sep 26, 2009 3:32 pm
 

Re: Could not find GALX key on your Google Voice pre-login p

Postby Aaron » Wed Oct 30, 2013 1:52 am

Thanks to sw231. I'll check that out in a few hours and if that's the fix will deploy a update to the server code.
User avatar
Aaron
Site Admin
 
Posts: 4127
Joined: Thu Jul 12, 2007 12:13 am