Re: remote client

View: New views
16 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Spencer,

 

I am answering to the list since I think that this may be of general interest.

Please see below.

 


I'd like to use JTAPI implementation for telephony and call maanger. 
Does that make sense to you?
jvxml.jtapi = true
jvxml.mrcpv2 = true

 

That looks OK to me.




One problem is that jtapi has its own remoteClient and I seem to be creating a basic remote client that wont cast. 
I dont need a remote client as of now, so can I just use theirs?  Where would I configure that?

This is the stack trace I get
  [java]  25006 [ion(4)-192.168.0.100] ERROR jvoicexml.jndi.SessionSkeleton (
156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper: org.jvoicexml.client.
icRemoteClient cannot be cast to org.jvoicexml.callmanager.jtapi.JtapiRemoteC
nt
  [java] org.jvoicexml.event.error.jvxml.ExceptionWrapper: org.jvoicexml.even
rror.jvxml.ExceptionWrapper: org.jvoicexml.client.BasicRemoteClient cannot be
st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
  [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
java:276)
  [java] Caused by: java.lang.ClassCastException: org.jvoicexml.client.BasicR
teClient cannot be cast to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
  [java]     at org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
elephony.java:305)


This is because the classes are loaded using different class loaders. Try setting

jvxml.jndi.properties=jtapi

in personal-props/ant.properties and add

<repository>jtapi</repository>

to mrcpv2-implementation so that all use the same class loader.

 


Second question:  Is there a setup that will run a test program like helloworld and also run a mic and a speaker at the end of rtp streams?

 

Sorry, but I do not understand the goal behind that?

 

Dirk


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Parent Message unknown Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dirk,
I am still getting the class cast exception after making the changes you suggested.

