[OpenSIPS-Users] Possible Bug / Unexpected behavior with ACC.

Jim DeVito jim at devito.cc
Wed Aug 31 20:54:26 CEST 2016

Hi All,

Strange situation. I'm using the ACC module with Flatstore and it was 
working fine until the update to 2.2.1 a couple days ago. It seems the 
variable $rU is populated with hex for all 0's in very specific 
situations. Namely receiving a 503 back from the carrier. This is 
causing it to get put into the ACC Flat store file. See below for the 
specifics and relevant configuration info. I do have a dev system I can 
reproduce the problem on if there is some specific debugging you 

ACC Flatstore file line (the 
\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 is the bad 
part. It should be 011610408287261)


modparam("acc", "db_url","flatstore:/var/log/opensips/acc")
modparam("acc", "db_extra", "to_tn=$rU; ....etc....)

$rU is the extra parameter that is supposed to be 011610408287261 but it 
comes out as 

Jim DeVito

More information about the Users mailing list