We need to develop a SIP to Whatsapp gateway. The gateway should be able to pass voice calls incoming over SIP and forward them through WhatsApp to complete the call to the called party number. The development platform/operating system is not important. The project should be completed either by using the Linux/Windows WhatsApp executables, or by using the Android / Windows Phone mobile versions of the application, no matter the version number. The implementation should return the correct call error codes to the SIP backend, i.e. CALL SUCCESS, BUSY, UNAVAILABLE, etc. For a successful project, we'll select the one, that triggers successfully continuous SIP/Viber calls.
1) Calls originating will send to the WhatsApp gateway
2) WhatsApp gateway converts the SIP/IAX signal to WhatsApp protocol
3) the termination number carried from the origination header will be checked by the Viber gateway, if the number is used by WhatsApp and if the number is online, the call will be terminated on WhatsApp!
4) if the number is not used in WhatsApp it sends a 503 error and rerouted to other gateways.