VoIP SIP (Voice Calls) System : Source Code

amorosik

Expert
Licensed User


Is there a reason to prefer tcp over udp?
What are the advantages and disadvantages of using tcp compared to using udp?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Is there a reason to prefer tcp over udp?
What are the advantages and disadvantages of using tcp compared to using udp?
UDP is a protocol optimized for getting data packets to their destination in a timely fashion; it’s meant for real-time services like VoIP where it’s important to keep the data stream going.

1-UDP is much faster, and more powerful than TCP because TCP is known for sending/receiving delay which in VoIP that means it's really bad (The delay in transactions and in Packets send/receive)
2-Also UDP is known for receiving larger Data which means it's much much better when you have for example 100+ clients connected to the B4J server
3-Unlike TCP, UDP is connectionless, which means that data packets can be sent without warning, preparation, or negotiation

And the List goes on, so in short we would always recommend UDP over TCP because it's much better, faster and more powerful

 

amorosik

Expert
Licensed User
The update is set tomorrow at 11:00 PM GMT 3+
BUT Currently we are working on TCP connection Fix, as soon as we are finished from the fix we will upload the update.


Dear Saif, i believe I can interpret the desire of all colleagues who have purchased the Voip Sdk Project by returning to the possibility of making and receiving calls from public network telephones, from any landline or mobile phone.
Without this functionality, it is impossible to exploit this project by integrating it into more complex systems to achieve the integration between telephone system and computer system.
Therefore, if you want to improve the functionality of the project, I would advise you to try to create a module capable of accomplishing the above.
The project is currently very interesting
Being able to communicate with the outside world, as well as being didactically interesting, it would also be very useful in everyday life and work
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello,

We have already explained this to you before in post #161 if you want to make calls to external SIP servers :

Also : if you want to make phone calls to external clients for example to your GSM phone then you will need to get this service from your telecommunication service provider.
There is no way in the world to make this possible using only SIP server, you need to get an API from the telecommunications company (GSM provider) to give you the ability to make phone calls, otherwise no one would use a SIM Card and pay for phone calls.

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello everyone

We are currently rewriting a new android library because the Native Android SIP is the worst library we have ever encountered, it's full of bugs and lacks of updates.
The last update was when they released the android version 2.3.
It doesn't support Text Messages, Video calls, conference calls, etc...

We are really fed up with the error messages and the slow connections and continues disconnections
So We will create the best SIP library for android and that's a promise.

We have Finished the following :
1- Registering the client through TCP
2- Making phone calls

We will do the following once we are finished :
1- Text messages
2- Video Calls
3- Conference Calls
4- Requested by a client : Encrypted connections (More secure)

So far it's faster, better than the Stack native android library.

Tomorrow we will contact some of the members to do some testing before releasing the new updated B4A Client which it will be really amazing

*The native library is made by Android not by B4X, B4X SIP library is just a wrapper so when we say it's bad we don't mean B4X did a bad job, we mean Android did a bad a job. just felt like explaining this point

 

MarcoRome

Expert
Licensed User
Longtime User
Hi Saif.
If you release a new version try to integrate RuntimePermissions, you can also do this on the devices you have (Android, 6-11).
Thank you.
Have a nice day
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hi, I am lost some update or not news about new release ? thanks
Hello,

This post talking about the new library we are creating :

So the update date is still unknown, until we are 100% completed the new library then we will announce the update.

*Very important : You can use the UDP in B4J Server and B4A App and it will work. the update will be only regarding the TCP.
So you can use the project without any problems just make sure you choose UDP.


Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello,
Just Wanted to know can this be integrated with Asterisks Server over cloud?

Thanks
Hello,

The B4A client is able to connect to any SIP Server, as for the B4J server, there should be configurations done to be able to combine the 2 servers in one connection.

Thank you,
Saif
 

AndroidMadhu

Active Member
Licensed User
The B4A client is able to connect to any SIP Server, as for the B4J server, there should be configurations done to be able to combine the 2 servers in one connection.
It means that I do not require to configure B4J server if I configure Asterisks at cloud. Is my understanding correct?
Also can I use the Video conferencing by using B4A client?

Thanks
 

sfsameer

Well-Known Member
Licensed User
Longtime User
It means that I do not require to configure B4J server if I configure Asterisks at cloud. Is my understanding correct?
Also can I use the Video conferencing by using B4A client?

Thanks
Hello,

You can either use the B4J server to connect to or just use Asterisks server to connect to.

The VoIP SIP update is coming out very soon which will have Video conference as well because the native SIP library doesn't support it so we are working on creating a new different VoIP SIP library.

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
How much this will cost to subscribe in? Does this project will handle echo cancelation and full duplex techniques?
Hello,

There is no extra cost for the updates, because we always update our projects for free.

The project cost : 35$

Ad for the updates, it's expected to be by the end of this week but that depends on how well the QA report will be.

The other features for example voice cancellation these will be announced once we upload the updates.
Currently because we are using the native SIP library so there is a voice cancellation.

Thank you,
Saif
 

amorosik

Expert
Licensed User
Hi Saif, we are pleased to see the announcement of new features relating to the Voip Sip project
I would like to remind you that one of the features that would allow you to use the Voip Sip project as a real Voip switchboard is the possibility of activating external connections, what the various voip pbx pompously call 'external trunks'
And you will surely understand that, for a telephone switchboard, it is essential to communicate with the public telephone network
Otherwise it remains an interesting programming exercise, but without the possibility of use
I hope, and surely all the buyers of the Voip Sip project will do it, that this feature can be included in the project as soon as possible
 

Xfood

Expert
Licensed User
Hello everyone

The next update will be released on 13-06-2021 11:00 PM GMT 3+

The update will include :
1- B4J Desktop VoIP (New Project)

2- B4A Project update
3- B4J Server project Update

Thank you,
Saif
fantastic, finally we will have a real Voip PBX
 

Xfood

Expert
Licensed User
Do you already know the features of the new component?
exactly no, i know they wrote the library from scratch, updated the b4j server, the b4j client and the b4a client, it seems enough to me, I trust Saif, he will have done a great job, as always.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…