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@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@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users