How to use "incoming","initiated" attribute in my ip touch xml applications

Post Reply
User avatar
pavsuri
Member
Posts: 5
Joined: 11 Aug 2010 01:23

How to use "incoming","initiated" attribute in my ip touch xml applications

Post by pavsuri »

Start An Application from the TELEPHONIC context.

Iam trying to create an application to make it visible into one of the telephonic menu for the caller.
Basically I want to declare an application in such a way that at startup time a softkey can be specified for the applicaiton for each telephonic states as below:
• Call incoming
• Call initiated
• Call delivered
• Call established
• Call conference
• Call on hold
• Call disconnected

I went through the developers guide and was able to display the application name in the MENU Tab but no help was there to display in one of the telephonic menus.

According to the Developers Document , it is given that “There is no help available for applicative softkeys”. Due to Lack of More information about this part iam unable to display the application name in the Telephonic Menus.

Please see my below snippet of Code for Registration and Config File. Please specify where am I going wrong.

Registration.php file
<?php
header('Content-Type: text/XML; charset=UTF-8');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '
<body xmlns="http://www.alcatel.fr/IPT/v1.0">
<register>
<url id="config" value="http://192.168.1.112/suris/Sun/Test/Config.php" />
<prop id="rights" value="no" />
<prop id="key" value="14" />
<timer id="NotifyScanPeriod" value="800"/>
<http>GET</http>
</register>
</body>
';
?>


Below is my Config file:
<?php
header("Content-Type: text/XML; charset=UTF-8");
?>
<?xml version="1.0" encoding="UTF-8"?>
<body xmlns="http://www.alcatel.fr/IPT/v1.0">
<connect>
<device>
<model>IPT 4068</model>
<model>IPT 4038</model>
</device>
<app_name>
<lang id="en-GB" value ="Ho" incoming ="answer"/>
</app_name>
<app_help>
<lang id="en-GB" value="Hotel info"/>
</app_help>
<url id="main" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/main.php"); ?>"/>
<url id="notify" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/Notify.php"); ?>"/>
<url id="error" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/Error.php"); ?>"/>
<url id=”callstate” value=” <?php print ("http://192.168.1.112/suris/Sun/Test/callstate.php"); ?>”/>

<rank_info>4</rank_info>
<aa_dig_sgn>208375444ae944199e9fc51cbec127768a58d89efc042283f65146132b26e5d8631dbde96824d5d9a622179ee33be0623ca4bbd3480720614f6a9391b52fe6cf</aa_dig_sgn>
</connect>
</body>


Help on this is really appreciable.
User avatar
pavsuri
Member
Posts: 5
Joined: 11 Aug 2010 01:23

Post by pavsuri »

Iam trying to create an application to make it visible into one of the telephonic menu for the caller.
Basically I want to declare an application in such a way that at startup time a softkey can be specified for the applicaiton for each telephonic states as below:
• Call incoming
• Call initiated
• Call delivered
• Call established
• Call conference
• Call on hold
• Call disconnected

I went through the developers guide and was able to display the application name in the MENU Tab but no help was there to display in one of the telephonic menus.

According to the Developers Document , it is given that “There is no help available for applicative softkeys”. Due to Lack of More information about this part iam unable to display the application name in the Telephonic Menus.

Please see my below snippet of Code for Registration and Config File. Please specify where am I going wrong.

Registration.php file
<?php
header('Content-Type: text/XML; charset=UTF-8');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '
<body xmlns="http://www.alcatel.fr/IPT/v1.0">
<register>
<url id="config" value="http://192.168.1.112/suris/Sun/Test/Config.php" />
<prop id="rights" value="no" />
<prop id="key" value="14" />
<timer id="NotifyScanPeriod" value="800"/>
<http>GET</http>
</register>
</body>
';
?>
Below is my Config file:
<?php
header("Content-Type: text/XML; charset=UTF-8");
?>
<?xml version="1.0" encoding="UTF-8"?>
<body xmlns="http://www.alcatel.fr/IPT/v1.0">
<connect>
<device>
<model>IPT 4068</model>
<model>IPT 4038</model>
</device>
<app_name>
<lang id="en-GB" value ="Ho" incoming ="answer"/>
</app_name>
<app_help>
<lang id="en-GB" value="Hotel info"/>
</app_help>
<url id="main" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/main.php"); ?>"/>
<url id="notify" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/Notify.php"); ?>"/>
<url id="error" value= "<?php print ("http://192.168.1.112/suris/Sun/Test/Error.php"); ?>"/>
<url id=”callstate” value=” <?php print ("http://192.168.1.112/suris/Sun/Test/callstate.php"); ?>”/>

<rank_info>4</rank_info>
<aa_dig_sgn>208375444ae944199e9fc51cbec127768a58d8 9efc042283f65146132b26e5d8631dbde96824d5d9a622179e e33be0623ca4bbd3480720614f6a9391b52fe6cf</aa_dig_sgn>
</connect>
</body>

It is an emergency request please can any one help me on this. Any Help on this is really appreciable.
Post Reply

Return to “XML Presentation Server & TAPI Server”