Hello All,<div>I'm trying to use distributed dialogs with memcache and it appears to be broken. I've tested in both 1.8.2 and 1.9 </div><div><br></div><div>Namely, I'm setting these three params:</div><div><div>
modparam("dialog", "profile_value_prefix", "custv1234567890")</div><div>modparam("dialog", "profile_no_value_prefix", "custn1234567890")</div><div>modparam("dialog", "profile_size_prefix", "custs1234567890")</div>
</div><div><br></div><div>It appears that the dialog module is truncating these prefixes somewhat randomly when they are long. When they are short, there are nulls. It appears that it has to be an exact size or it just won't work.</div>
<div><br></div><div>When setting the prefixes above, this is what I see in memcache when I hit a shared profile called trunkgroup:</div><div><br></div><div>get custs1234trunkgroup .</div><div>incr custv123trunkgroup_NQ== 1. (RETURNS NOT FOUND ERROR)</div>
<div>set custv123trunkgroup_NQ== 0 86400 1.</div><div>incr custs1234trunkgroup 1. (RETURNS NOT FOUND ERROR)</div><div>set custs1234trunkgroup 0 86400 1.</div><div><br></div><div><br></div><div>decr custv123trunkgroup_NQ== 1.</div>
<div>decr custs1234trunkgroup 1.</div><div><br></div><div>It appears to be working, however, my prefix appears to be truncated to 9 characters for profile size and 8 characters for profiles with values. Am I doing something wrong here?</div>
<div><br></div><div>Also I read something about an extra space breaking this method, especially when the profile counts change from a 2 digit number to a single digit number (because the retrieved string value contains a string space in it and cannot be converted to an INT). Does anyone know if this has been addressed? </div>
<div><br></div><div>Thanks!</div><div>-Brett</div><div><br></div>