[OpenSIPS-Users] OpenSIPS VS Asterisk as registrar (SIPp test)

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jan 13 13:41:39 CET 2009


Iñaki Baz Castillo wrote:
> El Viernes, 19 de Diciembre de 2008, Bogdan-Andrei Iancu escribió:
>   
>> Hi Inaki,
>>
>> What configuration you use, like pkg mem, shm mem and no of processes?
>>
>> Also, looking at the error you sent ("build_res_buf_from_sip_req: out of
>> pkg memory  ; needs 25296") - the function requests 25K of mem for the
>> reply :D....my question is - do you register multiple contacts per
>> single AOR ? this is the only way (except a bug) I can explain this huge
>> amount of mem
>>     
>
> Yes! I don't register different AoR's but different contacts, in fact I just 
> register:
> - alice at domain: 2500 different contacts
> - bob at domain: 2500 different contacts
> (I expected there would be no difference between using different AoR's or 
> different contacts...)
>   
Well it is :) :
- first, in a 200 OK from a REGISTER, the registrar must return all 
contacts already registered for that AOR
- implementation detail - AORs are kept in a hash, but contacts per AOR 
in a list, so searching for a contact dramatically increase if the same 
AOR is used.

Regards,
Bogdan



More information about the Users mailing list