Hi,<div><br></div><div>Current I'm working on OpenSIPS + FreeRadius, where FreeRadius is for AAA. Accounting and Authentication are working well i.e. SIP phones get authenticated and can make calls between them.</div><div>
I want to know how can I distinguish calls, the flow is listed down below;</div><div><br></div><div>User A's number is 1234 and User B's number is 1235.</div><div>Both users' phone registered on UAS (OpenSIPS+FreeRadius), can make SIP-SIP (on-net) calls.</div>
<div>If User A do not registered his number, he can make call to User B where User B is registered on UAS like PSTN-SIP call.</div><div>If User A is registered on UAS and make a call to User B who is not registered on UAS but located on PSTN, SIP-PSTN.</div>
<div><br></div><div><br></div><div>In summary I need to know how can I configure SIP-SIP, SIP-PSTN and PSTN-SIP peers and how can I distribute their routes? Further added, which modules, modparam and function requires for it?<br clear="all">
<br>-- <br>Regards,<br><br>Ahmed Munir<br><br><br>
</div>