[Kamailio-Users] Dealing with REGISTER "retransmissions"

mayamatakeshi mayamatakeshi at gmail.com
Tue Mar 24 18:20:34 CET 2009


On Tue, Mar 24, 2009 at 7:37 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 2009/3/24 mayamatakeshi <mayamatakeshi at gmail.com>:
>
>> So I was thinking, maybe I should create a transaction before sending
>> the challenge so that REGISTER retransmissions would be absorbed. I
>> was thinking in doing something like this:
>>
>>        if (!proxy_authorize("", "subscriber")) {
>>                t_newtran();
>>                proxy_challenge("", "0");
>>                exit;
>>        }
>
> Do all the REGISTER have the same "branch" parameter? If not,
> t_newtran will do nothing since they are not retransmissions.

Yes. The UA was not trying to register, it was simply sending the
exact same message all the time. So it should work, but I'll try the
pike module instead.



More information about the Users mailing list