[Users] Multiple register message
Thomas Deillon
Thomas.Deillon at smart-telecom.ch
Thu Nov 30 09:34:57 CET 2006
Thanks a lot.
It's work.
Thomas
-----Message d'origine-----
De : Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro]
Envoyé : mercredi, 29. novembre 2006 19:24
À : Thomas Deillon
Cc : Klaus Darilion; users at openser.org
Objet : Re: [Users] Multiple register message
Hi Thomas,
your script will not correctly work as it is a combination of stateless
and stateful processing.
t_replicate, t_on_failure() are stateful functions, while forward() does
stateless fwd - try t_relay() from TM module.
regards,
bogdan
Thomas Deillon wrote:
>Subject: Trying to find a solution to duplicate an incoming REGISTER to
>two asterisks boxes.
>
>1. maybe Asterisk can use the location table of openser too?
>2. you can save the contact with save_no_reply and then t_relay to the
>asterisk server, or
>
>1&2 > In fact, SER didn't register phones. It just make forwards
>
>3. you can use t_replicate ...
>
>
>>I tried but I didn't find the way to do this.
>>
>>
>
>I have the configuration below :
>
>
>route{
>
> if(method=="REGISTER"){
> t_replicate("192.168.1.119")
> forward("192.168.1.120")
> }
>
> ds_select_dst("0", "4");
> forward();
> t_on_failure("1");
>}
>
>failure_route[1] {
> log("next_dst\n");
> ds_next_dst();
>}
>
>
>Thanks a lot for your help.
>Thomas
>
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
More information about the sr-users
mailing list