[SR-Users] limiting concurrent calls with dialog module

Iñaki Baz Castillo ibc at aliax.net
Sat Oct 8 21:44:02 CEST 2011


2011/10/3 Jon Bonilla <manwe at aholab.ehu.es>:
> Due to a couple of bugs in the dialog module I'd suggest you to run this code
> after the user auth has been successfull. You'll need to call dlg_manage()
> function first.
>
> The other bug makes the dialog not being freed if you send a sl reply generated
> by the proxy. You should call t_newtran + t_reply to send a statefull reply to
> the user.

Mixing two points above into a single one:

- Just call dlg_manage() after the authentication and authorization
has been made.

As a recommendation, call dlg_manage() just before t_relay() and you
are done (and you will avoid both bugs explained by Jon).


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list