Hi,
I wonder, is there a limit for the amount of AVP's i can use? Let's say i store 6-9 characters (string) each time i set an AVP.
Thanks, Uri
I believe it is directly related to the amount of physical memory available for the process. Anyways, you can always delete the AVP after using it although this is automatically done after the transaction finishes.
Maybe increasing the maximum memory limit could help: http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:private-memory-siz...
Regards.
Carlos.
On Sun, Aug 19, 2012 at 7:25 AM, Uri Shacked ushacked@gmail.com wrote:
Hi,
I wonder, is there a limit for the amount of AVP's i can use? Let's say i store 6-9 characters (string) each time i set an AVP.
Thanks, Uri
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello,
indeed there is no limit set in the code for AVPs, it depends of the available memory, but it is shared memory. AVPs are not stored in private memory because they have to become available for replies, which can be handled by different processes.
Shared memory can be specified with -m command line parameter.
Note also that with the latest version, the size of private memory can be specified with -M command line parameter, there is no need to recompile anymore.
For more see 'kamailio -h'.
Cheers, Daniel
On 8/19/12 7:33 PM, Carlos Ruiz Díaz wrote:
I believe it is directly related to the amount of physical memory available for the process. Anyways, you can always delete the AVP after using it although this is automatically done after the transaction finishes.
Maybe increasing the maximum memory limit could help: http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:private-memory-siz...
Regards.
Carlos.
On Sun, Aug 19, 2012 at 7:25 AM, Uri Shacked <ushacked@gmail.com mailto:ushacked@gmail.com> wrote:
Hi, I wonder, is there a limit for the amount of AVP's i can use? Let's say i store 6-9 characters (string) each time i set an AVP. Thanks, Uri _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org <mailto:sr-users@lists.sip-router.org> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Aug 19, 2012 6:25 PM, "Uri Shacked" ushacked@gmail.com wrote:
Hi,
I wonder, is there a limit for the amount of AVP's i can use? Let's say i store 6-9 characters (string) each time i set an AVP.
Thanks, Uri
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users