Re: [OpenSIPS-Users] Possible memory leak related to AVPs

2015-05-13 Thread Bogdan-Andrei Iancu
Hi Mickael, What means "a lot" :) ? I'm asking as if you have 100 transactions in memory (when doing shutdown) and you use ~10 AVPs per INVITE in script -> you have 1000 AVPs in mem. When doing the shutdown, are any transaction in memory ? (with no active transactions in mem, there are no A

[OpenSIPS-Users] Possible memory leak related to AVPs

2015-05-13 Thread Mickael Marrache
Hi, We have a memory leak and are trying to find the cause. We compiled the call with memory debugging and at shutdown, we see a lot of allocated AVPs that are not released. opensips[27560]: 277067. N address=0x2aae957a0330 frag=0x2aae957a0300 size=24 used=1 opensips[27560]:

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-13 Thread Bogdan-Andrei Iancu
Good to know it works :) Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 13.05.2015 13:22, microx wrote: Hi Bogdan-Andrei, It's my bad that I read the log wrong. I taken the output of some REFER request containing only the uri but not display name as the

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-13 Thread microx
Hi Bogdan-Andrei, It's my bad that I read the log wrong. I taken the output of some REFER request containing only the uri but not display name as the output of the observed INVITE request containing the uri. OpenSISP did show the display name of Referred-By in the INVITE request. Sincerely sorry f

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-13 Thread Bogdan-Andrei Iancu
Hi Chen-Che, It should. Do you get any error in logs when trying to fetch the name ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 13.05.2015 12:16, microx wrote: Hi Bogdan-Andrei, It works for $(hdr(Referred-By){nameaddr.uri}), but I get no

Re: [OpenSIPS-Users] Is there any way to access Referred-By header field?

2015-05-13 Thread microx
Hi Bogdan-Andrei, It works for $(hdr(Referred-By){nameaddr.uri}), but I get nothing from $(hdr(Referred-By){nameaddr.name}). The header field is like Referred-By:d3138e979-a266-4b31-bdc7-d9829cd1fa3a >From the script transformations document, I expect to get the display name "d3138e979-a266-4b31-