[OpenSER-Users] t_replicate function`s doubt??

Marcio mrgalhan at gmail.com
Thu Jun 5 17:37:38 CEST 2008


Hi Zahid,

Thanks for help, maybe you can help me....I have an environment of test with
more than 2 proxies....A UAc of a domain visiting another domain.....wanted
him to succeed in registering domain in place and had home domain pointing
to the local domain(visited), the case reached a "request" to this
UAc....would be a distributed a sketch of records that follow where the UAc
is.

The idea to use t_replicate() function, i did think that could resolve this
question, but now i think not.....because the home proxy of the UAc not know
the location of your UAc, would have to be informed at the time of
replication, such as by the validation credentials into table "subscriber",
could insert the location into table "location"....???

It would have some idea that could help me?

best regards,
Marcio



2008/6/5, Zahid Mehmood <zm23 at columbia.edu>:
>
> Marcio,
>   the way we use t_replicate is as follows.
>
> UAC --  register --->  proxy1
>
> proxy1 code
>
>  {
>
> if (src_ip == ip_of_proxy_2 ) {
>                # do not challenge because we assume that proxy2 did the
> authenticate already
>                # save location and any other thing you want to do
> } else {
>        # do challenge / authenticate here
>        # save location
>        # t_replicate to proxy2
> }
>
> proxy2 code
>
>  {
>
> if (src_ip == ip_of_proxy_1 ) {
>                # do not challenge because we assume that proxy2 did the
> authenticate already
>                # save location and any other thing you want to do
> } else {
>        # do challenge / authenticate here
>        # save location
>        # t_replicate to proxy2
> }
>
>
> Hope this helps.
>
> --
> Zahid
>
>
>
> On Jun 4, 2008, at 4:10 PM, Marcio wrote:
>
>  Hi,
>>
>> Someone would know if t_replicate() function....perform a t_relay() of the
>> REGISTER....and carry the "credentials" of the UAc to slave or remote UAs?
>>
>> And the reply of the UAs(remote or slvae) is "200, ok" to UAs (fork`s
>> origin) or not a reply??
>>
>> best regards,
>> Marcio
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080605/d0520fb8/attachment.htm 


More information about the Users mailing list