Hey guys, <div>  I was wondering what the best way to determine if an incoming call is interstate or intrastate within opensips. </div><div>I would normally create a key value hash of all areacodes: &quot;areacode&quot; -&gt; &quot;state&quot; and so i could determine the ANI state and Dnis states quickly and then compare ani state to dnis state.</div>
<div>However, i dont see that opensips can do custom hash variables. Is there some other way to do this in native opensips code, or should i use something like the perl module and call a function in perl to return inter or intra? </div>
<div><br></div><div>Thanks in advance, <br><br>Kent</div><div><br></div>