How can you configure SER to process a 302 redirect, rather then sending it back to the SIP Client?
When my SIP client places a call through SER to a destination, and the destination replies with a 302 redirect, SER seems to proxy that redirect back to my SIP client. Rather then have my client send a second invite with the new "Contact" information, I would rather have SER directly send an invite to the new destination without telling my client about the 302 redirect.
I thought about using the t_on_failure, as a response code >=300 will trigger a failure_route, but how do you pull the content out of the "Contact" field of the response to put into the request URI?
- Robert Liao
there is no recursive 3xx processing in the stock SER version.
-jiri
At 09:29 PM 7/13/2004, Robert Liao wrote:
How can you configure SER to process a 302 redirect, rather then sending it back to the SIP Client?
When my SIP client places a call through SER to a destination, and the destination replies with a 302 redirect, SER seems to proxy that redirect back to my SIP client. Rather then have my client send a second invite with the new "Contact" information, I would rather have SER directly send an invite to the new destination without telling my client about the 302 redirect.
I thought about using the t_on_failure, as a response code >=300 will trigger a failure_route, but how do you pull the content out of the "Contact" field of the response to put into the request URI?
- Robert Liao
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
Hi,
Search on google with '302 site:mail.iptel.org'. This will give you the answer. Also, pls learn about the usage of t_check_status.
Regards,
--- Juha Heinanen jh@tutpro.com wrote:
Robert Liao writes:
I thought about using the t_on_failure, as a response code >=300 will trigger a failure_route, but how do you pull the content out of the "Contact" field of the response to put into the request URI?
see serusers archives.
-- juha
===== Girish Gopinath gr_sh2003@yahoo.com
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com