Hi there, I upgraded my kamailio server from version 4.0.1 to 4.1.1, then i noticed that all my "AVP's variavels" that are initialized on initial "INVITE", are all set as null when call goes to failure route, so kamailio is not keeping the variavel values for same call(dialog)
When it happens i see the following warning "WARNING: tm [t_lookup.c:1536]: t_unref(): WARNING: script writer didn't release transaction"
Thanks for your help
Hello,
can you get the log messages with debug=3 (from the moment the INVITE comes in till the end of the transaction)?
Cheers, Daniel
On 10/01/14 13:20, José Seabra wrote:
Please check the attachment.
The calls is started for number 3001 from number 200@admin.com, then kamailio change it to device "201@admin.com", the avp's that i use in failure route is :
$avp(s:account_id) $avp(s:originalru) $avp(s:cf_action_id)
If do you need more information please let me know.
Thank you
2014/1/10 Daniel-Constantin Mierla miconda@gmail.com
Hello Daniel,
Please check the attachment.
The calls is started for number 3001 from number 200@admin.com, then kamailio change it to device "201@admin.com", the avp's that i use in failure route is :
$avp(s:account_id) $avp(s:originalru) $avp(s:cf_action_id)
If do you need more information please let me know.
Thank you
2014/1/10 Daniel-Constantin Mierla miconda@gmail.com
Hi Jose,
Are you using any async functions in your config file? Or is this just standard failure route handling?
Cheers Jason
On Fri, Jan 10, 2014 at 4:28 PM, José Seabra joseseabra4@gmail.com wrote:
Hello Jason, Yes i'm using async sleep function, within my failure route.
Regards
2014/1/16 Jason Penton jason.penton@smilecoms.com
Ok, that makes sense. I have made a patch. I am just going to do some tests to confirm all is okay and then will push to master. If your tests on master are successful we will back-port.
Cheers Jason
On Thu, Jan 16, 2014 at 12:36 PM, José Seabra joseseabra4@gmail.com wrote:
Hi Jose,
I've just pushed a patch to master. Please can you test and get back to me.
Cheers Jason
On Thu, Jan 16, 2014 at 12:39 PM, Jason Penton jason.penton@smilecoms.comwrote:
Hi Jason,
I tested your patch and it is working well.
Thank you
Regards
2014/1/16 Jason Penton jason.penton@smilecoms.com
Great! Thanks Jose!
I will ask Daniel to back-port. Daniel, when you get a chance can you back-port please? ;)
Cheers Jason
On Thu, Jan 16, 2014 at 4:46 PM, José Seabra joseseabra4@gmail.com wrote:
Hello,
thanks for the fix, I did the backport.
For reference, here are hints on how to do backports: - http://www.kamailio.org/wiki/devel/backporting-to-3.2.x
One can just replace 3.1 with 4.1 or other branch name and follow the same guides.
Cheers, Daniel
On 16/01/14 15:48, Jason Penton wrote:
I had a mistake on last email, the last device that kamailio send the invite is to 203 instead 201
Regards
2014/1/10 José Seabra joseseabra4@gmail.com