Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » How to change ANI and DNIS sessions?
How to change ANI and DNIS sessions? [message #22717] Tue, 19 May 2009 05:34 Go to next message
Chance Word is currently offline Chance WordFriend
Messages: 2
Registered: July 2009
Junior Member
On the first page that directs to my application, are the parameters ANI
(session.connection.remote.uri)and DNIS
(session.connection.local.uri)which are set. However, this causes an error
on my platform. My ANI needs to be (session.telephone.ani) and another for
DNIS (session.telephone.dnis). How can I change the way the ANI and DNIS
are assigned? I've looked at every setting I could find in the Project but
cant find any pertaining to session assignments for ANI and DNIS.

Thanks.

−
<vxml version="2.0">
&#8722;
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
&#8722;
<block name="InitialBlock">
<assign name="ANI" expr="session.connection.remote.uri"/>
<assign name="DNIS" expr="session.connection.local.uri"/>
<submit
next=" /eclTest/-/next;jsessionid=946320DFBFA4A9D1327D5428E1DF3C66? cbb0fc79382a4f039e6f8eb5fef8b1cd=success.filled "
method="get" namelist="ANI DNIS"/>
</block>
</form>
</vxml>
Re: How to change ANI and DNIS sessions? [message #495552 is a reply to message #22717] Thu, 05 November 2009 10:49 Go to previous messageGo to next message
Kasun Chinthaka is currently offline Kasun ChinthakaFriend
Messages: 12
Registered: August 2009
Junior Member
Hi,
sorry for the delay friend, I think u cant do above changes without changing the source code,

frist u have to down load the vtp source code, u can do it using
" https://dev.eclipse.org/svnroot/technology/org.eclipse.vtp/F ramework/trunk/plugins/" through SVN.

for your modifications it will be enough to download only one plugin project under above url. whole project have abt 20 plugin projects. you only need download, following library.
"org.eclipse.vtp.framework.interactions.voice"
then load is as java project (using crete a projet using exiting source command) and only do ur modifications to
org.eclipse.vtp.framework.interactions.voice.services.VoiceP latform.java
(I think you have to cahnge the variable names)

then export the project as a "deployble Plugin Fragment"(in second step dont foget to change the qulifier as th defaul value in optins tag)

then there will generate tha jar file, pls repalce the jafile using this in ur eclip's plugin folder.

now it will be working as u wish,
best of luck

regards
Kasun Chinthaka Kaluthanthri

[Updated on: Thu, 05 November 2009 10:52]

Report message to a moderator

Re: How to change ANI and DNIS sessions? [message #578791 is a reply to message #22717] Thu, 05 November 2009 10:49 Go to previous message
Kasun Chinthaka is currently offline Kasun ChinthakaFriend
Messages: 12
Registered: August 2009
Junior Member
Hi,
sorry for the delay friend, I think u cant do above changes without changing the source code,

frist u have to down load the vtp source code, u can do it using
" https://dev.eclipse.org/svnroot/technology/org.eclipse.vtp/f ramework//trunk/plugins/" through SVN.

for your modifications it will be enough to download only one plugin project under above url. whole project have abt 20 plugin projects. you only need download, following library.
"org.eclipse.vtp.framework.interactions.voice"
then load is as java project (using crete a projet using exiting source command) and only do ur modifications to
org.eclipse.vtp.framework.interactions.voice.services.VoiceP latform.java
(I think you have to cahnge the variable names)

then export the project as a "deployble Plugin Fragment"(in second step dont foget to change the qulifier as th defaul value in optins tag)

then there will generate tha jar file, pls repalce the jafile using this in ur eclip's plugin folder.

now it will be working as u wish,
best of luck

regards
Kasun Chinthaka Kaluthanthri
Previous Topic:Cannot create database object
Next Topic:Orphaned connector (cross post)
Goto Forum:
  


Current Time: Fri Mar 29 10:02:52 GMT 2024

Powered by FUDForum. Page generated in 0.03692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top