[Serusers] Re: usrloc loading

Michal Matyska michal at iptel.org
Tue Dec 5 17:19:20 CET 2006


Oh yes.... that's already part of ser 0.10 as well.... just use

save_noreply("location"); 
t_reply("$code","$reason");

Michal

On Tue, 2006-12-05 at 15:22 +0100, Martin Hoffmann wrote:
> Michal Matyska wrote:
> > On Tue, 2006-12-05 at 10:54 +0100, Martin Hoffmann wrote:
> > > 
> > > I think a function "t_go_stateful()" might be enough (and use t_reply()
> > > in the registrar). The function checks if a transaction for the request
> > > exists and if so, ends processing right away. Otherwise it creates a
> > > transaction in a prelimary state.
> > 
> > With Ottendorf you can use t_newtran() to start the transaction and
> > further in the script use functions of tm module like t_relay(),
> > t_reply() - it does not complain any longer, that the transaction was
> > started from the script earlier.
> 
> That takes care of INVITEs. Now a version of save() that uses t_reply()
> instead of sl_send_reply() is needed. I seem to remember that that isn't
> too hard.
> 
> Regards,
> Martin




More information about the sr-users mailing list