tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.03k stars 2.23k forks source link

Issue with receiving registration Code in Yowsup #409

Closed vishnuc17 closed 9 years ago

vishnuc17 commented 9 years ago

I have been working in yowsup for past 1 week.whenever i run this command "./yowsup-cli --requestotp sms --config yowsup-cli.config ",it shows status as succes but am not receiving the code.What the problem here.

This is the status shown

Detected cc: 91 status: sent retry_after: 10805 length: 6 method: sms

lokeshsuhas commented 9 years ago

Try the updated one. It will ask for the mnc and mcc code.

vishnuc17 commented 9 years ago

Is this issue with this version beacuse i tried many indian numbers or problem with the number. Am for first time to this library so i dont know whether this is a stupid question,what is this 'mnc and mcc code',is it related to country code and phone number.Does the updated one supports all the existing features

tgalal commented 9 years ago

@vishnuc17 See Configuration options in https://github.com/tgalal/yowsup/wiki/yowsup-cli-2.0

vishnuc17 commented 9 years ago

@tgalal what is this mnc and mcc code in the command

what is dis status mean,whats wrong here

status: fail param: sim_mnc reason: bad_param

tgalal commented 9 years ago

https://en.wikipedia.org/wiki/Mobile_country_code what values did you pass to mnc and mcc? Also which country and which carrier is your phone number ?

vishnuc17 commented 9 years ago

Ok,i got that

Country is india and carrier in airtel(Gujarat)

lokeshsuhas commented 9 years ago

@vishnuc17 did u got message ..i tried with the mnc and mcc but still i dint get any message..

vishnuc17 commented 9 years ago

@lokeshsuhas I got the message by using yowsup 2.0 and yowsup older version,i think its problem network providers,i used a different number

vishnuc17 commented 9 years ago

@tgalal @lokeshsuhas whenever i run ./yowsup-cli --send 'number to which message is to be sent' "Test message" --wait --config yowsup-cli.config this command,it shows connection closed and error in happening in Echoclient.py

whats the problem here?