Kutman.DK at forces.gc.ca
2007-Jul-30 13:54 UTC
[asterisk-users] Creating an SIP softphone
Hello, I have been reading up on the capabilities of the Asterisk-Java library. I believe that this library can act as an interface between a Java GUI(custom softphone) and the Asterisk server. Seems like the Live API would be easiest to use to make the connection to the Asterisk server and to set-up calls. One thing I am not sure about is how to transmit the audio streams between users' PC's once the calls are routed. I can see that the Asterisk-Java library can't be used for transmitting real-time audio(phone conversations). Would anyone have an idea about how to complete the application I am trying to make. To be clear, I am creating a custom softphone, but can't find much information on how to create the audio transmission. Could anyone provide me with some advice on how to complete this type of softphone. I noticed that there is a JAIN(SIP) API that can be used with java, but I would need more information or examples on how this can be used for my application to use this API. I would prefer to use the SIP protocol, since it seems like its the most common. Thanks in advance, Denis
JMF ( http://java.sun.com/products/java-media/jmf/ ) for audio... a good example to use JAIN SIP and JMF is the SIP Communicator source code ( https://sip-communicator.dev.java.net/ ) ... []s Ary Junior On 7/30/07, Kutman.DK at forces.gc.ca <Kutman.DK at forces.gc.ca> wrote:> > Hello, > > I have been reading up on the capabilities of the Asterisk-Java > library. I believe that this library can act as an interface between a Java > GUI(custom softphone) and the Asterisk server. Seems like the Live API > would be easiest to use to make the connection to the Asterisk server and to > set-up calls. One thing I am not sure about is how to transmit the audio > streams between users' PC's once the calls are routed. I can see that the > Asterisk-Java library can't be used for transmitting real-time audio(phone > conversations). Would anyone have an idea about how to complete the > application I am trying to make. To be clear, I am creating a custom > softphone, but can't find much information on how to create the audio > transmission. Could anyone provide me with some advice on how to complete > this type of softphone. I noticed that there is a JAIN(SIP) API that can be > used with java, but I would need more information or examples on how this > can be used for my application to use this API. I would prefer to use the > SIP protocol, since it seems like its the most common. > > Thanks in advance, > > Denis > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070730/dc58dfc8/attachment.htm
On 30 Jul 2007, at 14:54, <Kutman.DK at forces.gc.ca> <Kutman.DK at forces.gc.ca> wrote:> Hello, > > I have been reading up on the capabilities of the Asterisk-Java > library. I believe that this library can act as an interface > between a Java GUI(custom softphone) and the Asterisk server. > Seems like the Live API would be easiest to use to make the > connection to the Asterisk server and to set-up calls. One thing I > am not sure about is how to transmit the audio streams between > users' PC's once the calls are routed. I can see that the Asterisk- > Java library can't be used for transmitting real-time audio(phone > conversations). Would anyone have an idea about how to complete > the application I am trying to make. To be clear, I am creating a > custom softphone, but can't find much information on how to create > the audio transmission. Could anyone provide me with some advice > on how to complete this type of softphone. I noticed that there is > a JAIN(SIP) API that can be used with java, but I would need more > information or examples on how this can be used for my application > to use this API. I would prefer to use the SIP protocol, since it > seems like its the most common.We've got a commercial IAX based java softphone SDK that might help you. Take a look at : http://www.mexuar.com/products_sdk.shtml Tim Panton www.mexuar.net www.westhawk.co.uk/