Do you have any other suggestions?    You should be able to reproduce by running helloworld demo with jtapi and mrcp enabled (if you decide to try don't forget to run cairo too).

Spencer


On Sun, Sep 6, 2009 at 11:05 PM, <jvoicexml-developer@...> wrote:

Hi Spencer,

 

I am answering to the list since I think that this may be of general interest.

Please see below.

 


I'd like to use JTAPI implementation for telephony and call maanger. 
Does that make sense to you?

jvxml.jtapi = true
jvxml.mrcpv2 = true

 

That looks OK to me.




One problem is that jtapi has its own remoteClient and I seem to be creating a basic remote client that wont cast. 
I dont need a remote client as of now, so can I just use theirs?  Where would I configure that?



This is the stack trace I get
  [java]  25006 [ion(4)-192.168.0.100] ERROR jvoicexml.jndi.SessionSkeleton (
156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper: org.jvoicexml.client.
icRemoteClient cannot be cast to org.jvoicexml.callmanager.jtapi.JtapiRemoteC
nt
  [java] org.jvoicexml.event.error.jvxml.ExceptionWrapper: org.jvoicexml.even
rror.jvxml.ExceptionWrapper: org.jvoicexml.client.BasicRemoteClient cannot be
st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
  [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
java:276)
  [java] Caused by: java.lang.ClassCastException: org.jvoicexml.client.BasicR
teClient cannot be cast to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
  [java]     at org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
elephony.java:305)


This is because the classes are loaded using different class loaders. Try setting

jvxml.jndi.properties=jtapi

in personal-props/ant.properties and add

<repository>jtapi</repository>

to mrcpv2-implementation so that all use the same class loader.

 


Second question:  Is there a setup that will run a test program like helloworld and also run a mic and a speaker at the end of rtp streams?

 

Sorry, but I do not understand the goal behind that?

 

Dirk


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Spencer,

I am not able to start the voice browser with this configuration. It says
     [java] Caused by: javax.sip.PeerUnavailableException: IP address
property missing
     [java]     at javax.sip.SipFactory.createSipStack(SipFactory.java:141)
     [java]     at
org.speechforge.cairo.sip.SipAgent.init(SipAgent.java:225)
     [java]     ... 35 more

Dirk

> Hi Dirk,
> I am still getting the class cast exception after making the changes
> you suggested.
>
> Do you have any other suggestions?    You should be able to reproduce
> by running helloworld demo with jtapi and mrcp enabled (if you decide
> to try don't forget to run cairo too).
>
> Spencer
>
>
> On Sun, Sep 6, 2009 at 11:05 PM,
> <jvoicexml-developer@...
> <mailto:jvoicexml-developer@...>> wrote:
>
>     Hi Spencer,
>
>      
>
>     I am answering to the list since I think that this may be of
>     general interest.
>
>     Please see below.
>
>      
>
>
>     I'd like to use JTAPI implementation for telephony and call maanger.
>     Does that make sense to you?
>
>     jvxml.jtapi = true
>     jvxml.mrcpv2 = true
>
>      
>
>     That looks OK to me.
>
>
>
>
>     One problem is that jtapi has its own remoteClient and I seem to
>     be creating a basic remote client that wont cast.
>     I dont need a remote client as of now, so can I just use theirs?
>     Where would I configure that?
>
>
>
>     This is the stack trace I get
>       [java]  25006 [ion(4)-192.168.0.100] ERROR
>     jvoicexml.jndi.SessionSkeleton (
>     156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>     org.jvoicexml.client.
>     icRemoteClient cannot be cast to
>     org.jvoicexml.callmanager.jtapi.JtapiRemoteC
>     nt
>       [java] org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>     org.jvoicexml.even
>     rror.jvxml.ExceptionWrapper:
>     org.jvoicexml.client.BasicRemoteClient cannot be
>     st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>       [java]     at
>     org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
>     java:276)
>       [java] Caused by: java.lang.ClassCastException:
>     org.jvoicexml.client.BasicR
>     teClient cannot be cast to
>     org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>       [java]     at
>     org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
>     elephony.java:305)
>
>
>     This is because the classes are loaded using different class
>     loaders. Try setting
>
>     jvxml.jndi.properties=jtapi
>
>     in personal-props/ant.properties and add
>
>     <repository>jtapi</repository>
>
>     to mrcpv2-implementation so that all use the same class loader.
>
>      
>
>
>     Second question:  Is there a setup that will run a test program
>     like helloworld and also run a mic and a speaker at the end of rtp
>     streams?
>
>      
>
>     Sorry, but I do not understand the goal behind that?
>
>      
>
>     Dirk
>
>
>     ------------------------------------------------------------------------------
>     Let Crystal Reports handle the reporting - Free Crystal Reports
>     2008 30-Day
>     trial. Simplify your report design, integration and deployment -
>     and focus on
>     what you do best, core application coding. Discover what's new with
>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>     _______________________________________________
>     Jvoicexml-developer mailing list
>     Jvoicexml-developer@...
>     <mailto:Jvoicexml-developer@...>
>     https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jvoicexml-developer mailing list
> Jvoicexml-developer@...
> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Spencer,

I just saw that you already added some "serious" content and updated to
the newest version.

Now, my problem is that I do not get a connection to the MRCPv2 server.

Can you provide me with some short cooking recipe on how to do that?

Dirk

> Hey Spencer,
>
> I am not able to start the voice browser with this configuration. It says
>      [java] Caused by: javax.sip.PeerUnavailableException: IP address
> property missing
>      [java]     at javax.sip.SipFactory.createSipStack(SipFactory.java:141)
>      [java]     at
> org.speechforge.cairo.sip.SipAgent.init(SipAgent.java:225)
>      [java]     ... 35 more
>
> Dirk
>
>  
>> Hi Dirk,
>> I am still getting the class cast exception after making the changes
>> you suggested.
>>
>> Do you have any other suggestions?    You should be able to reproduce
>> by running helloworld demo with jtapi and mrcp enabled (if you decide
>> to try don't forget to run cairo too).
>>
>> Spencer
>>
>>
>> On Sun, Sep 6, 2009 at 11:05 PM,
>> <jvoicexml-developer@...
>> <mailto:jvoicexml-developer@...>> wrote:
>>
>>     Hi Spencer,
>>
>>      
>>
>>     I am answering to the list since I think that this may be of
>>     general interest.
>>
>>     Please see below.
>>
>>      
>>
>>
>>     I'd like to use JTAPI implementation for telephony and call maanger.
>>     Does that make sense to you?
>>
>>     jvxml.jtapi = true
>>     jvxml.mrcpv2 = true
>>
>>      
>>
>>     That looks OK to me.
>>
>>
>>
>>
>>     One problem is that jtapi has its own remoteClient and I seem to
>>     be creating a basic remote client that wont cast.
>>     I dont need a remote client as of now, so can I just use theirs?
>>     Where would I configure that?
>>
>>
>>
>>     This is the stack trace I get
>>       [java]  25006 [ion(4)-192.168.0.100] ERROR
>>     jvoicexml.jndi.SessionSkeleton (
>>     156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>>     org.jvoicexml.client.
>>     icRemoteClient cannot be cast to
>>     org.jvoicexml.callmanager.jtapi.JtapiRemoteC
>>     nt
>>       [java] org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>>     org.jvoicexml.even
>>     rror.jvxml.ExceptionWrapper:
>>     org.jvoicexml.client.BasicRemoteClient cannot be
>>     st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>>       [java]     at
>>     org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
>>     java:276)
>>       [java] Caused by: java.lang.ClassCastException:
>>     org.jvoicexml.client.BasicR
>>     teClient cannot be cast to
>>     org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>>       [java]     at
>>     org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
>>     elephony.java:305)
>>
>>
>>     This is because the classes are loaded using different class
>>     loaders. Try setting
>>
>>     jvxml.jndi.properties=jtapi
>>
>>     in personal-props/ant.properties and add
>>
>>     <repository>jtapi</repository>
>>
>>     to mrcpv2-implementation so that all use the same class loader.
>>
>>      
>>
>>
>>     Second question:  Is there a setup that will run a test program
>>     like helloworld and also run a mic and a speaker at the end of rtp
>>     streams?
>>
>>      
>>
>>     Sorry, but I do not understand the goal behind that?
>>
>>      
>>
>>     Dirk
>>
>>
>>     ------------------------------------------------------------------------------
>>     Let Crystal Reports handle the reporting - Free Crystal Reports
>>     2008 30-Day
>>     trial. Simplify your report design, integration and deployment -
>>     and focus on
>>     what you do best, core application coding. Discover what's new with
>>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>     _______________________________________________
>>     Jvoicexml-developer mailing list
>>     Jvoicexml-developer@...
>>     <mailto:Jvoicexml-developer@...>
>>     https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Jvoicexml-developer mailing list
>> Jvoicexml-developer@...
>> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>>  
>>    
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jvoicexml-developer mailing list
> Jvoicexml-developer@...
> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>  


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dirk,

Run Cairo as your mrcpv2 server.
http://www.speechforge.org/projects/cairo/

Download latest cairo-server binary  and follow the installation and then the getting started instructions at the above link.  Basically you will need unzip(or untar) the binary and run 3 executables in 3 windows.  Let me know if the on-line instructions are lacking.

Then in jvoicexml mrcpv2 implementation platform make sure the ip address is set correctly to point to the mrcpv2 server.  This is a property in mrcpv2-implementation.xml.  Note that localhost does not work here (bug maybe).

    <beans:property name="cairoSipHostName">
      <beans:value>192.168.0.100</beans:value>
    </beans:property>


Then change the port you use for RMI in jvoicexml (both cairo and jvoicxml use 1099).  I did this by changing jvxml-jndi.xml and jndi.properties to use 1098 instead of 1099

Spencer

On Fri, Sep 11, 2009 at 2:37 AM, <jvoicexml-developer@...> wrote:
Hi Spencer,

I just saw that you already added some "serious" content and updated to
the newest version.

Now, my problem is that I do not get a connection to the MRCPv2 server.

Can you provide me with some short cooking recipe on how to do that?

Dirk
> Hey Spencer,
>
> I am not able to start the voice browser with this configuration. It says
>      [java] Caused by: javax.sip.PeerUnavailableException: IP address
> property missing
>      [java]     at javax.sip.SipFactory.createSipStack(SipFactory.java:141)
>      [java]     at
> org.speechforge.cairo.sip.SipAgent.init(SipAgent.java:225)
>      [java]     ... 35 more
>
> Dirk
>
>
>> Hi Dirk,
>> I am still getting the class cast exception after making the changes
>> you suggested.
>>
>> Do you have any other suggestions?    You should be able to reproduce
>> by running helloworld demo with jtapi and mrcp enabled (if you decide
>> to try don't forget to run cairo too).
>>
>> Spencer
>>
>>
>> On Sun, Sep 6, 2009 at 11:05 PM,
>> <jvoicexml-developer@...
>> <mailto:jvoicexml-developer@...>> wrote:
>>
>>     Hi Spencer,
>>
>>
>>
>>     I am answering to the list since I think that this may be of
>>     general interest.
>>
>>     Please see below.
>>
>>
>>
>>
>>     I'd like to use JTAPI implementation for telephony and call maanger.
>>     Does that make sense to you?
>>
>>     jvxml.jtapi = true
>>     jvxml.mrcpv2 = true
>>
>>
>>
>>     That looks OK to me.
>>
>>
>>
>>
>>     One problem is that jtapi has its own remoteClient and I seem to
>>     be creating a basic remote client that wont cast.
>>     I dont need a remote client as of now, so can I just use theirs?
>>     Where would I configure that?
>>
>>
>>
>>     This is the stack trace I get
>>       [java]  25006 [ion(4)-192.168.0.100] ERROR
>>     jvoicexml.jndi.SessionSkeleton (
>>     156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>>     org.jvoicexml.client.
>>     icRemoteClient cannot be cast to
>>     org.jvoicexml.callmanager.jtapi.JtapiRemoteC
>>     nt
>>       [java] org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>>     org.jvoicexml.even
>>     rror.jvxml.ExceptionWrapper:
>>     org.jvoicexml.client.BasicRemoteClient cannot be
>>     st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>>       [java]     at
>>     org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
>>     java:276)
>>       [java] Caused by: java.lang.ClassCastException:
>>     org.jvoicexml.client.BasicR
>>     teClient cannot be cast to
>>     org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>>       [java]     at
>>     org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
>>     elephony.java:305)
>>
>>
>>     This is because the classes are loaded using different class
>>     loaders. Try setting
>>
>>     jvxml.jndi.properties=jtapi
>>
>>     in personal-props/ant.properties and add
>>
>>     <repository>jtapi</repository>
>>
>>     to mrcpv2-implementation so that all use the same class loader.
>>
>>
>>
>>
>>     Second question:  Is there a setup that will run a test program
>>     like helloworld and also run a mic and a speaker at the end of rtp
>>     streams?
>>
>>
>>
>>     Sorry, but I do not understand the goal behind that?
>>
>>
>>
>>     Dirk
>>
>>
>>     ------------------------------------------------------------------------------
>>     Let Crystal Reports handle the reporting - Free Crystal Reports
>>     2008 30-Day
>>     trial. Simplify your report design, integration and deployment -
>>     and focus on
>>     what you do best, core application coding. Discover what's new with
>>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>     _______________________________________________
>>     Jvoicexml-developer mailing list
>>     Jvoicexml-developer@...
>>     <mailto:Jvoicexml-developer@...>
>>     https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Jvoicexml-developer mailing list
>> Jvoicexml-developer@...
>> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jvoicexml-developer mailing list
> Jvoicexml-developer@...
> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Spencer,

seems that there are still some problems.

I started the MRCV server, receiver and transmitter
JVoiceXML is configured to use RMI port 1098, JTAPI and MRCPv2
JNDI is using the jtapi repository
The callmanager uses mrcpv2 as input type and as output type

When I now run the JTAPI demo, I get the following error:


     [java]  21462 [cd-bc06-a38e478f566d] DEBUG
VoiceXmlImplementationPlatform (   656)  obtaining resource 'mrcpv2'
from pool...
     [java]  21463 [cd-bc06-a38e478f566d] DEBUG
mrcpv2.Mrcpv2SynthesizedOutput (   414)  activating output...
     [java]  21466 [cd-bc06-a38e478f566d] DEBUG
ntation.pool.KeyedResourcePool (   109)  pool has now 1 active/0 idle
for key
'mrcpv2' (org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput)
after borrow
     [java]  21466 [cd-bc06-a38e478f566d] DEBUG
VoiceXmlImplementationPlatform (   668)  connecting external resource
(org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput) to remote
client..
     [java]  21780 [cd-bc06-a38e478f566d] INFO
mrcpv2.Mrcpv2SynthesizedOutput (   456)  javax.sip.SipException: IO
Error sending request
     [java] javax.sip.SipException: IO Error sending request
     [java] at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:940)
     [java] at
