THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#60 - kamailio 3.0.x: segfault in carrierroute User who did this - Ovidiu Sas (osas)
---------- With the new core (in kamailio 3.0) the AVPs are handled a little bit different then kamailio 1.x. I remember some discussions about how to handle string versus integer AVPs, but I don't remember all the details. I prefer to use int AVPs (my understanding - in kamailio 1.5 - was that int AVPs were faster then str AVPs).
Maybe Daniel or Andrei can shed more light on this issue.
Thanks, Ovidiu ----------
More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=details&task_id=60#comment73
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
sip-router writes:
I remember some discussions about how to handle string versus integer AVPs, but I don't remember all the details. I prefer to use int AVPs (my understanding - in kamailio 1.5 - was that int AVPs were faster then str AVPs).
ovidiu,
there was some discussion about this earlier and jan said that there is not much speed difference between int or string named avps. int named avps are still supported in sr. i too use some int named avp names, but for other than performance reasons.
-- juha
On Thu, Apr 8, 2010 at 10:14 AM, Juha Heinanen jh@tutpro.com wrote:
sip-router writes:
> I remember some discussions about how to handle string versus integer > AVPs, but I don't remember all the details. > I prefer to use int AVPs (my understanding - in kamailio 1.5 - was > that int AVPs were faster then str AVPs).
there was some discussion about this earlier and jan said that there is not much speed difference between int or string named avps. int named avps are still supported in sr. i too use some int named avp names, but for other than performance reasons.
Having an int AVP also allows for step by step incrementation (which is not possible with string AVPs). This is one of the reasons that I'm using AVPs. And maybe because I'm old school? :)
-ovidiu