Pascal Maugeri wrote:
Thanks for your prompt answer.
On 10/19/07, Klaus Darilion klaus.mailinglists@pernau.at wrote:
It depends on what kind of information should be stored in the other server. If you "your server" needs to see the same contact information as openser received you could use t_replicate to replicate the REGISTER to "your server". In this case "your server" must not challenge the REGISTER.
My server does not need to store any information but the information that a user has been registered.
I believe the solution I need is to use this t_replicate but I need to replicate the register once the registration is achieved successfully. So how can I do this replicate to my server once the complete dialog REGISTER-401-REGISTER-OK has been achieved between the UAC and OpenSER ?
Just use t_replicate after save(), e.g: http://lists.iptel.org/pipermail/serdev/2006-June/007518.html
regards klaus
ps: please Cc: the mailing-list
Klaus Darilion wrote:
Pascal Maugeri wrote:
Thanks for your prompt answer.
On 10/19/07, Klaus Darilion klaus.mailinglists@pernau.at wrote:
It depends on what kind of information should be stored in the other server. If you "your server" needs to see the same contact information as openser received you could use t_replicate to replicate the REGISTER to "your server". In this case "your server" must not challenge the REGISTER.
My server does not need to store any information but the information that a user has been registered.
I believe the solution I need is to use this t_replicate but I need to replicate the register once the registration is achieved successfully. So how can I do this replicate to my server once the complete dialog REGISTER-401-REGISTER-OK has been achieved between the UAC and OpenSER ?
if I understood correctly, your server needs to use SUBSCRIBE to get NOTIFY from OpenSER when user registered on it.
sorry if I misunderstood your needs
I believe the solution I need is to use this t_replicate but I need to replicate the register once the registration is achieved successfully. So how can I do this replicate to my server once the complete dialog REGISTER-401-REGISTER-OK has been achieved between the UAC and OpenSER ?
if I understood correctly, your server needs to use SUBSCRIBE to get NOTIFY from OpenSER when user registered on it.
sorry if I misunderstood your needs
No problem. In fact everything works as I needed using this t_replicate function that forwards REGISTER request to my server.
Regards, Pascal
-- CU, Victor Gamov
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users