-----Original Message-----
From: Rohan Mahy [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 12:12 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: forking with SIP CGI


>Hi,
>
>Is it legal to specify multiple CGI actions for a single request?  For
example to allow for 
>parallel forking:
>
>CGI_PROXY_REQUEST [EMAIL PROTECTED] SIP/2.0 
>Expires: 5 
>CGI-Request-Token: abcdefgh
>
>
>
>
>CGI_PROXY_REQUEST [EMAIL PROTECTED] SIP/2.0 
>Expires: 5 
>CGI-Request-Token: ijklmnop

Yes, this is perfectly fine. It is the only defined way to parallel fork.
>From rfc3050:

 A SIP CGI script's output consists of any number of messages, each
   corresponding to actions which the script is requesting that the
   server perform.  Messages consist of an action line, whose syntax is
   specific to the type of action, followed by CGI header fields and SIP
   header fields.  Action lines determine the nature of the action
   performed, and are described in section 5.6.1.  CGI header fields
   pass additional instructions or information to the server, and are
   described in section 5.6.2.

note *any number of messages* in the first sentence.



-Jonathan R.

---
Jonathan D. Rosenberg                       72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
[EMAIL PROTECTED]                     FAX:   (973) 952-5050
http://www.cs.columbia.edu/~jdrosen         PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to