org.speechforge.cairo.sip.SipAgent.sendInviteWithoutProxy(SipAgent.java:443)
     [java] at
org.speechforge.cairo.client.SessionManager.sendInviteWithoutProxy(SessionManager.java:259)
     [java] at
org.speechforge.cairo.client.SessionManager.newSynthChannel(SessionManager.java:210)
     [java] at
org.jvoicexml.implementation.mrcpv2.Mrcpv2Client.createTtsChannel(Mrcpv2Client.java:202)
     [java] at
org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput.connect(Mrcpv2SynthesizedOutput.java:451)
     [java] at
org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPlatform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:673)
     [java] at
org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPlatform.getSystemOutput(JVoiceXmlImplementationPlatform.java:223)
     [java] at
org.jvoicexml.interpreter.tagstrategy.TextStrategy.execute(TextStrategy.java:106)
     [java] at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeTagStrategy(TagStrategyExecutor.java:169)
     [java] at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeChildNodes(TagStrategyExecutor.java:136)
     [java] at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeChildNodes(TagStrategyExecutor.java:80)
     [java] at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.visitBlockFormItem(FormInterpretationAlgorithm.java:913)
     [java] at
org.jvoicexml.interpreter.formitem.BlockFormItem.accept(BlockFormItem.java:82)
     [java] at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.collect(FormInterpretationAlgorithm.java:540)
     [java] at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoop(FormInterpretationAlgorithm.java:386)
     [java] at
org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXmlInterpreter.java:242)
     [java] at
org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpret(VoiceXmlInterpreterContext.java:512)
     [java] at
org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(VoiceXmlInterpreterContext.java:312)
     [java] at
org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSession.java:269)
     [java] Caused by: java.io.IOException: Invalid argument
     [java] at java.net.PlainDatagramSocketImpl.send(Native Method)
     [java] at java.net.DatagramSocket.send(DatagramSocket.java:612)
     [java] at
gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:641)
     [java] at
gov.nist.javax.sip.stack.MessageChannel.sendMessage(MessageChannel.java:183)
     [java] at
gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTransaction.java:734)
     [java] at
gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:480)
     [java] at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:936)
     [java] ... 19 more

I think that I am already a step further than you since this happens in
the connect.

Can you check if you have the same configuration?

Dirk

> Hi Dirk,
>
> Run Cairo as your mrcpv2 server.
> http://www.speechforge.org/projects/cairo/
>
> Download latest cairo-server binary  and follow the installation and
> then the getting started instructions at the above link.  Basically
> you will need unzip(or untar) the binary and run 3 executables in 3
> windows.  Let me know if the on-line instructions are lacking.
>
> Then in jvoicexml mrcpv2 implementation platform make sure the ip
> address is set correctly to point to the mrcpv2 server.  This is a
> property in mrcpv2-implementation.xml.  Note that localhost does not
> work here (bug maybe).
>
>     <beans:property name="cairoSipHostName">
>       <beans:value>192.168.0.100</beans:value>
>     </beans:property>
>
>
> Then change the port you use for RMI in jvoicexml (both cairo and
> jvoicxml use 1099).  I did this by changing jvxml-jndi.xml and
> jndi.properties to use 1098 instead of 1099
>
> Spencer
>
> On Fri, Sep 11, 2009 at 2:37 AM,
> <jvoicexml-developer@...> wrote:
>         Hi Spencer,
>        
>         I just saw that you already added some "serious" content and
>         updated to
>         the newest version.
>        
>         Now, my problem is that I do not get a connection to the
>         MRCPv2 server.
>        
>         Can you provide me with some short cooking recipe on how to do
>         that?
>        
>         Dirk
>        
>         > Hey Spencer,
>         >
>         > I am not able to start the voice browser with this
>         configuration. It says
>         >      [java] Caused by: javax.sip.PeerUnavailableException:
>         IP address
>         > property missing
>         >      [java]     at
>         javax.sip.SipFactory.createSipStack(SipFactory.java:141)
>         >      [java]     at
>         > org.speechforge.cairo.sip.SipAgent.init(SipAgent.java:225)
>         >      [java]     ... 35 more
>         >
>         > Dirk
>         >
>         >
>         >> Hi Dirk,
>         >> I am still getting the class cast exception after making
>         the changes
>         >> you suggested.
>         >>
>         >> Do you have any other suggestions?    You should be able to
>         reproduce
>         >> by running helloworld demo with jtapi and mrcp enabled (if
>         you decide
>         >> to try don't forget to run cairo too).
>         >>
>         >> Spencer
>         >>
>         >>
>         >> On Sun, Sep 6, 2009 at 11:05 PM,
>         >> <jvoicexml-developer@...
>         >> <mailto:jvoicexml-developer@...>> wrote:
>         >>
>         >>     Hi Spencer,
>         >>
>         >>
>         >>
>         >>     I am answering to the list since I think that this may
>         be of
>         >>     general interest.
>         >>
>         >>     Please see below.
>         >>
>         >>
>         >>
>         >>
>         >>     I'd like to use JTAPI implementation for telephony and
>         call maanger.
>         >>     Does that make sense to you?
>         >>
>         >>     jvxml.jtapi = true
>         >>     jvxml.mrcpv2 = true
>         >>
>         >>
>         >>
>         >>     That looks OK to me.
>         >>
>         >>
>         >>
>         >>
>         >>     One problem is that jtapi has its own remoteClient and
>         I seem to
>         >>     be creating a basic remote client that wont cast.
>         >>     I dont need a remote client as of now, so can I just
>         use theirs?
>         >>     Where would I configure that?
>         >>
>         >>
>         >>
>         >>     This is the stack trace I get
>         >>       [java]  25006 [ion(4)-192.168.0.100] ERROR
>         >>     jvoicexml.jndi.SessionSkeleton (
>         >>     156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.client.
>         >>     icRemoteClient cannot be cast to
>         >>     org.jvoicexml.callmanager.jtapi.JtapiRemoteC
>         >>     nt
>         >>       [java]
>         org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.even
>         >>     rror.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.client.BasicRemoteClient cannot be
>         >>     st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>         >>       [java]     at
>         >>
>         org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
>         >>     java:276)
>         >>       [java] Caused by: java.lang.ClassCastException:
>         >>     org.jvoicexml.client.BasicR
>         >>     teClient cannot be cast to
>         >>     org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>         >>       [java]     at
>         >>
>         org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
>         >>     elephony.java:305)
>         >>
>         >>
>         >>     This is because the classes are loaded using different
>         class
>         >>     loaders. Try setting
>         >>
>         >>     jvxml.jndi.properties=jtapi
>         >>
>         >>     in personal-props/ant.properties and add
>         >>
>         >>     <repository>jtapi</repository>
>         >>
>         >>     to mrcpv2-implementation so that all use the same class
>         loader.
>         >>
>         >>
>         >>
>         >>
>         >>     Second question:  Is there a setup that will run a test
>         program
>         >>     like helloworld and also run a mic and a speaker at the
>         end of rtp
>         >>     streams?
>         >>
>         >>
>         >>
>         >>     Sorry, but I do not understand the goal behind that?
>         >>
>         >>
>         >>
>         >>     Dirk
>         >>
>         >>
>         >>
>         ------------------------------------------------------------------------------
>         >>     Let Crystal Reports handle the reporting - Free Crystal
>         Reports
>         >>     2008 30-Day
>         >>     trial. Simplify your report design, integration and
>         deployment -
>         >>     and focus on
>         >>     what you do best, core application coding. Discover
>         what's new with
>         >>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         >>     _______________________________________________
>         >>     Jvoicexml-developer mailing list
>         >>     Jvoicexml-developer@...
>         >>     <mailto:Jvoicexml-developer@...>
>         >>
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >>
>         >>
>         >>
>         ------------------------------------------------------------------------
>         >>
>         >>
>         ------------------------------------------------------------------------------
>         >> Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         >> trial. Simplify your report design, integration and
>         deployment - and focus on
>         >> what you do best, core application coding. Discover what's
>         new with
>         >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         >>
>         ------------------------------------------------------------------------
>         >>
>         >> _______________________________________________
>         >> Jvoicexml-developer mailing list
>         >> Jvoicexml-developer@...
>         >>
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >>
>         >>
>         >
>         >
>         >
>         ------------------------------------------------------------------------------
>         > Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         > trial. Simplify your report design, integration and
>         deployment - and focus on
>         > what you do best, core application coding. Discover what's
>         new with
>         > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         > _______________________________________________
>         > Jvoicexml-developer mailing list
>         > Jvoicexml-developer@...
>         >
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >
>        
>        
>         ------------------------------------------------------------------------------
>         Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         trial. Simplify your report design, integration and deployment
>         - and focus on
>         what you do best, core application coding. Discover what's new
>         with
>         Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         _______________________________________________
>         Jvoicexml-developer mailing list
>         Jvoicexml-developer@...
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>        
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ Jvoicexml-developer mailing list Jvoicexml-developer@... https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dirk,
You have gotten further than me!  I was using the Hello world demo (not the JTAPI one).
So now that I am trying the jtapidemo, I think my issue has to do with not being configured correctly.   Do I need to run a softphone? 

