[OpenSIPS-Users] Adding data to a request before relaying it

Adam Twardowski adam.twardowski at gmail.com
Fri Oct 1 15:09:46 CEST 2010

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.

2010/10/1 Anca Vamanu <anca at opensips.org>

>  Hi Najib,
> 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 (
> http://www.opensips.org/html/docs/modules/devel/textops.html#id271334.)
> and sending the Invite to another destination.
> Regards,
> --
> Anca Vamanuwww.voice-system.ro
> On 10/01/2010 11:55 AM, Najib Hara wrote:
> Hi everybody,
> I'm a newer in the OpenSIPS world and I'm trying to learn how to use it
> efficiently.
> I'm working on a project where I have to modify incoming requests before
> relaying them to their first destination.
> By modifying, I mean sending those requests to a server which will send
> back messages with the additional data to implement in the requests.
> 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.
> My question is: is OpenSIPS capable of doing this ?
> For more detail, here is a scheme.
> Thank you in advance for your responses
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20101001/8a2ec84f/attachment.htm 

More information about the Users mailing list