Subject: [IPTEL] Help of a service in cpl

From: "Katherine" <[email-masked]>
Date: Fri, 16 Mar 2001 11:05:19 -0500

Hello all!

I'm trying to develop a service of user location using CPL in a networking architecture SIP. I'm not expert in CPL and for this reason I need help to correct a script for the xml code.

The service of intelligent user location has, such as final goal, to give the user the posibility of others users to localize him/her in different places depending of the hours during the day, for example, in the case Mary wants to be localized since 00:00:00 hours until 06:00:00 in the [email-masked] location and since 18:00:00 until 12:00:00 in the [email-masked] location. 

The explanation of my design is as follow:

The first address-switch asks for the host where reside the service. If the domain is ITEC-telecom.com.co, to pass second address-switch, otherwise the call is reject. 
 
The second address-switch asks for the user. If the user is Mary, the call reach to the first time switch, otherwise the call is reject.

The first time switch indicate that the user will be localized since the 00:00:00 hours until 6 hours after in the [email-masked] location. 

If  the local time is not accord with the time established in the time-switch, the call will reach the second time-switch.

The second time-switch indicate that the user will be localized since the 06:00:00 hours until 12:00:00 hours. If the local time is accord with this interval, the user will be localized in the [email-masked] location, otherwise the call will be reject.

The proxy action signalling has three outputs. The busy and failure outputs correspond to the events: response 486 and 3xx respectively in the SIP protocol, the noanswer output go to a subaction called Mail, that contains a location node and a redirect action signalling.

The cpl diagram and the xml code with its respective dtd are attached.

I need to know if this design and if the xml code are right.
 
Thanks in advance

Katherine Morera Olarte
Research Division
ITEC-TELECOM
Bogotá Colombia
http://itec.telecom-co.net