Hi,

I think all your problems all stem for not differentiating between
logical and physically separate entities.

James

-----Original Message-----
From: Nagarajan.D [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2002 07:41
To: [EMAIL PROTECTED]
Subject: [IPTEL] Doubt in CPL Scripts


I am trying to understand the CPL scripts where I have the following
doubt:

I am having a CPL Server and the SIP Server as two different components.
Where all calls from the SIP Server is forwarded to the CPL Server to
check for any specific action required and returns an action back to SIP
Server to proceed with.

Doubt no 1:
When there is a call between 2 users A and B.
A's script says to start the call logging feature( where the details of
the calls of A are logged to a file )
And then B's script says to reject all the calls from A.

In such a case; which one of the following will be the return action
sent from CPL Server to SIP Server

1. Start call logging feature for call A
2. Reject action ; for calls coming from A to B
3. both 1 and 2.

In some situations there will be only one action; and in some more than
one action is it right ?
Or do we need to have priorities for the actions of A and B and choose
one among them.
If somebody has done some implementations handling such scenarios can
you please guide me.

Doubt no 2:
And in some cases, the actions could result in recursions, The RFC 2824
in section 9.2 says " in some cases, forwarding can be recursive; 
a CPL Server must be careful to prevent forwarding loops."  If somebody
has done some implementations handling such scenarios can you please
guide me.

Doubt no 3:
Sip Server works on specified set of timers, when a call is been sent to
the CPL Server for action; may be it has to handle many scripts at a
time and respond back.
But it may disturb the SIP timers; How are we going to handle such
situations. Are there any specific timer implementations for CPL Server
required ?

Are there are any implementations available to look into these issues.

Thanks,
Naga
*******************************************
*** D. Nagarajan
***
*** Wipro Technologies
***
*** 271, Sri Ganesh Complex                                          ***
*** Madivala, Bangalore 560068, India                        ***
*** Tel : 0091-80-5539134/139 ext 1161                         ***
*******************************************
*** The woods are lovely, dark and deep.                  *** 
*** But I have promises to keep,                                  ***
*** And miles to go before I sleep,                             ***
*** And miles to go before I sleep.                             ***  
******************************************* 
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to