Re: Help Required For Sip in JTAPI/Gjtapi
zeshan <[email protected]> Sat, 10 Dec 2005 15:38:40 +0500
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <000501c5fd75$eb0f0c00$d900a8c0@zeshan> |
Hi Richard, I am using latest SIP provider . Please tell me which sample file i have to run for checking SIP . I have edited phone1, phone2 and i have also placed them in my current working directory along with sip-provider.properties. I am running TestCallListener.java ...tell me if it is the right file to run then which changes i have to made in it to make it run bcz i am getting the following error while running it "" Usage: java net.sourceforge.gjtapi.test.TestCallListener Provider from to n?me = net.sourceforge.gjtapi.raw.sip.SipProvider 1.1: Successfully loaded the JTapi Peer log4j:WARN No appenders could be found for logger (net.sourceforge.gjtapi.test.t api3.Tapi3Logger). log4j:WARN Please initialize the log4j system properly. 1.2: Successfully loaded Provider 2.1: Attempting to get address... failure: javax.telephony.InvalidArgumentExcept ion: Address sip:[email protected] not known to Provider. javax.telephony.InvalidArgumentException: Address sip:[email protected] not known to Provider. at net.sourceforge.gjtapi.DomainMgr.getFaultedAddress(DomainMgr.java:302 ) at net.sourceforge.gjtapi.GenericProvider.getAddress(GenericProvider.jav a:151) at net.sourceforge.gjtapi.raw.sipprovider.TestCallListener.test(TestCall Listener.java:350) at net.sourceforge.gjtapi.raw.sipprovider.TestCallListener.main(TestCall Listener.java:194) Press any key to continue... """"" help me in this regard , and tell me is this Sip provider will work with dialogic or not? Thanks in advance Regards Muhammad Zeshan ----- Original Message ----- From: "Richard Deadman" <[email protected]> To: <[email protected]> Sent: Friday, December 09, 2005 7:19 PM Subject: Re: [JTAPI] Help Required For Sip in JTAPI/Gjtapi > Zeshan, > > Make sure you use the latest SIP provider from CVS, as it has a fix so that you can listen > for incoming calls. > > The sample classes in net.sourceforge.gjtapi.test will mostly work with the sip provider. > You need to change the name of the provider passed in as the first parameter and make sure > you have set things up according to the installation instructions in the original sip > provider download. > > So, you could try something like: > > java net.sourceforge.gtapi.test.TestMakeCall Sip [email protected] [email protected] > > This will need to be tweaked depending on how you have set up your sip-provider.props ... > > > Richard > > -- > Richard Deadman > Deadman Consulting, Inc. > Web Services, Policy Management, Java Telephony, Software Architecture > mailto:[email protected] > http://www.deadman.ca > Office: 613-231-5112 > Cell: 613-220-2469 > > On Dec 9 , zeshan <[email protected]> wrote: > > > > Hi Eveyone, > > > > I want to work on Sip using JTAPI , Bcz Gjtapi has support for Sip ,So i am > > using it > > but I did not able to get sample programm for Sip in JTAPI/Gjtapi , if any > > one knows about its link then Plz semd it to me > > > > Secondly i want to know how to attach a Listener or an Observer when working > > on Sip in Jtapi, > > and can some one tell me how to use > > net.sourceforge.gjtapi.test.TestCallListener > > > > and where to call it > > > > Regard > > > > Thanks in Advance > > > > Muhammad Zeshan > > > > =========================================================================== > > To unsubscribe, send email to [email protected] and include in the body > > of the message "signoff JTAPI-INTEREST". For general help, send email to > > [email protected] and include in the body of the message "help". > > > > =========================================================================== > To unsubscribe, send email to [email protected] and include in the body > of the message "signoff JTAPI-INTEREST". For general help, send email to > [email protected] and include in the body of the message "help". > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.13.12/193 - Release Date: 12/6/2005 > > =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JTAPI-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".