I think I can use local_cache and store caller id as key and sip user as
value. Right?

On Thu, Sep 24, 2015 at 8:26 AM, John Nash <john.nash...@gmail.com> wrote:

> OK..I also looked at alias module. I am really fascinated by cache any way
> to use alias db with cache?
>
> On Wed, Sep 23, 2015 at 7:23 PM, Bogdan-Andrei Iancu <bog...@opensips.org>
> wrote:
>
>> Hi Nash,
>>
>> If the registration of user2 was handled via save("location"), you can
>> route the call to actual IP of user2 via lookup("location").
>>
>> To translate between the 222222222 number and User2 (before the lookup),
>> use the aliases module.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>>
>> On 17.09.2015 17:12, John Nash wrote:
>>
>> I am trying to test a use case in which I need to send call to a
>> registered user based on its caller ID.
>>
>> User1
>> Username = 1001
>> Carrier id = 1111111111
>>
>> User2
>> Username = 1002
>> Carrier id = 222222222
>>
>> Both are registered to my opensips. Now if User1 calls number 222222222 ,
>> I want opensips to try to reach User2 if its online.
>>
>> Is this possible?
>>
>>
>> _______________________________________________
>> Users mailing 
>> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to