VoIP SIP (Voice Calls) System : Source Code

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello Everyone

Please use the same download link we sent you earlier to download the new update source codes.

The update contains : Password (The password is mandatory now)
You can now setup the B4J VoIP Server with a password and you can connect to it using B4A VoIP SIP New Library Project through a password.

Updated projects & Files :
1- VoIPSIPB4A-NewLibrary :
1-1 SQLite has a new column under the name "StrPassword"
1-2 Starter Service has a new variable "StrPassword"
1-3 Settings Activity has a new edittext under the name "txtPassword"
1-4 srvVoIPSIP Service : at the end of the function "SIP.initialize" you can now call "Starter.StrPassword" which should contain the Server Password by setting it through Settings activity

2- VoIPSIPB4J
2-1 MainMenu Module has a new TextField under the name "txtServerPassword"
2-2 SQLite has a new column under the name "StrPassword"
2-3 Modified the inline Java to accept and compare the sent password from the client VoIP SIP B4A with the B4J VoIP Server Password.
If the password is correct the registration will be completed and if the password was wrong then the client won't be able to register and in the B4J log you will see a message "Wrong Password"

3- B4XCodeVoIPB4A.jar + B4XCodeVoIPB4A.xml
We have almost recreated the whole library to enable multiple classes to send/receive password authentication.
So Make sure to replace the old library with the above .jar + .xml files

*The username already exists, which is under the name "My Number" in the settings activity (txtMyNumber) .

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User

Without forgetting to mention, because there is a Password now, so you can use iptel.org to connect to :

Example (We created Iptel.org Account and connected to it successfully) :



B4A Log :



Thank you,
Saif
 

amorosik

Expert
Licensed User


Is the password to be set on the B4J server the same as that which must be used on the individual B4A clients?
So many different usernames (one for each client), but same password, is that correct?
 

Xfood

Expert
Licensed User
Is the password to be set on the B4J server the same as that which must be used on the individual B4A clients?
So many different usernames (one for each client), but same password, is that correct?
yes, at least I did that, and it worked on 3 terminals / phones to do the test
 

amorosik

Expert
Licensed User
On main zip file B4XCodeVoipSIP, is present a B4JVoipClient, date is 14/06/2021
The B4J Sip client is without field Password
B4J Sip client is updated for connect to a Sip server with username/password?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
On main zip file B4XCodeVoipSIP, is present a B4JVoipClient, date is 14/06/2021
The B4J Sip client is without field Password
B4J Sip client is updated for connect to a Sip server with username/password?
The b4j client is not updated yet, we will release an update for the b4j client soon.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello Saif,
Just paid 38€, can you please check if it is ok ?
thank you
Hello Dear,

Thank you very much for your purchase, you should receive an email containing the source codes.

We have also sent you the source codes via PM.

Thank you,
Saif
 

fbritop

Active Member
Licensed User
Longtime User
Feb 27th....
3-IOS Client - Coming Soon...
still no updates on this feature. One of the things I purchased this lib was for B4A/B4I interoperability
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Feb 27th....
3-IOS Client - Coming Soon...
still no updates on this feature. One of the things I purchased this lib was for B4A/B4I interoperability
We will release it once it's ready and we can't disclose any date.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hi!! Any news about data encryption for the next release?

Thanks!
We are currently working on the new update, and should be released in the upcoming days.
As for the Encryption, we are still figuring out how should we implement it.
 

prbmjr

Active Member
Licensed User
We are currently working on the new update, and should be released in the upcoming days.
As for the Encryption, we are still figuring out how should we implement it.

Hi Saif, i would like to suggest something for the encryption, in my opinion, the best aproach for thin could be provide that anyone could apply the encryption freely..
Like this...

[VOIP Client 1 (encrypt packets)] =====> [(decrypt packets) VOIP Server (encrypt packets)] =====> [(decrypt packets) VOIP Client 2]

To make de encryption/decryption , we can insert any kind of encryption , MD5, SHA or including particular one... you code is going to be the same, you only need to provide a way to insert some new external code (when applied) to "decode" any packet from in/out buffer in the client's and server. Tha way could be simple and anyone could use.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…