Also I think its is looking for a jxml doc at http://127.0.0.1:8080/helloworldservletdemo/.  Can Ichange that to another url?  Where is that specified?

Thanks,
Spencer

   203)  loading document with URI 'http://127.0.0.1:8080/helloworldservletdemo/
JVoiceXML...
     [java]  23253 [Event Dispatch Queue] ERROR ml.callmanager.BaseCallManager (
   183)  error creating the session
     [java] org.jvoicexml.event.error.BadFetchError: error.badfetch: Not Found
     [java]     at org.jvoicexml.documentserver.schemestrategy.HttpSchemeStrateg
y.getInputStream(HttpSchemeStrategy.java:149)
     [java]     at org.jvoicexml.documentserver.JVoiceXmlDocumentServer.getDocum
ent(JVoiceXmlDocumentServer.java:204)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.acquireV
oiceXmlDocument(VoiceXmlInterpreterContext.java:447)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.loadDocu
ment(VoiceXmlInterpreterContext.java:403)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.call(JVoiceXmlSess
ion.java:156)
     [java]     at org.jvoicexml.callmanager.BaseCallManager.createSession(BaseC
allManager.java:166)
     [java]     at org.jvoicexml.callmanager.BaseCallManager.terminalConnected(B
aseCallManager.java:178)
     [java]     at org.jvoicexml.callmanager.jtapi.JVoiceXmlTerminal.connectionC
onnected(JVoiceXmlTerminal.java:179)
     [java]     at net.sourceforge.gjtapi.ListenerManager.connectionConnected(Li
stenerManager.java:427)
     [java]     at net.sourceforge.gjtapi.events.FreeConnConnectedEv.dispatch(Fr
eeConnConnectedEv.java:70)
     [java]     at net.sourceforge.gjtapi.RawEventHandler$ClientNotifier.process
(RawEventHandler.java:57)
     [java]     at net.sourceforge.gjtapi.util.OrderedBlockManager$1.run(Ordered
BlockManager.java:53)
     [java]     at java.lang.Thread.run(Thread.java:619)
     [java]  23283 [Event Dispatch Queue] ERROR anager.jtapi.JVoiceXmlTerminal (
   462)  error in disconnect
     [java] javax.telephony.ResourceUnavailableException: Address not found: nul
l
     [java]     at net.sourceforge.gjtapi.raw.mjsip.MjSipProvider.release(MjSipP
rovider.java:285)
     [java]     at net.sourceforge.gjtapi.raw.ProviderFactory.release(ProviderFa
ctory.java:344)
     [java]     at net.sourceforge.gjtapi.FreeConnection.disconnect(FreeConnecti
on.java:139)
     [java]     at net.sourceforge.gjtapi.FreeCall.drop(FreeCall.java:426)
     [java]     at org.jvoicexml.callmanager.jtapi.JVoiceXmlTerminal.disconnect(
JVoiceXmlTerminal.java:457)
     [java]     at org.jvoicexml.callmanager.jtapi.JVoiceXmlTerminal.connectionC
onnected(JVoiceXmlTerminal.java:181)
     [java]     at net.sourceforge.gjtapi.ListenerManager.connectionConnected(Li
stenerManager.java:427)
     [java]     at net.sourceforge.gjtapi.events.FreeConnConnectedEv.dispatch(Fr
eeConnConnectedEv.java:70)
     [java]     at net.sourceforge.gjtapi.RawEventHandler$ClientNotifier.process
(RawEventHandler.java:57)
     [java]     at net.sourceforge.gjtapi.util.OrderedBlockManager$1.run(Ordered
BlockManager.java:53)
     [java]     at java.lang.Thread.run(Thread.java:619)


On Mon, Sep 21, 2009 at 3:41 AM, <jvoicexml-developer@...> wrote:
Hi Spencer,

seems that there are still some problems.

I started the MRCV server, receiver and transmitter
JVoiceXML is configured to use RMI port 1098, JTAPI and MRCPv2
JNDI is using the jtapi repository
The callmanager uses mrcpv2 as input type and as output type

When I now run the JTAPI demo, I get the following error:


    [java]  21462 [cd-bc06-a38e478f566d] DEBUG
VoiceXmlImplementationPlatform (   656)  obtaining resource 'mrcpv2'
from pool...
    [java]  21463 [cd-bc06-a38e478f566d] DEBUG
mrcpv2.Mrcpv2SynthesizedOutput (   414)  activating output...
    [java]  21466 [cd-bc06-a38e478f566d] DEBUG
ntation.pool.KeyedResourcePool (   109)  pool has now 1 active/0 idle
for key
'mrcpv2' (org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput)
after borrow
    [java]  21466 [cd-bc06-a38e478f566d] DEBUG
VoiceXmlImplementationPlatform (   668)  connecting external resource
(org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput) to remote
client..
    [java]  21780 [cd-bc06-a38e478f566d] INFO
mrcpv2.Mrcpv2SynthesizedOutput (   456)  javax.sip.SipException: IO
Error sending request
    [java] javax.sip.SipException: IO Error sending request
    [java]     at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:940)
    [java]     at
org.speechforge.cairo.sip.SipAgent.sendInviteWithoutProxy(SipAgent.java:443)
    [java]     at
org.speechforge.cairo.client.SessionManager.sendInviteWithoutProxy(SessionManager.java:259)
    [java]     at
org.speechforge.cairo.client.SessionManager.newSynthChannel(SessionManager.java:210)
    [java]     at
org.jvoicexml.implementation.mrcpv2.Mrcpv2Client.createTtsChannel(Mrcpv2Client.java:202)
    [java]     at
org.jvoicexml.implementation.mrcpv2.Mrcpv2SynthesizedOutput.connect(Mrcpv2SynthesizedOutput.java:451)
    [java]     at
org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPlatform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:673)
    [java]     at
org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPlatform.getSystemOutput(JVoiceXmlImplementationPlatform.java:223)
    [java]     at
org.jvoicexml.interpreter.tagstrategy.TextStrategy.execute(TextStrategy.java:106)
    [java]     at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeTagStrategy(TagStrategyExecutor.java:169)
    [java]     at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeChildNodes(TagStrategyExecutor.java:136)
    [java]     at
org.jvoicexml.interpreter.event.TagStrategyExecutor.executeChildNodes(TagStrategyExecutor.java:80)
    [java]     at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.visitBlockFormItem(FormInterpretationAlgorithm.java:913)
    [java]     at
org.jvoicexml.interpreter.formitem.BlockFormItem.accept(BlockFormItem.java:82)
    [java]     at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.collect(FormInterpretationAlgorithm.java:540)
    [java]     at
org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoop(FormInterpretationAlgorithm.java:386)
    [java]     at
org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXmlInterpreter.java:242)
    [java]     at
org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpret(VoiceXmlInterpreterContext.java:512)
    [java]     at
org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(VoiceXmlInterpreterContext.java:312)
    [java]     at
