VoIP call | developer.brewmp.com VoIP call | developer.brewmp.com

Developer

VoIP call

Forums:

HI
How to initiate a VoIP call in BREW. PLease help me. i have no clue about this

utkarshseth,
There is no API present in BREW to make VoIP call directly. You need to run intermediate server to take care of this. The server will send you one temporary mobile number based on your location.
Thanks,
Sreehari

utkarshseth,
There is no API present in BREW to make VoIP call directly. You need to run intermediate server to take care of this. The server will send you one temporary mobile number based on your location.
Thanks,
Sreehari

I am totally aware of this. But as per other threads in the forum, we need to take 3 steps for establishing a VoIP call
1. record a sound(IMedia)
2. establish a network connection to transfer the data to other side(I Socket)
3. have some code to play the data on the other end
I dunno with whom will i establish a cal with and how to go abt it... How will i come to know the ip of the other fone... ? what are the other things to be kept in mind while coding a Voip Application..
Plz help

I am totally aware of this. But as per other threads in the forum, we need to take 3 steps for establishing a VoIP call
1. record a sound(IMedia)
2. establish a network connection to transfer the data to other side(I Socket)
3. have some code to play the data on the other end
I dunno with whom will i establish a cal with and how to go abt it... How will i come to know the ip of the other fone... ? what are the other things to be kept in mind while coding a Voip Application..
Plz help

There is no way to get other phones ip address with out implementing the process of registration. After registration the number, VoIP address will be stored in server.
With this info, once if you make a call to server, it will establish the connection with the other phone.
Thanks,
Sreehari

There is no way to get other phones ip address with out implementing the process of registration. After registration the number, VoIP address will be stored in server.
With this info, once if you make a call to server, it will establish the connection with the other phone.
Thanks,
Sreehari

HI
I wish to simulate a VoiP call in BREW. What this app will do is, register itself on the server, check whether the handset it is trying to call is logged in, and if yes, try to establish a VoIP call between the two.
My requirement is that when the connection is established, the app should transfer voice(data... in this case) to the other end at real time basis. This (as far as i know) would require streaming of the data from one end to other.
I went thru numerous posts in the forums but was unable to gather informatoin for starters. Can you please help me regarding this as to how to start off. i just wish to know how to stream audio so that it is transferred on a real time basis.
Utkarsh

HI
I wish to simulate a VoiP call in BREW. What this app will do is, register itself on the server, check whether the handset it is trying to call is logged in, and if yes, try to establish a VoIP call between the two.
My requirement is that when the connection is established, the app should transfer voice(data... in this case) to the other end at real time basis. This (as far as i know) would require streaming of the data from one end to other.
I went thru numerous posts in the forums but was unable to gather informatoin for starters. Can you please help me regarding this as to how to start off. i just wish to know how to stream audio so that it is transferred on a real time basis.
Utkarsh

My understanding about the VoIP call is the following
1. The user launches the BREW app from handset 1, which first registers itself on the server thru PRESENCE saying "I m logged in"
2. The server, from a pool of public ip addresses, associates one ip address to this fone.
3. The same thing happens from the other end(handset 2 the fone where this app is trying to connect to)
4. Thus the handset 1 comes to know that handset 2 is also online and they can establish a VoIP call.
5. The call happens.
Now i need to know the following
1. How will we go about doing all this.
2. How to extract a handsets ip address once it is assigned.
3. How to establish a Voip call which i will involve audio streaming

My understanding about the VoIP call is the following
1. The user launches the BREW app from handset 1, which first registers itself on the server thru PRESENCE saying "I m logged in"
2. The server, from a pool of public ip addresses, associates one ip address to this fone.
3. The same thing happens from the other end(handset 2 the fone where this app is trying to connect to)
4. Thus the handset 1 comes to know that handset 2 is also online and they can establish a VoIP call.
5. The call happens.
Now i need to know the following
1. How will we go about doing all this.
2. How to extract a handsets ip address once it is assigned.
3. How to establish a Voip call which i will involve audio streaming

Possibly the following apporach would work.
1. Establish a socket.
2. Use IVocoder to convert the voice data and Create a ISource out of the encoded data.
3. Pass the ISource to the socket API to stream data to the server.

Possibly the following apporach would work.
1. Establish a socket.
2. Use IVocoder to convert the voice data and Create a ISource out of the encoded data.
3. Pass the ISource to the socket API to stream data to the server.

Didn't you post same question in another thread?

Didn't you post same question in another thread?