[OpenSIPS-Users] Handling messages to more than one final destination

Toyima Dias toyimads at gmail.com
Wed Jan 26 13:25:15 CET 2011


Hi friends,

Any opinion about this? it's quite confusing how would be the RTP handling
in order to record the conversation...the RTP should go directly peer to
peero and also going to the recorder server? is that ok?

2011/1/24 Dave Singer <dave.singer at wideideas.com>

> Anca,
>
> 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.
> 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.
> Are these assumptions correct?
>
> 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).
>
> Thanks
> Dave
>
>   On Mon, Jan 24, 2011 at 9:26 AM, Anca Vamanu <anca at opensips.org> wrote:
>
>>   On 01/24/2011 07:19 PM, Toyima Dias wrote:
>>
>> Thanks Anca,
>>
>> 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?
>>
>>
>> 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.
>>
>> Regards,
>> Anca
>>
>>
>>  Thanks in advance for your help
>>
>>
>>
>>
>>
>> 2011/1/24 Anca Vamanu <anca at opensips.org>
>>
>>> Hi Toyima,
>>>
>>> You can use t_replicate function:
>>> http://www.opensips.org/html/docs/modules/devel/tm.html#treplicate.
>>>
>>> Regards,
>>>
>>> --
>>> Anca Vamanuwww.voice-system.ro
>>>
>>>
>>
>> _______________________________________________
>> 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/20110126/9d321a63/attachment.htm>


More information about the Users mailing list