VoIP SIP (Voice Calls) System : Source Code

sfsameer

Well-Known Member
Licensed User
Longtime User
Hi Saif,

Can you tell me the plans for building a SIP library (client)? The one in this project is the same as the one of Erel from 2011 and based on the Native SIP Manager of Android.

Kind regards,
André
Hello,

We have already built a new android SIP library and it's 100% finished and will be included in the next update or in the next next update, reference :

*2 Important notes :
1- Before purchasing this project please do read the previous posts, this project has been announced and updated a lot of times so every question you have it's been discussed before.

2- As we have mentioned before, this project is opened ended meaning we will keep updating it until there is no more room for updates, reference :

Thank you,
Saif
 

AHilberink

Active Member
Licensed User
Longtime User
1- Before purchasing this project please do read the previous posts, this project has been announced and updated a lot of times so every question you have it's been discussed before.

Hi Saif,

I am not disappointed, I am glad I bought this project!!!!

I was curious when the client library will be launched. I did read your announcement in the previous post.

Thank you for sharing.

André
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hi Saif,

I am not disappointed, I am glad I bought this project!!!!

I was curious when the client library will be launched. I did read your announcement in the previous post.

Thank you for sharing.

André
Hello Dear,

Thank you for your kind words and we didn't mean it as an offensive way, it's just to let everyone know the full details :)

The new android library is amazing, why?
1- The problem with the native android sip is : it's not supported on all the device and our new library will be suported on every single android device
2- Faster
3- No problems (Bugs free) unlike the native android sip library
4- supports noise cancellation
5- multiple codecs unlike the native android sip library
6- No voice distortion in case of a slow internet speed.
7- and the list goes on...

*Without forgetting to mention the release of the IOS library (B4i) is coming very very soon :)

Thank you,
Saif
 

amorosik

Expert
Licensed User
....this project is opened ended meaning we will keep updating it until there is no more room for updates....

A fundamental component of the project should be the possibility of making / receiving calls on the public telephone network
If there was a connection with the outside, the project would be usable as a mini telephone pbx
Do you think there is room for this request?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
A fundamental component of the project should be the possibility of making / receiving calls on the public telephone network
If there was a connection with the outside, the project would be usable as a mini telephone pbx
Do you think there is room for this request?
There is always room for requests, and your request is already in our "to be added" list, Next question : When?
I think we will be able to implement this feature in the next next update (not certain)
 

amorosik

Expert
Licensed User
...When?...

Sooner as possible
You must consider that without the connection with the outside, the project is not usable
It is a beautiful project, missing a fundamental part
A nice programming exercise, without any use
I hope you will forgive me if I try to pressure you politely, but it is the only chance I have to see completed a project of great value.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
the project is not usable
without any use

*Taking a deep breath*

1-The project is clearly announced as B4J Server meaning it was never our intentions to make it work with other servers nor we even announced it as it would connect with outside servers since the start and that's why we created our own server.

2-You requested a new feature, we said no problem. So wait until we release it
 

amorosik

Expert
Licensed User
*Taking a deep breath*

1-The project is clearly announced as B4J Server meaning it was never our intentions to make it work with other servers nor we even announced it as it would connect with outside servers since the start and that's why we created our own server.

2-You requested a new feature, we said no problem. So wait until we release it

* No need, thanks*

As I wrote last time, I am not disputing that what is written in the announcement has not been released
What i'm saying is that when you offer a 'Voip Sip System', almost 100% of potential customers understand that this project has the functionality of a PBX, such as Asterisk, 3cx, and others similar.
And therefore it is expected, as I expected, there was the possibility of having an internal client communicate with the public telephone network.
This component, in my opinion (and also on other opinion) is fundamental in a project of this type, currently does not exist.
And so, in my opinion, it remains a beautiful beautiful programming exercise
 

sfsameer

Well-Known Member
Licensed User
Longtime User
* No need, thanks*

As I wrote last time, I am not disputing that what is written in the announcement has not been released
What i'm saying is that when you offer a 'Voip Sip System', almost 100% of potential customers understand that this project has the functionality of a PBX, such as Asterisk, 3cx, and others similar.
And therefore it is expected, as I expected, there was the possibility of having an internal client communicate with the public telephone network.
This component, in my opinion (and also on other opinion) is fundamental in a project of this type, currently does not exist.
And so, in my opinion, it remains a beautiful beautiful programming exercise
You keep repeating the same point over and over, didn't we answer it here :
 

