[OpenSIPS-Users] Restricting CallerID

Chamo chamo at darksun.sk
Mon Mar 9 12:11:19 CET 2009


Hello Alex,

I have exactly same problem, but have no idea how to do that with "rpid"
credential.
Could you please send any example configuration?

thanks a lot

Alex Balashov  wrote / napísal(a):
> Andrew Yager wrote:
>   
>> On 09/03/2009, at 4:39 PM, Alex Balashov wrote:
>>
>>     
>>> I suggest setting an "rpid" credential for these users in the 
>>> subscriber table.  This can be applied when the outbound call from the 
>>> user is proxy-challenged.
>>>       
>> Thanks. The reason why I don't like this solution is that (I think) it 
>> will restrict them to a single outbound callerid, where we would like 
>> them to be able to set any in their range.
>>
>> Am I wrong in my assumption?
>>     
>
> No, you are correct.  If that's the case, you're just going to have to 
> put in some logic to evaluate whether the caller ID they have chosen 
> (the RPID, or the From URI user part depending on how they're sending it 
> to you) falls within one of their ranges.
>
> In order to avoid making a mess of the OpenSIPS script, I suggest a 
> database stored procedure. :-)
>
>
>   


-- 
"I'll carry your books, I'll carry a tune, I'll carry on, carry over,
carry forward, Cary Grant, cash & carry, Carry Me Back To Old Virginia,
I'll even Hara Kari if you show me how, but I will *not* carry a gun."
                -- Hawkeye, M*A*S*H 
	




More information about the Users mailing list