<div dir="ltr"><span style="font-size:12.8px">I&#39;m trying to read 3 integers parameters from MI, but Opensips is for some reason combining 2 values.</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This is the command: opensipsctl fifo custom_check 10 2000 50000</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">For some reason, I&#39;m getting these values on the nodes:</div><div style="font-size:12.8px">val1 = 10</div><div style="font-size:12.8px">val2 = 200050000</div><div style="font-size:12.8px">val3 = 50000</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">This is the summarized code:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>struct mi_root * custom_check(struct mi_root *cmd_tree, void *param )</div><div>{</div><div><span style="white-space:pre-wrap">        </span>struct mi_node* node;</div></div><div style="font-size:12.8px">        int val1, val2, val3;</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><span style="white-space:pre-wrap">        </span>node = cmd_tree-&gt;node.kids;</div><div><span style="white-space:pre-wrap">        </span>if (!node-&gt;value.s || !node-&gt;value.len)</div><div><span style="white-space:pre-wrap">                </span>return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM));</div><div><span style="white-space:pre-wrap">        </span>val1 = atoi(node-&gt;value.s);</div><div><br></div><div><span style="white-space:pre-wrap">        </span>node = node-&gt;next;</div><div><span style="white-space:pre-wrap">        </span>if ( !node-&gt;value.s || !node-&gt;value.len)</div><div><span style="white-space:pre-wrap">                </span>return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM));</div><div><span style="white-space:pre-wrap">        </span>val2 = atoi(node-&gt;value.s);</div><div><br></div><div><span style="white-space:pre-wrap">        </span>node = node-&gt;next;</div><div><span style="white-space:pre-wrap">        </span>if ( !node-&gt;value.s || !node-&gt;value.len)</div><div><span style="white-space:pre-wrap">                </span>return init_mi_tree( 400, MI_SSTR(MI_BAD_PARM));</div><div><span style="white-space:pre-wrap">        </span>val3 = atoi(node-&gt;value.s);</div></div><div style="font-size:12.8px">        .....</div><div style="font-size:12.8px">}</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Am I doing something wrong? </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks in advance</div></div>