[OpenSIPS-Devel] [OpenSIPS/opensips] ff839b: acc: register dialog loaded callbacks after flags ...

2014-05-08 Thread Razvan Crainea
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ff839b85d1e7b9122f348d6277d8f93a9bafca9f
  
https://github.com/OpenSIPS/opensips/commit/ff839b85d1e7b9122f348d6277d8f93a9bafca9f
  Author: Razvan Crainea raz...@opensips.org
  Date:   2014-05-08 (Thu, 08 May 2014)

  Changed paths:
M modules/acc/acc_mod.c

  Log Message:
  ---
  acc: register dialog loaded callbacks after flags init

This solves the bug when CDRs were not written in DB after restart
Reported by Mayama Takeshi, who also provided testing environment


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] 449545: acc: register dialog loaded callbacks after flags ...

2014-05-08 Thread Razvan Crainea
  Branch: refs/heads/1.10
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4495459f7957938edd08cddaab34cc8421e0947c
  
https://github.com/OpenSIPS/opensips/commit/4495459f7957938edd08cddaab34cc8421e0947c
  Author: Razvan Crainea raz...@opensips.org
  Date:   2014-05-08 (Thu, 08 May 2014)

  Changed paths:
M modules/acc/acc_mod.c

  Log Message:
  ---
  acc: register dialog loaded callbacks after flags init

This solves the bug when CDRs were not written in DB after restart
Reported by Mayama Takeshi, who also provided testing environment

(cherry picked from commit ff839b85d1e7b9122f348d6277d8f93a9bafca9f)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] effd4b: acc: register dialog loaded callbacks after flags ...

2014-05-08 Thread Razvan Crainea
  Branch: refs/heads/1.11
  Home:   https://github.com/OpenSIPS/opensips
  Commit: effd4b5d9414c0d3ca79d567368a521d5d447227
  
https://github.com/OpenSIPS/opensips/commit/effd4b5d9414c0d3ca79d567368a521d5d447227
  Author: Razvan Crainea raz...@opensips.org
  Date:   2014-05-08 (Thu, 08 May 2014)

  Changed paths:
M modules/acc/acc_mod.c

  Log Message:
  ---
  acc: register dialog loaded callbacks after flags init

This solves the bug when CDRs were not written in DB after restart
Reported by Mayama Takeshi, who also provided testing environment

(cherry picked from commit ff839b85d1e7b9122f348d6277d8f93a9bafca9f)


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [OpenSIPS/opensips] ffb0cb: core: fix mem statistics when DBG_QM_MALLOC is on

2014-05-08 Thread Liviu Chircu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ffb0cb6d2c3a224ce37b575a7f956cfa881bf63b
  
https://github.com/OpenSIPS/opensips/commit/ffb0cb6d2c3a224ce37b575a7f956cfa881bf63b
  Author: Liviu Chircu li...@opensips.org
  Date:   2014-05-08 (Thu, 08 May 2014)

  Changed paths:
M mem/q_malloc.c

  Log Message:
  ---
  core: fix mem statistics when DBG_QM_MALLOC is on


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


[OpenSIPS-Devel] [opensips] Error in the logs while looking for contact param when param missing (#228)

2014-05-08 Thread Ovidiu Sas
Easy to reproduce with the following probe:
code
xlog(L_NOTICE, $(ct{param.value,blah})\n);
/code
code
ERROR:core:parse_params: invalid character, ; expected, found 
/code

This is specific to Contact header only.  Trying to retrieve a bogus param from 
to or from header does not produce an error in the logs.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Error in the logs while looking for contact param when param missing (#228)

2014-05-08 Thread Liviu Chircu
Ovidiu,

That's because param.value requires formatted input. Try using 
$(ct{nameaddr.params}{param.value,blah})

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228#issuecomment-42583596___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Error in the logs while looking for contact param when param missing (#228)

2014-05-08 Thread Ovidiu Sas
code
xlog(L_NOTICE, $(ct{nameaddr.params}{param.value,blah})\n);
/code
leads to:
code
ERROR:core:parse_param_body: failed to parse quoted string
/code
code
ERROR:core:parse_params: failed to parse param body
/code


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228#issuecomment-42587167___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Error in the logs while looking for contact param when param missing (#228)

2014-05-08 Thread Ovidiu Sas
The problem is depicted more clearly here:
code
xlog(L_NOTICE, $$ct=[$ct]\n);
/code
code
$var(ct_nameaddr_params) = $(ct{nameaddr.params});
/code
code
xlog(L_NOTICE, $$var(ct_nameaddr_params)=[$var(ct_nameaddr_params)]\n);
/code

Leads to the following output:
code
$ct=[test 
sip:test@192.168.2.113:53814;ob;reg-id=1;+sip.instance=urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b]
/code
code
$var(ct_nameaddr_params)=[reg-id=1;+sip.instance=urn:uuid:ed409b05-1872-36ee-8ba0-865cb642250b]
/code

The last  char is lost during the nameaddr.params transformation.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/228#issuecomment-42591197___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel