Anca,<div><br></div><div>When using t_replicate, is opensips then expecting a response from the server it is replicated to? I'm guessing not and also therefore will not send retries when/if no response is received. Then on the recording server you can just use tcpdump to save the messages.</div>
<div>Further you would need to t_replicate every message, catching it before any t_relay (actually replacing t_relay) including loose routing at the beginning of the script and also in on_reply routes.</div><div>Are these assumptions correct?</div>
<div><br></div><div>A note on many destinations, I've been using it for replicating registrations to voicemail servers and had to use append_branch to my other destinations and t_replicate to the last one. I'm not sure how it then deals with where it expects a response from if not all destinations (depending on answer to above question).</div>
<div><br></div><div>Thanks<br>Dave</div><div><br><div class="gmail_quote">On Mon, Jan 24, 2011 at 9:26 AM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org">anca@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 01/24/2011 07:19 PM, Toyima Dias wrote:
<blockquote type="cite">
<div>Thanks Anca, </div>
<div> </div>
<div>I can send the call as many destinations i want, right? as
many t_replicate, many destinations? but now i have a doubt, is
it right what i want to do? i mean: sending the INVITE to both
the final destination and the recorder server to record
conversations between peers? should i treat the recording server
as a media server right? why not handling this recording server
like a voicemail server with rewritehostport?</div>
<div> </div>
</blockquote></div>
For the voicemail server - it is the last destination of the call,
this is why you can use rewritehost port. But for the use case that
you described, recording the SIP messages on another server,
t_replicate is what you need.<br>
<br>
Regards,<br><font color="#888888">
Anca</font><div class="im"><br>
<br>
<blockquote type="cite">
<div>Thanks in advance for your help</div>
<div> </div>
<div> </div>
<div><br>
<br>
</div>
<div class="gmail_quote">2011/1/24 Anca Vamanu <span dir="ltr"><<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></span><br>
<blockquote style="border-left:1px solid rgb(204, 204, 204);margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div text="#000000" bgcolor="#ffffff">Hi Toyima,<br>
<br>
You can use t_replicate function: <a href="http://www.opensips.org/html/docs/modules/devel/tm.html#treplicate" target="_blank">http://www.opensips.org/html/docs/modules/devel/tm.html#treplicate</a>.<br>
<br>
Regards,<br>
<pre cols="72">--
Anca Vamanu
<a href="http://www.voice-system.ro/" target="_blank">www.voice-system.ro</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
</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></div>