org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSession.java:269)
    [java] Caused by: java.io.IOException: Invalid argument
    [java]     at java.net.PlainDatagramSocketImpl.send(Native Method)
    [java]     at java.net.DatagramSocket.send(DatagramSocket.java:612)
    [java]     at
gov.nist.javax.sip.stack.UDPMessageChannel.sendMessage(UDPMessageChannel.java:641)
    [java]     at
gov.nist.javax.sip.stack.MessageChannel.sendMessage(MessageChannel.java:183)
    [java]     at
gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTransaction.java:734)
    [java]     at
gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.java:480)
    [java]     at
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.java:936)
    [java]     ... 19 more

I think that I am already a step further than you since this happens in
the connect.

Can you check if you have the same configuration?

Dirk

> Hi Dirk,
>
> Run Cairo as your mrcpv2 server.
> http://www.speechforge.org/projects/cairo/
>
> Download latest cairo-server binary  and follow the installation and
> then the getting started instructions at the above link.  Basically
> you will need unzip(or untar) the binary and run 3 executables in 3
> windows.  Let me know if the on-line instructions are lacking.
>
> Then in jvoicexml mrcpv2 implementation platform make sure the ip
> address is set correctly to point to the mrcpv2 server.  This is a
> property in mrcpv2-implementation.xml.  Note that localhost does not
> work here (bug maybe).
>
>     <beans:property name="cairoSipHostName">
>       <beans:value>192.168.0.100</beans:value>
>     </beans:property>
>
>
> Then change the port you use for RMI in jvoicexml (both cairo and
> jvoicxml use 1099).  I did this by changing jvxml-jndi.xml and
> jndi.properties to use 1098 instead of 1099
>
> Spencer
>
> On Fri, Sep 11, 2009 at 2:37 AM,
> <jvoicexml-developer@...> wrote:
>         Hi Spencer,
>
>         I just saw that you already added some "serious" content and
>         updated to
>         the newest version.
>
>         Now, my problem is that I do not get a connection to the
>         MRCPv2 server.
>
>         Can you provide me with some short cooking recipe on how to do
>         that?
>
>         Dirk
>
>         > Hey Spencer,
>         >
>         > I am not able to start the voice browser with this
>         configuration. It says
>         >      [java] Caused by: javax.sip.PeerUnavailableException:
>         IP address
>         > property missing
>         >      [java]     at
>         javax.sip.SipFactory.createSipStack(SipFactory.java:141)
>         >      [java]     at
>         > org.speechforge.cairo.sip.SipAgent.init(SipAgent.java:225)
>         >      [java]     ... 35 more
>         >
>         > Dirk
>         >
>         >
>         >> Hi Dirk,
>         >> I am still getting the class cast exception after making
>         the changes
>         >> you suggested.
>         >>
>         >> Do you have any other suggestions?    You should be able to
>         reproduce
>         >> by running helloworld demo with jtapi and mrcp enabled (if
>         you decide
>         >> to try don't forget to run cairo too).
>         >>
>         >> Spencer
>         >>
>         >>
>         >> On Sun, Sep 6, 2009 at 11:05 PM,
>         >> <jvoicexml-developer@...
>         >> <mailto:jvoicexml-developer@...>> wrote:
>         >>
>         >>     Hi Spencer,
>         >>
>         >>
>         >>
>         >>     I am answering to the list since I think that this may
>         be of
>         >>     general interest.
>         >>
>         >>     Please see below.
>         >>
>         >>
>         >>
>         >>
>         >>     I'd like to use JTAPI implementation for telephony and
>         call maanger.
>         >>     Does that make sense to you?
>         >>
>         >>     jvxml.jtapi = true
>         >>     jvxml.mrcpv2 = true
>         >>
>         >>
>         >>
>         >>     That looks OK to me.
>         >>
>         >>
>         >>
>         >>
>         >>     One problem is that jtapi has its own remoteClient and
>         I seem to
>         >>     be creating a basic remote client that wont cast.
>         >>     I dont need a remote client as of now, so can I just
>         use theirs?
>         >>     Where would I configure that?
>         >>
>         >>
>         >>
>         >>     This is the stack trace I get
>         >>       [java]  25006 [ion(4)-192.168.0.100] ERROR
>         >>     jvoicexml.jndi.SessionSkeleton (
>         >>     156)  org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.client.
>         >>     icRemoteClient cannot be cast to
>         >>     org.jvoicexml.callmanager.jtapi.JtapiRemoteC
>         >>     nt
>         >>       [java]
>         org.jvoicexml.event.error.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.even
>         >>     rror.jvxml.ExceptionWrapper:
>         >>     org.jvoicexml.client.BasicRemoteClient cannot be
>         >>     st to org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>         >>       [java]     at
>         >>
>         org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
>         >>     java:276)
>         >>       [java] Caused by: java.lang.ClassCastException:
>         >>     org.jvoicexml.client.BasicR
>         >>     teClient cannot be cast to
>         >>     org.jvoicexml.callmanager.jtapi.JtapiRemoteClient
>         >>       [java]     at
>         >>
>         org.jvoicexml.implementation.jtapi.JtapiTelephony.connect(Jta
>         >>     elephony.java:305)
>         >>
>         >>
>         >>     This is because the classes are loaded using different
>         class
>         >>     loaders. Try setting
>         >>
>         >>     jvxml.jndi.properties=jtapi
>         >>
>         >>     in personal-props/ant.properties and add
>         >>
>         >>     <repository>jtapi</repository>
>         >>
>         >>     to mrcpv2-implementation so that all use the same class
>         loader.
>         >>
>         >>
>         >>
>         >>
>         >>     Second question:  Is there a setup that will run a test
>         program
>         >>     like helloworld and also run a mic and a speaker at the
>         end of rtp
>         >>     streams?
>         >>
>         >>
>         >>
>         >>     Sorry, but I do not understand the goal behind that?
>         >>
>         >>
>         >>
>         >>     Dirk
>         >>
>         >>
>         >>
>         ------------------------------------------------------------------------------
>         >>     Let Crystal Reports handle the reporting - Free Crystal
>         Reports
>         >>     2008 30-Day
>         >>     trial. Simplify your report design, integration and
>         deployment -
>         >>     and focus on
>         >>     what you do best, core application coding. Discover
>         what's new with
>         >>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         >>     _______________________________________________
>         >>     Jvoicexml-developer mailing list
>         >>     Jvoicexml-developer@...
>         >>     <mailto:Jvoicexml-developer@...>
>         >>
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >>
>         >>
>         >>
>         ------------------------------------------------------------------------
>         >>
>         >>
>         ------------------------------------------------------------------------------
>         >> Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         >> trial. Simplify your report design, integration and
>         deployment - and focus on
>         >> what you do best, core application coding. Discover what's
>         new with
>         >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         >>
>         ------------------------------------------------------------------------
>         >>
>         >> _______________________________________________
>         >> Jvoicexml-developer mailing list
>         >> Jvoicexml-developer@...
>         >>
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >>
>         >>
>         >
>         >
>         >
>         ------------------------------------------------------------------------------
>         > Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         > trial. Simplify your report design, integration and
>         deployment - and focus on
>         > what you do best, core application coding. Discover what's
>         new with
>         > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         > _______________________________________________
>         > Jvoicexml-developer mailing list
>         > Jvoicexml-developer@...
>         >
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>         >
>
>
>         ------------------------------------------------------------------------------
>         Let Crystal Reports handle the reporting - Free Crystal
>         Reports 2008 30-Day
>         trial. Simplify your report design, integration and deployment
>         - and focus on
>         what you do best, core application coding. Discover what's new
>         with
>         Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>         _______________________________________________
>         Jvoicexml-developer mailing list
>         Jvoicexml-developer@...
>         https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________ Jvoicexml-developer mailing list Jvoicexml-developer@... https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Spencer,


> You have gotten further than me!  I was using the Hello world demo
> (not the JTAPI one).
> So now that I am trying the jtapidemo, I think my issue has to do with
> not being configured correctly.   Do I need to run a softphone?  
>

No, the JTAPI demo is a softphone based on GJTAPI. It uses SIP.
Unfortunately I do not have the audio streaming running here.

