Jonathan Rosenberg wrote:


> -----Original Message-----
> From: YinShaoHua [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 4:33 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [Sip-implementors] The usage of CPL?
>
>
> >Hi,
> >I have a question of CPL, can someone who have completed the CPL
> >give me some suggestions? Thanks!
> >
> >
> >In the draft "draft-ietf-iptel-cpl-04.txt" of Lennox/Schulzrinne,
> >there writes " It is meant to be simple, extensible, easily edited by
> >graphical clients, and independent of operating system or signalling
> >protocol".  After I read the draft, I find that every script
> >programmed by CPL can use only for one user because it has no
> >variables. Therefore, if I use the CPL script to control the call in
> >SIP server, I must program more than million scripts while the server
> >serves million users.  Is it simple?
>
> If you want each user to upload there own script, then indeed one million users 
>means one million scripts.
>
> There are other use cases. You can write a generic script that can apply to a large 
>number of users. For example, a simple
> screening app. A CPL interpreter platform would need to know to associate groups of 
>users with that one script. But, this
> is not a CPL issue, its an implementation issue (and ours is indeed capable of such).
>
Although this does require some deviation from the draft as our CPL
server also does it, you have to redefine the default action to chain to
the next script until there are no more scripts when you follow the
draft. (This means you don't follow the letter, but the spirit of the
draft)

>
> There are even other use cases where CPL scripts are never even
> stored, but rather generated dynamically. It all depends on
> how creative you are with your implementation.

Dynamically creating CPL would be the least creative option I can think
of I'd suggest more powerful (non interpreted solutions were better,
even if they just mimic CPL functionality).

James Undery


_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to