[SR-Users] dialog vars issue (was: no subject)

Jon Bergli Heier jon.bergli.heier at zisson.no
Wed Feb 8 12:26:53 CET 2012


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 at 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 at 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




More information about the sr-users mailing list