> Also I think its is looking for a jxml doc at
> http://127.0.0.1:8080/helloworldservletdemo/.  Can Ichange that to
> another url?  Where is that specified?

Yes, it calls a previously deployed hello world servlet demo. You can
change the URL in the callmanager configuration file.

hth
Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dirk,
This is the current state of affairs.  It seems like there are no objects in the synthesizedoutputpool

I have jtapi and mrcp true in my ant configuration
I did ant -buildfile configuration.xml
then ran the jtapi demo

Any ideas?

Spencer


     [java] org.jvoicexml.event.error.NoresourceError: error.noresource: java.la
ng.NullPointerException
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:616)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getSystemOutput(JVoiceXmlImplementationPlatform.java:213)
     [java]     at org.jvoicexml.interpreter.tagstrategy.PromptStrategy.execute(
PromptStrategy.java:140)
     [java]     at org.jvoicexml.interpreter.event.TagStrategyExecutor.executeTa
gStrategy(TagStrategyExecutor.java:169)
     [java]     at org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
ildNodes(TagStrategyExecutor.java:136)
     [java]     at org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
ildNodes(TagStrategyExecutor.java:80)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.visitBl
ockFormItem(FormInterpretationAlgorithm.java:833)
     [java]     at org.jvoicexml.interpreter.formitem.BlockFormItem.accept(Block
FormItem.java:82)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.collect
(FormInterpretationAlgorithm.java:536)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoo
p(FormInterpretationAlgorithm.java:386)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXm
lInterpreter.java:242)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpre
t(VoiceXmlInterpreterContext.java:512)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(
VoiceXmlInterpreterContext.java:312)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
on.java:267)
     [java] Caused by: java.lang.NullPointerException
     [java]     at org.jvoicexml.implementation.pool.PoolableResourceFactory.mak
eObject(PoolableResourceFactory.java:78)
     [java]     at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObj
ect(GenericKeyedObjectPool.java:797)
     [java]     at org.jvoicexml.implementation.pool.KeyedResourcePool.borrowObj
ect(KeyedResourcePool.java:104)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:614)
     [java]     ... 13 more
     [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  l.interpreter.JVoiceXmlSession (
   283)  closing session...
     [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  VoiceXmlImplementationPlatform (
   456)  closing implementation platform
     [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  nterpreter.scope.ScopeObserver (
   112)  exiting scope 'session'...
     [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  l.interpreter.JVoiceXmlSession (
   290)  ...session closed

On Fri, Sep 25, 2009 at 12:14 PM, <jvoicexml-developer@...> wrote:
Hi Spencer,


> You have gotten further than me!  I was using the Hello world demo
> (not the JTAPI one).
> So now that I am trying the jtapidemo, I think my issue has to do with
> not being configured correctly.   Do I need to run a softphone?
>

No, the JTAPI demo is a softphone based on GJTAPI. It uses SIP.
Unfortunately I do not have the audio streaming running here.

> Also I think its is looking for a jxml doc at
> http://127.0.0.1:8080/helloworldservletdemo/.  Can Ichange that to
> another url?  Where is that specified?

Yes, it calls a previously deployed hello world servlet demo. You can
change the URL in the callmanager configuration file.

hth
Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Spencer,

Did you also adapt the settings for
sip.inputType=mrcpv2
sip.outputType=mrcpv2

They are jsapi20 by default.

I already mentioned this in one of my previous emails.

It appears to me that the configuration issues seem to become too
complex. Many have problems with that. I will have to think how this can
be improved. I am also open for good suggestions.

Dirk

> Hi Dirk,
> This is the current state of affairs.  It seems like there are no
> objects in the synthesizedoutputpool
>
> I have jtapi and mrcp true in my ant configuration
> I did ant -buildfile configuration.xml
> then ran the jtapi demo
>
> Any ideas?
>
> Spencer
>
>
>      [java] org.jvoicexml.event.error.NoresourceError:
> error.noresource: java.la <http://java.la>
> ng.NullPointerException
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:616)
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getSystemOutput(JVoiceXmlImplementationPlatform.java:213)
>      [java]     at
> org.jvoicexml.interpreter.tagstrategy.PromptStrategy.execute(
> PromptStrategy.java:140)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeTa
> gStrategy(TagStrategyExecutor.java:169)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
> ildNodes(TagStrategyExecutor.java:136)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
> ildNodes(TagStrategyExecutor.java:80)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.visitBl
> ockFormItem(FormInterpretationAlgorithm.java:833)
>      [java]     at
> org.jvoicexml.interpreter.formitem.BlockFormItem.accept(Block
> FormItem.java:82)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.collect
> (FormInterpretationAlgorithm.java:536)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoo
> p(FormInterpretationAlgorithm.java:386)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXm
> lInterpreter.java:242)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpre
> t(VoiceXmlInterpreterContext.java:512)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(
> VoiceXmlInterpreterContext.java:312)
>      [java]     at
> org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
> on.java:267)
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at
> org.jvoicexml.implementation.pool.PoolableResourceFactory.mak
> eObject(PoolableResourceFactory.java:78)
>      [java]     at
> org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObj
> ect(GenericKeyedObjectPool.java:797)
>      [java]     at
> org.jvoicexml.implementation.pool.KeyedResourcePool.borrowObj
> ect(KeyedResourcePool.java:104)
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:614)
>      [java]     ... 13 more
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  
> l.interpreter.JVoiceXmlSession (
>    283)  closing session...
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  
> VoiceXmlImplementationPlatform (
>    456)  closing implementation platform
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  
> nterpreter.scope.ScopeObserver (
>    112)  exiting scope 'session'...
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO  
> l.interpreter.JVoiceXmlSession (
>    290)  ...session closed
>
> On Fri, Sep 25, 2009 at 12:14 PM,
> <jvoicexml-developer@...
> <mailto:jvoicexml-developer@...>> wrote:
>
>     Hi Spencer,
>
>
>     > You have gotten further than me!  I was using the Hello world demo
>     > (not the JTAPI one).
>     > So now that I am trying the jtapidemo, I think my issue has to
>     do with
>     > not being configured correctly.   Do I need to run a softphone?
>     >
>
>     No, the JTAPI demo is a softphone based on GJTAPI. It uses SIP.
>     Unfortunately I do not have the audio streaming running here.
>
>     > Also I think its is looking for a jxml doc at
>     > http://127.0.0.1:8080/helloworldservletdemo/.  Can Ichange that to
>     > another url?  Where is that specified?
>
>     Yes, it calls a previously deployed hello world servlet demo. You can
>     change the URL in the callmanager configuration file.
>
>     hth
>     Dirk
>
>
>     ------------------------------------------------------------------------------
>     Come build with us! The BlackBerry® Developer Conference in SF, CA
>     is the only developer event you need to attend this year.
>     Jumpstart your
>     developing skills, take BlackBerry mobile applications to market
>     and stay
>     ahead of the curve. Join us from November 9-12, 2009. Register
>     now!
>     http://p.sf.net/sfu/devconf
>     _______________________________________________
>     Jvoicexml-developer mailing list
>     Jvoicexml-developer@...
>     <mailto:Jvoicexml-developer@...>
>     https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jvoicexml-developer mailing list
> Jvoicexml-developer@...
> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks!  Sorry I missed that in the previous email.  That worked.  Now, I am at the point where I can make some progress on mrcpv2 implementation platform. 

I will think about ways to simplify configuration too.  I will let you know what I come up shortly.

Thanks again

On Sat, Sep 26, 2009 at 11:14 AM, <jvoicexml-developer@...> wrote:
Hi Spencer,

Did you also adapt the settings for
sip.inputType=mrcpv2
sip.outputType=mrcpv2

They are jsapi20 by default.

I already mentioned this in one of my previous emails.

It appears to me that the configuration issues seem to become too
complex. Many have problems with that. I will have to think how this can
be improved. I am also open for good suggestions.

Dirk

