<div dir="ltr">Hello all,<div><br><div>Maybe someone can help me with this problem and will be greatly appreciated. We are getting calls with CallerID like this one <span style="font-family:Verdana,Arial,Helvetica">‘hi'or‘x’='x'. Later when our billing start parsing the CDRs it will complain because of the first character "`". My question I suppose is, how to prevent such calls to get added to the CDRs? We want to reject the call that has non numeric CallerID and not get it added in the CDRs. This is what we have in the dialplan.</span></div></div><div><span style="font-family:Verdana,Arial,Helvetica"><br></span></div><div><div><font face="Verdana, Arial, Helvetica"><extension name="Routing"></font></div><div><font face="Verdana, Arial, Helvetica"> <condition field="${radius_auth_result}" expression="0"/></font></div><div><font face="Verdana, Arial, Helvetica"><br></font></div><div><font face="Verdana, Arial, Helvetica"> <!--</font></div><div><font face="Verdana, Arial, Helvetica"> <condition field="${h323-redirect-number}" expression="^(.+)$" break="never"></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="destination_number=$1" /></font></div><div><font face="Verdana, Arial, Helvetica"> </condition></font></div><div><font face="Verdana, Arial, Helvetica"> --></font></div><div><font face="Verdana, Arial, Helvetica"> <condition field="caller_id_number" expression="^([0-9]+)$"></font></div><div><font face="Verdana, Arial, Helvetica"> <anti-action application="hangup"/> </font></div><div><font face="Verdana, Arial, Helvetica"><span style="white-space:pre"> </span></condition><span style="white-space:pre"> </span></font></div><div><font face="Verdana, Arial, Helvetica"> <condition field="destination_number" expression="^(.+)$"></font></div><div><font face="Verdana, Arial, Helvetica"> <!--<action application="info"/>--></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="export" data="nolocal:h323-call-origin=originate"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="sip_h_X-accountcode=${accountcode}" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="call_direction=outbound" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="hangup_after_bridge=true"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="continue_on_fail=true"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="inherit_codec=true" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="call_timeout=20"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="fail_on_single_reject=USER_BUSY" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="origination_caller_id_name=${sip_req_user}"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="origination_caller_id_number=${sip_from_user}"/></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="set" data="execute_on_answer=sched_hangup +${h323-credit-time} alloted_timeout" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="bridge" data="{sip_invite_from_uri=sip:${sip_from_user}@${sip_network_ip}}sofia/internal/${destination_number}@x.x.x.x:5060" /></font></div><div><font face="Verdana, Arial, Helvetica"> <action application="hangup" data="${bridge_hangup_cause}"/></font></div><div><font face="Verdana, Arial, Helvetica"> </condition></font></div><div><font face="Verdana, Arial, Helvetica"> </extension></font></div></div><div><font face="Verdana, Arial, Helvetica"><br></font></div><div><font face="Verdana, Arial, Helvetica">Thank you all!</font></div><div><font face="Verdana, Arial, Helvetica"><br></font></div><div><font face="Verdana, Arial, Helvetica">L.Popov</font></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tr>
<td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>