[Users] t_replicate to multiple destinations

Thomas Deillon Thomas.Deillon at smart-telecom.ch
Mon Dec 4 12:04:22 CET 2006


Yes, but as you know, to REGISTER a phone, you have more than one step.
Phone -> Asterisk: REGISTER without authentification
Phone <- Asterisk: 401 / unauthaurized
Phone -> Asterisk: REGISTER with authentification
Phone <- Asterisk: 200 (OK)

So, if you duplicate a message REGISTER, SER make a fork.
The phone has to response to the 3 (if you have 3 asterisk servers) 401 messages (because of the different nonce) with 3 "REGISTER with authentification".

All phone are not able to do this... be careful,

Thomas Deillon



-----Message d'origine-----
De : users-bounces at openser.org [mailto:users-bounces at openser.org] De la part de Marco
Envoyé : lundi, 4. décembre 2006 11:53
À : users at openser.org
Objet : [Users] t_replicate to multiple destinations


Hi all,
I read on the docs of the tm module that I can use t_replicate to 
send, for example, REGISTER to multiple destinations. 
Can a I replicate to more than one server, such as
t_replicate("sip:1.2.3.4")
t_replicate("sip:1.2.3.5") 
t_replicate("sip:1.2.3.6")
and so on ?


>From the docs it seems possible, but I don't know how to set branches.

TIA,
-- 
	"Work and play are words used to
	describe the same thing under
	differing conditions."  Mark Twain

_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list