Hi,
since kamailio 3.2.1 I've had problems with using dlg_var to store extra accounting fields with the acc module (using db_extra and mysql). When I set a dlg_var in the request route, the first acc row (INVITE) appears as if the dlg_var was empty, but looks fine for the second (BYE) row. In 3.2.0 both rows got the value I assigned. missed_calls doesn't appear to have this problem. Any ideas? The problem also seems to exist in kamailio 3.2.2. I've done a git bisect and the problem seems to appear since commit 5bdee1ffe820d3e9e75898bb252d1660b4bbad60.
Thanks, Jon
Hello,
I will check to see if that commit broke it.
What happens if you print with xlog the dialog var just after setting it for INVITE? Also, can you print it in onreply_route for the 200ok of the INVITE? Do you get null or the right value?
Cheers, Daniel
On 2/6/12 12:28 PM, Jon Bergli Heier wrote:
Hi,
since kamailio 3.2.1 I've had problems with using dlg_var to store extra accounting fields with the acc module (using db_extra and mysql). When I set a dlg_var in the request route, the first acc row (INVITE) appears as if the dlg_var was empty, but looks fine for the second (BYE) row. In 3.2.0 both rows got the value I assigned. missed_calls doesn't appear to have this problem. Any ideas? The problem also seems to exist in kamailio 3.2.2. I've done a git bisect and the problem seems to appear since commit 5bdee1ffe820d3e9e75898bb252d1660b4bbad60.
Thanks, Jon _______________________________________________ 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
Hi,
I see the value I assigned when I print the dlg_var right after setting it, and when I print it in the reply route.
Thanks, Jon
________________________________________ From: Daniel-Constantin Mierla [miconda@gmail.com] Sent: Wednesday, February 08, 2012 11:39 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: Jon Bergli Heier Subject: Re: [SR-Users] dialog vars issue (was: no subject)
Hello,
I will check to see if that commit broke it.
What happens if you print with xlog the dialog var just after setting it for INVITE? Also, can you print it in onreply_route for the 200ok of the INVITE? Do you get null or the right value?
Cheers, Daniel
On 2/6/12 12:28 PM, Jon Bergli Heier wrote:
Hi,
since kamailio 3.2.1 I've had problems with using dlg_var to store extra accounting fields with the acc module (using db_extra and mysql). When I set a dlg_var in the request route, the first acc row (INVITE) appears as if the dlg_var was empty, but looks fine for the second (BYE) row. In 3.2.0 both rows got the value I assigned. missed_calls doesn't appear to have this problem. Any ideas? The problem also seems to exist in kamailio 3.2.2. I've done a git bisect and the problem seems to appear since commit 5bdee1ffe820d3e9e75898bb252d1660b4bbad60.
Thanks, Jon _______________________________________________ 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
-- Daniel-Constantin Mierla -- http://www.asipto.com http://linkedin.com/in/miconda -- http://twitter.com/miconda
Hello,
On 2/8/12 12:26 PM, Jon Bergli Heier wrote:
Hi,
I see the value I assigned when I print the dlg_var right after setting it, and when I print it in the reply route.
if it is easy for you, can you send the output of the log message with debug=3 for an INVITE, up to the 200ok when the accounting record is written?
It might speed up troubleshooting in case I can spot the issue from logs, rather than wait until I set the testing environment. You can sent the logs directly to me, perhaps they are big for the mailing list.
Cheers, Daniel
Thanks, Jon
From: Daniel-Constantin Mierla [miconda@gmail.com] Sent: Wednesday, February 08, 2012 11:39 To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Cc: Jon Bergli Heier Subject: Re: [SR-Users] dialog vars issue (was: no subject)
Hello,
I will check to see if that commit broke it.
What happens if you print with xlog the dialog var just after setting it for INVITE? Also, can you print it in onreply_route for the 200ok of the INVITE? Do you get null or the right value?
Cheers, Daniel
On 2/6/12 12:28 PM, Jon Bergli Heier wrote:
Hi,
since kamailio 3.2.1 I've had problems with using dlg_var to store extra accounting fields with the acc module (using db_extra and mysql). When I set a dlg_var in the request route, the first acc row (INVITE) appears as if the dlg_var was empty, but looks fine for the second (BYE) row. In 3.2.0 both rows got the value I assigned. missed_calls doesn't appear to have this problem. Any ideas? The problem also seems to exist in kamailio 3.2.2. I've done a git bisect and the problem seems to appear since commit 5bdee1ffe820d3e9e75898bb252d1660b4bbad60.
Thanks, Jon _______________________________________________ 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
-- Daniel-Constantin Mierla -- http://www.asipto.com http://linkedin.com/in/miconda -- http://twitter.com/miconda
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