Hi,

Is it possible to modify a TM request after being copied to the shared memory 
by the TM module?
For example if you programatically detect that relay failed and want to try 
sending it somewhere else?

My current approach is to basically do what the lookup registrar method does:
1. call set_ruri to the next destination;

2. call set_path_vector and set_dst_uri to update the path to the destination;

The relayed message seems to be well formatted but I tend to have some memory 
corruption problems afterwards.
Should I clone the above methods but clone the data in shared memory? Is there 
any smarter way of doing this?

Thanks a bunch,
Andrei
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to