On Thu, 2010-02-18 at 02:50 +0000, Aaron Clauson wrote: > I have a scenario where I want a SIP client to be able to generate multiple > redirect responses. The redirect responses will be generated based on user > actions and will have a variable delay between them. > > As far as I can see there is no standard's compliant way to achieve that > since the first redirect response will end the transaction with the client > preventing it from being able to send any further redirects.
You should be able to do this in a standard way. First, let us assume that an address of the client (which is acting as UAS in this situation) is <sip:UAS>. The incoming request is "METHOD sip:UAS". Once the client obtains the first redirect URI, <sip:DEST1>, it responds "SIP/2.0 302 Moved Temp/Contact: sip:DEST1/Contact: <sip:UAS;phase=2>". This causes the requestor to fork to <sip:DEST1>, but the requestor also forks to <sip:UAS;phase=2>. The latter request goes back to the client, bit it is tagged so the client knows to proceed with the second phase of processing for the request. Etc. Dale _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