> Hi Dirk,
> This is the current state of affairs.  It seems like there are no
> objects in the synthesizedoutputpool
>
> I have jtapi and mrcp true in my ant configuration
> I did ant -buildfile configuration.xml
> then ran the jtapi demo
>
> Any ideas?
>
> Spencer
>
>
>      [java] org.jvoicexml.event.error.NoresourceError:
> error.noresource: java.la <http://java.la>
> ng.NullPointerException
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:616)
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getSystemOutput(JVoiceXmlImplementationPlatform.java:213)
>      [java]     at
> org.jvoicexml.interpreter.tagstrategy.PromptStrategy.execute(
> PromptStrategy.java:140)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeTa
> gStrategy(TagStrategyExecutor.java:169)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
> ildNodes(TagStrategyExecutor.java:136)
>      [java]     at
> org.jvoicexml.interpreter.event.TagStrategyExecutor.executeCh
> ildNodes(TagStrategyExecutor.java:80)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.visitBl
> ockFormItem(FormInterpretationAlgorithm.java:833)
>      [java]     at
> org.jvoicexml.interpreter.formitem.BlockFormItem.accept(Block
> FormItem.java:82)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.collect
> (FormInterpretationAlgorithm.java:536)
>      [java]     at
> org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoo
> p(FormInterpretationAlgorithm.java:386)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXm
> lInterpreter.java:242)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpre
> t(VoiceXmlInterpreterContext.java:512)
>      [java]     at
> org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(
> VoiceXmlInterpreterContext.java:312)
>      [java]     at
> org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
> on.java:267)
>      [java] Caused by: java.lang.NullPointerException
>      [java]     at
> org.jvoicexml.implementation.pool.PoolableResourceFactory.mak
> eObject(PoolableResourceFactory.java:78)
>      [java]     at
> org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObj
> ect(GenericKeyedObjectPool.java:797)
>      [java]     at
> org.jvoicexml.implementation.pool.KeyedResourcePool.borrowObj
> ect(KeyedResourcePool.java:104)
>      [java]     at
> org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
> tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:614)
>      [java]     ... 13 more
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO
> l.interpreter.JVoiceXmlSession (
>    283)  closing session...
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO
> VoiceXmlImplementationPlatform (
>    456)  closing implementation platform
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO
> nterpreter.scope.ScopeObserver (
>    112)  exiting scope 'session'...
>      [java]  65554 [b6-9199-5b9c9aa0ce9e] INFO
> l.interpreter.JVoiceXmlSession (
>    290)  ...session closed
>
> On Fri, Sep 25, 2009 at 12:14 PM,
> <jvoicexml-developer@...
> <mailto:jvoicexml-developer@...>> wrote:
>
>     Hi Spencer,
>
>
>     > You have gotten further than me!  I was using the Hello world demo
>     > (not the JTAPI one).
>     > So now that I am trying the jtapidemo, I think my issue has to
>     do with
>     > not being configured correctly.   Do I need to run a softphone?
>     >
>
>     No, the JTAPI demo is a softphone based on GJTAPI. It uses SIP.
>     Unfortunately I do not have the audio streaming running here.
>
>     > Also I think its is looking for a jxml doc at
>     > http://127.0.0.1:8080/helloworldservletdemo/.  Can Ichange that to
>     > another url?  Where is that specified?
>
>     Yes, it calls a previously deployed hello world servlet demo. You can
>     change the URL in the callmanager configuration file.
>
>     hth
>     Dirk
>
>
>     ------------------------------------------------------------------------------
>     Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
>     is the only developer event you need to attend this year.
>     Jumpstart your
>     developing skills, take BlackBerry mobile applications to market
>     and stay
>     ahead of the curve. Join us from November 9&#45;12, 2009. Register
>     now&#33;
>     http://p.sf.net/sfu/devconf
>     _______________________________________________
>     Jvoicexml-developer mailing list
>     Jvoicexml-developer@...
>     <mailto:Jvoicexml-developer@...>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jvoicexml-developer mailing list
> Jvoicexml-developer@...
> https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Spencer,

> Thanks!  Sorry I missed that in the previous email.  That worked.  
> Now, I am at the point where I can make some progress on mrcpv2
> implementation platform.

Great!
>
> I will think about ways to simplify configuration too.  I will let you
> know what I come up shortly.
>
That would be good. Keep me informed.

> Thanks again

You are welcome.

Dirk

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Spencer,

> Hey Spencer,
>
>  
>> Thanks!  Sorry I missed that in the previous email.  That worked.  
>> Now, I am at the point where I can make some progress on mrcpv2
>> implementation platform.
>>    
>
> Great!
>  

Any progress or problems with it?

Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Spencer,

Any problems with the platform? Or simply short on time ;-)
I am planning to release 0.7.2 soon, and I hoped to get some more input from
you.

I still have to add some more work on the resource pool since this causes
some problems.

Dirk

-----Ursprüngliche Nachricht-----
Von: jvoicexml-developer@...
[mailto:jvoicexml-developer@...]
Gesendet: Mittwoch, 14. Oktober 2009 07:42
An: jvoicexml-developer@...
Betreff: Re: [JVoiceXML-developer] remote client

Hey Spencer,

> Hey Spencer,
>
>  
>> Thanks!  Sorry I missed that in the previous email.  That worked.  
>> Now, I am at the point where I can make some progress on mrcpv2
>> implementation platform.
>>    
>
> Great!
>  

Any progress or problems with it?

Dirk


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dirk,

Sorry for the delayed response.  I think I took on too much work laely -- just falling behind in everything ...

It would be nice to to get this working for the next release.

I could use some help setting up a test that just runs a simple  helloworld.vxml   How would you configure things for that to work?  My call manager config lookls like this:

  <beans:bean id="callmanager"
    class="org.jvoicexml.callmanager.jtapi.JtapiCallManager">
    <beans:property name="providername"
      value="net.sourceforge.gjtapi.raw.mjsip.MjSipProvider" />
    <beans:property name="remoteClientFactory">
      <beans:bean class="org.jvoicexml.callmanager.jtapi.JtapiRemoteClientFactory"/>
    </beans:property>
    <beans:property name="applications">
      <beans:list>
        <beans:bean
          class="org.jvoicexml.callmanager.ConfiguredApplication">
          <beans:property name="terminal"
            value="sip:jvoicexml@...:4242" />
          <beans:property name="uri"
          value="file:///work/zanzibar/src/main/voicexml/hello.vxml"/>
          <beans:property name="inputType" value="@sip.inputType@" />
          <beans:property name="outputType" value="mrcpv2" />
        </beans:bean>
      </beans:list>
    </beans:property>
  </beans:bean>

</callmanager>


What should tapidemo do -- as is -- if it works properly.  Should it place a call to the server?  I get the exception (below) now with the combined config (jtapi + mrcp)



     [java] org.jvoicexml.event.error.NoresourceError: error.noresource: java.la
ng.NullPointerException
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:616)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getUserInput(JVoiceXmlImplementationPlatform.java:324)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.process
(FormInterpretationAlgorithm.java:574)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoo
p(FormInterpretationAlgorithm.java:389)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXm
lInterpreter.java:242)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpre
t(VoiceXmlInterpreterContext.java:512)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(
VoiceXmlInterpreterContext.java:312)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
on.java:267)
     [java] Caused by: java.lang.NullPointerException
     [java]     at org.jvoicexml.implementation.pool.PoolableResourceFactory.mak
eObject(PoolableResourceFactory.java:78)
     [java]     at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObj
ect(GenericKeyedObjectPool.java:797)
     [java]     at org.jvoicexml.implementation.pool.KeyedResourcePool.borrowObj
ect(KeyedResourcePool.java:104)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:614)
     [java]     ... 7 more
     [java]  36683 [aa-bd11-aad326f08600] INFO  l.interpreter.JVoiceXmlSession (
   283)  closing session...
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   456)  closing implementation platform
     [java]  36683 [aa-bd11-aad326f08600] WARN  mrcpv2.Mrcpv2SynthesizedOutput (
   405)  WaitQueueEmpty not implemented
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   666)  returned external resource 'mrcpv2' (org.jvoicexml.implementation.mrcpv
2.Mrcpv2SynthesizedOutput) to pool
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   269)  returned system output of type 'mrcpv2'
     [java]  36913 [aa-bd11-aad326f08600] ERROR anager.jtapi.JVoiceXmlTerminal (
   462)  error in disconnect
     [java] javax.telephony.ResourceUnavailableException: Address not found: nul