JoseAlfredo

Member
Licensed User
Sooner as possible
You must consider that without the connection with the outside, the project is not usable
It is a beautiful project, missing a fundamental part
A nice programming exercise, without any use
I hope you will forgive me if I try to pressure you politely, but it is the only chance I have to see completed a project of great value.



saif has explained it before :

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.
 

amorosik

Expert
Licensed User
saif has explained it before :

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.


What Saif wrote is clear
Maybe you didn't understand what I wrote, and it's probably my fault for not expressing myself correctly
What I wrote is that the Voip Sip System project is a great project, in my opinion one of the best released, at the level with Team Viewer Alternative
But, unlike the other projects, it is currently a pure example of programming
It has no possibility of being used except to study the code
Is it clear now what I wrote?

If it were integrated with the possibility of communicating with the public telephone network, it would become a system that can be used for everyday telephony, not just an educational system but a really usable project.
It is clear that to communicate with the public telephone network you need to 'talk' with a hardware device or with an external service provider
But, being both the hardware device and the external service provider 'visible' as a Sip server, I believe that the technical complexity of making the B4J voip Sip server communicate with the outside world (via other Sip server) is largely overcome by the skills of the programmers who have implemented the Voip Sip System
I can state this because it is the exact same complexity that a client (android / b4j / b4i or commercial like Xlite) faces to connect to the Sip B4j server

From the length of the answers it is certainly clear how much I care about this project
I firmly believe that it could have a great evolution if it were completed with the 'indispensable' parts.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
What Saif wrote is clear
Maybe you didn't understand what I wrote, and it's probably my fault for not expressing myself correctly
What I wrote is that the Voip Sip System project is a great project, in my opinion one of the best released, at the level with Team Viewer Alternative
But, unlike the other projects, it is currently a pure example of programming
It has no possibility of being used except to study the code
Is it clear now what I wrote?

If it were integrated with the possibility of communicating with the public telephone network, it would become a system that can be used for everyday telephony, not just an educational system but a really usable project.
It is clear that to communicate with the public telephone network you need to 'talk' with a hardware device or with an external service provider
But, being both the hardware device and the external service provider 'visible' as a Sip server, I believe that the technical complexity of making the B4J voip Sip server communicate with the outside world (via other Sip server) is largely overcome by the skills of the programmers who have implemented the Voip Sip System
I can state this because it is the exact same complexity that a client (android / b4j / b4i or commercial like Xlite) faces to connect to the Sip B4j server

From the length of the answers it is certainly clear how much I care about this project
I firmly believe that it could have a great evolution if it were completed with the 'indispensable' parts.
Could you provide us with VoIP SIP client that can call public telephone network while in the same time connected to another VoIP SIP server? we need to research this before giving a final answer about this feature.
 

amorosik

Expert
Licensed User
Could you provide us with VoIP SIP client that can call public telephone network while in the same time connected to another VoIP SIP server? we need to research this before giving a final answer about this feature.

Who write that?
What I wrote is that both the hardware device and the external service provider are 'seen' as a Sip server
And the connection modality between an internal Sip client and the actual Sip B4J server, is the same as the one that exists (or better it could be) between the Sip B4J server (which in this case acts as a client) and an hardware device or external service provider
Anyone can verify what I say, just use any Sip client (for example X-lite / Linphone or the client of the Voip Sip System project) and connect to the B4J server
After making the connection and verifying that it registers correctly, it will be sufficient to do the same operation but connecting with an external Sip provider
If the same program, in this case a "Sip client", can be connected first to the local B4J server and then (not at the same time) to an external Sip provider, it means that they 'speak' the same language
This is why I affirm that adding a module that allows the current local Sip B4J server to connect with an external Sip provider should not be a great difficulty for those who have created the code of the Voip Sip System project.

To answer your question directly, the individual clients will be connected always to the local B4J server, as is already the case
In turn, the B4J server, if requested by clients (for example to initiate a call to public telephony), will have to act as a client and connect with an external SIP provider (or a hardware device) that act as sip server
Once the communication with the recipient must connect the calling client with the recipient
 
