How to change ANI and DNIS sessions? [message #22717] |
Tue, 19 May 2009 01:34  |
Eclipse User |
|
|
|
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">
−
<form id="InitialForm" scope="document">
<var name="ANI" expr=""/>
<var name="DNIS" expr=""/>
−
<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 #578791 is a reply to message #22717] |
Thu, 05 November 2009 05:49  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03486 seconds