<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">Hi all, I have IP addresses setup in my mysql table address<div><br></div><div>+----+-----+----------------+------+------+-------+---------+--------------+<br>| id | grp | ip | mask | port | proto | pattern | context_info |<br>+----+-----+----------------+------+------+-------+---------+--------------+<br>| 9 | 1 | x.x.x.x | 1 | 5060 | any | | 10 |<br>+----+-----+----------------+------+------+-------+---------+--------------+<br></div><div><br></div><div>But when I check source address in opensips.cfg</div><div><br></div><div>check_source_address( 1, $avp(groupid))<br></div><div>xlog("Call coming from trunk with $avp(groupid)\n");<br></div><div><br></div><div>The output thou is:</div><div><b>Call coming from trunk with 1</b><br></div><div><b><br></b></div><div>Can anyone shed some light on this?</div></div>
</div></div>