Last edited:

sfsameer

Well-Known Member
Licensed User
Longtime User
Who write that?
You :
1- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-819987
2- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-827815
3- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830627
4- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830637
5- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830769

and many more but i think 5 references are enough.

as for the second part :
What I wrote is that both the hardware device and the external service provider are 'seen' as a Sip server

We have already answered here :

*This project is VoIP SIP, meaning :
1- it can't connect to GSM Networks (Telephone Networks) because that is not possible and not even allowed from the GSM providers unless you purchase an API from them.
2- We have never mentioned any hardware nor we will because each hardware is built differently and we will have to integrate every hardware module in the project and that would mean it's an endless loop.

3- Every client has his/her own use of this project so saying it's useless or not usable it's up to you to decide, We provide the source code, so modify it upon your needs.
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Hey guys; The feature been talked about "forwarding calls to telecom operators" is very hard to be achieved in b4x ecosystem, so anyone can share project's developer his/her experience in this matter.

@sfsameer and @amorosik are great developers, we follow your valuable posts in this forum, use your efforts to solve this big challenge, please.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hey guys; The feature been talked about "forwarding calls to telecom operators" is very hard to be achieved in b4x ecosystem, so anyone can share project's developer his/her experience in this matter.

@sfsameer and @amorosik are great developers, we follow your valuable posts in this forum, use your efforts to solve this big challenge, please.
Hello Dear,

a quick question, you would like this feature to be implemented to use it in a call center operations? if yes then it's already in development, reference :
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Sorry, Because threads of this post is large, I asked you before to add VPN feature to this project "integrated not separated in diff app" to escape ISP block, what is new about?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Sorry, Because threads of this post is large, I asked you before to add VPN feature to this project to escape ISP block, what is new about?
it will be added in the next next update.

The next update will contain :
1- Whole different B4A Library ( It's amazing)
2- Data encryption
3- If we still have more time then we will implement the Proxy connection (Not VPN because it's a different solution)
 

amorosik

Expert
Licensed User
Could you provide us with VoIP SIP client that can call public telephone network while in the same time connected to another VoIP SIP server? we need to research this before giving a final answer about this feature.
You :
1- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-819987
2- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-827815
3- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830627
4- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830637
5- https://www.b4x.com/android/forum/threads/voip-sip-voice-calls-system-source-code.128104/post-830769

and many more but i think 5 references are enough.

as for the second part :
We have already answered here :

*This project is VoIP SIP, meaning :
1- it can't connect to GSM Networks (Telephone Networks) because that is not possible and not even allowed from the GSM providers unless you purchase an API from them.
2- We have never mentioned any hardware nor we will because each hardware is built differently and we will have to integrate every hardware module in the project and that would mean it's an endless loop.

3- Every client has his/her own use of this project so saying it's useless or not usable it's up to you to decide, We provide the source code, so modify it upon your needs.

Anyone can read the references indicated and also all the other posts related to this topic, on none it says that I am asking for a
"..VoIP SIP client that can call public telephone network while in the same time connected to another VoIP SIP server .."

As for the second part, it is perfectly useless to keep repeating that this is not a voip pbx, it was not from the beginning, and therefore the initial proposals of the project were respected
This is not what I am saying, I did not say that the initial specifications were not met, and it seems strange to me that you pretend not to understand
I'm telling you that if the Voip Sip System project allowed communication also with the public telephone network, it would not only be useful from an educational point of view but also useful from a practical point of view, because it could be used as a mini sip / voip switchboard.

As for the third part, where you say that "..1- it can't connect to GSM Networks (Telephone Networks) because that is not possible .." it is obvious that this is not the case
And you can easily try it too using any compatible Sip client (X-lite / MicroSip / etc) configuring it to communicate directly with an external voip provider
Your Sip client will be able to initiate/receive audio communications with any other phone in the world

So why not create a module that allows the current B4J server also to communicate with external voip providers or hardware devices such as Grandstream or Patton?
If I knew how to do it, I would have already started, but for those who wrote the code of the Voip Sip System project it is certainly an achievable goal.
Working on this component, in my opinion, is much more important than any other function
 
Last edited:
Top