A 600 is probably not the best response to be using there, 6XX messages are global errors, meaning it will never complete no matter where you send it. We have a similar setup but we use 302 reply to move the data around.<br>
<br><div class="gmail_quote">2010/10/1 Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi Najib,<br>
<br>
You can do this by defining a failure_route which will be called when
the 600 reply is received and there inserting the data as the body for
Invite with textops functions
(<a href="http://www.opensips.org/html/docs/modules/devel/textops.html#id271334" target="_blank">http://www.opensips.org/html/docs/modules/devel/textops.html#id271334</a>.)
and sending the Invite to another destination.<br>
<br>
Regards,<br><font color="#888888">
<pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a></pre></font><div><div></div><div class="h5">
<br>
On 10/01/2010 11:55 AM, Najib Hara wrote:
<blockquote type="cite">
Hi
everybody,<br>
<br>
I'm a newer in the OpenSIPS world and I'm trying to learn how to use it
efficiently.<br>
I'm working on a project where I have to modify incoming requests
before relaying them to their first destination.<br>
By modifying, I mean sending those requests to a server which will send
back messages with the additional data to implement in the requests.<br>
The next step is to collect those informations from the responses and
add them to the initial requests which will be relayed to their initial
destination.<br>
My question is: is OpenSIPS capable of doing this ?<br>
<br>
For more detail, here is a scheme.<br>
<br>
Thank you in advance for your responses<br>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>