l
     [java]     at net.sourceforge.gjtapi.raw.mjsip.MjSipProvider.release(MjSipP
rovider.java:285)
     [java]     at net.sourceforge.gjtapi.raw.ProviderFactory.release(ProviderFa
ctory.java:344)
     [java]     at net.sourceforge.gjtapi.FreeConnection.disconnect(FreeConnecti
on.java:139)
     [java]     at net.sourceforge.gjtapi.FreeCall.drop(FreeCall.java:426)
     [java]     at org.jvoicexml.callmanager.jtapi.JVoiceXmlTerminal.disconnect(
JVoiceXmlTerminal.java:457)
     [java]     at org.jvoicexml.implementation.jtapi.JtapiTelephony.disconnect(
JtapiTelephony.java:316)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.returnExternalResourceToPool(JVoiceXmlImplementationPlatform.java:655)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.returnCallControl(JVoiceXmlImplementationPlatform.java:418)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.close(JVoiceXmlImplementationPlatform.java:473)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
on.java:285)
     [java]  36993 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   666)  returned external resource 'jtapi' (org.jvoicexml.implementation.jtapi.
JtapiTelephony) to pool
     [java]  36993 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   421)  returned call control of type 'jtapi'
     [java]  36993 [aa-bd11-aad326f08600] INFO  nterpreter.scope.ScopeObserver (
   112)  exiting scope 'session'...
     [java]  36993 [aa-bd11-aad326f08600] INFO  l.interpreter.JVoiceXmlSession (
   290)  ...session closed
On Tue, Oct 13, 2009 at 10:42 PM, <jvoicexml-developer@...> wrote:
Hey Spencer,

> Hey Spencer,
>
>
>> Thanks!  Sorry I missed that in the previous email.  That worked.
>> Now, I am at the point where I can make some progress on mrcpv2
>> implementation platform.
>>
>
> Great!
>

Any progress or problems with it?

Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

Re: remote client

by jvoicexml-developer mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Spencer,

 

I can understand that. Just good to get a life sign. Let’s move it to the next release. Currently one progress is that you updated the libraries and there are no longer exceptions when JVoiceXML starts.

 

To your problem:

Please check the input. It should also be mrcpv2.

 

Dirk

 

Von: jvoicexml-developer@... [mailto:jvoicexml-developer@...]
Gesendet: Dienstag, 20. Oktober 2009 23:36
An: jvoicexml-developer@...
Betreff: Re: [JVoiceXML-developer] remote client

 

Hi Dirk,

Sorry for the delayed response.  I think I took on too much work laely -- just falling behind in everything ...

It would be nice to to get this working for the next release.

I could use some help setting up a test that just runs a simple  helloworld.vxml   How would you configure things for that to work?  My call manager config lookls like this:

  <beans:bean id="callmanager"
    class="org.jvoicexml.callmanager.jtapi.JtapiCallManager">
    <beans:property name="providername"
      value="net.sourceforge.gjtapi.raw.mjsip.MjSipProvider" />
    <beans:property name="remoteClientFactory">
      <beans:bean class="org.jvoicexml.callmanager.jtapi.JtapiRemoteClientFactory"/>
    </beans:property>
    <beans:property name="applications">
      <beans:list>
        <beans:bean
          class="org.jvoicexml.callmanager.ConfiguredApplication">
          <beans:property name="terminal"
            value="sip:jvoicexml@...:4242" />
          <beans:property name="uri"
          value="file:///work/zanzibar/src/main/voicexml/hello.vxml"/>
          <beans:property name="inputType" value="@sip.inputType@" />
          <beans:property name="outputType" value="mrcpv2" />
        </beans:bean>
      </beans:list>
    </beans:property>
  </beans:bean>

</callmanager>


What should tapidemo do -- as is -- if it works properly.  Should it place a call to the server?  I get the exception (below) now with the combined config (jtapi + mrcp)



     [java] org.jvoicexml.event.error.NoresourceError: error.noresource: java.la
ng.NullPointerException
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:616)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getUserInput(JVoiceXmlImplementationPlatform.java:324)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.process
(FormInterpretationAlgorithm.java:574)
     [java]     at org.jvoicexml.interpreter.FormInterpretationAlgorithm.mainLoo
p(FormInterpretationAlgorithm.java:389)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreter.process(VoiceXm
lInterpreter.java:242)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.interpre
t(VoiceXmlInterpreterContext.java:512)
     [java]     at org.jvoicexml.interpreter.VoiceXmlInterpreterContext.process(
VoiceXmlInterpreterContext.java:312)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
on.java:267)
     [java] Caused by: java.lang.NullPointerException
     [java]     at org.jvoicexml.implementation.pool.PoolableResourceFactory.mak
eObject(PoolableResourceFactory.java:78)
     [java]     at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObj
ect(GenericKeyedObjectPool.java:797)
     [java]     at org.jvoicexml.implementation.pool.KeyedResourcePool.borrowObj
ect(KeyedResourcePool.java:104)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.getExternalResourceFromPool(JVoiceXmlImplementationPlatform.java:614)
     [java]     ... 7 more
     [java]  36683 [aa-bd11-aad326f08600] INFO  l.interpreter.JVoiceXmlSession (
   283)  closing session...
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   456)  closing implementation platform
     [java]  36683 [aa-bd11-aad326f08600] WARN  mrcpv2.Mrcpv2SynthesizedOutput (
   405)  WaitQueueEmpty not implemented
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   666)  returned external resource 'mrcpv2' (org.jvoicexml.implementation.mrcpv
2.Mrcpv2SynthesizedOutput) to pool
     [java]  36683 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   269)  returned system output of type 'mrcpv2'
     [java]  36913 [aa-bd11-aad326f08600] ERROR anager.jtapi.JVoiceXmlTerminal (
   462)  error in disconnect
     [java] javax.telephony.ResourceUnavailableException: Address not found: nul
l
     [java]     at net.sourceforge.gjtapi.raw.mjsip.MjSipProvider.release(MjSipP
rovider.java:285)
     [java]     at net.sourceforge.gjtapi.raw.ProviderFactory.release(ProviderFa
ctory.java:344)
     [java]     at net.sourceforge.gjtapi.FreeConnection.disconnect(FreeConnecti
on.java:139)
     [java]     at net.sourceforge.gjtapi.FreeCall.drop(FreeCall.java:426)
     [java]     at org.jvoicexml.callmanager.jtapi.JVoiceXmlTerminal.disconnect(
JVoiceXmlTerminal.java:457)
     [java]     at org.jvoicexml.implementation.jtapi.JtapiTelephony.disconnect(
JtapiTelephony.java:316)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.returnExternalResourceToPool(JVoiceXmlImplementationPlatform.java:655)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.returnCallControl(JVoiceXmlImplementationPlatform.java:418)
     [java]     at org.jvoicexml.implementation.jvxml.JVoiceXmlImplementationPla
tform.close(JVoiceXmlImplementationPlatform.java:473)
     [java]     at org.jvoicexml.interpreter.JVoiceXmlSession.run(JVoiceXmlSessi
on.java:285)
     [java]  36993 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   666)  returned external resource 'jtapi' (org.jvoicexml.implementation.jtapi.
JtapiTelephony) to pool
     [java]  36993 [aa-bd11-aad326f08600] INFO  VoiceXmlImplementationPlatform (
   421)  returned call control of type 'jtapi'
     [java]  36993 [aa-bd11-aad326f08600] INFO  nterpreter.scope.ScopeObserver (
   112)  exiting scope 'session'...
     [java]  36993 [aa-bd11-aad326f08600] INFO  l.interpreter.JVoiceXmlSession (
   290)  ...session closed

On Tue, Oct 13, 2009 at 10:42 PM, <jvoicexml-developer@...> wrote:

Hey Spencer,


> Hey Spencer,
>
>
>> Thanks!  Sorry I missed that in the previous email.  That worked.
>> Now, I am at the point where I can make some progress on mrcpv2
>> implementation platform.
>>
>
> Great!
>

Any progress or problems with it?

Dirk


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA

is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay

ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jvoicexml-developer mailing list
Jvoicexml-developer@...
https://lists.sourceforge.net/lists/listinfo/jvoicexml-developer